What is {facet of a polytope} of {pyramid}, that has {next is} is {quadrilateral} ?
"Which is {feature of a polytope} of {pyramid}, whose {following is} is {quadrilateral} ?"
"Which is {facet of a polytope} of {pyramid}, whose {next is} is {quadrilateral} ?"
SELECT ?g WHERE { resource:pyramid property:has_facet_polytope ?g . ?g property:followed_by resource:quadrilateral }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3358290> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1312>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P156> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q36810> . }
SELECT ?answer WHERE { wd:Q3358290 wdt:P1312 ?answer . ?answer wdt:P156 wd:Q36810}
triangle