Question: Count all the TV shows which are related to the ones produced by Julie Gardner.
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:executiveProducer <http://dbpedia.org/resource/Julie_Gardner> . ?uri onto:related ?x . ?uri rdf:type onto:TelevisionShow}