Simple Question (Direct)
Simple Question
Q959027
P166
Q193622
USER
Which order was received by Pedro Segura y Sáenz ?
(Q959027,P166,c(Q193622))
action filter_type
action find
entity Q959027
relation P166
type Q193622
['Q959027', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?j WHERE { resource:Q959027 property:P166 ?j . ?j rdf:type ontology:Q193622 }
Pedro Segura y Sáenz
action filter_type
action find
entity Pedro Segura y Sáenz
relation award received
type order
['Pedro Segura y Sáenz', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?j WHERE { resource:Pedro_Segura_y_Sáenz property:award_received ?j . ?j rdf:type ontology:order }
[]
order
Q931502
SYSTEM
Order of Isabella the Catholic‎
Q931502
(Q959027,P166,c(Q193622))
action filter_type
action find
entity Q959027
relation P166
type Q193622
The [ANSWER] was received by Pedro Segura y Sáenz
['Q959027', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?j WHERE { resource:Q959027 property:P166 ?j . ?j rdf:type ontology:Q193622 }
Order of Isabella the Catholic‎
The Order of Isabella the Catholic‎ was received by Pedro Segura y Sáenz
Order of Isabella the Catholic‎
action filter_type
action find
entity Pedro Segura y Sáenz
relation award received
type order
['Pedro Segura y Sáenz', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?j WHERE { resource:Pedro_Segura_y_Sáenz property:award_received ?j . ?j rdf:type ontology:order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q959027
P27
Q15617994
USER
Which administrative territory is Pedro Segura y Sáenz a civilian of ?
(Q959027,P27,c(Q15617994))
action filter_type
action find
entity Q959027
relation P27
type Q15617994
['Q959027', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q959027 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Pedro Segura y Sáenz
action filter_type
action find
entity Pedro Segura y Sáenz
relation country of citizenship
type designation for an administrative territorial entity
['Pedro Segura y Sáenz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Pedro_Segura_y_Sáenz property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q959027,P27,c(Q15617994))
action filter_type
action find
entity Q959027
relation P27
type Q15617994
[ANSWER] is Pedro Segura y Sáenz a civilian of
['Q959027', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q959027 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Spain
Spain is Pedro Segura y Sáenz a civilian of
Spain
action filter_type
action find
entity Pedro Segura y Sáenz
relation country of citizenship
type designation for an administrative territorial entity
['Pedro Segura y Sáenz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Pedro_Segura_y_Sáenz property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P1001
Q4164871
USER
Which positions have jurisdiction over that administrative territory ?
(c(Q4164871),P1001,Q29)
action filter_type
action find_reverse
entity Q29
relation P1001
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', 'Q29']
SELECT DISTINCT ?o WHERE { ?o property:P1001 resource:Q29 . ?o rdf:type ontology:Q4164871 }
Spain
action filter_type
action find_reverse
entity Spain
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Spain']
SELECT DISTINCT ?o WHERE { ?o property:applies_to_jurisdiction resource:Spain . ?o rdf:type ontology:position }
[]
position
Q25672112 Q25513965 Q25907267
SYSTEM
Foreign Minister, Minister of Economy and Finance, Minister of Finance and Public Administrations
Q25672112 Q25513965 Q25907267 Q26208485 Q25513972 Q25513975
(c(Q4164871),P1001,Q29)
action filter_type
action find_reverse
entity Q29
relation P1001
type Q4164871
[ANSWERS] have jurisdiction over that administrative territory
[{'concept': 'Q4164871'}, 'P1001', 'Q29']
SELECT DISTINCT ?o WHERE { ?o property:P1001 resource:Q29 . ?o rdf:type ontology:Q4164871 }
Foreign Minister Minister of Economy and Finance Minister of Finance and Public Administrations Minister of Health and Social Policy and Equality Minister for Public Administration Minister of Health
Foreign Minister, Minister of Economy and Finance and Minister of Finance and Public Administrations have jurisdiction over that administrative territory
Foreign Minister Minister of Economy and Finance Minister of Finance and Public Administrations
action filter_type
action find_reverse
entity Spain
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Spain']
SELECT DISTINCT ?o WHERE { ?o property:applies_to_jurisdiction resource:Spain . ?o rdf:type ontology:position }
[]
Clarification
Simple Question|Single Entity|Indirect
Q25672112
P39
Q502895
USER
Who held the position of that one ?
(c(Q502895),P39,Q25672112)
action filter_type
action find_reverse
entity Q25672112
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q25672112']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q25672112 . ?d rdf:type ontology:Q502895 }
Foreign Minister
action filter_type
action find_reverse
entity Foreign Minister
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Foreign Minister']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:Foreign_Minister . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q25907267
SYSTEM
Did you mean Minister of Finance and Public Administrations ?
Q25672112 Q25513965 Q25907267
(c(Q502895),P39,Q25672112) (c(Q502895),P39,Q25513965) (c(Q502895),P39,Q25907267)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q25672112'] [{'concept': 'Q502895'}, 'P39', 'Q25513965'] [{'concept': 'Q502895'}, 'P39', 'Q25907267']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q25672112 . ?d rdf:type ontology:Q502895 }
Foreign Minister Minister of Economy and Finance Minister of Finance and Public Administrations
Did you mean Minister of Finance and Public Administrations ?
Minister of Finance and Public Administrations
[{'concept': 'common name'}, 'position held', 'Foreign Minister'] [{'concept': 'common name'}, 'position held', 'Minister of Economy and Finance'] [{'concept': 'common name'}, 'position held', 'Minister of Finance and Public Administrations']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:Foreign_Minister . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Foreign Minister. Could you tell me the answer for that?
(c(Q502895),P39,Q25672112)
Q25672112
[{'concept': 'Q502895'}, 'P39', 'Q25672112']
[{'concept': 'common name'}, 'position held', 'Foreign Minister']
[]
Q58095 Q260218
SYSTEM
José García-Margallo y Marfil, Trinidad Jiménez
Q58095 Q260218
(c(Q502895),P39,Q25672112)
action filter_type
action find_reverse
entity Q25672112
relation P39
type Q502895
[ANSWERS] held the position of that one
[{'concept': 'Q502895'}, 'P39', 'Q25672112']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q25672112 . ?d rdf:type ontology:Q502895 }
José García-Margallo y Marfil Trinidad Jiménez
José García-Margallo y Marfil and Trinidad Jiménez held the position of that one
José García-Margallo y Marfil Trinidad Jiménez
action filter_type
action find_reverse
entity Foreign Minister
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Foreign Minister']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:Foreign_Minister . ?d rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q25513972
P1001
Q56061 Q852446 Q4164871
USER
How many positions preside the jurisdiction over approximately the same number of administrative territories or US administrative territories as Minister for Public Administration ?
(c(Q4164871),P1001,c(Q56061)|c(Q852446))
action count
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q56061
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action count
action filter_multi_types
action find
entity Q25513972
relation P1001
type Q56061
type Q852446
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?d WHERE { VALUES ( ?g ) { ( ontology:Q852446 ) ( ontology:Q56061 ) } . ?y rdf:type ?g } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q25513972 property:P1001 ?x . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q852446 ) } } } } . FILTER ( ?u = ?v ) }
Minister for Public Administration
action count
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Minister for Public Administration
relation applies to jurisdiction
type administrative territorial entity
type administrative territorial entity of the United States
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?d WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity_of_the_United_States ) ( ontology:administrative_territorial_entity ) } . ?y rdf:type ?g } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Minister_for_Public_Administration property:applies_to_jurisdiction ?x . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } } } } . FILTER ( ?u = ?v ) }
[]
administrative territorial entity administrative territorial entity of the United States position
SYSTEM
161
Q19307531 Q37110 Q25906270 Q25909451 Q25907267 Q25917007 Q23683330 Q121998 Q25935131 Q25598671 Q25322241 Q24851389 Q25939219 Q849418 Q26205903 Q719039 Q25939217 Q2618625 Q25360154 Q20981749 Q25827669 Q25342372 Q2607541 Q21012703 Q20981744 Q25359878 Q25906287 Q7691294 Q25906165 Q140686 Q3965289 Q24060088 Q5152814 Q25391770 Q207978 Q12496694 Q25514257 Q25906269 Q25513955 Q25514686 Q26728742 Q25907399 Q25906264 Q24205246 Q1425432 Q26728106 Q25712498 Q6412254 Q1255921 Q25712497 Q25917009 Q25973167 Q1647332 Q25907368 Q25598713 Q25991673 Q2080604 Q24232020 Q24198466 Q5756726 Q24198460 Q25707086 Q21070726 Q25631196 Q25713775 Q25515749 Q15122211 Q25513965 Q2518691 Q18341329 Q5152841 Q19643 Q3409222 Q25341917 Q20966542 Q13414824 Q6865928 Q25906143 Q16931937 Q25906140 Q3646901 Q25906145 Q23005513 Q5756947 Q6733258 Q7574260 Q23008189 Q25909926 Q14579825 Q18250123 Q5280547 Q25376088 Q3911030 Q22262242 Q24200123 Q23719260 Q6508538 Q27562678 Q25711733 Q25672112 Q25398921 Q25713806 Q25713804 Q23931359 Q25907282 Q25713888 Q25713889 Q19700527 Q17578116 Q25713883 Q24038694 Q15233349 Q25309937 Q25894090 Q15934540 Q25513972 Q1965788 Q25513975 Q25917099 Q166886 Q24205201 Q3911031 Q25906187 Q25906185 Q533501 Q25212085 Q6866431 Q39018 Q22881 Q20188454 Q5261060 Q267936 Q25776270 Q15846423 Q20528404 Q23304196 Q25525260 Q1937160 Q24026255 Q5756851 Q24190727 Q189854 Q2747456 Q15729489 Q3135366 Q25713902 Q6866010 Q754188 Q15233311 Q26208485 Q25907280 Q25820215 Q25341661 Q1790061 Q25998902 Q25712502 Q25358150 Q5280537 Q25909440 Q21172249 Q23304121
(c(Q4164871),P1001,c(Q56061)|c(Q852446))
action count
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q56061
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action count
action filter_multi_types
action find
entity Q25513972
relation P1001
type Q56061
type Q852446
[ANSWER]
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?d WHERE { VALUES ( ?g ) { ( ontology:Q852446 ) ( ontology:Q56061 ) } . ?y rdf:type ?g } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q25513972 property:P1001 ?x . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q852446 ) } } } } . FILTER ( ?u = ?v ) }
Member of Provincial Parliament of Ontario pharaoh Parliamentary Under-Secretary for Further Education Deputy Prime Minister Minister of Finance and Public Administrations Minister of Regional Development Minister of the President's Office ambassador Parliamentary Under Secretary of State for Work and Pensions Minister of Foreign Affairs Minister of Finance count of Foix Shadow Minister for Welfare Reform General Secretary of the Communist Party of China Under-Secretary of State for Culture, Media and Sport queen consort Shadow Minister for Culture and Media Emperor of All Russia Shadow Minister for the Cabinet Office Minister of Trade and Industry Minister of Fuel and Energy Minister of Government Administration, Reform and Church Affairs Voivode of Trakai President of the Hamburg Parliament Minister of Social Development Shadow Minister of State for Europe Shadow Minister of State, Home Office teaching assistant Minister for Welfare Reform chairperson Undersecretary to the Presidency of the Council Minister of Social Protection Commissioner of Customs and Excise Deputy Leader of the Labour Party consul Mangkunegara Minister of Communications Parliamentary Under-Secretary for Creative Industries Minister of Social Affairs Minister for Justice and Consumer Affairs king of Bernicia Minister of Agriculture Shadow Minister for the Environment Parliamentary Under Secretary of State for Justice Minister of the Environment king of Deira Minister for Economic Development King of Hungary president Minister for the Treasury Minister of Social Infrastructure Minister of Justice Landtagspräsident Minister of Culture Minister of the Interior and Administration Minister of the Interior Castellan of Vilnius Member of the Legislative Assembly of the Falkland Islands Minister of Labour High Sheriff of Cavan Minister of Tourism and Recreation Minister of Health Deputy Prime Minister Minister of European Affairs Minister for Heritage Minister for Regional Development President of the Swiss Esperanto Society Minister of Economy and Finance defence minister monarch of Denmark Commissioner of Police queen regnant President of the Senate of France Shadow Minister for Social Justice, Equality and Housing Deputy Prime Minister Minister of Culture of the Republic of Belarus Minister for Nordic Cooperation Shadow Minister for Further Education, Skills, Apprenticeships and Consumer Affairs Maharaja of Mysore Shadow Minister for Schools Commandant of Minsk Parliamentary Secretary for Cabinet Office Member of the Løgting High Sheriff of Westmeath Maharaja of Travancore Speaker of the Flemish Parliament abbess of Nivelles Minister for Culture and Tourism Sultan of Yogyakarta President of the University of Zurich Director of Immigration Minister of Education and Church Affairs president of Italian region Member of the Assembly of Kosovo king of Epirus mayor of Saint-Denis Leader of the Opposition Dukes of Bohemia Minister of Education Foreign Minister Minister of Higher Education Minister for Communities and Tackling Poverty Minister for Public Services Director of Bureau President of the Chamber of Representatives Minister for Transport, Communications and Technology Minister for Youth and Arts King of Nepal interior minister Minister for Foreign Affairs State Secretary of Asylum, Migration, Social Integration and Poverty Reduction state president of the protectorate of Bohemia and Moravia Minister of Foreign Affairs Minister of Foreign Affairs King of the Kings Minister for Public Administration First Deputy Chairman of the Government of the Russian Federation Minister of Health Deputy Prime Minister duke Minister of Agriculture and Forestry province president Shadow Chancellor of the Duchy of Lancaster Shadow Minister for Prisons Secretary of state Minister of Health Minister of the Interior emperor Prince-Bishop Member of the Aragonese Corts Deputy Premier of Victoria executive director Minister for Climate and Energy President of the German Esperanto Youth Minister of Public Administration Minister of State for Health Minister of Finance minister without portfolio Minister for Aged Care High Sheriff of Louth Minister of Small Business and Tourism metropolitan bishop prince Abbot of Maria Laach Chief Secretary for Administration Minister of Transport and Local Government Minister for the Press and the Media Basileus President of Czechoslovakia Minister of Health and Social Policy and Equality Minister of the Civil Service Minister of Culture Shadow Minister (Environment, Food and Rural Affairs) Lieutenant Governor of the Isle of Man Minister of Social Development Minister of Social Affairs and Health Parliamentary Under-Secretary of State for Transport Director of Audit Minister for Special Trade Negotiations mayor of Bourges Minister for Local Government and Regeneration
161
action count
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Minister for Public Administration
relation applies to jurisdiction
type administrative territorial entity
type administrative territorial entity of the United States
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?d WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity_of_the_United_States ) ( ontology:administrative_territorial_entity ) } . ?y rdf:type ?g } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Minister_for_Public_Administration property:applies_to_jurisdiction ?x . { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } } } } . FILTER ( ?u = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q25398921
P1001
Q56061 Q852446 Q4164871
USER
And also tell me about Minister of Higher Education?
(c(Q4164871),P1001,c(Q56061)|c(Q852446))
action count
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q56061
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action count
action filter_multi_types
action find
entity Q25398921
relation P1001
type Q56061
type Q852446
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?h WHERE { { ?h property:P1001 ?d . ?h rdf:type ontology:Q4164871 . ?d rdf:type ontology:Q56061 } UNION { ?h rdf:type ontology:Q4164871 . ?d rdf:type ontology:Q852446 . ?h property:P1001 ?d } } GROUP BY ?h } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q25398921 property:P1001 ?b . { { ?b rdf:type ontology:Q56061 } UNION { ?b rdf:type ontology:Q852446 } } } } }
Minister of Higher Education
action count
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Minister of Higher Education
relation applies to jurisdiction
type administrative territorial entity
type administrative territorial entity of the United States
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?h WHERE { { ?h property:applies_to_jurisdiction ?d . ?h rdf:type ontology:position . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?h rdf:type ontology:position . ?d rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?h property:applies_to_jurisdiction ?d } } GROUP BY ?h } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Minister_of_Higher_Education property:applies_to_jurisdiction ?b . { { ?b rdf:type ontology:administrative_territorial_entity } UNION { ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States } } } } }
[]
administrative territorial entity administrative territorial entity of the United States position
SYSTEM
161
Q19307531 Q37110 Q25906270 Q25909451 Q25907267 Q25917007 Q23683330 Q121998 Q25935131 Q25598671 Q25322241 Q24851389 Q25939219 Q849418 Q26205903 Q719039 Q25939217 Q2618625 Q25360154 Q20981749 Q25827669 Q25342372 Q2607541 Q21012703 Q20981744 Q25359878 Q25906287 Q7691294 Q25906165 Q140686 Q3965289 Q24060088 Q5152814 Q25391770 Q207978 Q12496694 Q25514257 Q25906269 Q25513955 Q25514686 Q26728742 Q25907399 Q25906264 Q24205246 Q1425432 Q26728106 Q25712498 Q6412254 Q1255921 Q25712497 Q25917009 Q25973167 Q1647332 Q25907368 Q25598713 Q25991673 Q2080604 Q24232020 Q24198466 Q5756726 Q24198460 Q25707086 Q21070726 Q25631196 Q25713775 Q25515749 Q15122211 Q25513965 Q2518691 Q18341329 Q5152841 Q19643 Q3409222 Q25341917 Q20966542 Q13414824 Q6865928 Q25906143 Q16931937 Q25906140 Q3646901 Q25906145 Q23005513 Q5756947 Q6733258 Q7574260 Q23008189 Q25909926 Q14579825 Q18250123 Q5280547 Q25376088 Q3911030 Q22262242 Q24200123 Q23719260 Q6508538 Q27562678 Q25711733 Q25672112 Q25398921 Q25713806 Q25713804 Q23931359 Q25907282 Q25713888 Q25713889 Q19700527 Q17578116 Q25713883 Q24038694 Q15233349 Q25309937 Q25894090 Q15934540 Q25513972 Q1965788 Q25513975 Q25917099 Q166886 Q24205201 Q3911031 Q25906187 Q25906185 Q533501 Q25212085 Q6866431 Q39018 Q22881 Q20188454 Q5261060 Q267936 Q25776270 Q15846423 Q20528404 Q23304196 Q25525260 Q1937160 Q24026255 Q5756851 Q24190727 Q189854 Q2747456 Q15729489 Q3135366 Q25713902 Q6866010 Q754188 Q15233311 Q26208485 Q25907280 Q25820215 Q25341661 Q1790061 Q25998902 Q25712502 Q25358150 Q5280537 Q25909440 Q21172249 Q23304121
(c(Q4164871),P1001,c(Q56061)|c(Q852446))
action count
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q56061
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action count
action filter_multi_types
action find
entity Q25398921
relation P1001
type Q56061
type Q852446
[ANSWER]
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?h WHERE { { ?h property:P1001 ?d . ?h rdf:type ontology:Q4164871 . ?d rdf:type ontology:Q56061 } UNION { ?h rdf:type ontology:Q4164871 . ?d rdf:type ontology:Q852446 . ?h property:P1001 ?d } } GROUP BY ?h } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q25398921 property:P1001 ?b . { { ?b rdf:type ontology:Q56061 } UNION { ?b rdf:type ontology:Q852446 } } } } }
Member of Provincial Parliament of Ontario pharaoh Parliamentary Under-Secretary for Further Education Deputy Prime Minister Minister of Finance and Public Administrations Minister of Regional Development Minister of the President's Office ambassador Parliamentary Under Secretary of State for Work and Pensions Minister of Foreign Affairs Minister of Finance count of Foix Shadow Minister for Welfare Reform General Secretary of the Communist Party of China Under-Secretary of State for Culture, Media and Sport queen consort Shadow Minister for Culture and Media Emperor of All Russia Shadow Minister for the Cabinet Office Minister of Trade and Industry Minister of Fuel and Energy Minister of Government Administration, Reform and Church Affairs Voivode of Trakai President of the Hamburg Parliament Minister of Social Development Shadow Minister of State for Europe Shadow Minister of State, Home Office teaching assistant Minister for Welfare Reform chairperson Undersecretary to the Presidency of the Council Minister of Social Protection Commissioner of Customs and Excise Deputy Leader of the Labour Party consul Mangkunegara Minister of Communications Parliamentary Under-Secretary for Creative Industries Minister of Social Affairs Minister for Justice and Consumer Affairs king of Bernicia Minister of Agriculture Shadow Minister for the Environment Parliamentary Under Secretary of State for Justice Minister of the Environment king of Deira Minister for Economic Development King of Hungary president Minister for the Treasury Minister of Social Infrastructure Minister of Justice Landtagspräsident Minister of Culture Minister of the Interior and Administration Minister of the Interior Castellan of Vilnius Member of the Legislative Assembly of the Falkland Islands Minister of Labour High Sheriff of Cavan Minister of Tourism and Recreation Minister of Health Deputy Prime Minister Minister of European Affairs Minister for Heritage Minister for Regional Development President of the Swiss Esperanto Society Minister of Economy and Finance defence minister monarch of Denmark Commissioner of Police queen regnant President of the Senate of France Shadow Minister for Social Justice, Equality and Housing Deputy Prime Minister Minister of Culture of the Republic of Belarus Minister for Nordic Cooperation Shadow Minister for Further Education, Skills, Apprenticeships and Consumer Affairs Maharaja of Mysore Shadow Minister for Schools Commandant of Minsk Parliamentary Secretary for Cabinet Office Member of the Løgting High Sheriff of Westmeath Maharaja of Travancore Speaker of the Flemish Parliament abbess of Nivelles Minister for Culture and Tourism Sultan of Yogyakarta President of the University of Zurich Director of Immigration Minister of Education and Church Affairs president of Italian region Member of the Assembly of Kosovo king of Epirus mayor of Saint-Denis Leader of the Opposition Dukes of Bohemia Minister of Education Foreign Minister Minister of Higher Education Minister for Communities and Tackling Poverty Minister for Public Services Director of Bureau President of the Chamber of Representatives Minister for Transport, Communications and Technology Minister for Youth and Arts King of Nepal interior minister Minister for Foreign Affairs State Secretary of Asylum, Migration, Social Integration and Poverty Reduction state president of the protectorate of Bohemia and Moravia Minister of Foreign Affairs Minister of Foreign Affairs King of the Kings Minister for Public Administration First Deputy Chairman of the Government of the Russian Federation Minister of Health Deputy Prime Minister duke Minister of Agriculture and Forestry province president Shadow Chancellor of the Duchy of Lancaster Shadow Minister for Prisons Secretary of state Minister of Health Minister of the Interior emperor Prince-Bishop Member of the Aragonese Corts Deputy Premier of Victoria executive director Minister for Climate and Energy President of the German Esperanto Youth Minister of Public Administration Minister of State for Health Minister of Finance minister without portfolio Minister for Aged Care High Sheriff of Louth Minister of Small Business and Tourism metropolitan bishop prince Abbot of Maria Laach Chief Secretary for Administration Minister of Transport and Local Government Minister for the Press and the Media Basileus President of Czechoslovakia Minister of Health and Social Policy and Equality Minister of the Civil Service Minister of Culture Shadow Minister (Environment, Food and Rural Affairs) Lieutenant Governor of the Isle of Man Minister of Social Development Minister of Social Affairs and Health Parliamentary Under-Secretary of State for Transport Director of Audit Minister for Special Trade Negotiations mayor of Bourges Minister for Local Government and Regeneration
161
action count
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Minister of Higher Education
relation applies to jurisdiction
type administrative territorial entity
type administrative territorial entity of the United States
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?h WHERE { { ?h property:applies_to_jurisdiction ?d . ?h rdf:type ontology:position . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?h rdf:type ontology:position . ?d rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?h property:applies_to_jurisdiction ?d } } GROUP BY ?h } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Minister_of_Higher_Education property:applies_to_jurisdiction ?b . { { ?b rdf:type ontology:administrative_territorial_entity } UNION { ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18939150 Q29
P47 P276
Q56061
USER
Which administrative territories are adjacent to Spain or are the place where Azijnmakerstraat are located ?
OR((Q29,P47,c(Q56061)), (Q18939150,P276,c(Q56061)))
action filter_type
action union
action find
entity Q29
relation P47
action find
entity Q18939150
relation P276
type Q56061
{'OR': [['Q29', 'P47', {'concept': 'Q56061'}], ['Q18939150', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q18939150 property:P276 ?n } UNION { resource:Q29 property:P47 ?n } } . ?n rdf:type ontology:Q56061 }
Azijnmakerstraat Spain
action filter_type
action union
action find
entity Spain
relation shares border with
action find
entity Azijnmakerstraat
relation location
type administrative territorial entity
{'OR': [['Spain', 'shares border with', {'concept': 'administrative territorial entity'}], ['Azijnmakerstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Azijnmakerstraat property:location ?n } UNION { resource:Spain property:shares_border_with ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2220290 Q458 Q7172
SYSTEM
Delfgauw, European Union, Arab League
Q2220290 Q458 Q7172
OR((Q29,P47,c(Q56061)), (Q18939150,P276,c(Q56061)))
action filter_type
action union
action find
entity Q29
relation P47
action find
entity Q18939150
relation P276
type Q56061
[ANSWERS] are adjacent to Spain or are the place where Azijnmakerstraat are located
{'OR': [['Q29', 'P47', {'concept': 'Q56061'}], ['Q18939150', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q18939150 property:P276 ?n } UNION { resource:Q29 property:P47 ?n } } . ?n rdf:type ontology:Q56061 }
Delfgauw European Union Arab League
Delfgauw, European Union and Arab League are adjacent to Spain or are the place where Azijnmakerstraat are located
Delfgauw European Union Arab League
action filter_type
action union
action find
entity Spain
relation shares border with
action find
entity Azijnmakerstraat
relation location
type administrative territorial entity
{'OR': [['Spain', 'shares border with', {'concept': 'administrative territorial entity'}], ['Azijnmakerstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Azijnmakerstraat property:location ?n } UNION { resource:Spain property:shares_border_with ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18939150
P17
Q15617994
USER
Which administrative territory is that road situated in ?
(Q2220290,P17,c(Q15617994)) (Q458,P17,c(Q15617994)) (Q7172,P17,c(Q15617994))
action filter_type
action find
entity Q18939150
relation P17
type Q15617994
['Q2220290', 'P17', {'concept': 'Q15617994'}] ['Q458', 'P17', {'concept': 'Q15617994'}] ['Q7172', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q18939150 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Azijnmakerstraat
action filter_type
action find
entity Azijnmakerstraat
relation country
type designation for an administrative territorial entity
['Delfgauw', 'country', {'concept': 'designation for an administrative territorial entity'}] ['European Union', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Arab League', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Azijnmakerstraat property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q2220290,P17,c(Q15617994)) (Q458,P17,c(Q15617994)) (Q7172,P17,c(Q15617994))
action filter_type
action find
entity Q18939150
relation P17
type Q15617994
That road is situated in [ANSWER]
['Q2220290', 'P17', {'concept': 'Q15617994'}] ['Q458', 'P17', {'concept': 'Q15617994'}] ['Q7172', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q18939150 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Netherlands
That road is situated in Netherlands
Netherlands
action filter_type
action find
entity Azijnmakerstraat
relation country
type designation for an administrative territorial entity
['Delfgauw', 'country', {'concept': 'designation for an administrative territorial entity'}] ['European Union', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Arab League', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Azijnmakerstraat property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]