Did {Ludwig_van_Beethoven} {notable work} {Piano Sonata No. 14}?
Was Ludwing Van Bethoven the person who created Piano Sonata No. 14?
Was Ludwing_Van_Bethoven's notable work Piano Sonata No. 14?
ASK WHERE { resource:Ludwig_van_Beethoven property:notable_work resource:Piano_Sonata_No._14 }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q255> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P800> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q12008>. } 
ASK WHERE { wd:Q255 wdt:P800 wd:Q12008 }