owl

obtain the matrix in protege

五迷三道 提交于 2019-11-28 12:43:48
My work is about library book of recommendation systems . that as input I need book Classification ontology . in my ontology classify library books. this classification has 14 categories, beside the sibling classes Author, book, Isbn. Individuals in book class are book’s subject(about 600 subjects) , and individuals in author class are name’s author and also isbn class. I design this ontology with protege 4.1. also I collected and Have got in part of belong book to categories manually. That a object properties is name “hasSubject” related individual book class with categories. Example book “A”

Defining cardinality of data property in OWL

允我心安 提交于 2019-11-28 12:06:19
问题 Is it possible to define the cardinality of data property in OWL? For instance considering a class "Person" with the data property "Age", is there a way to declare that the data property "Age" must have a single value? 回答1: You use the axiom that you would with an object property (DL and Manchester syntaxes): Person &sqsubseteq; =1.hasAge Person subClassOf hasAge exactly 1 Here's a small ontology with just such axioms: @prefix : <http://stackoverflow.com/q/24188632/1281433/people-have-exactly

Is there a way to convert the data format of an RDF vocabulary to SKOS

怎甘沉沦 提交于 2019-11-28 10:36:20
The rdfs file I'm want to use is cv.rdfs , I want to convert it to SKOS, so I can use it in Maui Indexer I am a complete noob in the subject. Please help. SKOS is for organizing concepts, and doesn't deal with properties, it seems, so there's a lot of information in the CV RDFS that doesn't really have a SKOS version. However, it's easy enough to define a mapping for the RDFS classes and generate some data using SPARQL. Here's a possible mapping: rdfs:Class maps to skos:Concept. rdfs:comments map to skos:notes. rdfs:labels map to skos:prefLabels. rdfs:subClassOf maps to skos:broader. Using

Representing if-then sentence using OWL?

不问归期 提交于 2019-11-28 07:48:29
I am working with basic OWL, and it's quite easy to represent some simple sentence like "Songoku is a lecturer, he teaches Maths". E.g.: <owl:Class rdf:ID="Lecturer"></owl:Class> <owl:Class rdf:ID="Subject"></owl:Class> <owl:Property rdf:ID="teach"> <rdfs:domain rdf:resource="#Lecturer"/> <rdfs:range rdf:resource="#Subject"/> </owl:Property> <Subject rdf:ID="Maths"></Subject> <Lecturer rdf:ID="Songoku"> <teach> <Subject rdf:about="#Maths"></Subject> </teach> </Lecturer> But I faced a problem when I tried to represent this sentence: Bob is a Student, If Bob has 5 dogs, then he has at least 1

Fuseki how to add Pellet reasoner

倾然丶 夕夏残阳落幕 提交于 2019-11-28 06:28:44
问题 I want to use pellet reasoner with my Fuseki 2.3.1 First: I added Pellet reasoner to my config.ttl as this: ja:reasoner [ ja:reasonerClass "org.mindswap.pellet.jena.PelletReasonerFactory";] So now I have to add the jar for Pellet to fuseki This page explains how to add jars (not specificaly pellete) to fuseki https://jena.apache.org/documentation/permissions/example.html So I commet this line exec $JAVA $JVM_ARGS -jar "$JAR" "$@" and I uncommet this line java $JVM_ARGS -cp "$JAR:$APPJAR" org

How do I find where Sesame stores repositories?

此生再无相见时 提交于 2019-11-28 06:17:19
问题 I'm using booth Sesame .wars in Tomcat 7 on OS X 10.8, but now it doesn't work any more. I set up a new Tomcat with two new Sesame .war but now it uses the old repository. Where are these stored? (Couldn't add a new Repo or delete the old one). 回答1: Sesame Server by default stores its configuration data and database files in %APPDATA%\Aduna on Windows, $HOME/.aduna on Linux, and $HOME/Library/Application Support/Aduna on Mac OS X. If you want a completely new install, simply delete this

Sparql query on restriction list (Equivalent To) in protégé

余生长醉 提交于 2019-11-28 05:34:51
问题 My ontology is about Cocktail. This is a cocktail named "AfterGlow" <owl:Class rdf:about="&cocktails;AfterGlow"> <owl:equivalentClass> <owl:Class> <owl:intersectionOf rdf:parseType="Collection"> <owl:Restriction> <owl:onProperty rdf:resource="&cocktails;aPourIngredient"/> <owl:someValuesFrom rdf:resource="&cocktails;JusAnanas"/> </owl:Restriction> <owl:Restriction> <owl:onProperty rdf:resource="&cocktails;aPourIngredient"/> <owl:someValuesFrom rdf:resource="&cocktails;JusOrange"/> </owl

OWL 2 reasoning with SWRL rules

拜拜、爱过 提交于 2019-11-28 02:14:23
问题 I'm trying to use the HermiT reasoner to compute inferences for an ontology which contains a set of OWL axioms and a SWRL rule: Ontology( ClassAssertion( :Student :Bob ) ClassAssertion( :Professor :DrBoffin ) ClassAssertion( :University :UF ) ObjectPropertyAssertion( :supervises :DrBoffin :Bob ) ObjectPropertyAssertion( :worksAt :DrBoffin :UF ) EquivalentClasses( :Student ObjectHasSelf( :r1 )) EquivalentClasses( ObjectHasSelf( :r2 ) ObjectSomeValuesFrom( :worksAt :University ))

Adding statements of knowledge to an OWL Ontology in Protege)

心已入冬 提交于 2019-11-27 23:16:28
In my Ontology I have three classes, Player , Team , and Competition . I also have the two object properties, employs , and competesIn . The domain of employs is Team , and the range Player , the domain of competesIn is Team or Player and the range Competition . I want the Ontology to infer that if a Player is employed by a Team and that Team competes in a Competition then the Player also competes in that Competition . Is there any way to add this information to an Ontology without putting in the {Player} competesIn {Competition} for every single individual in the ontology? Joshua Taylor First

How to import specific classes and object properties from an ontology in Protege?

点点圈 提交于 2019-11-27 18:56:59
问题 I want to import some classes in Protege from different ontologies to my ontology. For example, I need the classes foaf:Person , org:Site , vcard:Organization , and many more. I don't want to create them by myself (and modifying their IRI). When I did import the whole ontology (Schema.org, vCard, FOAF, …), I had many elements that I don't need. Is there any way to do it? 回答1: — Have you looked at this thread: protege-project.136.n4.nabble.com/… — I tried to use it, but it didn't work. There