pellet

OutOfMemoryError using Pellet as Reasoner

拟墨画扇 提交于 2019-12-05 22:13:20
I'm trying to infer data using Pellet, but my application always crashes during reasoning due to an "OutOfMemoryError: Java heap space". As suggested elsewhere I have already tried to increase heap size and currently I am using these VM arguments: "-XX:MaxPermSize=256m -Xmx6144m". Furthermore I've to set 'PelletOptions.USE_CONTINUOUS = true', but so far I was only able delays the crashs for some minutes. (Longest run so far: 30 min.). I am storing data in a Jena TDB triplestore. Its total size is 170 mb and consists of 962117 statements. The ontology has been modelled in Protege and there are

swrl rules to infer dataProperty values

你。 提交于 2019-12-04 17:24:42
I'm trying to test a simple SWRL rule. There are three Classes in my ontology: LivingPlace which has two sub-classes RuralArea and City. LivingPlace is the domain of the dataProperty hasHospital which has the range boolean. When I test the following rule with Pellet reasoner, the individual I created as a member of LivingPlace is also inferred as a member of RuralArea. LivingPlace(?lp), hasHospital(?lp, false) → RuralArea(?lp) However, what I really want to do is the reverse of this reasoning. RuralArea(?lp) → hasHospital(?lp, false) Whenever I create an individual of type RuralArea, I want

How to enable Pellet in Protege 4.3.0?

北城余情 提交于 2019-12-04 06:01:46
问题 It's almost a year since Unable to download Pellet plugin for Protege 4.3 suggested that it's not available for this version. Has anything changed? 回答1: It should be possible to download it from their github and just drop it into Progégé's plugins folder: https://github.com/Complexible/pellet/raw/master/protege/plugin/com.clarkparsia.protege.plugin.pellet.jar 来源: https://stackoverflow.com/questions/35663220/how-to-enable-pellet-in-protege-4-3-0

How to enable Pellet in Protege 4.3.0?

拥有回忆 提交于 2019-12-02 09:49:32
It's almost a year since Unable to download Pellet plugin for Protege 4.3 suggested that it's not available for this version. Has anything changed? It should be possible to download it from their github and just drop it into Progégé's plugins folder: https://github.com/Complexible/pellet/raw/master/protege/plugin/com.clarkparsia.protege.plugin.pellet.jar 来源: https://stackoverflow.com/questions/35663220/how-to-enable-pellet-in-protege-4-3-0

Fuseki how to add Pellet reasoner

主宰稳场 提交于 2019-11-29 12:41:47
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.apache.jena.fuseki.cmd.FusekiCmd "$@" and uncomment the line that starts with APPJAR= now I still need

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

喜欢而已 提交于 2019-11-29 12:05:22
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:Restriction> <owl:Restriction> <owl:onProperty rdf:resource="&cocktails;aPourIngredient"/> <owl

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

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