Hey!
I am quite new to stardog and I had a question with respect to browsing the triple store.
So I have this .rdf that I have loaded onto Stardog and then I am using Pubby running over Jetty, to browse the triple store.
In my rdf file, I have several blank nodes. So this is a snippet of the rdf file.
<kbp:ORG rdf:about="http://somehostname/resource/res1"> <kbp:canonical_mention> <rdf:Description> <kbp:mentionStart rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1234</kbp:mentionStart> <kbp:mentionEnd rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1239</kbp:mentionEnd> </rdf:Description> </kbp:canonical_mention>
So basically I have some resource "res1" which has links to blank node which has a mention start and mention end offset value.
The snippet of the config.ttl file for Pubby is shown below.
conf:dataset [ # SPARQL endpoint URL of the dataset conf:sparqlEndpoint <http://localhost:5822/xxx/query>; #conf:sparqlEndpoint <http://localhost:5822/foaf/query>; # Default graph name to query (not necessary for most endpoints) conf:sparqlDefaultGraph <http://dbpedia.org>; # Common URI prefix of all resource URIs in the SPARQL dataset conf:datasetBase <http://somehostname/>; ... ...
When I try to map this, there is an "Anonymous resource" link but upon clicking, nothing is displayed. (It does not say resource not found either and it displays the Pubby template but with no resources whatsoever. Just the first line and a link to the previous page. ) My guess is, this is because the blank node has some identifier like _:bnode1234 which is not mapped by Pubby.
But if I simply load the rdf file as onto Pubby directly, the "Anonymous resource" link works fine. i.e. displays the resource,
I wanted to know if anyone out there knows how to map these blank nodes are mapped. Any input is greatly appreciated.
Thank you! :)
--
-- --
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