Simple Question (Direct)
Simple Question
Q2332266
P102
Q7210356
USER
Which political organizations are Mieczysław Jagielski a member of ?
(Q2332266,P102,c(Q7210356))
action filter_type
action find
entity Q2332266
relation P102
type Q7210356
['Q2332266', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7210356 . resource:Q2332266 property:P102 ?p }
Mieczysław Jagielski
action filter_type
action find
entity Mieczysław Jagielski
relation member of political party
type political organization
['Mieczysław Jagielski', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_organization . resource:Mieczysław_Jagielski property:member_of_political_party ?p }
[]
political organization
Q537303 Q687409
SYSTEM
Polish United Workers' Party, Polish Workers' Party
Q537303 Q687409
(Q2332266,P102,c(Q7210356))
action filter_type
action find
entity Q2332266
relation P102
type Q7210356
Party [ANSWERS] are Mieczysław Jagielski a member of
['Q2332266', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7210356 . resource:Q2332266 property:P102 ?p }
Polish United Workers' Party Polish Workers' Party
Party Polish United Workers' Party and Polish Workers' Party are Mieczysław Jagielski a member of
Polish United Workers' Party Polish Workers' Party
action filter_type
action find
entity Mieczysław Jagielski
relation member of political party
type political organization
['Mieczysław Jagielski', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_organization . resource:Mieczysław_Jagielski property:member_of_political_party ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2332266
P20
Q56061
USER
Where did the demise of Mieczysław Jagielski occur ?
(Q2332266,P20,c(Q56061))
action filter_type
action find
entity Q2332266
relation P20
type Q56061
['Q2332266', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q2332266 property:P20 ?k }
Mieczysław Jagielski
action filter_type
action find
entity Mieczysław Jagielski
relation place of death
type administrative territorial entity
['Mieczysław Jagielski', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Mieczysław_Jagielski property:place_of_death ?k }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q2332266,P20,c(Q56061))
action filter_type
action find
entity Q2332266
relation P20
type Q56061
The demise of Mieczysław Jagielski occurred in [ANSWER]
['Q2332266', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q2332266 property:P20 ?k }
Warsaw
The demise of Mieczysław Jagielski occurred in Warsaw
Warsaw
action filter_type
action find
entity Mieczysław Jagielski
relation place of death
type administrative territorial entity
['Mieczysław Jagielski', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Mieczysław_Jagielski property:place_of_death ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2332266
P69
Q3914
USER
Where was Mieczysław Jagielski educated ?
(Q2332266,P69,c(Q3914))
action filter_type
action find
entity Q2332266
relation P69
type Q3914
['Q2332266', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?b WHERE { resource:Q2332266 property:P69 ?b . ?b rdf:type ontology:Q3914 }
Mieczysław Jagielski
action filter_type
action find
entity Mieczysław Jagielski
relation educated at
type school
['Mieczysław Jagielski', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?b WHERE { resource:Mieczysław_Jagielski property:educated_at ?b . ?b rdf:type ontology:school }
[]
school
Q1394594
SYSTEM
Warsaw School of Economics
Q1394594
(Q2332266,P69,c(Q3914))
action filter_type
action find
entity Q2332266
relation P69
type Q3914
Mieczysław Jagielski was educated at [ANSWER]
['Q2332266', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?b WHERE { resource:Q2332266 property:P69 ?b . ?b rdf:type ontology:Q3914 }
Warsaw School of Economics
Mieczysław Jagielski was educated at Warsaw School of Economics
Warsaw School of Economics
action filter_type
action find
entity Mieczysław Jagielski
relation educated at
type school
['Mieczysław Jagielski', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?b WHERE { resource:Mieczysław_Jagielski property:educated_at ?b . ?b rdf:type ontology:school }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7281934
Q3914
USER
And what about Rae McKaig?
(Q7281934,P69,c(Q3914))
action filter_type
action find
entity Q7281934
relation P69
type Q3914
['Q7281934', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?o WHERE { resource:Q7281934 property:P69 ?o . ?o rdf:type ontology:Q3914 }
Rae McKaig
action filter_type
action find
entity Rae McKaig
relation educated at
type school
['Rae McKaig', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?o WHERE { resource:Rae_McKaig property:educated_at ?o . ?o rdf:type ontology:school }
[]
school
Q161795
SYSTEM
Loretto School
Q161795
(Q7281934,P69,c(Q3914))
action filter_type
action find
entity Q7281934
relation P69
type Q3914
[ANSWER]
['Q7281934', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?o WHERE { resource:Q7281934 property:P69 ?o . ?o rdf:type ontology:Q3914 }
Loretto School
Loretto School
action filter_type
action find
entity Rae McKaig
relation educated at
type school
['Rae McKaig', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?o WHERE { resource:Rae_McKaig property:educated_at ?o . ?o rdf:type ontology:school }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q239
P840
Q56061 Q15416 Q2342494
USER
How many administrative territories are the narrative locations of around the same number of television programs or collectables as Brussels ?
(c(Q15416)|c(Q2342494),P840,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q239
relation P840
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?e WHERE { VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?d rdf:type ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q15416 } } . ?p property:P840 resource:Q239 } } . FILTER ( ?o = ?x ) }
Brussels
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Brussels
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?e WHERE { VALUES ( ?q ) { ( ontology:television_program ) ( ontology:collectable ) } . ?d rdf:type ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:collectable } UNION { ?p rdf:type ontology:television_program } } . ?p property:narrative_location resource:Brussels } } . FILTER ( ?o = ?x ) }
[]
administrative territorial entity television program collectable
SYSTEM
366
Q3579 Q1715 Q704257 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q1826473 Q210292 Q28729 Q25286 Q25287 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q18808 Q467664 Q23725 Q1050826 Q4093 Q3659 Q16563 Q23337 Q8692 Q2656 Q1289 Q10690 Q585 Q1425428 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1754 Q1022 Q308891 Q2500974 Q7054337 Q101625 Q48320 Q80985 Q12892 Q215646 Q80734 Q7880 Q82858 Q1930 Q1435589 Q597 Q690 Q257536 Q334 Q22889 Q3437 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q215177 Q27168 Q16555 Q2048321 Q1335 Q594807 Q1891 Q39121 Q9427 Q48274 Q83317 Q12340599 Q262483 Q186237 Q5083 Q23154 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q3561 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q490 Q6346 Q495 Q2044 Q48370 Q36036 Q3703 Q208287 Q2141 Q192517 Q54212 Q23436 Q43301 Q490584 Q3141 Q3630 Q1246235 Q17151 Q237 Q6046 Q25416 Q239 Q25410 Q16558 Q16559 Q5212975 Q16554 Q753121 Q16556 Q16557 Q8686 Q994 Q35178 Q113546 Q3037 Q52437 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q14815 Q1748 Q169492 Q26881 Q13670 Q1911961 Q85 Q128321 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q25390 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q72 Q71 Q70 Q178168 Q37100 Q16869 Q2214 Q38022 Q174 Q172 Q270 Q2028 Q37066 Q486439 Q2073798 Q26887 Q184587 Q208472 Q79980 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q1861 Q2177880 Q5092 Q1011683 Q41329 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q134672 Q1479 Q387047 Q18419 Q1780 Q1781 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q621549 Q49149 Q1353 Q1352 Q676689 Q271411 Q13496 Q27119 Q1524 Q220 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q617 Q612 Q430464 Q21855637 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q159232 Q61 Q1757 Q18125 Q5818 Q1867 Q384 Q5813 Q12439 Q27393 Q12191 Q126148 Q202337 Q23556 Q837478 Q184345 Q13362 Q6537 Q6106 Q49111 Q499196 Q495373 Q10313 Q42810 Q49255 Q3640 Q647 Q641 Q727 Q649 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q1449 Q47048 Q1764 Q34932 Q12340625 Q2211 Q41262 Q2704 Q47716 Q1040 Q6441 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q3619316 Q2751 Q41876 Q485186 Q42448 Q41970 Q34647 Q33986 Q1085
(c(Q15416)|c(Q2342494),P840,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q239
relation P840
type Q15416
type Q2342494
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?e WHERE { VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?d rdf:type ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q15416 } } . ?p property:P840 resource:Q239 } } . FILTER ( ?o = ?x ) }
Tripoli Hanover Albany Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Tversted Yozgat Kozhikode Uppsala Gothenburg Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Pyongyang Butte Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Salt Lake City Bilbao Palermo Grenoble Cardiff Oslo Newcastle upon Tyne Tijuana Farsø Tombstone Giza Plzeň Stockholm Stuttgart special wards of Tokyo Richmond North Buxton, Ontario Marrakesh Kōbe Fes Antwerp Edo Campagna Toulouse Sigmaringen Ottawa Folsom Lisbon Delft Janesville Singapore Bath Perugia Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Skagen Randers Houston Varde Montevideo Søborg Bologna Leeds Timbuktu Nashua Mosul Vedersø Deadwood Joensuu Seattle Bristol Dybbøl Besançon Mexico City Torquay Onllwyn Algiers Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Milan Indianapolis Turin Florence Manchester Lviv Bamako Kauniainen Halifax Boulder Barnsley Edinburgh Fresno Flint Melbourne Jakarta Nørresundby Thessaloniki Vatican City Novara Stavanger Brussels Aalborg Fort Worth Austin Damsholte Denver Atacames Phoenix Dallas Shanghai Tbilisi Kuwait City Blackeberg Kathmandu Murano Ascot Bloomington Havana Kazan Brighton Vienna Weißenfels Copenhagen Neukölln Helsingør Syracuse Thorning Cairo Midland York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Leeuwarden Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Zürich Geneva Bern Mitrovica Auckland Constantinople Pskov St. Louis São Paulo Toronto Warsaw Verona Bismarck Cedar Rapids Welch Davenport Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Ågerup Baltimore Rødbyhavn Linz Beijing Guatemala City Tokyo La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Exeter Bordeaux Malibu Brooklyn Bratislava Budapest Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Inglewood Nantucket Delhi Chennai Gravesend Malindi Brindisi Kolding Athens Rome Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Padua Dubai Dearborn Hvilsager Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Santa Cruz Washington, D.C. Helsinki Manchester Córdoba Taipei Skopje Canary Islands Detroit Herning Nantes Tangier Nauplion Atlanta Sabinov Viña del Mar Ferrara Vicenza Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Tampa Ankara Rennes Venice Amsterdam Moscow Haifa Ulm Stege Whitby Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Genoa Oulu Reykjavík Brisbane Vejlby Malmö Nottingham Pescara Charleston Karlsruhe Montpellier Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Grenå Siena Reims Key West Sheffield Pyatigorsk Johannesburg Valparaíso Prague
366
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Brussels
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?e WHERE { VALUES ( ?q ) { ( ontology:television_program ) ( ontology:collectable ) } . ?d rdf:type ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:collectable } UNION { ?p rdf:type ontology:television_program } } . ?p property:narrative_location resource:Brussels } } . FILTER ( ?o = ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1394594
P108
Q502895
USER
What is the name of person who works for Warsaw School of Economics ?
(c(Q502895),P108,Q1394594)
action filter_type
action find_reverse
entity Q1394594
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q1394594']
SELECT DISTINCT ?f WHERE { ?f property:P108 resource:Q1394594 . ?f rdf:type ontology:Q502895 }
Warsaw School of Economics
action filter_type
action find_reverse
entity Warsaw School of Economics
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Warsaw School of Economics']
SELECT DISTINCT ?f WHERE { ?f property:employer resource:Warsaw_School_of_Economics . ?f rdf:type ontology:common_name }
[]
common name
Q4759717
SYSTEM
Andrzej Sławiński
Q4759717
(c(Q502895),P108,Q1394594)
action filter_type
action find_reverse
entity Q1394594
relation P108
type Q502895
The name of person works for Warsaw School of Economics is [ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q1394594']
SELECT DISTINCT ?f WHERE { ?f property:P108 resource:Q1394594 . ?f rdf:type ontology:Q502895 }
Andrzej Sławiński
The name of person works for Warsaw School of Economics is Andrzej Sławiński
Andrzej Sławiński
action filter_type
action find_reverse
entity Warsaw School of Economics
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Warsaw School of Economics']
SELECT DISTINCT ?f WHERE { ?f property:employer resource:Warsaw_School_of_Economics . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1394594
P159
Q56061
USER
Where is the head office for Warsaw School of Economics located ?
(Q1394594,P159,c(Q56061))
action filter_type
action find
entity Q1394594
relation P159
type Q56061
['Q1394594', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q1394594 property:P159 ?h }
Warsaw School of Economics
action filter_type
action find
entity Warsaw School of Economics
relation headquarters location
type administrative territorial entity
['Warsaw School of Economics', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Warsaw_School_of_Economics property:headquarters_location ?h }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q1394594,P159,c(Q56061))
action filter_type
action find
entity Q1394594
relation P159
type Q56061
Is the head office for [ANSWER] School of Economics located in [ANSWER]
['Q1394594', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q1394594 property:P159 ?h }
Warsaw
Is the head office for Warsaw School of Economics located in Warsaw
Warsaw
action filter_type
action find
entity Warsaw School of Economics
relation headquarters location
type administrative territorial entity
['Warsaw School of Economics', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Warsaw_School_of_Economics property:headquarters_location ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17002394
Q56061
USER
And also tell me about Department of Communications?
(Q17002394,P159,c(Q56061))
action filter_type
action find
entity Q17002394
relation P159
type Q56061
['Q17002394', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q17002394 property:P159 ?u . ?u rdf:type ontology:Q56061 }
Department of Communications
action filter_type
action find
entity Department of Communications
relation headquarters location
type administrative territorial entity
['Department of Communications', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Department_of_Communications property:headquarters_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3114
SYSTEM
Canberra
Q3114
(Q17002394,P159,c(Q56061))
action filter_type
action find
entity Q17002394
relation P159
type Q56061
[ANSWER]
['Q17002394', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q17002394 property:P159 ?u . ?u rdf:type ontology:Q56061 }
Canberra
Canberra
action filter_type
action find
entity Department of Communications
relation headquarters location
type administrative territorial entity
['Department of Communications', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Department_of_Communications property:headquarters_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3114
P17
Q1048835
USER
Which political territory is that administrative territory present in ?
(Q3114,P17,c(Q1048835))
action filter_type
action find
entity Q3114
relation P17
type Q1048835
['Q3114', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q3114 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Canberra
action filter_type
action find
entity Canberra
relation country
type political territorial entity
['Canberra', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Canberra property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q3114,P17,c(Q1048835))
action filter_type
action find
entity Q3114
relation P17
type Q1048835
That administrative territory is South [ANSWER]
['Q3114', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q3114 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Australia
That administrative territory is South Australia
Australia
action filter_type
action find
entity Canberra
relation country
type political territorial entity
['Canberra', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Canberra property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270
P1376
Q855451
USER
Which Polish administrative territory has Warsaw has its center of administration ?
(Q270,P1376,c(Q855451))
action filter_type
action find
entity Q270
relation P1376
type Q855451
['Q270', 'P1376', {'concept': 'Q855451'}]
SELECT DISTINCT ?u WHERE { resource:Q270 property:P1376 ?u . ?u rdf:type ontology:Q855451 }
Warsaw
action filter_type
action find
entity Warsaw
relation capital of
type administrative territorial entity of Poland
['Warsaw', 'capital of', {'concept': 'administrative territorial entity of Poland'}]
SELECT DISTINCT ?u WHERE { resource:Warsaw property:capital_of ?u . ?u rdf:type ontology:administrative_territorial_entity_of_Poland }
[]
administrative territorial entity of Poland
Q54169
SYSTEM
Masovian Voivodeship
Q54169
(Q270,P1376,c(Q855451))
action filter_type
action find
entity Q270
relation P1376
type Q855451
The [ANSWER] has Warsaw has its center of administration
['Q270', 'P1376', {'concept': 'Q855451'}]
SELECT DISTINCT ?u WHERE { resource:Q270 property:P1376 ?u . ?u rdf:type ontology:Q855451 }
Masovian Voivodeship
The Masovian Voivodeship has Warsaw has its center of administration
Masovian Voivodeship
action filter_type
action find
entity Warsaw
relation capital of
type administrative territorial entity of Poland
['Warsaw', 'capital of', {'concept': 'administrative territorial entity of Poland'}]
SELECT DISTINCT ?u WHERE { resource:Warsaw property:capital_of ?u . ?u rdf:type ontology:administrative_territorial_entity_of_Poland }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q54169
P47
Q855451
USER
Which Polish administrative territories are next to the border of that one ?
(c(Q855451),P47,Q54169)
action filter_type
action find
entity Q54169
relation P47
type Q855451
[{'concept': 'Q855451'}, 'P47', 'Q54169']
SELECT DISTINCT ?t WHERE { resource:Q54169 property:P47 ?t . ?t rdf:type ontology:Q855451 }
Masovian Voivodeship
action filter_type
action find
entity Masovian Voivodeship
relation shares border with
type administrative territorial entity of Poland
[{'concept': 'administrative territorial entity of Poland'}, 'shares border with', 'Masovian Voivodeship']
SELECT DISTINCT ?t WHERE { resource:Masovian_Voivodeship property:shares_border_with ?t . ?t rdf:type ontology:administrative_territorial_entity_of_Poland }
[]
administrative territorial entity of Poland
Q54183 Q54153 Q54158
SYSTEM
Świętokrzyskie Voivodeship, Kuyavian-Pomeranian Voivodeship, Łódź Voivodeship
Q54153 Q54184 Q54183 Q54155 Q54158 Q54177
(c(Q855451),P47,Q54169)
action filter_type
action find
entity Q54169
relation P47
type Q855451
[ANSWERS] are next to the border of that one
[{'concept': 'Q855451'}, 'P47', 'Q54169']
SELECT DISTINCT ?t WHERE { resource:Q54169 property:P47 ?t . ?t rdf:type ontology:Q855451 }
Kuyavian-Pomeranian Voivodeship Warmian-Masurian Voivodeship Świętokrzyskie Voivodeship Lublin Voivodeship Łódź Voivodeship Podlaskie Voivodeship
Świętokrzyskie Voivodeship, Kuyavian-Pomeranian Voivodeship and Łódź Voivodeship are next to the border of that one
Świętokrzyskie Voivodeship Kuyavian-Pomeranian Voivodeship Łódź Voivodeship
action filter_type
action find
entity Masovian Voivodeship
relation shares border with
type administrative territorial entity of Poland
[{'concept': 'administrative territorial entity of Poland'}, 'shares border with', 'Masovian Voivodeship']
SELECT DISTINCT ?t WHERE { resource:Masovian_Voivodeship property:shares_border_with ?t . ?t rdf:type ontology:administrative_territorial_entity_of_Poland }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q54169
P47
Q855451
USER
Does Masovian Voivodeship share border with those ones ?
(Q54169,P47,Q54183) (Q54169,P47,Q54153) (Q54169,P47,Q54158)
action is_in
entity prev_answer
action find
entity Q54169
relation P47
['Q54169', 'P47', 'Q54183'] ['Q54169', 'P47', 'Q54153'] ['Q54169', 'P47', 'Q54158']
ASK WHERE { resource:Q54169 property:P47 ?r . VALUES ( ?r ) { ( resource:Q54153 ) ( resource:Q54184 ) ( resource:Q54183 ) } }
Masovian Voivodeship
action is_in
entity prev_answer
action find
entity Masovian Voivodeship
relation shares border with
['Masovian Voivodeship', 'shares border with', 'Świętokrzyskie Voivodeship'] ['Masovian Voivodeship', 'shares border with', 'Kuyavian-Pomeranian Voivodeship'] ['Masovian Voivodeship', 'shares border with', 'Łódź Voivodeship']
ASK WHERE { resource:Masovian_Voivodeship property:shares_border_with ?r . VALUES ( ?r ) { ( resource:Kuyavian-Pomeranian_Voivodeship ) ( resource:Warmian-Masurian_Voivodeship ) ( resource:Świętokrzyskie_Voivodeship ) } }
[]
administrative territorial entity of Poland
SYSTEM
YES
(Q54169,P47,Q54183) (Q54169,P47,Q54153) (Q54169,P47,Q54158)
action is_in
entity prev_answer
action find
entity Q54169
relation P47
[ANSWER]
['Q54169', 'P47', 'Q54183'] ['Q54169', 'P47', 'Q54153'] ['Q54169', 'P47', 'Q54158']
ASK WHERE { resource:Q54169 property:P47 ?r . VALUES ( ?r ) { ( resource:Q54153 ) ( resource:Q54184 ) ( resource:Q54183 ) } }
Yes
action is_in
entity prev_answer
action find
entity Masovian Voivodeship
relation shares border with
['Masovian Voivodeship', 'shares border with', 'Świętokrzyskie Voivodeship'] ['Masovian Voivodeship', 'shares border with', 'Kuyavian-Pomeranian Voivodeship'] ['Masovian Voivodeship', 'shares border with', 'Łódź Voivodeship']
ASK WHERE { resource:Masovian_Voivodeship property:shares_border_with ?r . VALUES ( ?r ) { ( resource:Kuyavian-Pomeranian_Voivodeship ) ( resource:Warmian-Masurian_Voivodeship ) ( resource:Świętokrzyskie_Voivodeship ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q837
P530
Q1048835 Q15617994
USER
How many administrative territories have diplomatic associations with approximately the same number of political territories as Nepal ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q837
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?t ) WHERE { ?g rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 . ?g property:P530 ?y } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q837 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?a ) }
Nepal
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Nepal
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?t ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?y } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Nepal property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?a ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
124
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q837
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?t ) WHERE { ?g rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 . ?g property:P530 ?y } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q837 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?a ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
124
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Nepal
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?t ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?y } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Nepal property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?a ) }
[]