Simple Question (Direct)
Simple Question
Q6229114
P102
Q7210356
USER
Which party does John Delaware Lewis belong to ?
(Q6229114,P102,c(Q7210356))
action filter_type
action find
entity Q6229114
relation P102
type Q7210356
['Q6229114', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q6229114 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
John Delaware Lewis
action filter_type
action find
entity John Delaware Lewis
relation member of political party
type political organization
['John Delaware Lewis', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:John_Delaware_Lewis property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
political organization
Q622441
SYSTEM
Liberal Party
Q622441
(Q6229114,P102,c(Q7210356))
action filter_type
action find
entity Q6229114
relation P102
type Q7210356
John Delaware Lewis belongs to [ANSWER]
['Q6229114', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q6229114 property:P102 ?z . ?z rdf:type ontology:Q7210356 }
Liberal Party
John Delaware Lewis belongs to Liberal Party
Liberal Party
action filter_type
action find
entity John Delaware Lewis
relation member of political party
type political organization
['John Delaware Lewis', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:John_Delaware_Lewis property:member_of_political_party ?z . ?z rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q622441
P1142
Q1047113
USER
Which special fields are the political ideologies of that one ?
(Q622441,P1142,c(Q1047113))
action filter_type
action find
entity Q622441
relation P1142
type Q1047113
['Q622441', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?b WHERE { resource:Q622441 property:P1142 ?b . ?b rdf:type ontology:Q1047113 }
Liberal Party
action filter_type
action find
entity Liberal Party
relation political ideology
type special field
['Liberal Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?b WHERE { resource:Liberal_Party property:political_ideology ?b . ?b rdf:type ontology:special_field }
[]
special field
Q6216 Q794394
SYSTEM
liberalism, classical liberalism
Q6216 Q794394
(Q622441,P1142,c(Q1047113))
action filter_type
action find
entity Q622441
relation P1142
type Q1047113
And [ANSWERS] are the political ideologies of that one
['Q622441', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?b WHERE { resource:Q622441 property:P1142 ?b . ?b rdf:type ontology:Q1047113 }
liberalism classical liberalism
And liberalism and classical liberalism are the political ideologies of that one
liberalism classical liberalism
action filter_type
action find
entity Liberal Party
relation political ideology
type special field
['Liberal Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?b WHERE { resource:Liberal_Party property:political_ideology ?b . ?b rdf:type ontology:special_field }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6229114
P27
Q15617994
USER
Which administrative territory is the country of citizenship of John Delaware Lewis ?
(Q6229114,P27,c(Q15617994))
action filter_type
action find
entity Q6229114
relation P27
type Q15617994
['Q6229114', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q6229114 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
John Delaware Lewis
action filter_type
action find
entity John Delaware Lewis
relation country of citizenship
type designation for an administrative territorial entity
['John Delaware Lewis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:John_Delaware_Lewis property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6229114,P27,c(Q15617994))
action filter_type
action find
entity Q6229114
relation P27
type Q15617994
[ANSWER] is the country of citizenship of John Delaware Lewis
['Q6229114', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q6229114 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of John Delaware Lewis
United Kingdom
action filter_type
action find
entity John Delaware Lewis
relation country of citizenship
type designation for an administrative territorial entity
['John Delaware Lewis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:John_Delaware_Lewis property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24009728
Q15617994
USER
And also tell me about Hetty Voûte?
(Q24009728,P27,c(Q15617994))
action filter_type
action find
entity Q24009728
relation P27
type Q15617994
['Q24009728', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q24009728 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Hetty Voûte
action filter_type
action find
entity Hetty Voûte
relation country of citizenship
type designation for an administrative territorial entity
['Hetty Voûte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Hetty_Voûte property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q24009728,P27,c(Q15617994))
action filter_type
action find
entity Q24009728
relation P27
type Q15617994
[ANSWER]
['Q24009728', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q24009728 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands
action filter_type
action find
entity Hetty Voûte
relation country of citizenship
type designation for an administrative territorial entity
['Hetty Voûte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Hetty_Voûte property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q29999 Q183
P47
Q1048835
USER
Does Germany share the border with that administrative territory ?
(Q29999,P47,Q183)
action is_in
entity Q183
action find
entity Q29999
relation P47
['Q29999', 'P47', 'Q183']
ASK WHERE { resource:Q29999 property:P47 resource:Q183 }
Kingdom of the Netherlands Germany
action is_in
entity Germany
action find
entity Kingdom of the Netherlands
relation shares border with
['Kingdom of the Netherlands', 'shares border with', 'Germany']
ASK WHERE { resource:Kingdom_of_the_Netherlands property:shares_border_with resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q29999,P47,Q183)
action is_in
entity Q183
action find
entity Q29999
relation P47
[ANSWER]
['Q29999', 'P47', 'Q183']
ASK WHERE { resource:Q29999 property:P47 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Kingdom of the Netherlands
relation shares border with
['Kingdom of the Netherlands', 'shares border with', 'Germany']
ASK WHERE { resource:Kingdom_of_the_Netherlands property:shares_border_with resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29999
P1001
Q192350
USER
Which ministry presides the jurisdiction over Kingdom of the Netherlands ?
(c(Q192350),P1001,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P1001
type Q192350
[{'concept': 'Q192350'}, 'P1001', 'Q29999']
SELECT DISTINCT ?k WHERE { ?k property:P1001 resource:Q29999 . ?k rdf:type ontology:Q192350 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Kingdom of the Netherlands']
SELECT DISTINCT ?k WHERE { ?k property:applies_to_jurisdiction resource:Kingdom_of_the_Netherlands . ?k rdf:type ontology:ministry }
[]
ministry
Q898882
SYSTEM
Ministry of Agriculture, Nature and Food Quality
Q898882
(c(Q192350),P1001,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P1001
type Q192350
[ANSWER] presides the jurisdiction over Kingdom of the Netherlands
[{'concept': 'Q192350'}, 'P1001', 'Q29999']
SELECT DISTINCT ?k WHERE { ?k property:P1001 resource:Q29999 . ?k rdf:type ontology:Q192350 }
Ministry of Agriculture, Nature and Food Quality
Ministry of Agriculture, Nature and Food Quality presides the jurisdiction over Kingdom of the Netherlands
Ministry of Agriculture, Nature and Food Quality
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Kingdom of the Netherlands']
SELECT DISTINCT ?k WHERE { ?k property:applies_to_jurisdiction resource:Kingdom_of_the_Netherlands . ?k rdf:type ontology:ministry }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29999
P495
Q215380
USER
Which band originated in Kingdom of the Netherlands ?
(c(Q215380),P495,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P495
type Q215380
[{'concept': 'Q215380'}, 'P495', 'Q29999']
SELECT DISTINCT ?f WHERE { ?f property:P495 resource:Q29999 . ?f rdf:type ontology:Q215380 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country of origin
type band
[{'concept': 'band'}, 'country of origin', 'Kingdom of the Netherlands']
SELECT DISTINCT ?f WHERE { ?f property:country_of_origin resource:Kingdom_of_the_Netherlands . ?f rdf:type ontology:band }
[]
band
Q27333223
SYSTEM
Frank & Mirella
Q27333223
(c(Q215380),P495,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P495
type Q215380
[ANSWER] originated in Kingdom of the Netherlands
[{'concept': 'Q215380'}, 'P495', 'Q29999']
SELECT DISTINCT ?f WHERE { ?f property:P495 resource:Q29999 . ?f rdf:type ontology:Q215380 }
Frank & Mirella
Frank & Mirella originated in Kingdom of the Netherlands
Frank & Mirella
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country of origin
type band
[{'concept': 'band'}, 'country of origin', 'Kingdom of the Netherlands']
SELECT DISTINCT ?f WHERE { ?f property:country_of_origin resource:Kingdom_of_the_Netherlands . ?f rdf:type ontology:band }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1663831
P1001
Q56061 Q15617994 Q192350
USER
How many ministries have jurisdiction over greater number of administrative territories and administrative territories than Thuringian Ministry of Infrastructure and Agriculture ?
(c(Q192350),P1001,c(Q56061)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q192350
type Q56061
action find_tuple_counts
relation P1001
type Q192350
type Q15617994
action count
action filter_multi_types
action find
entity Q1663831
relation P1001
type Q56061
type Q15617994
[{'concept': 'Q192350'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?d ) WHERE { { ?y property:P1001 ?w . ?y rdf:type ontology:Q192350 . ?w rdf:type ontology:Q56061 } UNION { ?y property:P1001 ?w . ?y rdf:type ontology:Q192350 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Q1663831 property:P1001 ?n . { { ?n rdf:type ontology:Q56061 } UNION { ?n rdf:type ontology:Q15617994 } } } } . FILTER ( ?d > ?u ) }
Thuringian Ministry of Infrastructure and Agriculture
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type ministry
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type ministry
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Thuringian Ministry of Infrastructure and Agriculture
relation applies to jurisdiction
type administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'ministry'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?d ) WHERE { { ?y property:applies_to_jurisdiction ?w . ?y rdf:type ontology:ministry . ?w rdf:type ontology:administrative_territorial_entity } UNION { ?y property:applies_to_jurisdiction ?w . ?y rdf:type ontology:ministry . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Thuringian_Ministry_of_Infrastructure_and_Agriculture property:applies_to_jurisdiction ?n . { { ?n rdf:type ontology:administrative_territorial_entity } UNION { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?d > ?u ) }
[]
administrative territorial entity designation for an administrative territorial entity ministry
SYSTEM
150
Q640365 Q4294370 Q3181035 Q2612426 Q488744 Q25203582 Q6866645 Q6866637 Q1780908 Q4294926 Q3315352 Q5260138 Q222241 Q1774229 Q1332463 Q648666 Q852211 Q4294877 Q1192838 Q11781495 Q750210 Q6866629 Q23013988 Q2601742 Q4294403 Q6867070 Q2081350 Q5995 Q4294895 Q4294480 Q4294482 Q3315361 Q25991767 Q12592056 Q2382750 Q4294694 Q3315185 Q2602530 Q1349912 Q3032313 Q2607663 Q1581048 Q358834 Q2607378 Q942326 Q6867043 Q6867041 Q1780898 Q3315272 Q811595 Q3315277 Q4294392 Q509816 Q2726949 Q1347047 Q4294791 Q4294548 Q25907383 Q3002326 Q1445474 Q4294544 Q17010242 Q6866610 Q6589161 Q782620 Q3181296 Q592576 Q4294380 Q2641068 Q5260142 Q5260141 Q6867517 Q285178 Q4294686 Q1769657 Q4294683 Q4294680 Q2081328 Q4294535 Q4294689 Q3315184 Q3315183 Q501542 Q18345297 Q6866605 Q6866604 Q1050095 Q861556 Q16708318 Q2066149 Q25242034 Q6866602 Q3062474 Q4294280 Q7032900 Q6867233 Q7032562 Q1143261 Q6866634 Q6866635 Q3634069 Q4294879 Q2641653 Q624460 Q898882 Q2568695 Q3044721 Q1789649 Q18204423 Q4380777 Q3624238 Q1553390 Q6867009 Q6866623 Q6866626 Q213624 Q5260135 Q2611987 Q2607906 Q3315435 Q1376786 Q2982461 Q4294691 Q4294693 Q4294692 Q4294695 Q957035 Q2612392 Q6867016 Q1804795 Q6867013 Q3181026 Q16010182 Q3302887 Q4294677 Q4294676 Q4294674 Q1448248 Q488961 Q18696637 Q16331890 Q2611994 Q3288496 Q3079732 Q3555563 Q776570 Q1703625 Q2198916 Q1507521 Q750182
(c(Q192350),P1001,c(Q56061)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q192350
type Q56061
action find_tuple_counts
relation P1001
type Q192350
type Q15617994
action count
action filter_multi_types
action find
entity Q1663831
relation P1001
type Q56061
type Q15617994
[ANSWER]
[{'concept': 'Q192350'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?d ) WHERE { { ?y property:P1001 ?w . ?y rdf:type ontology:Q192350 . ?w rdf:type ontology:Q56061 } UNION { ?y property:P1001 ?w . ?y rdf:type ontology:Q192350 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Q1663831 property:P1001 ?n . { { ?n rdf:type ontology:Q56061 } UNION { ?n rdf:type ontology:Q15617994 } } } } . FILTER ( ?d > ?u ) }
Ministry of Interior of the Kingdom of Thailand Ministry of Health Ministry of Justice (Spain) Ministry of Integration and Gender Equality Ministry of Culture, Sports and Tourism Ministry of Rural Development Ministry of Agriculture of Peru Ministry of Agriculture and Irrigation Ministry of Employment Ministry of Foreign Affairs of Chile Ministry of Foreign Affairs of the People's Democratic Republic of Algeria Department of Agriculture Ministry of Foreign Affairs of Japan Ministry of Finance Ministry of National Defense United States Department of the Treasury United States Department of Transportation Ministry of Justice Ministry of Internal Affairs Ministry of Agriculture of Czech Republic Secretariat of Agriculture, Livestock, Rural Development, Fisheries and Food of Mexico Ministry of Agriculture of Azerbaijan Ministry of Rural Development (Hungary) Ministry of Defense Ministry of Foreign Affairs of Ukraine Ministry of Fuel and Energy Ministry of Agriculture and Rural Development of Israel Cabinet Office Ministry of Foreign Affairs (Bosnia and Herzegovina) Ministry of National Defence Ministry of National Defense Ministry of Foreign Affairs of the Tunisian Republic Department for International Trade Ministry of Agriculture, Food and Rural Affairs (South Korea) Ministry of Defence Ministry of Agriculture and Food Ministry of Agriculture, Fisheries and Food Ministry of Foreign Affairs of the Republic of Colombia Ministry of Communications and Information Technology Ministry of Agriculture, Food and Environment of Spain Ministry of the Interior of Croatia Ministry of Agriculture, Water and Forestry of Namibia Foreign and Commonwealth Office Ministry of Culture of the People's Republic of China United States Department of Health and Human Services Ministry of Foreign Affairs and African Integration of the Republic of Benin Ministry of Foreign Affairs of the Republic of Zimbabwe Ministry of Enterprise, Energy and Communications Ministry of Culture and Communications United States Department of Housing and Urban Development Ministry of Culture Ministry of Foreign Affairs Ministry of Justice Ministry of Higher Education and Research Ministry of Cultural Heritage and Activities and Tourism Ministry of Finance Ministry of Public Finance Department for Exiting the European Union Department of Finance Ministry of Culture and Islamic Guidance Ministry of Public Works Ministry of National Food Security & Research (Pakistan) Ministry of Agriculture, Irrigation and Livestock Ministry of Jihad-e-Agriculture (Iran) Ministry of Agricultural, Food and Forestry Policies Ministry of Education United States Department of Veterans Affairs Ministry of Foreign Affairs and Worship Ministry of Finance Department of Agriculture Department of Agriculture and Aquaculture Ministry of Rural Development Ministry of Foreign Affairs Ministry of Agriculture and Agrarian Reform of Syria Ministry of Education and Research Puerto Rico Department of Agriculture Ministry of Agriculture, Liberia Culture and Sport Ministry Ministry of Education and Research Ministry of Agriculture and Rural Development of Romania Ministry of Agriculture of Tunisia Ministry of Agriculture of Côte d'Ivoire United States Department of Agriculture Ministry of Agriculture and Forests of Bhutan Ministry of Agriculture, Food and Rural Affairs Ministry of Agriculture, Food and Cooperatives of Tanzania Ministry of Agriculture of the People's Republic of China United States Department of Education Ministry of Agrarian Policy of Ukraine Ministry of Defence of Ukraine Ministry of Rural Affairs Ministry of Agriculture, Fisheries and Food Ministry of Finance and Public Credit Ministry of Agrarian Policy and Food of Ukraine Nigerian Federal Ministry of Agriculture Ministry of Interior Ministry of Law and Justice Ministry of Defence Ministry of Agriculture and Forestry of Laos Ministry of Agriculture and Forestry of South Sudan Ministry of Agriculture of India Ministry of Justice Ministry of Defence Ministry of Agriculture, Food and Rural Affairs Ministry of Agriculture, Nature and Food Quality Ministry of Foreign Affairs of Georgia Department for Environment, Food and Rural Affairs Ministry of Foreign and European Affairs Ministry of Agriculture of Sri Lanka Ministry of Agriculture and Rural Development Ministry of Communications and Information Technology United States Department of Justice Ministry of Foreign Affairs of the Republic of Iraq Ministry of Agriculture of Saskatchewan Ministry of Agriculture Ministry of Foreign Affairs of Poland Department of Agriculture, Aquaculture and Fisheries Ministry of Health and Social Affairs Ministry of Agriculture and Food Ministry of Sustainable Development, Environment and Parks Ministry of Agriculture, Forestry and Fisheries Afghan Ministry of Defense Ministry of Agriculture and Rural Development policy of Ethiopia Ministry of Food and Agriculture of Ghana Ministry of Agriculture and Food Industry of Moldova Ministry of Food, Agriculture and Livestock of Turkey Ministry of Agriculture of Lithuania Ministry of National Defence Nepal Ministry of Foreign Affairs The Ministry of Agriculture of Kazakhstan Ministry of Foreign Affairs Ministry of Defence Ministry of Agriculture Ministry of Agriculture, Food, and Consumer Protection of Albania Ministry of Agriculture Ministry of Agriculture of Brazil Ministry of Agriculture, Rural Development and Fisheries Ministry of Fisheries and Agriculture of Iceland Ministry of Environment Ministry of Agriculture of Spain Ministry of Culture, Education and Religious Affairs Ministry of Culture Ministry for Rural Affairs of Sweden Ministry of Education of Chile Ministry of Rural Development and Food of Greece Ministry for Foreign Affairs of Sweden Department of Agriculture and Rural Development of Northern Ireland Ministry of Foreign Affairs of the Republic of Serbia Secretariat of Public Security Secretariat of Social Development
150
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type ministry
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type ministry
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Thuringian Ministry of Infrastructure and Agriculture
relation applies to jurisdiction
type administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'ministry'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?d ) WHERE { { ?y property:applies_to_jurisdiction ?w . ?y rdf:type ontology:ministry . ?w rdf:type ontology:administrative_territorial_entity } UNION { ?y property:applies_to_jurisdiction ?w . ?y rdf:type ontology:ministry . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Thuringian_Ministry_of_Infrastructure_and_Agriculture property:applies_to_jurisdiction ?n . { { ?n rdf:type ontology:administrative_territorial_entity } UNION { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?d > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q22222879
P1001
Q56061 Q15617994 Q192350
USER
And what about Ministry for Foreign Affairs, Institutional Relations and Transparency of the Government of Catalonia?
(c(Q192350),P1001,c(Q56061)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q192350
type Q56061
action find_tuple_counts
relation P1001
type Q192350
type Q15617994
action count
action filter_multi_types
action find
entity Q22222879
relation P1001
type Q56061
type Q15617994
[{'concept': 'Q192350'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?h WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q22222879 property:P1001 ?t . { { ?t rdf:type ontology:Q56061 } UNION { ?t rdf:type ontology:Q15617994 } } } } . FILTER ( ?u > ?i ) }
Ministry for Foreign Affairs, Institutional Relations and Transparency of the Government of Catalonia
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type ministry
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type ministry
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Ministry for Foreign Affairs, Institutional Relations and Transparency of the Government of Catalonia
relation applies to jurisdiction
type administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'ministry'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?h WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Ministry_for_Foreign_Affairs,_Institutional_Relations_and_Transparency_of_the_Government_of_Catalonia property:applies_to_jurisdiction ?t . { { ?t rdf:type ontology:administrative_territorial_entity } UNION { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?u > ?i ) }
[]
administrative territorial entity designation for an administrative territorial entity ministry
SYSTEM
150
Q640365 Q4294370 Q3181035 Q2612426 Q488744 Q25203582 Q6866645 Q6866637 Q1780908 Q4294926 Q3315352 Q5260138 Q222241 Q1774229 Q1332463 Q648666 Q852211 Q4294877 Q1192838 Q11781495 Q750210 Q6866629 Q23013988 Q2601742 Q4294403 Q6867070 Q2081350 Q5995 Q4294895 Q4294480 Q4294482 Q3315361 Q25991767 Q12592056 Q2382750 Q4294694 Q3315185 Q2602530 Q1349912 Q3032313 Q2607663 Q1581048 Q358834 Q2607378 Q942326 Q6867043 Q6867041 Q1780898 Q3315272 Q811595 Q3315277 Q4294392 Q509816 Q2726949 Q1347047 Q4294791 Q4294548 Q25907383 Q3002326 Q1445474 Q4294544 Q17010242 Q6866610 Q6589161 Q782620 Q3181296 Q592576 Q4294380 Q2641068 Q5260142 Q5260141 Q6867517 Q285178 Q4294686 Q1769657 Q4294683 Q4294680 Q2081328 Q4294535 Q4294689 Q3315184 Q3315183 Q501542 Q18345297 Q6866605 Q6866604 Q1050095 Q861556 Q16708318 Q2066149 Q25242034 Q6866602 Q3062474 Q4294280 Q7032900 Q6867233 Q7032562 Q1143261 Q6866634 Q6866635 Q3634069 Q4294879 Q2641653 Q624460 Q898882 Q2568695 Q3044721 Q1789649 Q18204423 Q4380777 Q3624238 Q1553390 Q6867009 Q6866623 Q6866626 Q213624 Q5260135 Q2611987 Q2607906 Q3315435 Q1376786 Q2982461 Q4294691 Q4294693 Q4294692 Q4294695 Q957035 Q2612392 Q6867016 Q1804795 Q6867013 Q3181026 Q16010182 Q3302887 Q4294677 Q4294676 Q4294674 Q1448248 Q488961 Q18696637 Q16331890 Q2611994 Q3288496 Q3079732 Q3555563 Q776570 Q1703625 Q2198916 Q1507521 Q750182
(c(Q192350),P1001,c(Q56061)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P1001
type Q192350
type Q56061
action find_tuple_counts
relation P1001
type Q192350
type Q15617994
action count
action filter_multi_types
action find
entity Q22222879
relation P1001
type Q56061
type Q15617994
[ANSWER]
[{'concept': 'Q192350'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?h WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q22222879 property:P1001 ?t . { { ?t rdf:type ontology:Q56061 } UNION { ?t rdf:type ontology:Q15617994 } } } } . FILTER ( ?u > ?i ) }
Ministry of Interior of the Kingdom of Thailand Ministry of Health Ministry of Justice (Spain) Ministry of Integration and Gender Equality Ministry of Culture, Sports and Tourism Ministry of Rural Development Ministry of Agriculture of Peru Ministry of Agriculture and Irrigation Ministry of Employment Ministry of Foreign Affairs of Chile Ministry of Foreign Affairs of the People's Democratic Republic of Algeria Department of Agriculture Ministry of Foreign Affairs of Japan Ministry of Finance Ministry of National Defense United States Department of the Treasury United States Department of Transportation Ministry of Justice Ministry of Internal Affairs Ministry of Agriculture of Czech Republic Secretariat of Agriculture, Livestock, Rural Development, Fisheries and Food of Mexico Ministry of Agriculture of Azerbaijan Ministry of Rural Development (Hungary) Ministry of Defense Ministry of Foreign Affairs of Ukraine Ministry of Fuel and Energy Ministry of Agriculture and Rural Development of Israel Cabinet Office Ministry of Foreign Affairs (Bosnia and Herzegovina) Ministry of National Defence Ministry of National Defense Ministry of Foreign Affairs of the Tunisian Republic Department for International Trade Ministry of Agriculture, Food and Rural Affairs (South Korea) Ministry of Defence Ministry of Agriculture and Food Ministry of Agriculture, Fisheries and Food Ministry of Foreign Affairs of the Republic of Colombia Ministry of Communications and Information Technology Ministry of Agriculture, Food and Environment of Spain Ministry of the Interior of Croatia Ministry of Agriculture, Water and Forestry of Namibia Foreign and Commonwealth Office Ministry of Culture of the People's Republic of China United States Department of Health and Human Services Ministry of Foreign Affairs and African Integration of the Republic of Benin Ministry of Foreign Affairs of the Republic of Zimbabwe Ministry of Enterprise, Energy and Communications Ministry of Culture and Communications United States Department of Housing and Urban Development Ministry of Culture Ministry of Foreign Affairs Ministry of Justice Ministry of Higher Education and Research Ministry of Cultural Heritage and Activities and Tourism Ministry of Finance Ministry of Public Finance Department for Exiting the European Union Department of Finance Ministry of Culture and Islamic Guidance Ministry of Public Works Ministry of National Food Security & Research (Pakistan) Ministry of Agriculture, Irrigation and Livestock Ministry of Jihad-e-Agriculture (Iran) Ministry of Agricultural, Food and Forestry Policies Ministry of Education United States Department of Veterans Affairs Ministry of Foreign Affairs and Worship Ministry of Finance Department of Agriculture Department of Agriculture and Aquaculture Ministry of Rural Development Ministry of Foreign Affairs Ministry of Agriculture and Agrarian Reform of Syria Ministry of Education and Research Puerto Rico Department of Agriculture Ministry of Agriculture, Liberia Culture and Sport Ministry Ministry of Education and Research Ministry of Agriculture and Rural Development of Romania Ministry of Agriculture of Tunisia Ministry of Agriculture of Côte d'Ivoire United States Department of Agriculture Ministry of Agriculture and Forests of Bhutan Ministry of Agriculture, Food and Rural Affairs Ministry of Agriculture, Food and Cooperatives of Tanzania Ministry of Agriculture of the People's Republic of China United States Department of Education Ministry of Agrarian Policy of Ukraine Ministry of Defence of Ukraine Ministry of Rural Affairs Ministry of Agriculture, Fisheries and Food Ministry of Finance and Public Credit Ministry of Agrarian Policy and Food of Ukraine Nigerian Federal Ministry of Agriculture Ministry of Interior Ministry of Law and Justice Ministry of Defence Ministry of Agriculture and Forestry of Laos Ministry of Agriculture and Forestry of South Sudan Ministry of Agriculture of India Ministry of Justice Ministry of Defence Ministry of Agriculture, Food and Rural Affairs Ministry of Agriculture, Nature and Food Quality Ministry of Foreign Affairs of Georgia Department for Environment, Food and Rural Affairs Ministry of Foreign and European Affairs Ministry of Agriculture of Sri Lanka Ministry of Agriculture and Rural Development Ministry of Communications and Information Technology United States Department of Justice Ministry of Foreign Affairs of the Republic of Iraq Ministry of Agriculture of Saskatchewan Ministry of Agriculture Ministry of Foreign Affairs of Poland Department of Agriculture, Aquaculture and Fisheries Ministry of Health and Social Affairs Ministry of Agriculture and Food Ministry of Sustainable Development, Environment and Parks Ministry of Agriculture, Forestry and Fisheries Afghan Ministry of Defense Ministry of Agriculture and Rural Development policy of Ethiopia Ministry of Food and Agriculture of Ghana Ministry of Agriculture and Food Industry of Moldova Ministry of Food, Agriculture and Livestock of Turkey Ministry of Agriculture of Lithuania Ministry of National Defence Nepal Ministry of Foreign Affairs The Ministry of Agriculture of Kazakhstan Ministry of Foreign Affairs Ministry of Defence Ministry of Agriculture Ministry of Agriculture, Food, and Consumer Protection of Albania Ministry of Agriculture Ministry of Agriculture of Brazil Ministry of Agriculture, Rural Development and Fisheries Ministry of Fisheries and Agriculture of Iceland Ministry of Environment Ministry of Agriculture of Spain Ministry of Culture, Education and Religious Affairs Ministry of Culture Ministry for Rural Affairs of Sweden Ministry of Education of Chile Ministry of Rural Development and Food of Greece Ministry for Foreign Affairs of Sweden Department of Agriculture and Rural Development of Northern Ireland Ministry of Foreign Affairs of the Republic of Serbia Secretariat of Public Security Secretariat of Social Development
150
action count
action greater
action union
action find_tuple_counts
relation applies to jurisdiction
type ministry
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type ministry
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Ministry for Foreign Affairs, Institutional Relations and Transparency of the Government of Catalonia
relation applies to jurisdiction
type administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'ministry'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?h WHERE { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Ministry_for_Foreign_Affairs,_Institutional_Relations_and_Transparency_of_the_Government_of_Catalonia property:applies_to_jurisdiction ?t . { { ?t rdf:type ontology:administrative_territorial_entity } UNION { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?u > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1013102
P740
Q852446 Q215380
USER
Which US administrative territories did approximately the same number of bands orginate in as Salem ?
(c(Q215380),P740,c(Q852446))
action approx
action find_reverse_tuple_counts
relation P740
type Q852446
type Q215380
action count
action filter_type
action find
entity Q1013102
relation P740
type Q852446
[{'concept': 'Q215380'}, 'P740', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q1013102 property:P740 ?n . ?n rdf:type ontology:Q852446 } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P740 ?j . ?j rdf:type ontology:Q852446 . ?r rdf:type ontology:Q215380 } GROUP BY ?j } }
Salem
action approx
action find_reverse_tuple_counts
relation location of formation
type administrative territorial entity of the United States
type band
action count
action filter_type
action find
entity Salem
relation location of formation
type administrative territorial entity of the United States
[{'concept': 'band'}, 'location of formation', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Salem property:location_of_formation ?n . ?n rdf:type ontology:administrative_territorial_entity_of_the_United_States } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:location_of_formation ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?r rdf:type ontology:band } GROUP BY ?j } }
[]
administrative territorial entity of the United States band
Q1428 Q1527 Q1400
SYSTEM
Georgia, Minnesota, Pennsylvania
Q1397 Q1393 Q1603 Q1391 Q49164 Q724 Q5944006 Q1537 Q1370 Q3447805 Q1439 Q817921 Q1612 Q7401848 Q1454 Q28515 Q1456 Q1509 Q2003309 Q2430129 Q26426 Q782 Q1400 Q1957159 Q367285 Q1527 Q1546 Q1204 Q1522 Q824 Q1227 Q591591 Q1223 Q5093934 Q743287 Q1207 Q1387 Q1371 Q1261 Q779 Q1013102 Q1649 Q1428 Q1012397 Q38555 Q759 Q1581 Q7169088 Q585438 Q18383 Q1588 Q173 Q1028023 Q816 Q648622 Q27416 Q797 Q25280 Q1553 Q1002645 Q5127589 Q49140 Q829 Q16551 Q2323139 Q2223832 Q1494 Q525775
(c(Q215380),P740,c(Q852446))
action approx
action find_reverse_tuple_counts
relation P740
type Q852446
type Q215380
action count
action filter_type
action find
entity Q1013102
relation P740
type Q852446
[ANSWERS] approximately the same number of bands orginated in as Salem
[{'concept': 'Q215380'}, 'P740', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q1013102 property:P740 ?n . ?n rdf:type ontology:Q852446 } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P740 ?j . ?j rdf:type ontology:Q852446 . ?r rdf:type ontology:Q215380 } GROUP BY ?j } }
Ohio Delaware Kentucky Maryland Amherst Maine Hunt Valley Wisconsin Virginia Waitsfield Texas Bennington Arkansas Saint Mary-of-the-Woods North Carolina Springfield South Carolina Tennessee Durham Fitzwilliam Montpelier Hawaii Pennsylvania Charlotte Bridgewater Township Minnesota Iowa Illinois New Mexico Oregon Nevada Sudbury Washington Chestnut Hill, Tennessee Farmington North Dakota Rhode Island West Virginia Colorado Connecticut Salem Oklahoma Georgia Woodstock Santa Fe New Hampshire Missouri Perkiomenville, Pennsylvania Iselin Providence Louisiana Alabama Westerly Arizona Bloomfield Marblehead Alaska Harrisburg Nebraska Whippany Clarksboro West Hartford Utah Vermont Enfield Chesterfield Township Mississippi Belleville
Georgia, Minnesota and Pennsylvania approximately the same number of bands orginated in as Salem
Georgia Minnesota Pennsylvania
action approx
action find_reverse_tuple_counts
relation location of formation
type administrative territorial entity of the United States
type band
action count
action filter_type
action find
entity Salem
relation location of formation
type administrative territorial entity of the United States
[{'concept': 'band'}, 'location of formation', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Salem property:location_of_formation ?n . ?n rdf:type ontology:administrative_territorial_entity_of_the_United_States } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:location_of_formation ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?r rdf:type ontology:band } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1527
P47
Q15617994
USER
How many administrative territories share the border with Minnesota ?
(Q1527,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1527
relation P47
type Q15617994
['Q1527', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1527 property:P47 ?h }
Minnesota
action count
action filter_type
action find
entity Minnesota
relation shares border with
type designation for an administrative territorial entity
['Minnesota', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Minnesota property:shares_border_with ?h }
[]
designation for an administrative territorial entity
SYSTEM
4
Q1904 Q1948 Q2007 Q603676
(Q1527,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1527
relation P47
type Q15617994
[ANSWER]
['Q1527', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1527 property:P47 ?h }
Ontario Manitoba Northwest Territories District of Keewatin
4
action count
action filter_type
action find
entity Minnesota
relation shares border with
type designation for an administrative territorial entity
['Minnesota', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Minnesota property:shares_border_with ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1527
P206
Q23397
USER
Which lake is situated nearby that US administrative territory ?
action filter_type
action find
entity Q1527
relation P206
type Q23397
SELECT DISTINCT ?r WHERE { resource:Q1527 property:P206 ?r . ?r rdf:type ontology:Q23397 }
Minnesota
action filter_type
action find
entity Minnesota
relation located next to body of water
type lake
SELECT DISTINCT ?r WHERE { resource:Minnesota property:located_next_to_body_of_water ?r . ?r rdf:type ontology:lake }
[]
lake
Q1066
SYSTEM
Lake Superior
Q1066
action filter_type
action find
entity Q1527
relation P206
type Q23397
[ANSWER] is situated nearby that US administrative territory
SELECT DISTINCT ?r WHERE { resource:Q1527 property:P206 ?r . ?r rdf:type ontology:Q23397 }
Lake Superior
Lake Superior is situated nearby that US administrative territory
Lake Superior
action filter_type
action find
entity Minnesota
relation located next to body of water
type lake
SELECT DISTINCT ?r WHERE { resource:Minnesota property:located_next_to_body_of_water ?r . ?r rdf:type ontology:lake }
[]