ontology

Using sh:maxExclusive to compare (the values of) two datatype properties

一个人想着一个人 提交于 2021-01-29 07:30:31
问题 Connected to this question: I cannot use sh:lessThan with xsd:positiveInteger Indeed, I managed to make my example working by writing: sh:property [ sh:path ontology:has-age ; sh:maxExclusive 16 ; ] ; However, now I would like to compare the value of "ontology:has-age" not with a constant but with the value of another datatype property defined on the same individual (and having 16 as value): ontology:John rdf:type ontology:DataSubject ; ontology:has-age "14"^^xsd:positiveInteger ; ontology

protege pellet deduce issue

谁都会走 提交于 2021-01-28 21:30:53
问题 this is my sample ontology created by protege 5.5.2: <?xml version="1.0"?> <rdf:RDF xmlns="http://www.semanticweb.org/amin/ontologies/2021/0/untitled-ontology-33#" xml:base="http://www.semanticweb.org/amin/ontologies/2021/0/untitled-ontology-33" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <owl

How to create a condition to obtain an automatic object property relation in Protege?

假装没事ソ 提交于 2021-01-28 18:53:22
问题 I'm doing a project in Protege on the ontology related to the university problem. I have some classes and object properties relations between them: As depicted, there are several classes and relations. My issue is, how (and where) to write the condition to obtain the automatic inference that, if all blue-arrow relations are satisfied by the individual, the red-arrow relation must be also satisfied (thus it is inferred then by the reasoner)? I will appreciate any help! Thanks. Hubert 回答1:

Translating SiDiF to Weaviate

折月煮酒 提交于 2021-01-27 12:53:12
问题 I have several ontology descriptions in Simple Data Interchange Format and would like to transform or import these to use them with Weaviate. An example can be found at: http://cr.bitplan.com/index.php/CrSchema#sidif (see source code below). I was able to create classes and properties manually but i am not sure how to do relations in Weaviates Schema description style. E.g. if i have a class "Event" and want to link the City for it how do i do this if at all? You'll find more details on the

OWL: scoped domain and range

落爺英雄遲暮 提交于 2021-01-05 07:52:25
问题 What is the difference between scoped domain and domain ? Also scoped range and range . And how is it defined in Protege for a single property to have two different scoped domains or scoped ranges? P.S. I mean using two different scoped domain means: R has range B if domain is A R has range D if domain is C 回答1: The fact that the domain of the object property R is A could be written in this way: R some owl:Thing SubClassOf A The fact that the range of the object property R is B could be

Problems to read a owl ontology using Jena

你。 提交于 2020-03-25 17:59:14
问题 I'm trying to a read a owl ontology using Jena. The ontology was created in Protégé. This is (part of) my original .owl file (some terms are in Portuguese): <?xml version="1.0"?> <!DOCTYPE Ontology [ <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" > <!ENTITY xml "http://www.w3.org/XML/1998/namespace" > <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" > <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" > ]> <Ontology xmlns="http://www.w3.org/2002/07/owl#" xml:base="http://james