-
as seen on Stack Overflow
- Search for 'Stack Overflow'
i'm new to jena and protege.i did some stuff with these. i have some problems::
1) Do i need to use sparql query to get the ontology classes,subclasses,property and values? or can do it with owl-api? can u show me the way?
2) how to get the data property values?
3) how to i load the ontology that…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
InfModel infmodel = ModelFactory.createInfModel(reasoner, m);
Resource vegetarian = infmodel.getResource(source + "Vegetarian");
Resource margherita = infmodel.getResource(source + "Example-Margherita");
if (infmodel.contains(margherita, RDF., vegetarian)) {
System.out.println("Margherita…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How can I get in Jena (Java language) result in UTF-8 format?
My code:
Query query= QueryFactory.create(queryString);
QueryExecution qexec= QueryExecutionFactory.sparqlService("http://lod.openlinksw.com/sparql", queryString);
ResultSet results = qexec.execSelect();
List<QuerySolution> list =…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying sparql and the use of entailment.
As a example i used http://www.w3.org/TR/2010/WD-sparql11-entailment-20100126/#t112
i try to put them in jena.
OntClass book1= model.createClass(NS+"book1");
OntClass book2=model.createClass(NS+"book2");
OntClass book3=model.createClass(NS+"book3");
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I have an ontology, which I read in with Jena to help me scrape some RDFa triples from a website. I don't currently store these triples in a Jena model, but that is fairly straight forward to do, its on my to do next list.
The area I am struggling with, though, is to get Jena to output correct…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am new to Protege API and I have just created on Eclipse a small application which uses an external OWL file. Also I did import all the necessary libraries.
import java.util.Collection;
import java.util.Iterator;
import edu.stanford.smi.protege.exception.OntologyLoadException;
import edu.stanford…
>>> More
-
as seen on Developper.com
- Search for 'Developper.com'
Bonjour,
Vous trouverez à cette adresse : http://esauvage.developpez.com/tutor...tel-avec-nasm/ un parcours du combattant, un cheminement de quelqu'un qui, partant d'à peu près rien, essaye d'arriver à pas beaucoup plus mais quand même.
Ce n'est pas vraiment un tutoriel parce que ça n'a pas…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
The complement of the Being a good mentor question.
I work with many very senior people that have vast amounts of knowledge and wisdom in Software, Engineering and our business domain.
What are some tips for gaining as much knowledge from them? I don't want to take up too much of their time,…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
i'm new to jena and protege.i did some stuff with these. i have some problems::
1) Do i need to use sparql query to get the ontology classes,subclasses,property and values? or can do it with owl-api? can u show me the way?
2) how to get the data property values?
3) how to i load the ontology that…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to create simple application using Java Jena and SPARQL
,that insert, delete , update and query the OWL/RDF data
I worked on protege to create the ontology and noticed SPARQL in it
but I want to use SPARQL using java and jena ...
1) I saw this thread and I knew how to use SPARQL with jena
(after…
>>> More