Simple Question (Direct)
Simple Question
Q422099
P102
Q7210356
USER
Which party is Margret Kiener Nellen affiliated with ?
(Q422099,P102,c(Q7210356))
action filter_type
action find
entity Q422099
relation P102
type Q7210356
['Q422099', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q422099 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Margret Kiener Nellen
action filter_type
action find
entity Margret Kiener Nellen
relation member of political party
type political organization
['Margret Kiener Nellen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Margret_Kiener_Nellen property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q303745
SYSTEM
Social Democratic Party of Switzerland
Q303745
(Q422099,P102,c(Q7210356))
action filter_type
action find
entity Q422099
relation P102
type Q7210356
Margret Kiener Nellen is affiliated with [ANSWER]
['Q422099', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q422099 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Social Democratic Party of Switzerland
Margret Kiener Nellen is affiliated with Social Democratic Party of Switzerland
Social Democratic Party of Switzerland
action filter_type
action find
entity Margret Kiener Nellen
relation member of political party
type political organization
['Margret Kiener Nellen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Margret_Kiener_Nellen property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q422099
P21
Q290
USER
Which sex does Margret Kiener Nellen have ?
(Q422099,P21,c(Q290))
action filter_type
action find
entity Q422099
relation P21
type Q290
['Q422099', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q422099 property:P21 ?g . ?g rdf:type ontology:Q290 }
Margret Kiener Nellen
action filter_type
action find
entity Margret Kiener Nellen
relation gender
type sex
['Margret Kiener Nellen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Margret_Kiener_Nellen property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q422099,P21,c(Q290))
action filter_type
action find
entity Q422099
relation P21
type Q290
Margret Kiener Nellen has a [ANSWER]
['Q422099', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q422099 property:P21 ?g . ?g rdf:type ontology:Q290 }
female
Margret Kiener Nellen has a female
female
action filter_type
action find
entity Margret Kiener Nellen
relation gender
type sex
['Margret Kiener Nellen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Margret_Kiener_Nellen property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q422099
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Margret Kiener Nellen ?
(Q422099,P27,c(Q15617994))
action filter_type
action find
entity Q422099
relation P27
type Q15617994
['Q422099', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q422099 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Margret Kiener Nellen
action filter_type
action find
entity Margret Kiener Nellen
relation country of citizenship
type designation for an administrative territorial entity
['Margret Kiener Nellen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Margret_Kiener_Nellen property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q422099,P27,c(Q15617994))
action filter_type
action find
entity Q422099
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Margret Kiener Nellen
['Q422099', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q422099 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Switzerland
Switzerland is the country of citizenship of Margret Kiener Nellen
Switzerland
action filter_type
action find
entity Margret Kiener Nellen
relation country of citizenship
type designation for an administrative territorial entity
['Margret Kiener Nellen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Margret_Kiener_Nellen property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q422099
P937
Q56061
USER
What is the location where that person worked ?
(Q39,P937,c(Q56061))
action filter_type
action find
entity Q422099
relation P937
type Q56061
['Q39', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q422099 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Margret Kiener Nellen
action filter_type
action find
entity Margret Kiener Nellen
relation work location
type administrative territorial entity
['Switzerland', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Margret_Kiener_Nellen property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q70
SYSTEM
Bern
Q70
(Q39,P937,c(Q56061))
action filter_type
action find
entity Q422099
relation P937
type Q56061
The location that person worked is in [ANSWER]
['Q39', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q422099 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Bern
The location that person worked is in Bern
Bern
action filter_type
action find
entity Margret Kiener Nellen
relation work location
type administrative territorial entity
['Switzerland', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Margret_Kiener_Nellen property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q70 Q34713 Q5395989
P190
Q56061
USER
Is that administrative territory twin city of Salzburg and Eruvassy ?
(Q70,P190,Q34713) (Q70,P190,Q5395989)
action is_in
entity Q70
action intersection
action find_reverse
entity Q34713
relation P190
action find_reverse
entity Q5395989
relation P190
['Q70', 'P190', 'Q34713'] ['Q70', 'P190', 'Q5395989']
ASK WHERE { resource:Q70 property:P190 resource:Q34713 . resource:Q70 property:P190 resource:Q5395989 }
Bern Salzburg Eruvassy
action is_in
entity Bern
action intersection
action find_reverse
entity Salzburg
relation sister city
action find_reverse
entity Eruvassy
relation sister city
['Bern', 'sister city', 'Salzburg'] ['Bern', 'sister city', 'Eruvassy']
ASK WHERE { resource:Bern property:sister_city resource:Salzburg . resource:Bern property:sister_city resource:Eruvassy }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q70,P190,Q34713) (Q70,P190,Q5395989)
action is_in
entity Q70
action intersection
action find_reverse
entity Q34713
relation P190
action find_reverse
entity Q5395989
relation P190
[ANSWER]
['Q70', 'P190', 'Q34713'] ['Q70', 'P190', 'Q5395989']
ASK WHERE { resource:Q70 property:P190 resource:Q34713 . resource:Q70 property:P190 resource:Q5395989 }
YES and NO respectively
action is_in
entity Bern
action intersection
action find_reverse
entity Salzburg
relation sister city
action find_reverse
entity Eruvassy
relation sister city
['Bern', 'sister city', 'Salzburg'] ['Bern', 'sister city', 'Eruvassy']
ASK WHERE { resource:Bern property:sister_city resource:Salzburg . resource:Bern property:sister_city resource:Eruvassy }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q422099 Q70
P19
Q56061
USER
Is Bern the birthplace of Margret Kiener Nellen ?
(Q422099,P19,Q70)
action is_in
entity Q70
action find
entity Q422099
relation P19
['Q422099', 'P19', 'Q70']
ASK WHERE { resource:Q422099 property:P19 resource:Q70 }
Margret Kiener Nellen Bern
action is_in
entity Bern
action find
entity Margret Kiener Nellen
relation place of birth
['Margret Kiener Nellen', 'place of birth', 'Bern']
ASK WHERE { resource:Margret_Kiener_Nellen property:place_of_birth resource:Bern }
[]
administrative territorial entity
SYSTEM
YES
(Q422099,P19,Q70)
action is_in
entity Q70
action find
entity Q422099
relation P19
[ANSWER]
['Q422099', 'P19', 'Q70']
ASK WHERE { resource:Q422099 property:P19 resource:Q70 }
Yes
action is_in
entity Bern
action find
entity Margret Kiener Nellen
relation place of birth
['Margret Kiener Nellen', 'place of birth', 'Bern']
ASK WHERE { resource:Margret_Kiener_Nellen property:place_of_birth resource:Bern }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q39 Q1026229
P530
Q1048835
USER
Does Miraflores have diplomatic relationships with Switzerland ?
(Q39,P530,Q1026229)
action is_in
entity Q1026229
action find
entity Q39
relation P530
['Q39', 'P530', 'Q1026229']
ASK WHERE { resource:Q39 property:P530 resource:Q1026229 }
Switzerland Miraflores
action is_in
entity Miraflores
action find
entity Switzerland
relation diplomatic relation
['Switzerland', 'diplomatic relation', 'Miraflores']
ASK WHERE { resource:Switzerland property:diplomatic_relation resource:Miraflores }
[]
political territorial entity
SYSTEM
NO
(Q39,P530,Q1026229)
action is_in
entity Q1026229
action find
entity Q39
relation P530
[ANSWER]
['Q39', 'P530', 'Q1026229']
ASK WHERE { resource:Q39 property:P530 resource:Q1026229 }
No
action is_in
entity Miraflores
action find
entity Switzerland
relation diplomatic relation
['Switzerland', 'diplomatic relation', 'Miraflores']
ASK WHERE { resource:Switzerland property:diplomatic_relation resource:Miraflores }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P1376
Q56061
USER
Which administrative territory is the capital of that administrative territory ?
action filter_type
action find_reverse
entity Q39
relation P1376
type Q56061
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . ?y property:P1376 resource:Q39 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation capital of
type administrative territorial entity
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . ?y property:capital_of resource:Switzerland }
[]
administrative territorial entity
Q70
SYSTEM
Bern
Q70
action filter_type
action find_reverse
entity Q39
relation P1376
type Q56061
[ANSWER] is the capital of that administrative territory
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . ?y property:P1376 resource:Q39 }
Bern
Bern is the capital of that administrative territory
Bern
action filter_type
action find_reverse
entity Switzerland
relation capital of
type administrative territorial entity
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . ?y property:capital_of resource:Switzerland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q70 Q67613
P47
Q13220204
USER
Is Wohlen bei Bern bordered by Bern ?
(Q70,P47,Q67613)
action is_in
entity Q67613
action find
entity Q70
relation P47
['Q70', 'P47', 'Q67613']
ASK WHERE { resource:Q70 property:P47 resource:Q67613 }
Bern Wohlen bei Bern
action is_in
entity Wohlen bei Bern
action find
entity Bern
relation shares border with
['Bern', 'shares border with', 'Wohlen bei Bern']
ASK WHERE { resource:Bern property:shares_border_with resource:Wohlen_bei_Bern }
[]
second-level administrative country subdivision
SYSTEM
YES
(Q70,P47,Q67613)
action is_in
entity Q67613
action find
entity Q70
relation P47
[ANSWER]
['Q70', 'P47', 'Q67613']
ASK WHERE { resource:Q70 property:P47 resource:Q67613 }
Yes
action is_in
entity Wohlen bei Bern
action find
entity Bern
relation shares border with
['Bern', 'shares border with', 'Wohlen bei Bern']
ASK WHERE { resource:Bern property:shares_border_with resource:Wohlen_bei_Bern }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q303745 Q118308
P488
Q502895
USER
Did Christian Levrat chair Social Democratic Party of Switzerland ?
(Q303745,P488,Q118308)
action is_in
entity Q118308
action find
entity Q303745
relation P488
['Q303745', 'P488', 'Q118308']
ASK WHERE { resource:Q303745 property:P488 resource:Q118308 }
Social Democratic Party of Switzerland Christian Levrat
action is_in
entity Christian Levrat
action find
entity Social Democratic Party of Switzerland
relation chairperson
['Social Democratic Party of Switzerland', 'chairperson', 'Christian Levrat']
ASK WHERE { resource:Social_Democratic_Party_of_Switzerland property:chairperson resource:Christian_Levrat }
[]
common name
SYSTEM
YES
(Q303745,P488,Q118308)
action is_in
entity Q118308
action find
entity Q303745
relation P488
[ANSWER]
['Q303745', 'P488', 'Q118308']
ASK WHERE { resource:Q303745 property:P488 resource:Q118308 }
Yes
action is_in
entity Christian Levrat
action find
entity Social Democratic Party of Switzerland
relation chairperson
['Social Democratic Party of Switzerland', 'chairperson', 'Christian Levrat']
ASK WHERE { resource:Social_Democratic_Party_of_Switzerland property:chairperson resource:Christian_Levrat }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1861
P840
Q56061 Q2342494 Q166142
USER
Which administrative territories are lesser number of collectables or applications set in than Bangkok ?
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q1861
relation P840
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?z ) WHERE { { ?a rdf:type ontology:Q56061 . ?l rdf:type ontology:Q2342494 . ?l property:P840 ?a } UNION { ?l property:P840 ?a . ?a rdf:type ontology:Q56061 . ?l rdf:type ontology:Q166142 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P840 resource:Q1861 . { ?o rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } } } . FILTER ( ?z < ?x ) }
Bangkok
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Bangkok
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?z ) WHERE { { ?a rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:collectable . ?l property:narrative_location ?a } UNION { ?l property:narrative_location ?a . ?a rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:application } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:narrative_location resource:Bangkok . { ?o rdf:type ?j . VALUES ( ?j ) { ( ontology:collectable ) ( ontology:application ) } } } } . FILTER ( ?z < ?x ) }
[]
administrative territorial entity collectable application
Q1085 Q490 Q1781
SYSTEM
Prague, Milan, Budapest
Q1715 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q331990 Q210292 Q28729 Q25286 Q2280 Q3805 Q501661 Q49233 Q1255278 Q42096 Q18808 Q23725 Q1050826 Q4093 Q3659 Q16563 Q8692 Q585 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1022 Q308891 Q101625 Q48320 Q80985 Q215646 Q80734 Q7880 Q1930 Q1435589 Q597 Q690 Q257536 Q22889 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q1335 Q594807 Q9427 Q48274 Q12340599 Q262483 Q186237 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q11864 Q83387 Q462799 Q8673 Q2861 Q11703 Q2868 Q490 Q48370 Q36036 Q3703 Q208287 Q54212 Q3630 Q17151 Q237 Q6046 Q25416 Q239 Q16558 Q16559 Q753121 Q994 Q35178 Q113546 Q3037 Q723329 Q490737 Q1563 Q900 Q14815 Q169492 Q13670 Q128321 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q25390 Q214178 Q25395 Q78 Q70 Q178168 Q37100 Q2214 Q38022 Q174 Q270 Q37066 Q486439 Q208472 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q41329 Q1555 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q1479 Q387047 Q18419 Q1780 Q1781 Q690052 Q2090 Q2073211 Q1851 Q127856 Q18705 Q3820 Q621549 Q49149 Q676689 Q271411 Q13496 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q430464 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q1659757 Q268873 Q26 Q1726 Q530090 Q3825 Q159232 Q1757 Q18125 Q1867 Q384 Q5813 Q27393 Q12191 Q126148 Q202337 Q837478 Q184345 Q6106 Q49111 Q499196 Q495373 Q10313 Q49255 Q3640 Q647 Q41621 Q3012 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q1449 Q47048 Q1764 Q34932 Q2211 Q41262 Q2704 Q1040 Q6441 Q165972 Q374748 Q485172 Q26793 Q4190 Q897848 Q165413 Q1574020 Q3992 Q3110 Q3114 Q743521 Q630533 Q2751 Q41876 Q41970 Q34647 Q1085
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q1861
relation P840
type Q2342494
type Q166142
[ANSWERS] are lesser number of collectables or applications set in than Bangkok
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?z ) WHERE { { ?a rdf:type ontology:Q56061 . ?l rdf:type ontology:Q2342494 . ?l property:P840 ?a } UNION { ?l property:P840 ?a . ?a rdf:type ontology:Q56061 . ?l rdf:type ontology:Q166142 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P840 resource:Q1861 . { ?o rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } } } . FILTER ( ?z < ?x ) }
Hanover Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Korean Demilitarized Zone Yozgat Kozhikode Uppsala Minsk Amman Schleswig Orlando Dragør Miryang Pyongyang Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Bilbao Oslo Tijuana Farsø Tombstone Giza Plzeň Stuttgart special wards of Tokyo Marrakesh Kōbe Fes Edo Campagna Toulouse Ottawa Folsom Lisbon Delft Janesville Bath Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Montevideo Søborg Timbuktu Nashua Vedersø Deadwood Joensuu Dybbøl Besançon Mexico City Torquay Onllwyn Junagadh Diyarbakır Evanston Lagos Rostock United States Virgin Islands Lima Milan Manchester Lviv Bamako Kauniainen Barnsley Jakarta Thessaloniki Vatican City Novara Stavanger Brussels Fort Worth Austin Atacames Tbilisi Kuwait City Blackeberg Kathmandu Ascot Bloomington Havana Kazan Weißenfels Neukölln Syracuse Midland Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Leeuwarden Nablus Newark Basel Bern Mitrovica Auckland Pskov St. Louis São Paulo Warsaw Bismarck Cedar Rapids Bingöl Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Linz Guatemala City La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Bordeaux Malibu Brooklyn Bratislava Budapest Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Bajram Curri Beirut Inglewood Nantucket Gravesend Malindi Brindisi Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Dearborn Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Gimli Newport Beach Northern Ireland Munich Jerichow Libreville Santa Cruz Helsinki Manchester Taipei Skopje Canary Islands Herning Nantes Tangier Nauplion Sabinov Viña del Mar Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Tampa Ankara Rennes Haifa Ulm Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Genoa Oulu Reykjavík Brisbane Malmö Nottingham Pescara Karlsruhe Montpellier Fort Lauderdale Jenin Ann Arbor Bergen Passau Brande Baikonur The Hamptons Liège San Salvador Canberra Scarborough Tire Siena Reims Pyatigorsk Johannesburg Prague
Prague, Milan and Budapest are lesser number of collectables or applications set in than Bangkok
Prague Milan Budapest
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Bangkok
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?z ) WHERE { { ?a rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:collectable . ?l property:narrative_location ?a } UNION { ?l property:narrative_location ?a . ?a rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:application } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:narrative_location resource:Bangkok . { ?o rdf:type ?j . VALUES ( ?j ) { ( ontology:collectable ) ( ontology:application ) } } } } . FILTER ( ?z < ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q10690
P840
Q56061 Q2342494 Q166142
USER
And how about Cardiff?
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q10690
relation P840
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?w WHERE { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } . ?g property:P840 resource:Q10690 } } . FILTER ( ?o < ?p ) }
Cardiff
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Cardiff
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?w WHERE { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:application ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:application ) } } . ?g property:narrative_location resource:Cardiff } } . FILTER ( ?o < ?p ) }
[]
administrative territorial entity collectable application
Q1085 Q490 Q1781
SYSTEM
Prague, Milan, Budapest
Q1715 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q331990 Q210292 Q28729 Q25286 Q2280 Q3805 Q501661 Q49233 Q1255278 Q42096 Q18808 Q23725 Q1050826 Q4093 Q3659 Q16563 Q8692 Q585 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1022 Q308891 Q101625 Q48320 Q80985 Q215646 Q80734 Q7880 Q1930 Q1435589 Q597 Q690 Q257536 Q22889 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q1335 Q594807 Q9427 Q48274 Q12340599 Q262483 Q186237 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q11864 Q83387 Q462799 Q8673 Q2861 Q11703 Q2868 Q490 Q48370 Q36036 Q3703 Q208287 Q54212 Q3630 Q17151 Q237 Q6046 Q25416 Q239 Q16558 Q16559 Q753121 Q994 Q35178 Q113546 Q3037 Q723329 Q490737 Q1563 Q900 Q14815 Q169492 Q13670 Q128321 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q25390 Q214178 Q25395 Q78 Q70 Q178168 Q37100 Q2214 Q38022 Q174 Q270 Q37066 Q486439 Q208472 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q41329 Q1555 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q1479 Q387047 Q18419 Q1780 Q1781 Q690052 Q2090 Q2073211 Q1851 Q127856 Q18705 Q3820 Q621549 Q49149 Q676689 Q271411 Q13496 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q430464 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q1659757 Q268873 Q26 Q1726 Q530090 Q3825 Q159232 Q1757 Q18125 Q1867 Q384 Q5813 Q27393 Q12191 Q126148 Q202337 Q837478 Q184345 Q6106 Q49111 Q499196 Q495373 Q10313 Q49255 Q3640 Q647 Q41621 Q3012 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q1449 Q47048 Q1764 Q34932 Q2211 Q41262 Q2704 Q1040 Q6441 Q165972 Q374748 Q485172 Q26793 Q4190 Q897848 Q165413 Q1574020 Q3992 Q3110 Q3114 Q743521 Q630533 Q2751 Q41876 Q41970 Q34647 Q1085
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q10690
relation P840
type Q2342494
type Q166142
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?w WHERE { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } . ?g property:P840 resource:Q10690 } } . FILTER ( ?o < ?p ) }
Hanover Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Korean Demilitarized Zone Yozgat Kozhikode Uppsala Minsk Amman Schleswig Orlando Dragør Miryang Pyongyang Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Bilbao Oslo Tijuana Farsø Tombstone Giza Plzeň Stuttgart special wards of Tokyo Marrakesh Kōbe Fes Edo Campagna Toulouse Ottawa Folsom Lisbon Delft Janesville Bath Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Montevideo Søborg Timbuktu Nashua Vedersø Deadwood Joensuu Dybbøl Besançon Mexico City Torquay Onllwyn Junagadh Diyarbakır Evanston Lagos Rostock United States Virgin Islands Lima Milan Manchester Lviv Bamako Kauniainen Barnsley Jakarta Thessaloniki Vatican City Novara Stavanger Brussels Fort Worth Austin Atacames Tbilisi Kuwait City Blackeberg Kathmandu Ascot Bloomington Havana Kazan Weißenfels Neukölln Syracuse Midland Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Leeuwarden Nablus Newark Basel Bern Mitrovica Auckland Pskov St. Louis São Paulo Warsaw Bismarck Cedar Rapids Bingöl Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Linz Guatemala City La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Bordeaux Malibu Brooklyn Bratislava Budapest Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Bajram Curri Beirut Inglewood Nantucket Gravesend Malindi Brindisi Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Dearborn Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Gimli Newport Beach Northern Ireland Munich Jerichow Libreville Santa Cruz Helsinki Manchester Taipei Skopje Canary Islands Herning Nantes Tangier Nauplion Sabinov Viña del Mar Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Tampa Ankara Rennes Haifa Ulm Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Genoa Oulu Reykjavík Brisbane Malmö Nottingham Pescara Karlsruhe Montpellier Fort Lauderdale Jenin Ann Arbor Bergen Passau Brande Baikonur The Hamptons Liège San Salvador Canberra Scarborough Tire Siena Reims Pyatigorsk Johannesburg Prague
Prague Milan Budapest
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Cardiff
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?w WHERE { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:application ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:collectable ) ( ontology:application ) } } . ?g property:narrative_location resource:Cardiff } } . FILTER ( ?o < ?p ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4697405
P190
Q56061
USER
Are Ainbail sister town of those ones ?
(Q4697405,P190,Q1085) (Q4697405,P190,Q490) (Q4697405,P190,Q1781)
action is_in
entity prev_answer
action find
entity Q4697405
relation P190
['Q4697405', 'P190', 'Q1085'] ['Q4697405', 'P190', 'Q490'] ['Q4697405', 'P190', 'Q1781']
ASK WHERE { VALUES ( ?h ) { ( resource:Q1715 ) ( resource:Q7436 ) ( resource:Q34804 ) } . resource:Q4697405 property:P190 ?h }
Ainbail
action is_in
entity prev_answer
action find
entity Ainbail
relation sister city
['Ainbail', 'sister city', 'Prague'] ['Ainbail', 'sister city', 'Milan'] ['Ainbail', 'sister city', 'Budapest']
ASK WHERE { VALUES ( ?h ) { ( resource:Hanover ) ( resource:Gatchina ) ( resource:Albuquerque ) } . resource:Ainbail property:sister_city ?h }
[]
administrative territorial entity
SYSTEM
NO
(Q4697405,P190,Q1085) (Q4697405,P190,Q490) (Q4697405,P190,Q1781)
action is_in
entity prev_answer
action find
entity Q4697405
relation P190
[ANSWER]
['Q4697405', 'P190', 'Q1085'] ['Q4697405', 'P190', 'Q490'] ['Q4697405', 'P190', 'Q1781']
ASK WHERE { VALUES ( ?h ) { ( resource:Q1715 ) ( resource:Q7436 ) ( resource:Q34804 ) } . resource:Q4697405 property:P190 ?h }
No
action is_in
entity prev_answer
action find
entity Ainbail
relation sister city
['Ainbail', 'sister city', 'Prague'] ['Ainbail', 'sister city', 'Milan'] ['Ainbail', 'sister city', 'Budapest']
ASK WHERE { VALUES ( ?h ) { ( resource:Hanover ) ( resource:Gatchina ) ( resource:Albuquerque ) } . resource:Ainbail property:sister_city ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1085
P291
Q571
USER
Which books have Prague as their publication location ?
(c(Q571),P291,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q1085']
SELECT DISTINCT ?s WHERE { ?s property:P291 resource:Q1085 . ?s rdf:type ontology:Q571 }
Prague
action filter_type
action find_reverse
entity Prague
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Prague']
SELECT DISTINCT ?s WHERE { ?s property:place_of_publication resource:Prague . ?s rdf:type ontology:book }
[]
book
Q26162388 Q24089316 Q27588655
SYSTEM
Duch Německa, Broučci, Meir Ezofovič
Q26162388 Q17566229 Q24089316 Q26451825 Q26468029 Q24271182 Q27633267 Q27625071 Q27468152 Q15893793 Q27588655 Q27624860 Q19534888 Q19523618 Q26467829 Q18533945 Q26467757 Q26254046 Q22815089
(c(Q571),P291,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P291
type Q571
[ANSWERS] have Prague as their publication location
[{'concept': 'Q571'}, 'P291', 'Q1085']
SELECT DISTINCT ?s WHERE { ?s property:P291 resource:Q1085 . ?s rdf:type ontology:Q571 }
Duch Německa Ilias Broučci Staré pověsti české Vzpomínky na vojenskou služebnost Poselství ze srdce světa Háčkování Orbis pictus v řeči české a německé Sny o štěstí Pomněnky z hrobu nejstaršího Čecha Meir Ezofovič Orbis pictus v řeči české a německé Večerní písně Ballady Göthovy V temných barvách, II Kobzar V temných barvách, I Broučci a Broučkova pozůstalost Světla minulosti, part I, (ed. 1901)
Duch Německa, Broučci and Meir Ezofovič have Prague as their publication location
Duch Německa Broučci Meir Ezofovič
action filter_type
action find_reverse
entity Prague
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Prague']
SELECT DISTINCT ?s WHERE { ?s property:place_of_publication resource:Prague . ?s rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1085
P127
Q2668072
USER
Which collection is under posessision of Prague ?
(c(Q2668072),P127,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P127
type Q2668072
[{'concept': 'Q2668072'}, 'P127', 'Q1085']
SELECT DISTINCT ?c WHERE { ?c property:P127 resource:Q1085 . ?c rdf:type ontology:Q2668072 }
Prague
action filter_type
action find_reverse
entity Prague
relation owned by
type collection
[{'concept': 'collection'}, 'owned by', 'Prague']
SELECT DISTINCT ?c WHERE { ?c property:owned_by resource:Prague . ?c rdf:type ontology:collection }
[]
collection
Q1488700
SYSTEM
Powder Tower
Q1488700
(c(Q2668072),P127,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P127
type Q2668072
[ANSWER] is under posessision of Prague
[{'concept': 'Q2668072'}, 'P127', 'Q1085']
SELECT DISTINCT ?c WHERE { ?c property:P127 resource:Q1085 . ?c rdf:type ontology:Q2668072 }
Powder Tower
Powder Tower is under posessision of Prague
Powder Tower
action filter_type
action find_reverse
entity Prague
relation owned by
type collection
[{'concept': 'collection'}, 'owned by', 'Prague']
SELECT DISTINCT ?c WHERE { ?c property:owned_by resource:Prague . ?c rdf:type ontology:collection }
[]