Question: Is James Bond married?
SPARQL query:
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK 
WHERE {
        res:James_Bond onto:spouse ?uri . 
}