[conradL@qimr13054 ~]$ cat data.ttl @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .@prefix ex: <http://example.org/> .
ex:a rdfs:label """example one"""^^xsd:string .ex:a rdfs:label """example two"""^^xsd:string .
[conradL@qimr13054 ~]$ stardog-admin db create -n test -- data.ttlPicked up JAVA_TOOL_OPTIONS: -Djavax.net.ssl.trustStore=/opt/local/genomeinfo/java/truststore/keystore.jksBulk loading data to new database test.Loaded 2 triples to test from 1 file(s) in 00:00:00.359 @ 0.0K triples/sec.Successfully created database 'test'.
[conradL@qimr13054 ~]$ stardog query -- test "SELECT * WHERE { ?x rdfs:label ?label . FILTER (?label = xsd:string('example one')) }"Picked up JAVA_TOOL_OPTIONS: -Djavax.net.ssl.trustStore=/opt/local/genomeinfo/java/truststore/keystore.jks+-------+----------------------------------------------------------+| x | label |+-------+----------------------------------------------------------+| ex:a | "example one"^^<http://www.w3.org/2001/XMLSchema#string> |+-------+----------------------------------------------------------+
[conradL@qimr13054 ~]$ stardog query -- test "SELECT * WHERE { ?x rdfs:label ?label . FILTER (?label = xsd:string('example one')) }"Picked up JAVA_TOOL_OPTIONS: -Djavax.net.ssl.trustStore=/opt/local/genomeinfo/java/truststore/keystore.jks+-------+-------+| x | label |+-------+-------++-------+-------+
Query returned 0 results in 00:00:00.026
--
-- --
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