Simple Question (Direct)
Simple Question
Q11550613
P108
Q3918
USER
Which university is the employer of Namio Egami ?
(Q11550613,P108,c(Q3918))
action filter_type
action find
entity Q11550613
relation P108
type Q3918
['Q11550613', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { resource:Q11550613 property:P108 ?g . ?g rdf:type ontology:Q3918 }
Namio Egami
action filter_type
action find
entity Namio Egami
relation employer
type university
['Namio Egami', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { resource:Namio_Egami property:employer ?g . ?g rdf:type ontology:university }
[]
university
Q7842
SYSTEM
University of Tokyo
Q7842
(Q11550613,P108,c(Q3918))
action filter_type
action find
entity Q11550613
relation P108
type Q3918
Tokyo [ANSWER] is the employer of Namio Egami
['Q11550613', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { resource:Q11550613 property:P108 ?g . ?g rdf:type ontology:Q3918 }
University of Tokyo
Tokyo University of Tokyo is the employer of Namio Egami
University of Tokyo
action filter_type
action find
entity Namio Egami
relation employer
type university
['Namio Egami', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { resource:Namio_Egami property:employer ?g . ?g rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7842
P159
Q486972
USER
Which human settlement is the headquarter location of that university ?
(Q7842,P159,c(Q486972))
action filter_type
action find
entity Q7842
relation P159
type Q486972
['Q7842', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q7842 property:P159 ?f . ?f rdf:type ontology:Q486972 }
University of Tokyo
action filter_type
action find
entity University of Tokyo
relation headquarters location
type human settlement
['University of Tokyo', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:University_of_Tokyo property:headquarters_location ?f . ?f rdf:type ontology:human_settlement }
[]
human settlement
Q212713
SYSTEM
Bunkyō-ku
Q212713
(Q7842,P159,c(Q486972))
action filter_type
action find
entity Q7842
relation P159
type Q486972
[ANSWER] is the headquarter location of that university
['Q7842', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q7842 property:P159 ?f . ?f rdf:type ontology:Q486972 }
Bunkyō-ku
Bunkyō-ku is the headquarter location of that university
Bunkyō-ku
action filter_type
action find
entity University of Tokyo
relation headquarters location
type human settlement
['University of Tokyo', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:University_of_Tokyo property:headquarters_location ?f . ?f rdf:type ontology:human_settlement }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5492764
P276
Q486972 Q838948 Q34442
USER
How many human settlements can greater number of works of art and roads be found than Lutakko ?
(c(Q838948)|c(Q34442),P276,c(Q486972))
action count
action greater
action union
action find_reverse_tuple_counts
relation P276
type Q486972
type Q838948
action find_reverse_tuple_counts
relation P276
type Q486972
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q5492764
relation P276
type Q838948
type Q34442
[[{'concept': 'Q838948'}, {'concept': 'Q34442'}], 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q34442 ) } } GROUP BY ?e } . FILTER ( ?g > ?q ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P276 resource:Q5492764 . { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:Q34442 ) ( ontology:Q838948 ) } } } } }
Lutakko
action count
action greater
action union
action find_reverse_tuple_counts
relation location
type human settlement
type work of art
action find_reverse_tuple_counts
relation location
type human settlement
type road
action count
action filter_multi_types
action find_reverse
entity Lutakko
relation location
type work of art
type road
[[{'concept': 'work of art'}, {'concept': 'road'}], 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:road ) } } GROUP BY ?e } . FILTER ( ?g > ?q ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:location resource:Lutakko . { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:road ) ( ontology:work_of_art ) } } } } }
[]
human settlement work of art road
SYSTEM
210
Q6500069 Q26692381 Q81175 Q1865919 Q7476191 Q1279445 Q2099544 Q4356881 Q128498 Q73084 Q153757 Q153751 Q2054052 Q2141559 Q5303551 Q12012987 Q7227614 Q861363 Q2007481 Q2651676 Q6924327 Q81276 Q2181664 Q192508 Q1862257 Q1401387 Q2918627 Q73348 Q2203983 Q3483898 Q2652634 Q3112112 Q514540 Q26094419 Q2448744 Q881699 Q2102925 Q924091 Q31487 Q142350 Q1987684 Q26089373 Q494359 Q3070648 Q2565664 Q991009 Q1939043 Q892667 Q4597611 Q144078 Q1342525 Q110007 Q26109035 Q884451 Q723795 Q4176992 Q26692578 Q2801571 Q16898275 Q1278906 Q1179726 Q996935 Q1087187 Q73099 Q6817273 Q12344051 Q463332 Q121765 Q2155656 Q2268243 Q1002859 Q2148416 Q267874 Q2777485 Q2613329 Q478612 Q48898 Q1974010 Q259184 Q328672 Q478707 Q3075336 Q896722 Q602939 Q1969060 Q64586 Q26109843 Q2276202 Q1615032 Q26692522 Q2435152 Q72991 Q1618053 Q26095204 Q178317 Q19904265 Q1653952 Q281527 Q3299324 Q2891187 Q4326710 Q870499 Q2473420 Q60475 Q892677 Q10861698 Q3134986 Q2303485 Q2640642 Q1868170 Q2245467 Q1701402 Q248483 Q2065987 Q2625523 Q955 Q880975 Q73817 Q2145452 Q1615365 Q26692202 Q81159 Q1870673 Q3593074 Q1003585 Q3184100 Q2788482 Q26692116 Q1936132 Q3126518 Q76996 Q14389109 Q2945660 Q255524 Q429309 Q2054185 Q729552 Q1025685 Q3208442 Q2234389 Q26692600 Q894343 Q2439172 Q6551179 Q26109110 Q773853 Q26692456 Q465833 Q2069078 Q9879 Q3182086 Q1868599 Q1923836 Q3303930 Q22704716 Q81100 Q1927937 Q163319 Q2275291 Q748485 Q26089053 Q1949 Q2242438 Q2189478 Q317111 Q1007172 Q2483283 Q21054 Q2297032 Q2593455 Q26089631 Q81186 Q124705 Q2848548 Q432917 Q630974 Q2168724 Q2784508 Q81220 Q4868785 Q850834 Q882086 Q73501 Q312776 Q1326964 Q1533756 Q1001800 Q2202653 Q26110025 Q2175554 Q976443 Q153782 Q2108704 Q2122072 Q3296030 Q26692614 Q76937 Q927604 Q2026235 Q2456747 Q104731 Q2102176 Q1312504 Q2792865 Q26089603 Q2558755 Q988087 Q41976 Q41974 Q7399840
(c(Q838948)|c(Q34442),P276,c(Q486972))
action count
action greater
action union
action find_reverse_tuple_counts
relation P276
type Q486972
type Q838948
action find_reverse_tuple_counts
relation P276
type Q486972
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q5492764
relation P276
type Q838948
type Q34442
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q34442'}], 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q34442 ) } } GROUP BY ?e } . FILTER ( ?g > ?q ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P276 resource:Q5492764 . { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:Q34442 ) ( ontology:Q838948 ) } } } } }
Laurelhurst Florabuurt Steenwijk Rivierenbuurt Hortusbuurt Friesdorf Plittersdorf Solberga Bijlmermeer Huissen Graurheindorf Poppelsdorf Buschdorf Mastenbroek Downtown Portland Korrewegwijk Poncey-Highland Christianshavn Zuiderpolder Zeeheldenbuurt Mount Vernon Monnickendam Nieuwpoort, South Holland Bergen op Zoom Megen Jordaan Mid-Levels IJlst Rüngsdorf Sillery, Quebec City Paddepoel Gramsbergen Westend Helpman-Oost Boschpoort Vilich Waterrijk Goedereede Kraków Auerberg Niederdollendorf Binnenstad-Oost Rijssen Eastern Docklands Weststadt Brouwershaven Mission Hill Bonn-Castell Science Park Amsterdam Urfeld Gronau Union Square Corpus den Hoorn-Noord Mehlem Heugem Coal Harbour Bloemenbuurt Molenvliet Târgu Jiu IJzendijke De Aker Rapenburg Buren Sloten Menomonee Valley Weert Buda Castle Quarter Astoria Rivierenbuurt Selhof De Baarsjes Rhöndorf Civic Center Snel en Polanen Herewegbuurt Amsterdam Oud-West Levent Bezuidenhout Winkel Tiergarten Grachtengordel Overhoeks Brüser Berg French Quarter Kostverloren Apollobuurt De Wijert-Zuid De Hoogte Oostburg Van Starkenborgh Scheepvaartkwartier Groenlo Terborg Villabuurt-Oost Oberkassel Bomen- en Bloemenbuurt IJburg Wan Chai Oisterwijk Batenburg Slotermeer Ouchy Echt, Netherlands Harlingen Bonn-Zentrum Zábrdovice Heusden Woudrichem Stadsparkwijk Lohfeld Ulgersmaborg Limperich Oberdollendorf Sluis Ginneken Aardenburg Ippendorf Winschoten Beijum Ootmarsum Cortinghborg Hasselt Reitdiep île Feydeau Osdorp Veere Grunobuurt Oranjebuurt Watergraafsmeer Hammarby Sjöstad Klundert Steenbergen Oosterparkwijk Oberndorf bei Salzburg Grootebroek Goor Kamppi Borculo La Défense 1 Gravenburg Indische Buurt Bos en Lommer Spaarndam-West Lincoln Village Gorechtbuurt Venice Winschoterdiep Schagen Pennenfeld Waalwijk Kortgene Staatsliedenbuurt Staatsliedenkwartier Medemblik Andersberg Hulst Orthen De Pijp Schildersbuurt Morningside Heights Binnenstad-Noord Wannsee Museumkwartier Zeeheldenbuurt Schwarzrheindorf/Vilich-Rheindorf Delden Lewenborg Montfort Coendersborg Oosterpoortwijk Binnenstad-Zuid Genemuiden Südstadt Schilderskwartier Alt-Godesberg Kerameikos Zielhorst Hoogwoud Goes Bates-Hendricks Beuel-Mitte Nordstadt Bredevoort Tholen Hochkreuz Godesberg-Villenviertel Ullanlinna Römlinghoven De Wijert-Noord Logan Circle Katajanokka Kessenich Selwerd Oranjewijk Strawberry Hoendiep Willemstad, North Brabant Bronkhorst Waarderpolder Vinkhuizen Gorzów Wielkopolski Hoornse Meer Schweinheim De Held Binnenstad-West Slotervaart Plantage Dokkum Franeker Sai Ying Pun
210
action count
action greater
action union
action find_reverse_tuple_counts
relation location
type human settlement
type work of art
action find_reverse_tuple_counts
relation location
type human settlement
type road
action count
action filter_multi_types
action find_reverse
entity Lutakko
relation location
type work of art
type road
[[{'concept': 'work of art'}, {'concept': 'road'}], 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:road ) } } GROUP BY ?e } . FILTER ( ?g > ?q ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:location resource:Lutakko . { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:road ) ( ontology:work_of_art ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q452565
P1376
Q15617994 Q486972
USER
Which administrative territories have greater number of human settlements as their capital than Amajuba District Municipality ?
(c(Q486972),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_type
action find
entity Q452565
relation P1376
type Q15617994
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P1376 ?z . ?z rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q486972 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q452565 property:P1376 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?s ) }
Amajuba District Municipality
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_type
action find
entity Amajuba District Municipality
relation capital of
type designation for an administrative territorial entity
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:human_settlement } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Amajuba_District_Municipality property:capital_of ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?s ) }
[]
designation for an administrative territorial entity human settlement
Q965 Q541589 Q492437
SYSTEM
Burkina Faso, Ems-Supérieur, Bouches-du-Weser
Q1111401 Q541589 Q492437 Q492430 Q965
(c(Q486972),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_type
action find
entity Q452565
relation P1376
type Q15617994
[ANSWERS] have greater number of human settlements as their capital than Amajuba District Municipality
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P1376 ?z . ?z rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q486972 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q452565 property:P1376 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?s ) }
Kispest District Ems-Supérieur Bouches-du-Weser Bouches-de-l'Elbe Burkina Faso
Burkina Faso, Ems-Supérieur and Bouches-du-Weser have greater number of human settlements as their capital than Amajuba District Municipality
Burkina Faso Ems-Supérieur Bouches-du-Weser
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_type
action find
entity Amajuba District Municipality
relation capital of
type designation for an administrative territorial entity
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:human_settlement } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Amajuba_District_Municipality property:capital_of ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q475035
P1376
Q15617994 Q486972
USER
And also tell me about Helwan Governorate?
(c(Q486972),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_type
action find
entity Q475035
relation P1376
type Q15617994
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P1376 ?t . ?t rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q486972 } GROUP BY ?t } . FILTER ( ?e > ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q475035 property:P1376 ?u } } }
Helwan Governorate
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_type
action find
entity Helwan Governorate
relation capital of
type designation for an administrative territorial entity
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:human_settlement } GROUP BY ?t } . FILTER ( ?e > ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Helwan_Governorate property:capital_of ?u } } }
[]
designation for an administrative territorial entity human settlement
Q965 Q541589 Q492437
SYSTEM
Burkina Faso, Ems-Supérieur, Bouches-du-Weser
Q1111401 Q541589 Q492437 Q492430 Q965
(c(Q486972),P1376,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_type
action find
entity Q475035
relation P1376
type Q15617994
[ANSWERS]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P1376 ?t . ?t rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q486972 } GROUP BY ?t } . FILTER ( ?e > ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q475035 property:P1376 ?u } } }
Kispest District Ems-Supérieur Bouches-du-Weser Bouches-de-l'Elbe Burkina Faso
Burkina Faso Ems-Supérieur Bouches-du-Weser
action greater
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_type
action find
entity Helwan Governorate
relation capital of
type designation for an administrative territorial entity
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:human_settlement } GROUP BY ?t } . FILTER ( ?e > ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Helwan_Governorate property:capital_of ?u } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q965
P710
Q930933
USER
What event did Burkina Faso particiate in ?
(c(Q930933),P710,Q965)
action filter_type
action find_reverse
entity Q965
relation P710
type Q930933
[{'concept': 'Q930933'}, 'P710', 'Q965']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q965 . ?n rdf:type ontology:Q930933 }
Burkina Faso
action filter_type
action find_reverse
entity Burkina Faso
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Burkina Faso']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Burkina_Faso . ?n rdf:type ontology:relationship }
[]
relationship
Q4999049
SYSTEM
Burkina Faso–Russia relations
Q4999049
(c(Q930933),P710,Q965)
action filter_type
action find_reverse
entity Q965
relation P710
type Q930933
Burkina Faso particiated in [ANSWER]
[{'concept': 'Q930933'}, 'P710', 'Q965']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q965 . ?n rdf:type ontology:Q930933 }
Burkina Faso–Russia relations
Burkina Faso particiated in Burkina Faso–Russia relations
Burkina Faso–Russia relations
action filter_type
action find_reverse
entity Burkina Faso
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Burkina Faso']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Burkina_Faso . ?n rdf:type ontology:relationship }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4999049
P17
Q15617994
USER
Which administrative territory is that relationship located in ?
(Q4999049,P17,c(Q15617994))
action filter_type
action find
entity Q4999049
relation P17
type Q15617994
['Q4999049', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q4999049 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Burkina Faso–Russia relations
action filter_type
action find
entity Burkina Faso–Russia relations
relation country
type designation for an administrative territorial entity
['Burkina Faso–Russia relations', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Burkina_Faso–Russia_relations property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q4999049,P17,c(Q15617994))
action filter_type
action find
entity Q4999049
relation P17
type Q15617994
That relationship is located in [ANSWER]
['Q4999049', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q4999049 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Russia
That relationship is located in Russia
Russia
action filter_type
action find
entity Burkina Faso–Russia relations
relation country
type designation for an administrative territorial entity
['Burkina Faso–Russia relations', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Burkina_Faso–Russia_relations property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P38
Q8142
USER
What is used as the currency of that administrative territory ?
(Q159,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
['Q159', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?e WHERE { resource:Q159 property:P38 ?e . ?e rdf:type ontology:Q8142 }
Russia
action filter_type
action find
entity Russia
relation currency
type currency
['Russia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?e WHERE { resource:Russia property:currency ?e . ?e rdf:type ontology:currency }
[]
currency
Q615640
SYSTEM
Soviet ruble
Q615640
(Q159,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
[ANSWER] is used as the currency of that administrative territory
['Q159', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?e WHERE { resource:Q159 property:P38 ?e . ?e rdf:type ontology:Q8142 }
Soviet ruble
Soviet ruble is used as the currency of that administrative territory
Soviet ruble
action filter_type
action find
entity Russia
relation currency
type currency
['Russia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?e WHERE { resource:Russia property:currency ?e . ?e rdf:type ontology:currency }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q159
P1027
Q193622 Q618779
USER
How many orders or awards are awarded by Russia ?
(c(Q193622),P1027,Q159) (c(Q618779),P1027,Q159)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P1027
type Q193622
action filter_type
action find_reverse
entity Q159
relation P1027
type Q618779
[{'concept': 'Q193622'}, 'P1027', 'Q159'] [{'concept': 'Q618779'}, 'P1027', 'Q159']
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q618779 ) ( ontology:Q193622 ) } }
Russia
action count
action union
action filter_type
action find_reverse
entity Russia
relation conferred by
type order
action filter_type
action find_reverse
entity Russia
relation conferred by
type award
[{'concept': 'order'}, 'conferred by', 'Russia'] [{'concept': 'award'}, 'conferred by', 'Russia']
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:award ) ( ontology:order ) } }
[]
order award
SYSTEM
3
Q2567963 Q2376515 Q791135
(c(Q193622),P1027,Q159) (c(Q618779),P1027,Q159)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P1027
type Q193622
action filter_type
action find_reverse
entity Q159
relation P1027
type Q618779
[ANSWER]
[{'concept': 'Q193622'}, 'P1027', 'Q159'] [{'concept': 'Q618779'}, 'P1027', 'Q159']
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q618779 ) ( ontology:Q193622 ) } }
Medal "For Merit in Space Exploration" Medal "For Life Saving" Order of Friendship
3
action count
action union
action filter_type
action find_reverse
entity Russia
relation conferred by
type order
action filter_type
action find_reverse
entity Russia
relation conferred by
type award
[{'concept': 'order'}, 'conferred by', 'Russia'] [{'concept': 'award'}, 'conferred by', 'Russia']
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:award ) ( ontology:order ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P163
Q14660
USER
What is associated with that administrative territory ?
action filter_type
action find
entity Q159
relation P163
type Q14660
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q14660 . resource:Q159 property:P163 ?n }
Russia
action filter_type
action find
entity Russia
relation flag
type flag
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:flag . resource:Russia property:flag ?n }
[]
flag
Q16611
SYSTEM
flag of Russia
Q16611
action filter_type
action find
entity Q159
relation P163
type Q14660
The [ANSWER] is associated with that administrative territory
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q14660 . resource:Q159 property:P163 ?n }
flag of Russia
The flag of Russia is associated with that administrative territory
flag of Russia
action filter_type
action find
entity Russia
relation flag
type flag
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:flag . resource:Russia property:flag ?n }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q12188
P941
Q14660 Q14660
USER
How many flags did less number of flags inspire than flag of Brittany ?
(c(Q14660),P941,c(Q14660))
action count
action less
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q12188
relation P941
type Q14660
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?x ) WHERE { ?b rdf:type ontology:Q14660 . ?g rdf:type ontology:Q14660 . ?b property:P941 ?g } GROUP BY ?b } . FILTER ( ?x < ?f ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q12188 property:P941 ?e . ?e rdf:type ontology:Q14660 } } }
flag of Brittany
action count
action less
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity flag of Brittany
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?x ) WHERE { ?b rdf:type ontology:flag . ?g rdf:type ontology:flag . ?b property:inspired_by ?g } GROUP BY ?b } . FILTER ( ?x < ?f ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:flag_of_Brittany property:inspired_by ?e . ?e rdf:type ontology:flag } } }
[]
flag flag
SYSTEM
2
Q429900 Q604735
(c(Q14660),P941,c(Q14660))
action count
action less
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q12188
relation P941
type Q14660
[ANSWER]
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?x ) WHERE { ?b rdf:type ontology:Q14660 . ?g rdf:type ontology:Q14660 . ?b property:P941 ?g } GROUP BY ?b } . FILTER ( ?x < ?f ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q12188 property:P941 ?e . ?e rdf:type ontology:Q14660 } } }
Flag of Saba Flag of Sint Maarten
2
action count
action less
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity flag of Brittany
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?x ) WHERE { ?b rdf:type ontology:flag . ?g rdf:type ontology:flag . ?b property:inspired_by ?g } GROUP BY ?b } . FILTER ( ?x < ?f ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:flag_of_Brittany property:inspired_by ?e . ?e rdf:type ontology:flag } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P941
Q14660 Q14660
USER
Which flags had max number of flags as a source of inspiration ?
(c(Q14660),P941,c(Q14660))
action argmax
action find_tuple_counts
relation P941
type Q14660
type Q14660
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?c ) WHERE { ?x property:P941 ?q . ?x rdf:type ontology:Q14660 . ?q rdf:type ontology:Q14660 } GROUP BY ?x } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?s ) WHERE { ?y property:P941 ?z . ?y rdf:type ontology:Q14660 . ?z rdf:type ontology:Q14660 } GROUP BY ?y } }
action argmax
action find_tuple_counts
relation inspired by
type flag
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?c ) WHERE { ?x property:inspired_by ?q . ?x rdf:type ontology:flag . ?q rdf:type ontology:flag } GROUP BY ?x } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?s ) WHERE { ?y property:inspired_by ?z . ?y rdf:type ontology:flag . ?z rdf:type ontology:flag } GROUP BY ?y } }
[]
flag flag
Q12188
SYSTEM
flag of Brittany
Q12188
(c(Q14660),P941,c(Q14660))
action argmax
action find_tuple_counts
relation P941
type Q14660
type Q14660
[ANSWER] had max number of flags as a source of inspiration
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?c ) WHERE { ?x property:P941 ?q . ?x rdf:type ontology:Q14660 . ?q rdf:type ontology:Q14660 } GROUP BY ?x } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?s ) WHERE { ?y property:P941 ?z . ?y rdf:type ontology:Q14660 . ?z rdf:type ontology:Q14660 } GROUP BY ?y } }
flag of Brittany
Flag of Brittany had max number of flags as a source of inspiration
flag of Brittany
action argmax
action find_tuple_counts
relation inspired by
type flag
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?c ) WHERE { ?x property:inspired_by ?q . ?x rdf:type ontology:flag . ?q rdf:type ontology:flag } GROUP BY ?x } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?s ) WHERE { ?y property:inspired_by ?z . ?y rdf:type ontology:flag . ?z rdf:type ontology:flag } GROUP BY ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P35
Q502895
USER
Who are elected as the head of state of Russia ?
(Q159,P35,c(Q502895))
action filter_type
action find
entity Q159
relation P35
type Q502895
['Q159', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q159 property:P35 ?y }
Russia
action filter_type
action find
entity Russia
relation head of state
type common name
['Russia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Russia property:head_of_state ?y }
[]
common name
Q34453 Q23530 Q7747
SYSTEM
Boris Yeltsin, Dmitry Medvedev, Vladimir Putin
Q34453 Q23530 Q7747
(Q159,P35,c(Q502895))
action filter_type
action find
entity Q159
relation P35
type Q502895
The [ANSWERS] are elected as the head of state of Russia
['Q159', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q159 property:P35 ?y }
Boris Yeltsin Dmitry Medvedev Vladimir Putin
The Boris Yeltsin, Dmitry Medvedev and Vladimir Putin are elected as the head of state of Russia
Boris Yeltsin Dmitry Medvedev Vladimir Putin
action filter_type
action find
entity Russia
relation head of state
type common name
['Russia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Russia property:head_of_state ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q965
P1532
Q6979593
USER
Whose national association football team is Burkina Faso ?
(c(Q6979593),P1532,Q965)
action filter_type
action find_reverse
entity Q965
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q965']
SELECT DISTINCT ?f WHERE { ?f property:P1532 resource:Q965 . ?f rdf:type ontology:Q6979593 }
Burkina Faso
action filter_type
action find_reverse
entity Burkina Faso
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Burkina Faso']
SELECT DISTINCT ?f WHERE { ?f property:country_for_sport resource:Burkina_Faso . ?f rdf:type ontology:national_association_football_team }
[]
national association football team
Q3590609
SYSTEM
Burkina Faso women's national football team
Q3590609
(c(Q6979593),P1532,Q965)
action filter_type
action find_reverse
entity Q965
relation P1532
type Q6979593
[ANSWER] is Burkina Faso
[{'concept': 'Q6979593'}, 'P1532', 'Q965']
SELECT DISTINCT ?f WHERE { ?f property:P1532 resource:Q965 . ?f rdf:type ontology:Q6979593 }
Burkina Faso women's national football team
Burkina Faso women's national football team is Burkina Faso
Burkina Faso women's national football team
action filter_type
action find_reverse
entity Burkina Faso
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Burkina Faso']
SELECT DISTINCT ?f WHERE { ?f property:country_for_sport resource:Burkina_Faso . ?f rdf:type ontology:national_association_football_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q965
P127
Q1076486
USER
Which sports venue is owned by Burkina Faso ?
(c(Q1076486),P127,Q965)
action filter_type
action find_reverse
entity Q965
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q965']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q965 . ?f rdf:type ontology:Q1076486 }
Burkina Faso
action filter_type
action find_reverse
entity Burkina Faso
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Burkina Faso']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Burkina_Faso . ?f rdf:type ontology:sports_venue }
[]
sports venue
Q965446
SYSTEM
Stade du 4-Août
Q965446
(c(Q1076486),P127,Q965)
action filter_type
action find_reverse
entity Q965
relation P127
type Q1076486
[ANSWER] is owned by Burkina Faso
[{'concept': 'Q1076486'}, 'P127', 'Q965']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q965 . ?f rdf:type ontology:Q1076486 }
Stade du 4-Août
Stade du 4-Août is owned by Burkina Faso
Stade du 4-Août
action filter_type
action find_reverse
entity Burkina Faso
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Burkina Faso']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Burkina_Faso . ?f rdf:type ontology:sports_venue }
[]