rdf
get OWL restrictions on classes using Jena
Using the pizza ontology, I want to be able to look up all the toppings for American pizza. If I open the ontology in Protégé, I can see that American pizza has the following restrictions:[详细]
2023-04-13 01:06 分类:问答Generating URIs in Jena for RDF
I am generating an RDF file programmatically in Jena i.e. when I am inserting data in the rdf (instances) i need to have an unique URI (which will refer to the resource), somewhat like primary key in[详细]
2023-04-12 07:53 分类:问答Manipulating RDF in Jena
currently, I found out that I can query using model (Model) syntax in Jena in a rdf after loading the model from a file, it gives me same output if I apply a sparql query. So, I want to know that , is[详细]
2023-04-11 23:14 分类:问答SPARQL query to find all sub classes and a super class of a given class
I need to write a SPARQL query to find a superclass/subclasses of a given class. For example, given http://139.91.183.30:9090/RDF/VRP/Examples/Phenomenon.rdf RDFS vocabulary file, I want to find the[详细]
2023-04-07 23:03 分类:问答Why are predicate and class distinct in rdf?
In RDF, a class is distinguished from a predicate or attribute. What is the benefit of doing this versus just having one thing, a class, that can appear as subject, predicate or object in any triple?[详细]
2023-04-07 02:14 分类:问答Adding blank nodes in triples
The code written below gives the following output: Code: person = BNode() dataStore.add((URIRef(stringrd),FOAF_NS[\'knows\'],person))[详细]
2023-04-05 17:14 分类:问答Exception forwarding Jena ResultSet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {[详细]
2023-04-03 22:36 分类:问答Newbie question: how to express relationships with rdf?
I开发者_运维问答 know this sounds extremely newbieish, but even after going through some of the tutorials on W3 schools on RDF and reading the primer, I cannot seem to fathom how a simple subject-pred[详细]
2023-04-02 14:53 分类:问答N-triples to RDF/XML JavaScript converter for NodeJS
I am looking for a JavaScript N-triples to RDF/XML converter. Actually I will use it in NodeJS. Does anybody know of开发者_Go百科 a JavaScript library to convert N-triples into RDF/XML?I haven\'t tri[详细]
2023-04-01 20:45 分类:问答RDF integers in R
I\'m loading data through rrdf in my R app. I can handle the URIs开发者_如何学Go no problem, but when it comes to integers I don\'t know how to convert them into R integers. E.g. 5^^http://www.w3.org/[详细]
2023-04-01 14:43 分类:问答