owl

Why do we need to use rdf:parseType=“Collection” with owl:intersectionOf?

孤街醉人 提交于 2020-01-17 03:25:19
问题 Conside the following example taken from, http://www.w3.org/TR/owl-ref/#intersectionOf-def. <owl:Class> <owl:intersectionOf rdf:parseType="Collection"> <owl:Class> <owl:oneOf rdf:parseType="Collection"> <owl:Thing rdf:about="#Tosca" /> <owl:Thing rdf:about="#Salome" /> </owl:oneOf> </owl:Class> <owl:Class> <owl:oneOf rdf:parseType="Collection"> <owl:Thing rdf:about="#Turandot" /> <owl:Thing rdf:about="#Tosca" /> </owl:oneOf> </owl:Class> </owl:intersectionOf> </owl:Class> While we understand

Howto get Dataproperty inherited from superclass

你说的曾经没有我的故事 提交于 2020-01-17 03:24:39
问题 I am working on my ontology using owlapi and java, but I cant find a solution in such a case: Here I have a class structure such as: Electronics Radio Handy I created individuals to these classes having the same name as their class. As Electronics class has an individual named electronics. Class: Electronics Equivalent to: keyword some {"electronics"} . Class: Handy Dataproperty: keyword Data property value: "handy" , type:string I use Hermit to search for individuals as keyword some {

Why does my SPARQL query duplicate results?

雨燕双飞 提交于 2020-01-14 04:40:28
问题 I am doing some searching, and learning more about SPARQL, but it is not easy like SQL. I just want to know why my query duplicates result and how to fix it. This is my SPARQL Query: PREFIX OQ:<http://www.owl-ontologies.com/Ontology1364995044.owl#> SELECT ?x ?ys ?z ?Souhaite WHERE { ?y OQ:hasnameactivite ?x. ?y OQ:AttenduActivite ?Souhaite. ?y OQ:SavoirDeActivite ?z. ?y OQ:hasnamephase ?ys. ?y OQ:Activitepour ?v. ?ro OQ:hasnamerole ?nr. ?y OQ:avoirrole ?ro. FILTER regex (?nr ,"Concepteur").

Inference on Complex Classes in Protege

末鹿安然 提交于 2020-01-13 12:09:27
问题 I want to make inferences such as the property represented by the grey-dotted line in this diagram: I have asserted a general axiom: (hasTaste some Bitter) SubClassOf: goesWellWith some (hasTaste some Sweet) where 'bitter' is of type Bitter and 'sweet' is of type Sweet. I thought owl:someValuesFrom (or Manchester's "some") meant that at least one such relation must exist. Yet this does not happen after making the bold diagram assertions and the general axiom. How can I make this work? EDIT

Inference on Complex Classes in Protege

折月煮酒 提交于 2020-01-13 12:09:16
问题 I want to make inferences such as the property represented by the grey-dotted line in this diagram: I have asserted a general axiom: (hasTaste some Bitter) SubClassOf: goesWellWith some (hasTaste some Sweet) where 'bitter' is of type Bitter and 'sweet' is of type Sweet. I thought owl:someValuesFrom (or Manchester's "some") meant that at least one such relation must exist. Yet this does not happen after making the bold diagram assertions and the general axiom. How can I make this work? EDIT

Is Ontology File created in Protege with RDF/XML Format a RDF file or the OWL file?

别等时光非礼了梦想. 提交于 2020-01-13 02:45:14
问题 I have created the ontology file in the Protege and save it in the RDF/XML format. It also contains the OWL tag. So, the ontology file created by Protege and saved as RDF/XML format are actually the RDF files or the RDF form of the OWL files or the OWL format containing the RDF also or something else ? <?xml version="1.0"?> <!DOCTYPE rdf:RDF [ <!ENTITY owl "http://www.w3.org/2002/07/owl#" > <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" > <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#

Reasoning OWL ontology using inverse property?

对着背影说爱祢 提交于 2020-01-11 02:27:00
问题 I'm using Protege v4.3 for making ontologies. I have a question about OWL ontology and DL query. For instance, in the Pizza ontology, http://owl.cs.manchester.ac.uk/co-ode-files/ontologies/pizza.owl I can execute the DL query hasTopping some CheeseTopping The result is American, AmericanHot, Cajun,.. etc. That's OK. Now, i tried DL query isToppingOf some American But the result is nothing. Because the property isToppingOf is inverse property of hasTopping, I expected to get the result

Retrieve OWL Individuals with same Object Properties using OWL API 4.0

自作多情 提交于 2020-01-10 20:10:42
问题 I am using OWL Api 4.0 in eclipse 3.4 with a simple ontology in Protege 4. I have two classes "Ward" and "Gaurdian". Individuals of these classes are related by object property isWardOf. How can i retrieve the individuals of class Ward that are related to same individual of Class Gaurdian. consider the following figure:- I want to retrieve the Fact that Peter and Allice are related or siblings as they both are connected to Jack. Any rough clue as to how to achieve this using OWL API 4.0. My

How to create an ontology from raw data (CSV)?

笑着哭i 提交于 2020-01-10 02:06:22
问题 I am modelling university data using an OWL ontology with relevant classes, object properties, etc. I have the university data lying in a simple text file (say CSV). I want to create ontologies using my model for these data. My questions are: Is this how ontologies work? If so, how can this be done using using Jena? 回答1: If I understood your question, you have an ontology that represents a university model and you want to create owl instances using the data set which is in the form of CSV.

How to create an ontology from raw data (CSV)?

旧街凉风 提交于 2020-01-10 02:05:11
问题 I am modelling university data using an OWL ontology with relevant classes, object properties, etc. I have the university data lying in a simple text file (say CSV). I want to create ontologies using my model for these data. My questions are: Is this how ontologies work? If so, how can this be done using using Jena? 回答1: If I understood your question, you have an ontology that represents a university model and you want to create owl instances using the data set which is in the form of CSV.