What is the proper way to query private data in a users dataspace via the SPARQL endpoint?
When querying a data space via SPARQL you need to be aware of the target data sources which take the form of information resource (web doc) URLs or internal RDF Store Graph IRIs. In ODS, when you create an account, you end up with a personal identifier (also known as a Web ID or Personal URI). The personal identifier is associated with an information resource that takes the form of a FOAF based profile page. Thus, if you want to query you own data space you simply need to aim you SPARQL queries at your FOAF profile page URL which takes the form: http:///dataspace/person/ . On the other hand you can also SPARQL across the entire collection of public data hosted by an ODS instance if you scope your queries to the ODS data space Graph IRI: http:///datataspace . You achieve the SPARQL scope via: • FROM clause of your SPARQL query (of the Data Source URL input filed presented in the /sparql endpoint UI) • Virtuoso SPARQL pragmas via: define graph-iri