Question: What is the total number of fictional characters whose created by Greg Daniels and series is The Office (U.S. TV series)?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE {?uri onto:creator <http://dbpedia.org/resource/Greg_Daniels> . ?uri onto:series <http://dbpedia.org/resource/The_Office_(U.S._TV_series)> }