icv.enabled=true
icv.reasoning.type=EL
reasoning.consistency.automatic=true
icv.consistency.automatic=true
K:\Projets\stardog-2.0.1\bin>stardog reasoning explain "testSmart;reasoning=SL" explain.ntjava.lang.NullPointerException
K:\Projets\stardog-2.0.1\bin>stardog reasoning explain "testSmart;reasoning=DL" explain.ntInput axiom is not a valid inference; no explanation generated.
explain.nt contains : <http://url/example#Area1> <http://url/example#hasPathTo> <http://url/exemple#Area2>.
K:\Projets\stardog-2.0.1\bin>stardog query "testSmart;reasoning=SL" "select ?y {test:Area1 test:hasPathTo ?y.}"+------------+| y |+------------+| test:Area1 || test:Area2 |+------------+
+------------+| y |+------------+| test:Area1 || test:Area2 |
| test:Area3 |+------------+
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
Hi Florian,Thank you for your email. We will look into the issues you reported and get back to you shortly.On Wed, Oct 16, 2013 at 10:45 AM, Florian Orpeliere <florian....@gmail.com> wrote:
Hello everyone,we work in a research laboratory in University of Burgundy on Web Semantic.
We have three problems.The first is on reasoning with constraints on the model. Indeed, we have create a functional dataproperty with boolean range. When we try to update it with a SPARQL Update (DELETE+INSERT), Stardog explain "Prepare phase failed, all transactions were rolled back". Why is not possible to do an update ? Knowing that we configured the database like that :
icv.enabled=true
icv.reasoning.type=EL
reasoning.consistency.automatic=true
icv.consistency.automatic=true
The second problem is on reasoning explain. We wish use reasoning explain with SL level (because data is infered due to SWRL rules) and we have a NullPointerExcepetion :
K:\Projets\stardog-2.0.1\bin>stardog reasoning explain "testSmart;reasoning=SL" explain.ntjava.lang.NullPointerExceptionK:\Projets\stardog-2.0.1\bin>stardog reasoning explain "testSmart;reasoning=DL" explain.ntInput axiom is not a valid inference; no explanation generated.
explain.nt contains : <http://url/example#Area1> <http://url/example#hasPathTo> <http://url/exemple#Area2>.
Finally, the last problem is transitive property. When we use a swrl rule, this property doesn't work anymore. We previously test our model in Protégé and the expected reasoning is good.The model is link to this post in OWL format and we link to a picture of Protégé :In Stardog, when we execute a SPARQL query, we obtain :
K:\Projets\stardog-2.0.1\bin>stardog query "testSmart;reasoning=SL" "select ?y {test:Area1 test:hasPathTo ?y.}"+------------+| y |+------------+| test:Area1 || test:Area2 |+------------+While, we expect :
+------------+| y |+------------+| test:Area1 || test:Area2 |
| test:Area3 |+------------+
----Thanks in advance for your help.Sincerely,FlorianPS: Sorry for my bad english
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
Best,
Héctor
stardog query "smart;reasoning=EL" "INSERT DATA { functional:Toto functional:hasName \"Titi\"^^xsd:string.}"
Or
stardog query "smart;reasoning=EL" "INSERT DATA { functional:Toto functional:hasName \"Titi\"^^<http://www.w3.org/2001/XMLSchema#string>.}"
Prepare phase failed, all transactions were rolled back
stardog query "smart;reasoning=EL"
"DELETE { functional:Toto functional:hasName \"Toto\"^^xsd:string.}
INSERT { functional:Toto functional:hasName \"Titi\"^^xsd:string.}
WHERE {functional:Toto functional:hasName\"Toto\"^^xsd:string.}"
Prepare phase failed, all transactions were rolled back
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
stardog-admin db create -n smart -o icv.enabled=true icv.reasoning.type=SL reasoning.consistency.automatic=true icv.consistency.automatic=true -- functionalTest.owl