Hello,
I've just extended Semantic XWiki[1][2] to support Stardog too.
Unfortunately SemXWiki is based on Jena and so I hit this probably
unsolvable issue:
https://groups.google.com/a/clarkparsia.com/forum/#!topic/stardog/gBHSew7YUYs
more concretely my issue is:
java.lang.IllegalArgumentException: Not a valid (absolute) URI:
Benchmark.BenchPage_100
at
com.complexible.common.rdf.model.StardogURI.<init>(StardogURI.java:28)
at
com.complexible.common.rdf.model.StardogValueFactory.createURI(StardogValueFactory.java:163)
at
com.complexible.stardog.jena.JenaSesameUtils.uri(JenaSesameUtils.java:211)
at
com.complexible.stardog.jena.JenaSesameUtils.resource(JenaSesameUtils.java:199)
at
com.complexible.stardog.jena.StardogJenaGraph.graphBaseFind(StardogJenaGraph.java:118)
at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:268)
at
com.hp.hpl.jena.graph.impl.GraphBase.graphBaseFind(GraphBase.java:290)
at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:287)
at
com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:477)
at
com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:483)
at
com.hp.hpl.jena.rdf.model.impl.ModelCom.getProperty(ModelCom.java:1249)
at
com.hp.hpl.jena.rdf.model.impl.ResourceImpl.getProperty(ResourceImpl.java:174)
which is basically probably the same.
For XWiki content portability and for semantics content portability it's necessary to use XWiki's own URI/URL which is Benchmark.BenchPage_100 instead of real URL:
http://localhost:8080/xwiki/bin/view/Benchmark/BenchPage_100
Anyway what's perhaps interesting is that the current Semantic XWiki supports Jena's
memory morel, SDB, TDB and OpenLinkSW's Virtuoso 7. Neither of them were
complaining like Stardog is...
Sure, Stardog may be the most strict one or most correct one and I can't complain about it but if it's just a slight chance to fix that, that would be great! By fix I also mean some workaround set by some documented property or something like that.
Thanks,
Karel
[1]:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Semantic+XWiki
[2]:
https://github.com/kgardas/semxwiki