Question: Who was president of Pakistan in 1978?
SPARQL:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbp: <http://dbpedia.org/property/> 
SELECT DISTINCT ?uri 
WHERE {
        ?uri dbp:title res:President_of_Pakistan .
        ?uri dbp:years 1978 .
}