Question: Is Barack Obama a democrat?
SPARQL query:
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE { 
        res:Barack_Obama onto:party <http://dbpedia.org/resource/Democratic_Party_(United_States)> . 
}