Question: How many cars are the predecessor of cars similar to the Pontiac G8?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { <http://dbpedia.org/resource/Pontiac_G8> onto:relatedMeanOfTransportation ?x . ?x onto:predecessor ?uri  . ?x rdf:type onto:Automobile}