@prefix ont: <http://mydb.com/ont#>.
ont:Video
rdf:type owl:Class;
.
ont:Fragment
rdf:type owl:Class;
.
ont:hasFragment
rdf:type owl:ObjectProperty;
rdfs:range ont:Fragment;
.
@prefix ont: <http://mydb.com/ont#>.
@prefix dat: <http://mydb.com/data#>.
dat:v1 a ont:Video.
dat:v1 ont:hasFragment ont:Fragment.
$ ./stardog query "mydb;reasoning=SL" "select distinct ?s where { ?s a <http://mydb.com/ont#Fragment>. }"
+------------------------------+
| s |
+------------------------------+
| http://mydb.com/ont#Fragment |
+------------------------------+
Query returned 1 results in 00:00:00.095
$ ./stardog query "mydb;reasoning=SL" "select distinct ?type where { ?s a ?type. }"
+---------------------------+
| type |
+---------------------------+
| http://mydb.com/ont#Video |
| owl:Class |
| owl:ObjectProperty |
+---------------------------+
$ ./stardog query "mydb;reasoning=RDFS" "select distinct ?type where { ?s a ?type. }"
Oct 29, 2013 2:37:51 PM io.netty.util.internal.logging.Slf4JLogger warn
WARNING: Selector.select() returned prematurely 512 times in a row; rebuilding selector.
Oct 29, 2013 2:37:51 PM io.netty.util.internal.logging.Slf4JLogger info
INFO: Migrated 1 channel(s) to the new Selector.
com.complexible.stardog.StardogException
Additionally to this problem I found that *sometimes* (not always) when I change the reasoner it crashes with the following error:$ ./stardog query "mydb;reasoning=RDFS" "select distinct ?type where { ?s a ?type. }"
Oct 29, 2013 2:37:51 PM io.netty.util.internal.logging.Slf4JLogger warn
WARNING: Selector.select() returned prematurely 512 times in a row; rebuilding selector.
Oct 29, 2013 2:37:51 PM io.netty.util.internal.logging.Slf4JLogger info
INFO: Migrated 1 channel(s) to the new Selector.
com.complexible.stardog.StardogException
By the way, I've noticed that the "DL" reasoner is not being offered on the Web interface, why is that?
--Thank you,Matt
-- --
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
Additionally to this problem I found that *sometimes* (not always) when I change the reasoner it crashes with the following error:$ ./stardog query "mydb;reasoning=RDFS" "select distinct ?type where { ?s a ?type. }"
Oct 29, 2013 2:37:51 PM io.netty.util.internal.logging.Slf4JLogger warn
WARNING: Selector.select() returned prematurely 512 times in a row; rebuilding selector.
Oct 29, 2013 2:37:51 PM io.netty.util.internal.logging.Slf4JLogger info
INFO: Migrated 1 channel(s) to the new Selector.
com.complexible.stardog.StardogException
By the way, I've noticed that the "DL" reasoner is not being offered on the Web interface, why is that?
Thank you,Matt
--
-- --
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
To unsubscribe from this group and stop receiving emails from it, send an email to stardog+u...@clarkparsia.com.
Ok, it makes sense now!It wasn't required in previous versions of SPARQL it seems (at least in Pellet through Jena the same query worked fine!). Is there any way to config the server/reasoner so that everything at the left is a owl:NamedIndividual and everything at the right is owl:Class by default?
--