Jul 18, 2014 at 3:31 PM
Edited Jul 18, 2014 at 3:33 PM
I need at create a rdf database, similarly to dbpedia. So the user can run simple sparql queries like:
SELECT DISTINCT res:London ?p ?o
res:London ?p ?o .
To get all the london triples.
BSDB use uuid as identifier, so the user won't be able to access a simple ~/London page to get all the London triples.
- Is there a way to override the auto generated identifier?
- Is there a way to create a view (like sql view) of the graph, that takes all the ids of names (or any other friendly identifier) , and then replace the id with that name-or-friendly-identifier?
so if you have three triples in the db:
the view will look as follows:
So the view picks the name from the 'name-or-friendly-identifier triple, and replace the id of all the triples of that id with the name-or-friendly-identifier.
Any other suggestion of how to provide friendly and readable triples are welcome.