owl

why inference is not working well

荒凉一梦 提交于 2019-12-11 10:46:21
问题 I have two ontologies which i join them together in one big ontology This is in the big ontology <!-- http://www.MusicSemanticOntology/mso#r1 --> <owl:NamedIndividual rdf:about="http://www.MusicSemanticOntology/mso#r1"> <rdf:type rdf:resource="http://semanticrecommender.com/rs#Rates"/> <rs:about rdf:resource="http://music.org/musicontology/mo#5th_Symphony"/> <rs:createdOn rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">1956-06-25T04:00:00-05:00</rs:createdOn> <rs:ratesBy rdf:datatype

How to infer individual with more than 2 property in owl

蹲街弑〆低调 提交于 2019-12-11 10:46:20
问题 I have an ontology with Person and Animal_Lover classes. People are Animal_Lover if they have more than 2 pet. How can I do this in my ontology? <?xml version="1.0"?> <rdf:RDF xmlns="http://www.example.com/test" xml:base="http://www.example.com/test" xmlns:test="http://www.example.com/test#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdfs

How to import geosparql to your ontology?

守給你的承諾、 提交于 2019-12-11 10:43:16
问题 Based on this: How to extend ontology with other standard ontologies in Protégé?, I am really worried on how to import geosparql in an ontology I just created. I think that importing geosparql means to import this to my ontology in Protege: http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf My ontology is Saved As RDF/XML syntax and the file that contains it has a .owl extension. How to safely import geosparql in my ontology (Protege 5.0.0 beta)? 回答1: Both .rdf and .owl are

owl:TransitiveProperty in query

对着背影说爱祢 提交于 2019-12-11 10:33:42
问题 I have done a family tree. I also defined transitive property: childOf. Now I want to make SPARQL Query which give me all descendants of one of members of family. How can I do it? Thanks 回答1: If your triple store supports OWL reasoning and you've defined your childOf property to be transitive (shouldn't it be called descendantOf by the way!), then it should infer childOf properties directly between all related nodes. So, it should be enough to query it like this (prefixes omitted for brevity)

Close World Assumption in Protégé

限于喜欢 提交于 2019-12-11 10:07:48
问题 Is it possible to force reasoning over an OWL ontology basing on a close world assumption (CWA) in Protégé? Obviously OWL bases on OWA, but I need to close it. 回答1: To reason using close world assumption without changing your ontology you need a reasoner that supports that feature. Pellet has an option to use closed world assumption, you will have to check Protégé's settings to make sure it is configurable though. I'm not aware of other reasoners providing it. If you cannot use Pellet, you'll

Qualified cardinality restriction definition in Protege

本秂侑毒 提交于 2019-12-11 09:56:34
问题 I was following this tutorial -> LINK At page 75, it explains how to define a FourCheesePizza using a qualified cardinality restriction. Under the instructions it says "With this description a FourCheesePizza can still also have other relationships to other kinds of toppings. In order for us to say that we just want it to have four cheese toppings and no other toppings we must add the keyword 'only' (the universal quantifier)". Now, my definition of FourCheesePizza is: Pizza and hasTopping

Handle more than one OWL files in a same JENA application

眉间皱痕 提交于 2019-12-11 07:55:52
问题 I am making an application which may require about 2-3 OWL files to work with, in order to serve different task for the same application. I am using Jena as my semantic web framework. My question is: How do we organize/setup these owl files? Should I read all the owl files in the same dataset or I should maintain different datasets for different owls. Note: I am not considering the Imported owls as it is handled by jena itself. If I use same dataset, how can I differentiate to between he

Sparql query containment result

匆匆过客 提交于 2019-12-11 07:35:40
问题 Not familiar with semantic web, under the following context: // owl in terms of Java-like syntax Class Person {} Class GraduateStudent extends Person {reference takesCourse [*] : GraduateCourse} Class Student intersect Person {reference takesCourse [*] : Course} Class UndergradStudent extends Student {} Class Course{} Class GraduateCourse extends Course{} Class CsCourse extends Course{} My question is why Q1 ⊑ Q2 does not hold? In particular, if I understand correctly, Q1 select undergraduate

Unsuccessful team-employs-player property chain

浪尽此生 提交于 2019-12-11 06:35:07
问题 I am intrigued by Using Property Chains to get inferred Knowledge in an OWL Ontology(Protege) The accepted answer has two solutions: two OWL expressions, or a SWRL rule. I get the sense that the OP found the all-OWL (property chain) solution confusing but was satisfied with the SWRL answer. I am trying to implement the all-OWL solution. So far, I don't see an inference that Steven_Gerrard is employed by England when reasoning with Pellet . I do see the inference Steven_Gerrard R

SPARQL-queries (HELP!)

為{幸葍}努か 提交于 2019-12-11 06:13:32
问题 So, I have an Ontology and need some help with my SPARQL-queries. The ontology is based on different beer ingredients and equipment for brewing. For instance, it has the class "Ingredients", and a subclass "Malt/Grain", and then a subclass "Dark". Now I have some different, more specific types of dark malts, that are individuals, and members of the class Dark. If I go into one individual in Protege, for instance "Dark_Crystal", will have "Dark" under its field of "Types" So, I want to be able