Hello!
Should these queries:
WHERE
{
?s <http://www.geonames.org/ontology#featureClass> "
http://www.geonames.org/ontology#P" .
}
WHERE
{
?s <http://www.geonames.org/ontology#featureClass> ?featureClass .
FILTER (?featureClass = "http://www.geonames.org/ontology#P")
}
be equivalent?
Yes, I know featureClass predicate stores URIs but not literals at GeoNames
dataset. But my custom GeoNames dataset first stored it as literals (it
really doesn't change anything from semantic point of view as there is now
URI <http://www.geonames.org/ontology#P>). Then for performance reasons I
have reimplemented RDF generator so that featureClass stores URIs. But there
is a chance this problem can be reproduced on more real usecases so I
decided to report it.
Regards,
Alexander