Simple Question (Direct)
Simple Question
Q2572006
P937
Q56061
USER
Which administrative territory is the work location of Wilhelm Bleyer ?
(Q2572006,P937,c(Q56061))
action filter_type
action find
entity Q2572006
relation P937
type Q56061
['Q2572006', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q2572006 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Wilhelm Bleyer
action filter_type
action find
entity Wilhelm Bleyer
relation work location
type administrative territorial entity
['Wilhelm Bleyer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Wilhelm_Bleyer property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q2572006,P937,c(Q56061))
action filter_type
action find
entity Q2572006
relation P937
type Q56061
[ANSWER] is the work location of Wilhelm Bleyer
['Q2572006', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q2572006 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Vienna
Vienna is the work location of Wilhelm Bleyer
Vienna
action filter_type
action find
entity Wilhelm Bleyer
relation work location
type administrative territorial entity
['Wilhelm Bleyer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Wilhelm_Bleyer property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P190
Q56061
USER
Which administrative territories are twin towns of that one ?
(Q1741,P190,c(Q56061))
action filter_type
action find
entity Q1741
relation P190
type Q56061
['Q1741', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1741 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Vienna
action filter_type
action find
entity Vienna
relation sister city
type administrative territorial entity
['Vienna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Vienna property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q1781 Q270
SYSTEM
Moscow, Budapest, Warsaw
Q437 Q4656 Q3711 Q33935 Q649 Q472 Q270 Q1780 Q1781 Q406 Q70
(Q1741,P190,c(Q56061))
action filter_type
action find
entity Q1741
relation P190
type Q56061
[ANSWERS] are twin towns of that one
['Q1741', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1741 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Ljubljana Pula Belgrade Tel Aviv Moscow Sofia Warsaw Bratislava Budapest Istanbul Bern
Moscow, Budapest and Warsaw are twin towns of that one
Moscow Budapest Warsaw
action filter_type
action find
entity Vienna
relation sister city
type administrative territorial entity
['Vienna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Vienna property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q649 Q1781 Q270
P159
Q895526
USER
Which authority organs have their HQ location at those administrative territories ?
(c(Q895526),P159,Q649) (c(Q895526),P159,Q1781) (c(Q895526),P159,Q270)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q895526
[{'concept': 'Q895526'}, 'P159', 'Q649'] [{'concept': 'Q895526'}, 'P159', 'Q1781'] [{'concept': 'Q895526'}, 'P159', 'Q270']
SELECT DISTINCT ?i WHERE { VALUES ( ?z ) { ( resource:Q437 ) ( resource:Q4656 ) ( resource:Q3711 ) } . ?i rdf:type ontology:Q895526 . ?i property:P159 ?z }
Moscow Budapest Warsaw
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', 'Moscow'] [{'concept': 'authority organ'}, 'headquarters location', 'Budapest'] [{'concept': 'authority organ'}, 'headquarters location', 'Warsaw']
SELECT DISTINCT ?i WHERE { VALUES ( ?z ) { ( resource:Ljubljana ) ( resource:Pula ) ( resource:Belgrade ) } . ?i rdf:type ontology:authority_organ . ?i property:headquarters_location ?z }
[]
authority organ
Q1400115 Q4426228 Q4481679
SYSTEM
FAPSI, Security Council of the Soviet Union, Federal Service for Veterinary and Phytosanitary Surveillance
Q4481740 Q211741 Q1400115 Q4426228 Q4294276 Q6866953 Q4481679 Q15990739 Q2324381 Q458910 Q7444920
(c(Q895526),P159,Q649) (c(Q895526),P159,Q1781) (c(Q895526),P159,Q270)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q895526
[ANSWERS] have their HQ location at those administrative territories
[{'concept': 'Q895526'}, 'P159', 'Q649'] [{'concept': 'Q895526'}, 'P159', 'Q1781'] [{'concept': 'Q895526'}, 'P159', 'Q270']
SELECT DISTINCT ?i WHERE { VALUES ( ?z ) { ( resource:Q437 ) ( resource:Q4656 ) ( resource:Q3711 ) } . ?i rdf:type ontology:Q895526 . ?i property:P159 ?z }
Federal Biomedical Agency Special Communications Service of Russia FAPSI Security Council of the Soviet Union Ministry for Development of Russian Far East Ministry of Finance Federal Service for Veterinary and Phytosanitary Surveillance Ministry of Crimean Affairs Federal Financial Markets Service Presidential Council of the Hungarian People's Republic Securities and Exchange Commission
FAPSI, Security Council of the Soviet Union and Federal Service for Veterinary and Phytosanitary Surveillance have their HQ location at those administrative territories
FAPSI Security Council of the Soviet Union Federal Service for Veterinary and Phytosanitary Surveillance
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', 'Moscow'] [{'concept': 'authority organ'}, 'headquarters location', 'Budapest'] [{'concept': 'authority organ'}, 'headquarters location', 'Warsaw']
SELECT DISTINCT ?i WHERE { VALUES ( ?z ) { ( resource:Ljubljana ) ( resource:Pula ) ( resource:Belgrade ) } . ?i rdf:type ontology:authority_organ . ?i property:headquarters_location ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P138
Q7725634
USER
Which literary work has Moscow as its toponym ?
(c(Q7725634),P138,Q649)
action filter_type
action find_reverse
entity Q649
relation P138
type Q7725634
[{'concept': 'Q7725634'}, 'P138', 'Q649']
SELECT DISTINCT ?s WHERE { ?s property:P138 resource:Q649 . ?s rdf:type ontology:Q7725634 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation named after
type literary work
[{'concept': 'literary work'}, 'named after', 'Moscow']
SELECT DISTINCT ?s WHERE { ?s property:named_after resource:Moscow . ?s rdf:type ontology:literary_work }
[]
literary work
Q2398452
SYSTEM
Moya Moskva
Q2398452
(c(Q7725634),P138,Q649)
action filter_type
action find_reverse
entity Q649
relation P138
type Q7725634
Moscow [ANSWER] has Moscow as its toponym
[{'concept': 'Q7725634'}, 'P138', 'Q649']
SELECT DISTINCT ?s WHERE { ?s property:P138 resource:Q649 . ?s rdf:type ontology:Q7725634 }
Moya Moskva
Moscow Moya Moskva has Moscow as its toponym
Moya Moskva
action filter_type
action find_reverse
entity Moscow
relation named after
type literary work
[{'concept': 'literary work'}, 'named after', 'Moscow']
SELECT DISTINCT ?s WHERE { ?s property:named_after resource:Moscow . ?s rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P36
Q3895768
USER
Which fictional location has that administrative territory as its administrative centre ?
(c(Q3895768),P36,Q2398452)
action filter_type
action find_reverse
entity Q649
relation P36
type Q3895768
[{'concept': 'Q3895768'}, 'P36', 'Q2398452']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q649 . ?y rdf:type ontology:Q3895768 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation capital
type fictional location
[{'concept': 'fictional location'}, 'capital', 'Moya Moskva']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Moscow . ?y rdf:type ontology:fictional_location }
[]
fictional location
Q2630442
SYSTEM
Reichskommissariat Moskowien
Q2630442
(c(Q3895768),P36,Q2398452)
action filter_type
action find_reverse
entity Q649
relation P36
type Q3895768
[ANSWER] has that administrative territory as its administrative centre
[{'concept': 'Q3895768'}, 'P36', 'Q2398452']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q649 . ?y rdf:type ontology:Q3895768 }
Reichskommissariat Moskowien
Reichskommissariat Moskowien has that administrative territory as its administrative centre
Reichskommissariat Moskowien
action filter_type
action find_reverse
entity Moscow
relation capital
type fictional location
[{'concept': 'fictional location'}, 'capital', 'Moya Moskva']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Moscow . ?y rdf:type ontology:fictional_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1741
P138
Q17444909 Q746549
USER
How many astronomical object types or dishes come from Vienna ?
(c(Q17444909),P138,Q1741) (c(Q746549),P138,Q1741)
action count
action union
action filter_type
action find_reverse
entity Q1741
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q1741
relation P138
type Q746549
[{'concept': 'Q17444909'}, 'P138', 'Q1741'] [{'concept': 'Q746549'}, 'P138', 'Q1741']
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:P138 resource:Q1741 . ?a rdf:type ontology:Q17444909 } UNION { ?a rdf:type ontology:Q746549 . ?a property:P138 resource:Q1741 } }
Vienna
action count
action union
action filter_type
action find_reverse
entity Vienna
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Vienna
relation named after
type dish
[{'concept': 'astronomical object type'}, 'named after', 'Vienna'] [{'concept': 'dish'}, 'named after', 'Vienna']
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:named_after resource:Vienna . ?a rdf:type ontology:astronomical_object_type } UNION { ?a rdf:type ontology:dish . ?a property:named_after resource:Vienna } }
[]
astronomical object type dish
SYSTEM
3
Q181055 Q109942 Q152419
(c(Q17444909),P138,Q1741) (c(Q746549),P138,Q1741)
action count
action union
action filter_type
action find_reverse
entity Q1741
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q1741
relation P138
type Q746549
[ANSWER]
[{'concept': 'Q17444909'}, 'P138', 'Q1741'] [{'concept': 'Q746549'}, 'P138', 'Q1741']
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:P138 resource:Q1741 . ?a rdf:type ontology:Q17444909 } UNION { ?a rdf:type ontology:Q746549 . ?a property:P138 resource:Q1741 } }
hot dog 231 Vindobona 397 Vienna
3
action count
action union
action filter_type
action find_reverse
entity Vienna
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Vienna
relation named after
type dish
[{'concept': 'astronomical object type'}, 'named after', 'Vienna'] [{'concept': 'dish'}, 'named after', 'Vienna']
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:named_after resource:Vienna . ?a rdf:type ontology:astronomical_object_type } UNION { ?a rdf:type ontology:dish . ?a property:named_after resource:Vienna } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P840
Q838948
USER
Which works of art have a setting location of that administrative territory ?
action filter_type
action find_reverse
entity Q1741
relation P840
type Q838948
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P840 resource:Q1741 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation narrative location
type work of art
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:narrative_location resource:Vienna }
[]
work of art
Q18407657 Q1897128 Q17548046
SYSTEM
Captain America: Civil War, Marie Antoinette, Mission: Impossible – Rogue Nation
Q7928294 Q3227002 Q659609 Q159690 Q2054477 Q876124 Q264467 Q3389042 Q568994 Q13399143 Q1897128 Q262977 Q1737987 Q5691754 Q7446527 Q2294760 Q1653284 Q570302 Q17548046 Q2568856 Q7974350 Q7997600 Q872281 Q6811657 Q312565 Q571200 Q1591914 Q874043 Q7432928 Q1233258 Q876988 Q272064 Q697501 Q2339917 Q3416264 Q13402887 Q1656298 Q1754248 Q699132 Q3346213 Q188159 Q875234 Q873356 Q3548026 Q18407657 Q1212746 Q880665 Q271830 Q1768437 Q3230520 Q2568798 Q697646 Q2631364 Q8913107 Q14954288 Q1032779 Q1483969 Q7737654 Q190956 Q645735 Q757499 Q15621462 Q568465 Q700830 Q3778691 Q5583506
action filter_type
action find_reverse
entity Q1741
relation P840
type Q838948
[ANSWERS] have a setting location of that administrative territory
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P840 resource:Q1741 }
Vienna, City of Song Le Secret de Mayerling Before Sunrise The Piano Teacher Escapade The City Without Jews Sissi – The Young Empress Bitter Sweet Der Kongreß tanzt Jesus, You Know Marie Antoinette 71 Fragments of a Chronology of Chance The Seven-Per-Cent Solution Heart's Desire Sehnsucht 202 Slumming 360 Waltzes from Vienna Mission: Impossible – Rogue Nation Wiener Blut Watermarks Whom the Gods Love Dog Days Melba The Night Porter Antares Premiere Maskerade Schubert's Dream of Spring Kuma Come Sweet Death The Living Daylights Sissi Downstairs Beware of Pity Tag und Nacht The Emperor Waltz The Red Danube Revanche Viennese Nights A Dangerous Method Franz Schubert Die Pratermizzi Ultimatum Captain America: Civil War The Stranger Bad Timing The Third Man Rush Salome Where She Danced Vienna 1910 Sissi – Fateful Years of an Empress 1914 When Nietzsche Wept Gold on the Street Canaris Tales from the Vienna Woods The Great Awakening Amadeus The Illusionist Breathing The Night is Young Klimt The Goalkeeper's Fear of the Penalty Walzerkrieg Goodnight, Vienna
Captain America: Civil War, Marie Antoinette and Mission: Impossible – Rogue Nation have a setting location of that administrative territory
Captain America: Civil War Marie Antoinette Mission: Impossible – Rogue Nation
action filter_type
action find_reverse
entity Vienna
relation narrative location
type work of art
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:narrative_location resource:Vienna }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q1741
P840 P495
Q838948
USER
Which works of art have a setting location of Vienna and have United States of America as their place of origin ?
AND((c(Q838948),P840,Q1741), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q1741
relation P840
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q1741'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?r WHERE { ?r property:P840 resource:Q1741 . ?r property:P495 resource:Q30 . ?r rdf:type ontology:Q838948 }
United States of America Vienna
action filter_type
action intersection
action find_reverse
entity Vienna
relation narrative location
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'Vienna'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?r WHERE { ?r property:narrative_location resource:Vienna . ?r property:country_of_origin resource:United_States_of_America . ?r rdf:type ontology:work_of_art }
[]
work of art
Q3346213 Q1754248 Q1897128 Q2054477 Q7974350 Q659609 Q645735 Q1768437 Q190956 Q18407657
SYSTEM
Some of them are Viennese Nights, The Red Danube, Marie Antoinette, Escapade, Watermarks, Before Sunrise, The Illusionist, Rush, Amadeus, Captain America: Civil War
Q2339917 Q659609 Q17548046 Q3230520 Q7974350 Q15621462 Q1754248 Q3346213 Q8913107 Q3389042 Q7737654 Q645735 Q2054477 Q1897128 Q18407657 Q1656298 Q1737987 Q190956 Q1768437
AND((c(Q838948),P840,Q1741), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q1741
relation P840
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] have a setting location of Vienna and have United States of America as their place of origin
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q1741'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?r WHERE { ?r property:P840 resource:Q1741 . ?r property:P495 resource:Q30 . ?r rdf:type ontology:Q838948 }
Downstairs Before Sunrise Mission: Impossible – Rogue Nation Salome Where She Danced Watermarks The Night is Young The Red Danube Viennese Nights When Nietzsche Wept Bitter Sweet The Great Awakening The Illusionist Escapade Marie Antoinette Captain America: Civil War The Emperor Waltz The Seven-Per-Cent Solution Amadeus Rush
Viennese Nights, The Red Danube, Marie Antoinette, Escapade, Watermarks, Before Sunrise, The Illusionist, Rush, Amadeus and Captain America: Civil War have a setting location of Vienna and have United States of America as their place of origin
Viennese Nights The Red Danube Marie Antoinette Escapade Watermarks Before Sunrise The Illusionist Rush Amadeus Captain America: Civil War
action filter_type
action intersection
action find_reverse
entity Vienna
relation narrative location
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'Vienna'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?r WHERE { ?r property:narrative_location resource:Vienna . ?r property:country_of_origin resource:United_States_of_America . ?r rdf:type ontology:work_of_art }
[]