Simple Question (Direct)
Simple Question
Q4830846
P19
Q56061
USER
Which administrative territory was Ayako Ikeda born in ?
(Q4830846,P19,c(Q56061))
action filter_type
action find
entity Q4830846
relation P19
type Q56061
['Q4830846', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q4830846 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Ayako Ikeda
action filter_type
action find
entity Ayako Ikeda
relation place of birth
type administrative territorial entity
['Ayako Ikeda', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ayako_Ikeda property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q4830846,P19,c(Q56061))
action filter_type
action find
entity Q4830846
relation P19
type Q56061
[ANSWER]
['Q4830846', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q4830846 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Tokyo
Tokyo
action filter_type
action find
entity Ayako Ikeda
relation place of birth
type administrative territorial entity
['Ayako Ikeda', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ayako_Ikeda property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1490
P190
Q15617994
USER
Which administrative territory is partner town of that administrative territory ?
(Q1490,P190,c(Q15617994))
action filter_type
action find
entity Q1490
relation P190
type Q15617994
['Q1490', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1490 property:P190 ?x }
Tokyo
action filter_type
action find
entity Tokyo
relation sister city
type designation for an administrative territorial entity
['Tokyo', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tokyo property:sister_city ?x }
[]
designation for an administrative territorial entity
Q30805
SYSTEM
Cairo Governorate
Q30805
(Q1490,P190,c(Q15617994))
action filter_type
action find
entity Q1490
relation P190
type Q15617994
[ANSWER]
['Q1490', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1490 property:P190 ?x }
Cairo Governorate
Cairo Governorate
action filter_type
action find
entity Tokyo
relation sister city
type designation for an administrative territorial entity
['Tokyo', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tokyo property:sister_city ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are partner towns of that administrative territory ?
(Q30805,P190,c(Q56061))
action count
action filter_type
action find
entity Q30805
relation P190
type Q56061
['Q30805', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q30805 property:P190 ?f . ?f rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Cairo Governorate
relation sister city
type administrative territorial entity
['Cairo Governorate', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Cairo_Governorate property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1490
(Q30805,P190,c(Q56061))
action count
action filter_type
action find
entity Q30805
relation P190
type Q56061
[ANSWER]
['Q30805', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q30805 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Tokyo
1
action count
action filter_type
action find
entity Cairo Governorate
relation sister city
type administrative territorial entity
['Cairo Governorate', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Cairo_Governorate property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1490
P17
Q15617994
USER
Which administrative territory is Tokyo a part of ?
(Q1490,P17,c(Q15617994))
action filter_type
action find
entity Q1490
relation P17
type Q15617994
['Q1490', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1490 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Tokyo
action filter_type
action find
entity Tokyo
relation country
type designation for an administrative territorial entity
['Tokyo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Tokyo property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q1490,P17,c(Q15617994))
action filter_type
action find
entity Q1490
relation P17
type Q15617994
[ANSWER]
['Q1490', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1490 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Japan
Japan
action filter_type
action find
entity Tokyo
relation country
type designation for an administrative territorial entity
['Tokyo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Tokyo property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1490
P138
Q17444909
USER
Which astronomical object type has that administrative territory as its namesake ?
(c(Q17444909),P138,Q17)
action filter_type
action find_reverse
entity Q1490
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q17']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q1490 . ?v rdf:type ontology:Q17444909 }
Tokyo
action filter_type
action find_reverse
entity Tokyo
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Japan']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:Tokyo . ?v rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q154902
SYSTEM
498 Tokio
Q154902
(c(Q17444909),P138,Q17)
action filter_type
action find_reverse
entity Q1490
relation P138
type Q17444909
[ANSWER]
[{'concept': 'Q17444909'}, 'P138', 'Q17']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q1490 . ?v rdf:type ontology:Q17444909 }
498 Tokio
498 Tokio
action filter_type
action find_reverse
entity Tokyo
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Japan']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:Tokyo . ?v rdf:type ontology:astronomical_object_type }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q154902 Q2736889 Q1490
P138
Q56061
USER
Does that astronomical object type comes from Bačinac and Tokyo ?
(Q154902,P138,Q2736889) (Q154902,P138,Q1490)
action is_in
entity Q154902
action intersection
action find_reverse
entity Q2736889
relation P138
action find_reverse
entity Q1490
relation P138
['Q154902', 'P138', 'Q2736889'] ['Q154902', 'P138', 'Q1490']
ASK WHERE { resource:Q154902 property:P138 resource:Q2736889 . resource:Q154902 property:P138 resource:Q1490 }
498 Tokio Bačinac Tokyo
action is_in
entity 498 Tokio
action intersection
action find_reverse
entity Bačinac
relation named after
action find_reverse
entity Tokyo
relation named after
['498 Tokio', 'named after', 'Bačinac'] ['498 Tokio', 'named after', 'Tokyo']
ASK WHERE { resource:498_Tokio property:named_after resource:Bačinac . resource:498_Tokio property:named_after resource:Tokyo }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q154902,P138,Q2736889) (Q154902,P138,Q1490)
action is_in
entity Q154902
action intersection
action find_reverse
entity Q2736889
relation P138
action find_reverse
entity Q1490
relation P138
[ANSWER]
['Q154902', 'P138', 'Q2736889'] ['Q154902', 'P138', 'Q1490']
ASK WHERE { resource:Q154902 property:P138 resource:Q2736889 . resource:Q154902 property:P138 resource:Q1490 }
NO and YES respectively
action is_in
entity 498 Tokio
action intersection
action find_reverse
entity Bačinac
relation named after
action find_reverse
entity Tokyo
relation named after
['498 Tokio', 'named after', 'Bačinac'] ['498 Tokio', 'named after', 'Tokyo']
ASK WHERE { resource:498_Tokio property:named_after resource:Bačinac . resource:498_Tokio property:named_after resource:Tokyo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17 Q215646
P36
Q56061
USER
Is Edo known as the capital of Japan ?
(Q17,P36,Q215646)
action is_in
entity Q215646
action find
entity Q17
relation P36
['Q17', 'P36', 'Q215646']
ASK WHERE { resource:Q17 property:P36 resource:Q215646 }
Japan Edo
action is_in
entity Edo
action find
entity Japan
relation capital
['Japan', 'capital', 'Edo']
ASK WHERE { resource:Japan property:capital resource:Edo }
[]
administrative territorial entity
SYSTEM
YES
(Q17,P36,Q215646)
action is_in
entity Q215646
action find
entity Q17
relation P36
[ANSWER]
['Q17', 'P36', 'Q215646']
ASK WHERE { resource:Q17 property:P36 resource:Q215646 }
Yes
action is_in
entity Edo
action find
entity Japan
relation capital
['Japan', 'capital', 'Edo']
ASK WHERE { resource:Japan property:capital resource:Edo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1490
P291
Q2342494 Q15850590
USER
How many collectables and theatrical genres were published in Tokyo ?
(c(Q2342494),P291,Q1490) (c(Q15850590),P291,Q1490)
action count
action union
action filter_type
action find_reverse
entity Q1490
relation P291
type Q2342494
action filter_type
action find_reverse
entity Q1490
relation P291
type Q15850590
[{'concept': 'Q2342494'}, 'P291', 'Q1490'] [{'concept': 'Q15850590'}, 'P291', 'Q1490']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:P291 resource:Q1490 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P291 resource:Q1490 . ?a rdf:type ontology:Q15850590 } }
Tokyo
action count
action union
action filter_type
action find_reverse
entity Tokyo
relation place of publication
type collectable
action filter_type
action find_reverse
entity Tokyo
relation place of publication
type theatrical genre
[{'concept': 'collectable'}, 'place of publication', 'Tokyo'] [{'concept': 'theatrical genre'}, 'place of publication', 'Tokyo']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:place_of_publication resource:Tokyo . ?a rdf:type ontology:collectable } UNION { ?a property:place_of_publication resource:Tokyo . ?a rdf:type ontology:theatrical_genre } }
[]
collectable theatrical genre
SYSTEM
3 collectables and 1 theatrical genres
Q7901955 Q27062308 Q21725175 Q20718351
(c(Q2342494),P291,Q1490) (c(Q15850590),P291,Q1490)
action count
action union
action filter_type
action find_reverse
entity Q1490
relation P291
type Q2342494
action filter_type
action find_reverse
entity Q1490
relation P291
type Q15850590
[ANSWER]
[{'concept': 'Q2342494'}, 'P291', 'Q1490'] [{'concept': 'Q15850590'}, 'P291', 'Q1490']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:P291 resource:Q1490 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P291 resource:Q1490 . ?a rdf:type ontology:Q15850590 } }
Ushiro Ich war noch niemals in New York Secure Multi-Party Computation Re:Zero kara Hajimeru Isekai Seikatsu
3 collectables and 1 theatrical genres
action count
action union
action filter_type
action find_reverse
entity Tokyo
relation place of publication
type collectable
action filter_type
action find_reverse
entity Tokyo
relation place of publication
type theatrical genre
[{'concept': 'collectable'}, 'place of publication', 'Tokyo'] [{'concept': 'theatrical genre'}, 'place of publication', 'Tokyo']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:place_of_publication resource:Tokyo . ?a rdf:type ontology:collectable } UNION { ?a property:place_of_publication resource:Tokyo . ?a rdf:type ontology:theatrical_genre } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q15617994 Q11204 Q192350
USER
Which administrative territories come under the jurisdiction of min number of legislatures and ministries ?
(c(Q11204)|c(Q192350),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
[[{'concept': 'Q11204'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?o WHERE { { ?g property:P1001 ?o . ?g rdf:type ontology:Q11204 . ?o rdf:type ontology:Q15617994 } UNION { ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q192350 . ?g property:P1001 ?o } } GROUP BY ?o } . FILTER ( ?m = ?b ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?t WHERE { VALUES ( ?x ) { ( ontology:Q11204 ) ( ontology:Q192350 ) } . ?i rdf:type ?x } GROUP BY ?t } } }
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
[[{'concept': 'legislature'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?o WHERE { { ?g property:applies_to_jurisdiction ?o . ?g rdf:type ontology:legislature . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:ministry . ?g property:applies_to_jurisdiction ?o } } GROUP BY ?o } . FILTER ( ?m = ?b ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?t WHERE { VALUES ( ?x ) { ( ontology:legislature ) ( ontology:ministry ) } . ?i rdf:type ?x } GROUP BY ?t } } }
[]
designation for an administrative territorial entity legislature ministry
Q55 Q953 Q184
SYSTEM
Netherlands, Zambia, Belarus
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q163012 Q22273061 Q55 Q2871 Q784 Q265 Q24764 Q2742 Q842 Q398 Q874 Q712 Q711 Q717 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q657 Q258 Q6465 Q1979 Q790 Q4628 Q881 Q7688 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q817 Q11340 Q244 Q11343 Q1974 Q1019 Q2899 Q2758 Q921 Q4712 Q155019 Q39 Q986 Q423 Q983 Q851 Q733 Q734 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q1948 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q32 Q228 Q3462133 Q223 Q221 Q229 Q1050 Q2838 Q1036 Q1037 Q974 Q1032 Q965 Q967 Q963 Q697 Q694 Q695 Q114 Q754 Q752 Q750 Q22274534 Q11337 Q11331 Q214 Q215 Q154547 Q683 Q242 Q1216 Q912 Q2805 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q77 Q878 Q775 Q776 Q810 Q770 Q773 Q772 Q1016 Q158083 Q1011 Q945 Q72449 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q33788 Q929 Q1267638 Q329609 Q863 Q2938 Q2023 Q1231 Q953
(c(Q11204)|c(Q192350),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
[ANSWERS]
[[{'concept': 'Q11204'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?o WHERE { { ?g property:P1001 ?o . ?g rdf:type ontology:Q11204 . ?o rdf:type ontology:Q15617994 } UNION { ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q192350 . ?g property:P1001 ?o } } GROUP BY ?o } . FILTER ( ?m = ?b ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?t WHERE { VALUES ( ?x ) { ( ontology:Q11204 ) ( ontology:Q192350 ) } . ?i rdf:type ?x } GROUP BY ?t } } }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Pankow Duchy of Nemours Netherlands Hagen Dominica Uzbekistan municipality of the Philippines Münster Oman Bahrain Turkmenistan Fiji Mongolia Venezuela Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Chad South Africa department of France Prince Edward Island Haiti Faroe Islands Vietnam raion Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba Kuwait Sprockhövel Barbados Wetter (Ruhr) British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Brunei Duchy of Burgundy Duchy of Lorraine Switzerland Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Manitoba Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Luxembourg Andorra Saxe-Coburg and Gotha Greenland Republic of Macedonia Cyprus Swaziland Oberhausen Uganda Rwanda Democratic Republic of the Congo Niger Burkina Faso Burundi Botswana Nauru South Holland Palau Kenya Trinidad and Tobago Groningen Bolivia Duchy of Elbeuf Herdecke Gevelsberg Slovakia Slovenia duchy Samoa Belize Piedmont Mali Krefeld Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Uruguay United Arab Emirates Gelderland Utrecht Jordan Friesland Overijssel Drenthe Libya Spandau Cape Verde Togo Roccarainola Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Beloostrov Lichtenberg Tajikistan Leverkusen Nunavut Kosovo Region Zambia
Netherlands Zambia Belarus
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
[[{'concept': 'legislature'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?o WHERE { { ?g property:applies_to_jurisdiction ?o . ?g rdf:type ontology:legislature . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:ministry . ?g property:applies_to_jurisdiction ?o } } GROUP BY ?o } . FILTER ( ?m = ?b ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?t WHERE { VALUES ( ?x ) { ( ontology:legislature ) ( ontology:ministry ) } . ?i rdf:type ?x } GROUP BY ?t } } }
[]