Simple Question (Direct)
Simple Question
Q881069
P241
Q781132
USER
Which military branch contains Jim Guy Tucker as its part ?
(Q881069,P241,c(Q781132))
action filter_type
action find
entity Q881069
relation P241
type Q781132
['Q881069', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?x WHERE { resource:Q881069 property:P241 ?x . ?x rdf:type ontology:Q781132 }
Jim Guy Tucker
action filter_type
action find
entity Jim Guy Tucker
relation military branch
type military branch
['Jim Guy Tucker', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?x WHERE { resource:Jim_Guy_Tucker property:military_branch ?x . ?x rdf:type ontology:military_branch }
[]
military branch
Q11218
SYSTEM
United States Marine Corps
Q11218
(Q881069,P241,c(Q781132))
action filter_type
action find
entity Q881069
relation P241
type Q781132
Army [ANSWER] contains Jim Guy Tucker as its part
['Q881069', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?x WHERE { resource:Q881069 property:P241 ?x . ?x rdf:type ontology:Q781132 }
United States Marine Corps
Army United States Marine Corps contains Jim Guy Tucker as its part
United States Marine Corps
action filter_type
action find
entity Jim Guy Tucker
relation military branch
type military branch
['Jim Guy Tucker', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?x WHERE { resource:Jim_Guy_Tucker property:military_branch ?x . ?x rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q881069
P39
Q4164871
USER
What was a position held by Jim Guy Tucker ?
(Q881069,P39,c(Q4164871))
action filter_type
action find
entity Q881069
relation P39
type Q4164871
['Q881069', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?h WHERE { resource:Q881069 property:P39 ?h . ?h rdf:type ontology:Q4164871 }
Jim Guy Tucker
action filter_type
action find
entity Jim Guy Tucker
relation position held
type position
['Jim Guy Tucker', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?h WHERE { resource:Jim_Guy_Tucker property:position_held ?h . ?h rdf:type ontology:position }
[]
position
Q1853515
SYSTEM
Lieutenant Governor of Arkansas
Q1853515
(Q881069,P39,c(Q4164871))
action filter_type
action find
entity Q881069
relation P39
type Q4164871
A position held by Jim Guy Tucker was the [ANSWER]
['Q881069', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?h WHERE { resource:Q881069 property:P39 ?h . ?h rdf:type ontology:Q4164871 }
Lieutenant Governor of Arkansas
A position held by Jim Guy Tucker was the Lieutenant Governor of Arkansas
Lieutenant Governor of Arkansas
action filter_type
action find
entity Jim Guy Tucker
relation position held
type position
['Jim Guy Tucker', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?h WHERE { resource:Jim_Guy_Tucker property:position_held ?h . ?h rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q881069
P991
Q40231
USER
Which election had Jim Guy Tucker as its successful candidate ?
(c(Q40231),P991,Q881069)
action filter_type
action find_reverse
entity Q881069
relation P991
type Q40231
[{'concept': 'Q40231'}, 'P991', 'Q881069']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q40231 . ?m property:P991 resource:Q881069 }
Jim Guy Tucker
action filter_type
action find_reverse
entity Jim Guy Tucker
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Jim Guy Tucker']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:election . ?m property:successful_candidate resource:Jim_Guy_Tucker }
[]
election
Q4791913
SYSTEM
Arkansas gubernatorial election, 1994
Q4791913
(c(Q40231),P991,Q881069)
action filter_type
action find_reverse
entity Q881069
relation P991
type Q40231
[ANSWER] had Jim Guy Tucker as its successful candidate
[{'concept': 'Q40231'}, 'P991', 'Q881069']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q40231 . ?m property:P991 resource:Q881069 }
Arkansas gubernatorial election, 1994
Arkansas gubernatorial election, 1994 had Jim Guy Tucker as its successful candidate
Arkansas gubernatorial election, 1994
action filter_type
action find_reverse
entity Jim Guy Tucker
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Jim Guy Tucker']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:election . ?m property:successful_candidate resource:Jim_Guy_Tucker }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q881069
P27
Q15617994
USER
Which administrative territory is Jim Guy Tucker an inhabitant of ?
(Q881069,P27,c(Q15617994))
action filter_type
action find
entity Q881069
relation P27
type Q15617994
['Q881069', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q881069 property:P27 ?h }
Jim Guy Tucker
action filter_type
action find
entity Jim Guy Tucker
relation country of citizenship
type designation for an administrative territorial entity
['Jim Guy Tucker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jim_Guy_Tucker property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q881069,P27,c(Q15617994))
action filter_type
action find
entity Q881069
relation P27
type Q15617994
The [ANSWER] is Jim Guy Tucker an inhabitant of
['Q881069', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q881069 property:P27 ?h }
United States of America
The United States of America is Jim Guy Tucker an inhabitant of
United States of America
action filter_type
action find
entity Jim Guy Tucker
relation country of citizenship
type designation for an administrative territorial entity
['Jim Guy Tucker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jim_Guy_Tucker property:country_of_citizenship ?h }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q24198466
P1001
Q15617994 Q1048835 Q4164871
USER
How many positions have control over the jurisdiction of around the same number of administrative territories and political territories as Minister of Labour ?
(c(Q4164871),P1001,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q15617994
action find_tuple_counts
relation P1001
type Q4164871
type Q1048835
action count
action filter_multi_types
action find
entity Q24198466
relation P1001
type Q15617994
type Q1048835
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?d WHERE { { ?d property:P1001 ?a . ?d rdf:type ontology:Q4164871 . ?a rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q4164871 . ?a rdf:type ontology:Q1048835 . ?d property:P1001 ?a } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } . resource:Q24198466 property:P1001 ?o } } . FILTER ( ?q = ?b ) }
Minister of Labour
action count
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type designation for an administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type political territorial entity
action count
action filter_multi_types
action find
entity Minister of Labour
relation applies to jurisdiction
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?d WHERE { { ?d property:applies_to_jurisdiction ?a . ?d rdf:type ontology:position . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:position . ?a rdf:type ontology:political_territorial_entity . ?d property:applies_to_jurisdiction ?a } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } . resource:Minister_of_Labour property:applies_to_jurisdiction ?o } } . FILTER ( ?q = ?b ) }
[]
designation for an administrative territorial entity political territorial entity position
SYSTEM
104
Q19307531 Q25906270 Q25909451 Q25907267 Q25917007 Q23683330 Q25935131 Q25598671 Q25322241 Q24851389 Q25939219 Q849418 Q26205903 Q25939217 Q25360154 Q20981749 Q25827669 Q25342372 Q20981744 Q25359878 Q25906287 Q7691294 Q25906165 Q3965289 Q24060088 Q25391770 Q25514257 Q25906269 Q25513955 Q25514686 Q25907399 Q25906264 Q24205246 Q1425432 Q25712498 Q25712497 Q25917009 Q25973167 Q1647332 Q25907368 Q25598713 Q24232020 Q24198466 Q24198460 Q25707086 Q21070726 Q25631196 Q25515749 Q25513965 Q3409222 Q20966542 Q13414824 Q6865928 Q25906143 Q25906140 Q25906145 Q23005513 Q7574260 Q25909926 Q25376088 Q3911030 Q22262242 Q6508538 Q25711733 Q25672112 Q25398921 Q25907282 Q25713888 Q25713889 Q19700527 Q25713883 Q24038694 Q25309937 Q25894090 Q25513972 Q1965788 Q25513975 Q25917099 Q166886 Q24205201 Q3911031 Q25906187 Q25906185 Q533501 Q25212085 Q6866431 Q20188454 Q25776270 Q20528404 Q23304196 Q25525260 Q24026255 Q24190727 Q25713902 Q6866010 Q26208485 Q25907280 Q25820215 Q25341661 Q1790061 Q25998902 Q25712502 Q25358150 Q25909440
(c(Q4164871),P1001,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q15617994
action find_tuple_counts
relation P1001
type Q4164871
type Q1048835
action count
action filter_multi_types
action find
entity Q24198466
relation P1001
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?d WHERE { { ?d property:P1001 ?a . ?d rdf:type ontology:Q4164871 . ?a rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q4164871 . ?a rdf:type ontology:Q1048835 . ?d property:P1001 ?a } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } . resource:Q24198466 property:P1001 ?o } } . FILTER ( ?q = ?b ) }
Member of Provincial Parliament of Ontario 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 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 Shadow Minister for Culture and Media Shadow Minister for the Cabinet Office Minister of Trade and Industry Minister of Fuel and Energy Minister of Government Administration, Reform and Church Affairs Minister of Social Development Shadow Minister of State for Europe Shadow Minister of State, Home Office teaching assistant Minister for Welfare Reform Undersecretary to the Presidency of the Council Minister of Social Protection Deputy Leader of the Labour Party Minister of Communications Parliamentary Under-Secretary for Creative Industries Minister of Social Affairs Minister for Justice and Consumer Affairs Minister of Agriculture Shadow Minister for the Environment Parliamentary Under Secretary of State for Justice Minister of the Environment Minister for Economic Development Minister for the Treasury Minister of Social Infrastructure Minister of Justice Landtagspräsident Minister of Culture Minister of the Interior and Administration Member of the Legislative Assembly of the Falkland Islands Minister of Labour Minister of Tourism and Recreation Minister of Health Deputy Prime Minister Minister of European Affairs Minister for Regional Development Minister of Economy and Finance President of the Senate of France 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 Shadow Minister for Schools Parliamentary Secretary for Cabinet Office Member of the Løgting Speaker of the Flemish Parliament Minister for Culture and Tourism Minister of Education and Church Affairs president of Italian region Member of the Assembly of Kosovo Leader of the Opposition Minister of Education Foreign Minister Minister of Higher Education President of the Chamber of Representatives Minister for Transport, Communications and Technology Minister for Youth and Arts King of Nepal Minister for Foreign Affairs State Secretary of Asylum, Migration, Social Integration and Poverty Reduction Minister of Foreign Affairs Minister of Foreign Affairs 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 Member of the Aragonese Corts Minister for Climate and Energy Minister of Public Administration Minister of State for Health Minister of Finance Minister for Aged Care Minister of Small Business and Tourism Minister of Transport and Local Government Minister for the Press and the Media 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 Minister for Special Trade Negotiations
104
action count
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type designation for an administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type political territorial entity
action count
action filter_multi_types
action find
entity Minister of Labour
relation applies to jurisdiction
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?d WHERE { { ?d property:applies_to_jurisdiction ?a . ?d rdf:type ontology:position . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:position . ?a rdf:type ontology:political_territorial_entity . ?d property:applies_to_jurisdiction ?a } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } . resource:Minister_of_Labour property:applies_to_jurisdiction ?o } } . FILTER ( ?q = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q25525260
P1001
Q15617994 Q1048835 Q4164871
USER
And how about Minister of Finance?
(c(Q4164871),P1001,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q15617994
action find_tuple_counts
relation P1001
type Q4164871
type Q1048835
action count
action filter_multi_types
action find
entity Q25525260
relation P1001
type Q15617994
type Q1048835
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?l ) WHERE { { ?t property:P1001 ?z . ?z rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q4164871 } UNION { ?t property:P1001 ?z . ?t rdf:type ontology:Q4164871 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q25525260 property:P1001 ?p . { { ?p rdf:type ontology:Q15617994 } UNION { ?p rdf:type ontology:Q1048835 } } } } . FILTER ( ?l = ?m ) }
Minister of Finance
action count
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type designation for an administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type political territorial entity
action count
action filter_multi_types
action find
entity Minister of Finance
relation applies to jurisdiction
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?l ) WHERE { { ?t property:applies_to_jurisdiction ?z . ?z rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:position } UNION { ?t property:applies_to_jurisdiction ?z . ?t rdf:type ontology:position . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Minister_of_Finance property:applies_to_jurisdiction ?p . { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?l = ?m ) }
[]
designation for an administrative territorial entity political territorial entity position
SYSTEM
104
Q19307531 Q25906270 Q25909451 Q25907267 Q25917007 Q23683330 Q25935131 Q25598671 Q25322241 Q24851389 Q25939219 Q849418 Q26205903 Q25939217 Q25360154 Q20981749 Q25827669 Q25342372 Q20981744 Q25359878 Q25906287 Q7691294 Q25906165 Q3965289 Q24060088 Q25391770 Q25514257 Q25906269 Q25513955 Q25514686 Q25907399 Q25906264 Q24205246 Q1425432 Q25712498 Q25712497 Q25917009 Q25973167 Q1647332 Q25907368 Q25598713 Q24232020 Q24198466 Q24198460 Q25707086 Q21070726 Q25631196 Q25515749 Q25513965 Q3409222 Q20966542 Q13414824 Q6865928 Q25906143 Q25906140 Q25906145 Q23005513 Q7574260 Q25909926 Q25376088 Q3911030 Q22262242 Q6508538 Q25711733 Q25672112 Q25398921 Q25907282 Q25713888 Q25713889 Q19700527 Q25713883 Q24038694 Q25309937 Q25894090 Q25513972 Q1965788 Q25513975 Q25917099 Q166886 Q24205201 Q3911031 Q25906187 Q25906185 Q533501 Q25212085 Q6866431 Q20188454 Q25776270 Q20528404 Q23304196 Q25525260 Q24026255 Q24190727 Q25713902 Q6866010 Q26208485 Q25907280 Q25820215 Q25341661 Q1790061 Q25998902 Q25712502 Q25358150 Q25909440
(c(Q4164871),P1001,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q15617994
action find_tuple_counts
relation P1001
type Q4164871
type Q1048835
action count
action filter_multi_types
action find
entity Q25525260
relation P1001
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?l ) WHERE { { ?t property:P1001 ?z . ?z rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q4164871 } UNION { ?t property:P1001 ?z . ?t rdf:type ontology:Q4164871 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q25525260 property:P1001 ?p . { { ?p rdf:type ontology:Q15617994 } UNION { ?p rdf:type ontology:Q1048835 } } } } . FILTER ( ?l = ?m ) }
Member of Provincial Parliament of Ontario 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 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 Shadow Minister for Culture and Media Shadow Minister for the Cabinet Office Minister of Trade and Industry Minister of Fuel and Energy Minister of Government Administration, Reform and Church Affairs Minister of Social Development Shadow Minister of State for Europe Shadow Minister of State, Home Office teaching assistant Minister for Welfare Reform Undersecretary to the Presidency of the Council Minister of Social Protection Deputy Leader of the Labour Party Minister of Communications Parliamentary Under-Secretary for Creative Industries Minister of Social Affairs Minister for Justice and Consumer Affairs Minister of Agriculture Shadow Minister for the Environment Parliamentary Under Secretary of State for Justice Minister of the Environment Minister for Economic Development Minister for the Treasury Minister of Social Infrastructure Minister of Justice Landtagspräsident Minister of Culture Minister of the Interior and Administration Member of the Legislative Assembly of the Falkland Islands Minister of Labour Minister of Tourism and Recreation Minister of Health Deputy Prime Minister Minister of European Affairs Minister for Regional Development Minister of Economy and Finance President of the Senate of France 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 Shadow Minister for Schools Parliamentary Secretary for Cabinet Office Member of the Løgting Speaker of the Flemish Parliament Minister for Culture and Tourism Minister of Education and Church Affairs president of Italian region Member of the Assembly of Kosovo Leader of the Opposition Minister of Education Foreign Minister Minister of Higher Education President of the Chamber of Representatives Minister for Transport, Communications and Technology Minister for Youth and Arts King of Nepal Minister for Foreign Affairs State Secretary of Asylum, Migration, Social Integration and Poverty Reduction Minister of Foreign Affairs Minister of Foreign Affairs 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 Member of the Aragonese Corts Minister for Climate and Energy Minister of Public Administration Minister of State for Health Minister of Finance Minister for Aged Care Minister of Small Business and Tourism Minister of Transport and Local Government Minister for the Press and the Media 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 Minister for Special Trade Negotiations
104
action count
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type designation for an administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type position
type political territorial entity
action count
action filter_multi_types
action find
entity Minister of Finance
relation applies to jurisdiction
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?l ) WHERE { { ?t property:applies_to_jurisdiction ?z . ?z rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:position } UNION { ?t property:applies_to_jurisdiction ?z . ?t rdf:type ontology:position . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Minister_of_Finance property:applies_to_jurisdiction ?p . { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?l = ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11218
P921
Q838948
USER
Which works of art were primarily based on United States Marine Corps ?
(c(Q838948),P921,Q11218)
action filter_type
action find_reverse
entity Q11218
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q11218']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P921 resource:Q11218 }
United States Marine Corps
action filter_type
action find_reverse
entity United States Marine Corps
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'United States Marine Corps']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:main_subject resource:United_States_Marine_Corps }
[]
work of art
Q108946 Q1212912 Q2595865
SYSTEM
A Few Good Men, 1969, A Few Good Men
Q108946 Q2595865 Q12116908 Q1212912
(c(Q838948),P921,Q11218)
action filter_type
action find_reverse
entity Q11218
relation P921
type Q838948
[ANSWERS] were primarily based on United States Marine Corps
[{'concept': 'Q838948'}, 'P921', 'Q11218']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P921 resource:Q11218 }
A Few Good Men A Few Good Men Ears, Open. Eyeballs, Click. 1969
A Few Good Men, 1969 and A Few Good Men were primarily based on United States Marine Corps
A Few Good Men 1969 A Few Good Men
action filter_type
action find_reverse
entity United States Marine Corps
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'United States Marine Corps']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:main_subject resource:United_States_Marine_Corps }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11218
P287
Q17335294
USER
Which coat of arms was United States Marine Corps the designer of ?
(c(Q17335294),P287,Q11218)
action filter_type
action find_reverse
entity Q11218
relation P287
type Q17335294
[{'concept': 'Q17335294'}, 'P287', 'Q11218']
SELECT DISTINCT ?s WHERE { ?s property:P287 resource:Q11218 . ?s rdf:type ontology:Q17335294 }
United States Marine Corps
action filter_type
action find_reverse
entity United States Marine Corps
relation designer
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'designer', 'United States Marine Corps']
SELECT DISTINCT ?s WHERE { ?s property:designer resource:United_States_Marine_Corps . ?s rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q5456897
SYSTEM
Flag of the United States Marine Corps
Q5456897
(c(Q17335294),P287,Q11218)
action filter_type
action find_reverse
entity Q11218
relation P287
type Q17335294
The [ANSWER] was United States Marine Corps the designer of
[{'concept': 'Q17335294'}, 'P287', 'Q11218']
SELECT DISTINCT ?s WHERE { ?s property:P287 resource:Q11218 . ?s rdf:type ontology:Q17335294 }
Flag of the United States Marine Corps
The Flag of the United States Marine Corps was United States Marine Corps the designer of
Flag of the United States Marine Corps
action filter_type
action find_reverse
entity United States Marine Corps
relation designer
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'designer', 'United States Marine Corps']
SELECT DISTINCT ?s WHERE { ?s property:designer resource:United_States_Marine_Corps . ?s rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q108946
P86
Q502895
USER
Who wrote the music for A Few Good Men ?
(Q108946,P86,c(Q502895))
action filter_type
action find
entity Q108946
relation P86
type Q502895
['Q108946', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q108946 property:P86 ?l . ?l rdf:type ontology:Q502895 }
A Few Good Men
action filter_type
action find
entity A Few Good Men
relation composer
type common name
['A Few Good Men', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:A_Few_Good_Men property:composer ?l . ?l rdf:type ontology:common_name }
[]
common name
Q979312
SYSTEM
Marc Shaiman
Q979312
(Q108946,P86,c(Q502895))
action filter_type
action find
entity Q108946
relation P86
type Q502895
The [ANSWER] wrote the music for A Few Good Men
['Q108946', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q108946 property:P86 ?l . ?l rdf:type ontology:Q502895 }
Marc Shaiman
The Marc Shaiman wrote the music for A Few Good Men
Marc Shaiman
action filter_type
action find
entity A Few Good Men
relation composer
type common name
['A Few Good Men', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:A_Few_Good_Men property:composer ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q979312
P1411
Q4220917
USER
Which film award does that person have ?
(Q979312,P1411,c(Q4220917))
action filter_type
action find
entity Q979312
relation P1411
type Q4220917
['Q979312', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?u WHERE { resource:Q979312 property:P1411 ?u . ?u rdf:type ontology:Q4220917 }
Marc Shaiman
action filter_type
action find
entity Marc Shaiman
relation nominated for
type film award
['Marc Shaiman', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?u WHERE { resource:Marc_Shaiman property:nominated_for ?u . ?u rdf:type ontology:film_award }
[]
film award
Q22235305
SYSTEM
Academy Award for Best Original Musical or Comedy Score
Q22235305
(Q979312,P1411,c(Q4220917))
action filter_type
action find
entity Q979312
relation P1411
type Q4220917
That person has an [ANSWER]
['Q979312', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?u WHERE { resource:Q979312 property:P1411 ?u . ?u rdf:type ontology:Q4220917 }
Academy Award for Best Original Musical or Comedy Score
That person has an Academy Award for Best Original Musical or Comedy Score
Academy Award for Best Original Musical or Comedy Score
action filter_type
action find
entity Marc Shaiman
relation nominated for
type film award
['Marc Shaiman', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?u WHERE { resource:Marc_Shaiman property:nominated_for ?u . ?u rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q979312
P50
Q15850590
USER
Which theatrical genre has that person as its author ?
(c(Q15850590),P50,Q22235305)
action filter_type
action find_reverse
entity Q979312
relation P50
type Q15850590
[{'concept': 'Q15850590'}, 'P50', 'Q22235305']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15850590 . ?u property:P50 resource:Q979312 }
Marc Shaiman
action filter_type
action find_reverse
entity Marc Shaiman
relation author
type theatrical genre
[{'concept': 'theatrical genre'}, 'author', 'Academy Award for Best Original Musical or Comedy Score']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:theatrical_genre . ?u property:author resource:Marc_Shaiman }
[]
theatrical genre
Q153520
SYSTEM
Hairspray
Q153520
(c(Q15850590),P50,Q22235305)
action filter_type
action find_reverse
entity Q979312
relation P50
type Q15850590
[ANSWER] has that person as its author
[{'concept': 'Q15850590'}, 'P50', 'Q22235305']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15850590 . ?u property:P50 resource:Q979312 }
Hairspray
Hairspray has that person as its author
Hairspray
action filter_type
action find_reverse
entity Marc Shaiman
relation author
type theatrical genre
[{'concept': 'theatrical genre'}, 'author', 'Academy Award for Best Original Musical or Comedy Score']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:theatrical_genre . ?u property:author resource:Marc_Shaiman }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P676
Q502895 Q15850590
USER
How many theatrical genres have their lyrics by greater number of people than that theatrical genre ?
(c(Q15850590),P676,c(Q502895))
action count
action greater
action find_tuple_counts
relation P676
type Q15850590
type Q502895
action count
action filter_type
action find
entity Q153520
relation P676
type Q15850590
[{'concept': 'Q15850590'}, 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?k ) WHERE { ?e property:P676 ?d . ?d rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15850590 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q153520 property:P676 ?b . ?b rdf:type ontology:Q15850590 } } . FILTER ( ?k > ?v ) }
action count
action greater
action find_tuple_counts
relation lyrics by
type theatrical genre
type common name
action count
action filter_type
action find
entity Hairspray
relation lyrics by
type theatrical genre
[{'concept': 'theatrical genre'}, 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?k ) WHERE { ?e property:lyrics_by ?d . ?d rdf:type ontology:common_name . ?e rdf:type ontology:theatrical_genre } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Hairspray property:lyrics_by ?b . ?b rdf:type ontology:theatrical_genre } } . FILTER ( ?k > ?v ) }
[]
common name theatrical genre
SYSTEM
16
Q5757085 Q4657524 Q15631764 Q740920 Q1058759 Q3376796 Q229630 Q3459747 Q5463380 Q18160503 Q11249428 Q4658713 Q7488580 Q4851919 Q12958822 Q2001175
(c(Q15850590),P676,c(Q502895))
action count
action greater
action find_tuple_counts
relation P676
type Q15850590
type Q502895
action count
action filter_type
action find
entity Q153520
relation P676
type Q15850590
[ANSWER]
[{'concept': 'Q15850590'}, 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?k ) WHERE { ?e property:P676 ?d . ?d rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15850590 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q153520 property:P676 ?b . ?b rdf:type ontology:Q15850590 } } . FILTER ( ?k > ?v ) }
High Spirits A Joyful Noise Stephen Ward the Musical Porgy and Bess Spider-Man: Turn Off the Dark Peter Pan 3 Musketiers Once Flying Colors Finding Neverland The Three Musketeers A Party with Betty Comden and Adolph Green Shangri-La Ballroom Oh, Boy! Rose-Marie
16
action count
action greater
action find_tuple_counts
relation lyrics by
type theatrical genre
type common name
action count
action filter_type
action find
entity Hairspray
relation lyrics by
type theatrical genre
[{'concept': 'theatrical genre'}, 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?k ) WHERE { ?e property:lyrics_by ?d . ?d rdf:type ontology:common_name . ?e rdf:type ontology:theatrical_genre } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Hairspray property:lyrics_by ?b . ?b rdf:type ontology:theatrical_genre } } . FILTER ( ?k > ?v ) }
[]