Did {Loki} {child} {Wolf of Gubbio} and {Narfi} ?
Is Loki the child of Narfi and the Wolf of Gubbio?
Is Loki the child of Wolf of Gubbio and Narfi?
ASK WHERE { resource:Loki property:child resource:Narfi . resource:Loki property:child resource:Wolf_of_Gubbio }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q133147> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8029932>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q133147> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1273321>. } 
ASK WHERE { wd:Q133147 wdt:P40 wd:Q8029932 . wd:Q133147 wdt:P40 wd:Q1273321 }