No such table error when using property accessor on empty graph
This query runs fine against an empty database:
SELECT DISTINCT COUNT(?urn) WHERE {
GRAPH tracker:Pictures {
{ SELECT ?urn ?file WHERE {
?urn nie:isStoredAs ?file . ?urn a rdfs:Resource.
}
}}}
This query fails:
SELECT DISTINCT COUNT(?urn) WHERE {
GRAPH tracker:Pictures {
{ SELECT ?urn ?file rdf:type (?urn) AS ?type WHERE {
?urn nie:isStoredAs ?file . ?urn a rdfs:Resource.
}
}}}
The error is:
Could not run query, no such table: http://tracker.api.gnome.org/ontology/v3/tracker#Pictures.rdfs:Resource_rdf:type
Edited by Sam Thursfield