owl

swrlx:makeOWLThing is creating only one individual

风格不统一 提交于 2019-12-11 05:08:49
问题 Using Protege and SWRL tab, I have the ontology mentioned hereinafter. It is composed of the Class Test and the class Shadow , where Test has three individuals t1, t2, t3 . I was trying to define an SWRL rule that creates an individual of Shadow class for each existing individual of Test , the rule is Test(?x) ^ swrlx:makeOWLThing(?new, ?x) -> Shadow(?new) QUESTIONS: Only one individual of Shadow , named fred is created, instead of three (corresponding to t1, t2, t3 ). How to control the

owl:ObjectProperty and reasoning

夙愿已清 提交于 2019-12-11 05:04:15
问题 In my ontology, I have two individuals of type abc:Invention : abc:InventionA rdf:type abc:Invention . abc:InventionB rdf:type abc:Invention . and 2 individuals of type abc:MarketSector , linked with an object property abc:includedIn : abc:MrktSctrA rdf:type abc:MarketSector . abc:MrktSctrB rdf:type abc:MarketSector . abc:MrktSctrB abc:includedIn MrktSctrA . Currently, InventionA and InventionB are linked with, respectively MrktSctrA and MrktSctrB via an object property abc:targets : abc

RDF4J Workbench Add RDF: How do I add multiple files?

陌路散爱 提交于 2019-12-11 04:59:31
问题 I'm using RDF4J Workbench 2.1.2. System Information Application Information Application Name RDF4J Workbench Version 2.1.2 Runtime Information Operating System Windows 10 10.0 (amd64) Java Runtime Oracle Corporation Java HotSpot(TM) 64-Bit Server VM (1.8.0_111) Process User gwcox Memory Used 315 MB Maximum 889 MB I have a set of RDF files containing ontologies I'm working on. Some RDF files import others. For example, my instantiations ontology/RDF file imports the several ontologies defining

How to define a class Road to be equivalent to a set of objects with the same value of hasRoadNumber data property

与世无争的帅哥 提交于 2019-12-11 04:26:09
问题 I defined class RoadSegment and datatype property hasRoadNumber . So, now I want to define class Road and state that a Road is a set of RoadSegments with the same road number. How it can be done? 来源: https://stackoverflow.com/questions/57937212/how-to-define-a-class-road-to-be-equivalent-to-a-set-of-objects-with-the-same-va

Object property instance on class?

▼魔方 西西 提交于 2019-12-11 04:02:13
问题 Let's say for example: -Food(class -Bread(instance of Food! -Species(class -Animal(class - Horse(class -Unicorn(instance Now I need to be able to set Bread -> eatableBy -> Horse. But I can't make a object property assertion to a class. So I could set it eatable by and add all the instances of Horse, but I have a lot of instances so that would be a bit redundant. Does anybody know a good efficient way to do achieve the same effect? E.g. If I need to know what Horses can eat it needs to return

Closure axiom for instances so that reasoner can correctly classify instances in ontology

懵懂的女人 提交于 2019-12-11 02:39:38
问题 I am a geographer and a new comer in the field of ontology trying to make sense out of these two. Therefore, I have created a simple ontology, as follows: Thing Feature Lane Segment(equivalent to Arc) Geometry Arc (equivalent to Segment) Node Dangling_Node Intersection_node you can find the .owl file here instantiated with a very simple spatial road dataset (fig1). the ontology is consistent without and with instances, but when I run the reasoner, the Dangling_node instances (nodes that are

Barack doesn’t like anything that Donald likes

心已入冬 提交于 2019-12-11 02:14:15
问题 How to express: Barack doesn’t like anything that Donald likes. in Protege? My attempt: I have Barack and Donald as individuals and like as a property , however, when clicking on Barack , the best I can get is: Barack like Donald which is not good. Any ideas? The answer appears to not be working. 回答1: In the individuals tab, where you can assert the type (not object property assertion) of an individual, you write (for Barack): likes only (not (inverse likes value Donald)) or likes only (not

Delete blank node from ontology through SPARQL UPDATE

北战南征 提交于 2019-12-11 01:48:35
问题 I am storing some data in my ontology model made in protege with help of a SPARQL UPDATE 'insert' operation. Below is the update query. PREFIX test: <http://www.semanticweb.org/muhammad/ontologies/2017/2/untitled-ontology-14#> insert { [] test:Kpi_Variable ?s ; test:hasValue_ROB4 ?p ; test:hasTime ?now . } where { values (?s ?p) { (test:Actual_Production_Time 33) } bind (now() as ?now) } It stores in the rdf graph in the following way: [ test:Kpi_Variable test:Actual_Production_Time ; test

Mapping from OWL ontology to OrientDB Graph Database

送分小仙女□ 提交于 2019-12-11 00:58:49
问题 I am working with OWL ontology and I have to import an owl ontology into OrientDB graph database. Is there a solution implemented to parse OWL ontology and map it to a OrientDB Graph or convert owl ontology to labeled property graph and import it into OrientDB? I know there are similar solutions for Neo4J graph database. https://github.com/flekschas/owl2neo4j https://neo4j.com/blog/using-owl-with-neo4j/ For OrientDB? 来源: https://stackoverflow.com/questions/46581663/mapping-from-owl-ontology