Simple Question (Direct)
Simple Question
Q21177147
P641
Q349
USER
Which sport was Teruhito Nakagawa a part of ?
(Q21177147,P641,c(Q349))
action filter_type
action find
entity Q21177147
relation P641
type Q349
['Q21177147', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q21177147 property:P641 ?c . ?c rdf:type ontology:Q349 }
Teruhito Nakagawa
action filter_type
action find
entity Teruhito Nakagawa
relation sport
type sport
['Teruhito Nakagawa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Teruhito_Nakagawa property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q21177147,P641,c(Q349))
action filter_type
action find
entity Q21177147
relation P641
type Q349
The [ANSWER] was Teruhito Nakagawa a part of
['Q21177147', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q21177147 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
The association football was Teruhito Nakagawa a part of
association football
action filter_type
action find
entity Teruhito Nakagawa
relation sport
type sport
['Teruhito Nakagawa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Teruhito_Nakagawa property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21177147
P106
Q12737077
USER
What does that person do for a living ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q21177147
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q21177147 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Teruhito Nakagawa
action filter_type
action find
entity Teruhito Nakagawa
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Teruhito_Nakagawa property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q21177147
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q21177147 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Teruhito Nakagawa
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Teruhito_Nakagawa property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q483693
P641
Q349 Q18608583 Q13406554
USER
Which sports were more number of recurring sporting events or sport competitions a part of than parkour ?
(c(Q18608583)|c(Q13406554),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q483693
relation P641
type Q18608583
type Q13406554
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?f WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P641 resource:Q483693 . { { ?l rdf:type ontology:Q13406554 } UNION { ?l rdf:type ontology:Q18608583 } } } } . FILTER ( ?u > ?g ) }
parkour
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity parkour
relation sport
type recurring sporting event
type sport competition
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?f WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:sport resource:parkour . { { ?l rdf:type ontology:sport_competition } UNION { ?l rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?u > ?g ) }
[]
sport recurring sporting event sport competition
Q206763 Q136851 Q213711
SYSTEM
floorball, curling, hurling
Q10962 Q1109032 Q114466 Q12100 Q500050 Q7707 Q171038 Q17163326 Q1575010 Q206763 Q133201 Q847 Q601972 Q46241 Q83462 Q328716 Q131359 Q11420 Q41323 Q7291 Q136851 Q2887217 Q7856 Q5372 Q5375 Q5377 Q5369 Q8418 Q1758324 Q42486 Q41466 Q2302906 Q989473 Q231200 Q1358545 Q212434 Q221635 Q1455 Q2215841 Q61465 Q185851 Q213711 Q3177899 Q3930 Q2167372 Q16996906 Q213934 Q201965 Q606060 Q1734 Q31920 Q2701632 Q1875777 Q1748406 Q183018 Q32112 Q2736 Q178678 Q124100
(c(Q18608583)|c(Q13406554),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q483693
relation P641
type Q18608583
type Q13406554
[ANSWERS] were more number of recurring sporting events or sport competitions a part of than parkour
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?f WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P641 resource:Q483693 . { { ?l rdf:type ontology:Q13406554 } UNION { ?l rdf:type ontology:Q18608583 } } } } . FILTER ( ?u > ?g ) }
rugby league college football mixed martial arts fencing cross country running water polo softball motorcycle racing para rowing floorball squash tennis Camogie drag racing weightlifting motorcycle sport professional wrestling judo American football badminton curling women's basketball rallying basketball cricket golf baseball handball stock car racing wrestling ice hockey Box lacrosse international draughts netball arena football Olympic sport track cycling field hockey cycle sport rhythmic gymnastics lacrosse hurling bowling table tennis fell running Indoor American football canoeing and kayaking Nordic combined women's association football volleyball swimming muggle quidditch air racing roller hockey (quad) bandy boxing association football kick boxing bodybuilding
Floorball, curling and hurling were more number of recurring sporting events or sport competitions a part of than parkour
floorball curling hurling
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity parkour
relation sport
type recurring sporting event
type sport competition
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?f WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:sport resource:parkour . { { ?l rdf:type ontology:sport_competition } UNION { ?l rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?u > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4808504
P641
Q349 Q18608583 Q13406554
USER
And also tell me about snocross?
(c(Q18608583)|c(Q13406554),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q4808504
relation P641
type Q18608583
type Q13406554
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?w WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:P641 resource:Q4808504 . { { ?k rdf:type ontology:Q18608583 } UNION { ?k rdf:type ontology:Q13406554 } } } } . FILTER ( ?p > ?u ) }
snocross
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity snocross
relation sport
type recurring sporting event
type sport competition
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?w WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:sport resource:snocross . { { ?k rdf:type ontology:recurring_sporting_event } UNION { ?k rdf:type ontology:sport_competition } } } } . FILTER ( ?p > ?u ) }
[]
sport recurring sporting event sport competition
Q206763 Q136851 Q213711
SYSTEM
floorball, curling, hurling
Q10962 Q1109032 Q114466 Q12100 Q500050 Q7707 Q171038 Q17163326 Q1575010 Q206763 Q133201 Q847 Q601972 Q46241 Q83462 Q328716 Q131359 Q11420 Q41323 Q7291 Q136851 Q2887217 Q7856 Q5372 Q5375 Q5377 Q5369 Q8418 Q1758324 Q42486 Q41466 Q2302906 Q989473 Q231200 Q1358545 Q212434 Q221635 Q1455 Q2215841 Q61465 Q185851 Q213711 Q3177899 Q3930 Q2167372 Q16996906 Q213934 Q201965 Q606060 Q1734 Q31920 Q2701632 Q1875777 Q1748406 Q183018 Q32112 Q2736 Q178678 Q124100
(c(Q18608583)|c(Q13406554),P641,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q4808504
relation P641
type Q18608583
type Q13406554
[ANSWERS]
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?w WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:P641 resource:Q4808504 . { { ?k rdf:type ontology:Q18608583 } UNION { ?k rdf:type ontology:Q13406554 } } } } . FILTER ( ?p > ?u ) }
rugby league college football mixed martial arts fencing cross country running water polo softball motorcycle racing para rowing floorball squash tennis Camogie drag racing weightlifting motorcycle sport professional wrestling judo American football badminton curling women's basketball rallying basketball cricket golf baseball handball stock car racing wrestling ice hockey Box lacrosse international draughts netball arena football Olympic sport track cycling field hockey cycle sport rhythmic gymnastics lacrosse hurling bowling table tennis fell running Indoor American football canoeing and kayaking Nordic combined women's association football volleyball swimming muggle quidditch air racing roller hockey (quad) bandy boxing association football kick boxing bodybuilding
floorball curling hurling
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity snocross
relation sport
type recurring sporting event
type sport competition
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) ?w WHERE { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:sport resource:snocross . { { ?k rdf:type ontology:recurring_sporting_event } UNION { ?k rdf:type ontology:sport_competition } } } } . FILTER ( ?p > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5372
P366
Q349 Q811979 Q39546
USER
How many sports are the main uses of lesser number of architectural structures or tools than basketball ?
(c(Q811979)|c(Q39546),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q5372
relation P366
type Q811979
type Q39546
[[{'concept': 'Q811979'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:Q811979 ) ( ontology:Q39546 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P366 resource:Q5372 . { { ?p rdf:type ontology:Q811979 } UNION { ?p rdf:type ontology:Q39546 } } } } . FILTER ( ?x < ?j ) }
basketball
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity basketball
relation use
type architectural structure
type tool
[[{'concept': 'architectural structure'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:architectural_structure ) ( ontology:tool ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:use resource:basketball . { { ?p rdf:type ontology:architectural_structure } UNION { ?p rdf:type ontology:tool } } } } . FILTER ( ?x < ?j ) }
[]
sport architectural structure tool
SYSTEM
16
Q7856 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q177275 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q811979)|c(Q39546),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action count
action filter_multi_types
action find_reverse
entity Q5372
relation P366
type Q811979
type Q39546
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:Q811979 ) ( ontology:Q39546 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P366 resource:Q5372 . { { ?p rdf:type ontology:Q811979 } UNION { ?p rdf:type ontology:Q39546 } } } } . FILTER ( ?x < ?j ) }
rallying shooting sport skating bandy mountaineering cross country running air racing archery bobsleigh association football water sport tennis ice hockey harness racing American football badminton
16
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type tool
action count
action filter_multi_types
action find_reverse
entity basketball
relation use
type architectural structure
type tool
[[{'concept': 'architectural structure'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?x ) WHERE { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:architectural_structure ) ( ontology:tool ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:use resource:basketball . { { ?p rdf:type ontology:architectural_structure } UNION { ?p rdf:type ontology:tool } } } } . FILTER ( ?x < ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3315114
P748
Q1752346 Q502895 Q12737077
USER
Which occupations did greater number of assemblies and people appoint than Minister of National Defence ?
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q3315114
relation P748
type Q1752346
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Q3315114 property:P748 ?h . { { ?h rdf:type ontology:Q1752346 } UNION { ?h rdf:type ontology:Q502895 } } } } . FILTER ( ?a > ?c ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) ?m WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1752346 ) ( ontology:Q502895 ) } } GROUP BY ?m } }
Minister of National Defence
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Minister of National Defence
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Minister_of_National_Defence property:appointed_by ?h . { { ?h rdf:type ontology:assembly } UNION { ?h rdf:type ontology:common_name } } } } . FILTER ( ?a > ?c ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) ?m WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:assembly ) ( ontology:common_name ) } } GROUP BY ?m } }
[]
assembly common name occupation
Q4970706 Q25860233 Q3246797
SYSTEM
Federal Chancellor of Germany, Secretary of State for Exiting the European Union, Secretary of State for Transport
Q1846384 Q2631987 Q14984399 Q2484309 Q2012061 Q7444357 Q7444352 Q15305714 Q3246797 Q1371091 Q3315116 Q3477307 Q1369302 Q842386 Q835586 Q19056310 Q4970706 Q890030 Q796593 Q531471 Q2636053 Q464103 Q3858507 Q1124265 Q3477306 Q866756 Q565424 Q862559 Q7574264 Q182762 Q1060844 Q3397406 Q691615 Q152814 Q3409203 Q195965 Q327948 Q1975365 Q609884 Q1123764 Q7240368 Q3297079 Q6865995 Q1370482 Q3315134 Q3777749 Q111784 Q1362216 Q628102 Q25860233
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q3315114
relation P748
type Q1752346
type Q502895
The Federal Chancellor of Germany, Secretary of State for exiting the European Union and Secretary of State for Transport greater number of assemblies and people appointed than Minister of National Defence
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Q3315114 property:P748 ?h . { { ?h rdf:type ontology:Q1752346 } UNION { ?h rdf:type ontology:Q502895 } } } } . FILTER ( ?a > ?c ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) ?m WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1752346 ) ( ontology:Q502895 ) } } GROUP BY ?m } }
Secretary of State for Wales Attorney General for England and Wales Secretary of State for Environment, Food and Rural Affairs Secretary of State for the Home Department Leader of the House of Lords Secretary of State for Work and Pensions Secretary of State for International Development Prime Minister of Libya Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland Prime Minister of Russia Prime Minister of Serbia President of Botswana Federal Chancellor of Germany State President of South Africa President of Malta Chancellor of the Exchequer Leader of the House of Commons Speaker of the House of Commons Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community Secretary of State for Education Prime Minister of Singapore Prime Minister of the Bahamas Prime Minister of Malaysia Speaker of the Hellenic Parliament Prime Minister of Algeria Paymaster General Secretary of State for Health Governor of the Virgin Islands Prime Minister of Malta President of Greece Governor of Gibraltar President of Israel Prime Minister of Georgia First Lord of the Treasury Prime Minister of Armenia Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office President of Cuba Minister for Women and Equalities Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland President of Nauru Secretary of State for Exiting the European Union
The Federal Chancellor of Germany, Secretary of State for exiting the European Union and Secretary of State for Transport greater number of assemblies and people appointed than Minister of National Defence
Federal Chancellor of Germany Secretary of State for Exiting the European Union Secretary of State for Transport
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Minister of National Defence
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Minister_of_National_Defence property:appointed_by ?h . { { ?h rdf:type ontology:assembly } UNION { ?h rdf:type ontology:common_name } } } } . FILTER ( ?a > ?c ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) ?m WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:assembly ) ( ontology:common_name ) } } GROUP BY ?m } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q13645132
P748
Q1752346 Q502895 Q12737077
USER
And what about Lord Mayor of Dublin?
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q13645132
relation P748
type Q1752346
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q13645132 property:P748 ?l . { { ?l rdf:type ontology:Q1752346 } UNION { ?l rdf:type ontology:Q502895 } } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?s WHERE { { ?s property:P748 ?r . ?s rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q1752346 } UNION { ?s property:P748 ?r . ?s rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q502895 } } GROUP BY ?s } }
Lord Mayor of Dublin
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Lord Mayor of Dublin
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Lord_Mayor_of_Dublin property:appointed_by ?l . { { ?l rdf:type ontology:assembly } UNION { ?l rdf:type ontology:common_name } } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?s WHERE { { ?s property:appointed_by ?r . ?s rdf:type ontology:occupation . ?r rdf:type ontology:assembly } UNION { ?s property:appointed_by ?r . ?s rdf:type ontology:occupation . ?r rdf:type ontology:common_name } } GROUP BY ?s } }
[]
assembly common name occupation
Q4970706 Q25860233 Q3246797
SYSTEM
Federal Chancellor of Germany, Secretary of State for Exiting the European Union, Secretary of State for Transport
Q1846384 Q2631987 Q14984399 Q2484309 Q2012061 Q7444357 Q7444352 Q15305714 Q3246797 Q1371091 Q3315116 Q3477307 Q1369302 Q842386 Q835586 Q19056310 Q4970706 Q890030 Q796593 Q531471 Q2636053 Q464103 Q3858507 Q1124265 Q3477306 Q866756 Q565424 Q862559 Q7574264 Q182762 Q1060844 Q3397406 Q691615 Q152814 Q3409203 Q195965 Q327948 Q1975365 Q609884 Q1123764 Q7240368 Q3297079 Q6865995 Q1370482 Q3315134 Q3777749 Q111784 Q1362216 Q628102 Q25860233
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q13645132
relation P748
type Q1752346
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q13645132 property:P748 ?l . { { ?l rdf:type ontology:Q1752346 } UNION { ?l rdf:type ontology:Q502895 } } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?s WHERE { { ?s property:P748 ?r . ?s rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q1752346 } UNION { ?s property:P748 ?r . ?s rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q502895 } } GROUP BY ?s } }
Secretary of State for Wales Attorney General for England and Wales Secretary of State for Environment, Food and Rural Affairs Secretary of State for the Home Department Leader of the House of Lords Secretary of State for Work and Pensions Secretary of State for International Development Prime Minister of Libya Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland Prime Minister of Russia Prime Minister of Serbia President of Botswana Federal Chancellor of Germany State President of South Africa President of Malta Chancellor of the Exchequer Leader of the House of Commons Speaker of the House of Commons Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community Secretary of State for Education Prime Minister of Singapore Prime Minister of the Bahamas Prime Minister of Malaysia Speaker of the Hellenic Parliament Prime Minister of Algeria Paymaster General Secretary of State for Health Governor of the Virgin Islands Prime Minister of Malta President of Greece Governor of Gibraltar President of Israel Prime Minister of Georgia First Lord of the Treasury Prime Minister of Armenia Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office President of Cuba Minister for Women and Equalities Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland President of Nauru Secretary of State for Exiting the European Union
Federal Chancellor of Germany Secretary of State for Exiting the European Union Secretary of State for Transport
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Lord Mayor of Dublin
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Lord_Mayor_of_Dublin property:appointed_by ?l . { { ?l rdf:type ontology:assembly } UNION { ?l rdf:type ontology:common_name } } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?s WHERE { { ?s property:appointed_by ?r . ?s rdf:type ontology:occupation . ?r rdf:type ontology:assembly } UNION { ?s property:appointed_by ?r . ?s rdf:type ontology:occupation . ?r rdf:type ontology:common_name } } GROUP BY ?s } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P361
Q192350 Q35798
USER
How many ministries and executive branches are that occupation a part of ?
(Q3246797,P361,c(Q192350)) (Q3246797,P361,c(Q35798)) (Q4970706,P361,c(Q192350)) (Q4970706,P361,c(Q35798)) (Q25860233,P361,c(Q192350)) (Q25860233,P361,c(Q35798)) (Q3246797,P361,c(Q192350)) (Q3246797,P361,c(Q35798))
['Q3246797', 'P361', {'concept': 'Q192350'}] ['Q3246797', 'P361', {'concept': 'Q35798'}] ['Q4970706', 'P361', {'concept': 'Q192350'}] ['Q4970706', 'P361', {'concept': 'Q35798'}] ['Q25860233', 'P361', {'concept': 'Q192350'}] ['Q25860233', 'P361', {'concept': 'Q35798'}] ['Q3246797', 'P361', {'concept': 'Q192350'}] ['Q3246797', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q3246797 property:P361 ?z } UNION { resource:Q3246797 property:P361 ?y } UNION { resource:Q4970706 property:P361 ?z } UNION { resource:Q4970706 property:P361 ?y } UNION { resource:Q25860233 property:P361 ?z } UNION { resource:Q25860233 property:P361 ?y } UNION { resource:Q3246797 property:P361 ?z } UNION { resource:Q3246797 property:P361 ?y } } . ?z rdf:type ontology:Q192350 . ?y rdf:type ontology:Q35798 }
['Secretary of State for Transport', 'part of', {'concept': 'ministry'}] ['Secretary of State for Transport', 'part of', {'concept': 'executive branch'}] ['Federal Chancellor of Germany', 'part of', {'concept': 'ministry'}] ['Federal Chancellor of Germany', 'part of', {'concept': 'executive branch'}] ['Secretary of State for Exiting the European Union', 'part of', {'concept': 'ministry'}] ['Secretary of State for Exiting the European Union', 'part of', {'concept': 'executive branch'}] ['Secretary of State for Transport', 'part of', {'concept': 'ministry'}] ['Secretary of State for Transport', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Secretary_of_State_for_Transport property:part_of ?z } UNION { resource:Secretary_of_State_for_Transport property:part_of ?y } UNION { resource:Federal_Chancellor_of_Germany property:part_of ?z } UNION { resource:Federal_Chancellor_of_Germany property:part_of ?y } UNION { resource:Secretary_of_State_for_Exiting_the_European_Union property:part_of ?z } UNION { resource:Secretary_of_State_for_Exiting_the_European_Union property:part_of ?y } UNION { resource:Secretary_of_State_for_Transport property:part_of ?z } UNION { resource:Secretary_of_State_for_Transport property:part_of ?y } } . ?z rdf:type ontology:ministry . ?y rdf:type ontology:executive_branch }
[]
ministry executive branch
Quantitative|Count|Mult. entity type|Clarification
Q3246797
SYSTEM
Did you mean Secretary of State for Transport ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q3246797 property:P361 ?z } UNION { resource:Q3246797 property:P361 ?y } UNION { resource:Q4970706 property:P361 ?z } UNION { resource:Q4970706 property:P361 ?y } UNION { resource:Q25860233 property:P361 ?z } UNION { resource:Q25860233 property:P361 ?y } UNION { resource:Q3246797 property:P361 ?z } UNION { resource:Q3246797 property:P361 ?y } } . ?z rdf:type ontology:Q192350 . ?y rdf:type ontology:Q35798 }
Did you mean Secretary of State for Transport ?
Secretary of State for Transport
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Secretary_of_State_for_Transport property:part_of ?z } UNION { resource:Secretary_of_State_for_Transport property:part_of ?y } UNION { resource:Federal_Chancellor_of_Germany property:part_of ?z } UNION { resource:Federal_Chancellor_of_Germany property:part_of ?y } UNION { resource:Secretary_of_State_for_Exiting_the_European_Union property:part_of ?z } UNION { resource:Secretary_of_State_for_Exiting_the_European_Union property:part_of ?y } UNION { resource:Secretary_of_State_for_Transport property:part_of ?z } UNION { resource:Secretary_of_State_for_Transport property:part_of ?y } } . ?z rdf:type ontology:ministry . ?y rdf:type ontology:executive_branch }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q3246797,P361,c(Q192350)) (Q3246797,P361,c(Q35798)) (Q4970706,P361,c(Q192350)) (Q4970706,P361,c(Q35798)) (Q25860233,P361,c(Q192350)) (Q25860233,P361,c(Q35798)) (Q3246797,P361,c(Q192350)) (Q3246797,P361,c(Q35798))
['Q3246797', 'P361', {'concept': 'Q192350'}] ['Q3246797', 'P361', {'concept': 'Q35798'}] ['Q4970706', 'P361', {'concept': 'Q192350'}] ['Q4970706', 'P361', {'concept': 'Q35798'}] ['Q25860233', 'P361', {'concept': 'Q192350'}] ['Q25860233', 'P361', {'concept': 'Q35798'}] ['Q3246797', 'P361', {'concept': 'Q192350'}] ['Q3246797', 'P361', {'concept': 'Q35798'}]
['Secretary of State for Transport', 'part of', {'concept': 'ministry'}] ['Secretary of State for Transport', 'part of', {'concept': 'executive branch'}] ['Federal Chancellor of Germany', 'part of', {'concept': 'ministry'}] ['Federal Chancellor of Germany', 'part of', {'concept': 'executive branch'}] ['Secretary of State for Exiting the European Union', 'part of', {'concept': 'ministry'}] ['Secretary of State for Exiting the European Union', 'part of', {'concept': 'executive branch'}] ['Secretary of State for Transport', 'part of', {'concept': 'ministry'}] ['Secretary of State for Transport', 'part of', {'concept': 'executive branch'}]
[]
SYSTEM
1 ministries and 1 executive branches
Q112014 Q2982287
(Q3246797,P361,c(Q192350)) (Q3246797,P361,c(Q35798)) (Q4970706,P361,c(Q192350)) (Q4970706,P361,c(Q35798)) (Q25860233,P361,c(Q192350)) (Q25860233,P361,c(Q35798)) (Q3246797,P361,c(Q192350)) (Q3246797,P361,c(Q35798))
[ANSWER]
['Q3246797', 'P361', {'concept': 'Q192350'}] ['Q3246797', 'P361', {'concept': 'Q35798'}] ['Q4970706', 'P361', {'concept': 'Q192350'}] ['Q4970706', 'P361', {'concept': 'Q35798'}] ['Q25860233', 'P361', {'concept': 'Q192350'}] ['Q25860233', 'P361', {'concept': 'Q35798'}] ['Q3246797', 'P361', {'concept': 'Q192350'}] ['Q3246797', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q3246797 property:P361 ?z } UNION { resource:Q3246797 property:P361 ?y } UNION { resource:Q4970706 property:P361 ?z } UNION { resource:Q4970706 property:P361 ?y } UNION { resource:Q25860233 property:P361 ?z } UNION { resource:Q25860233 property:P361 ?y } UNION { resource:Q3246797 property:P361 ?z } UNION { resource:Q3246797 property:P361 ?y } } . ?z rdf:type ontology:Q192350 . ?y rdf:type ontology:Q35798 }
Cabinet of the United Kingdom Department for Transport
1 ministries and 1 executive branches
['Secretary of State for Transport', 'part of', {'concept': 'ministry'}] ['Secretary of State for Transport', 'part of', {'concept': 'executive branch'}] ['Federal Chancellor of Germany', 'part of', {'concept': 'ministry'}] ['Federal Chancellor of Germany', 'part of', {'concept': 'executive branch'}] ['Secretary of State for Exiting the European Union', 'part of', {'concept': 'ministry'}] ['Secretary of State for Exiting the European Union', 'part of', {'concept': 'executive branch'}] ['Secretary of State for Transport', 'part of', {'concept': 'ministry'}] ['Secretary of State for Transport', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Secretary_of_State_for_Transport property:part_of ?z } UNION { resource:Secretary_of_State_for_Transport property:part_of ?y } UNION { resource:Federal_Chancellor_of_Germany property:part_of ?z } UNION { resource:Federal_Chancellor_of_Germany property:part_of ?y } UNION { resource:Secretary_of_State_for_Exiting_the_European_Union property:part_of ?z } UNION { resource:Secretary_of_State_for_Exiting_the_European_Union property:part_of ?y } UNION { resource:Secretary_of_State_for_Transport property:part_of ?z } UNION { resource:Secretary_of_State_for_Transport property:part_of ?y } } . ?z rdf:type ontology:ministry . ?y rdf:type ontology:executive_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25860233
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of Secretary of State for Exiting the European Union ?
(Q25860233,P1001,c(Q15617994))
action filter_type
action find
entity Q25860233
relation P1001
type Q15617994
['Q25860233', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q25860233 property:P1001 ?c . ?c rdf:type ontology:Q15617994 }
Secretary of State for Exiting the European Union
action filter_type
action find
entity Secretary of State for Exiting the European Union
relation applies to jurisdiction
type designation for an administrative territorial entity
['Secretary of State for Exiting the European Union', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Secretary_of_State_for_Exiting_the_European_Union property:applies_to_jurisdiction ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q25860233,P1001,c(Q15617994))
action filter_type
action find
entity Q25860233
relation P1001
type Q15617994
[ANSWER] comes under the jurisdiction of Secretary of State for Exiting the European Union
['Q25860233', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q25860233 property:P1001 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom comes under the jurisdiction of Secretary of State for Exiting the European Union
United Kingdom
action filter_type
action find
entity Secretary of State for Exiting the European Union
relation applies to jurisdiction
type designation for an administrative territorial entity
['Secretary of State for Exiting the European Union', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Secretary_of_State_for_Exiting_the_European_Union property:applies_to_jurisdiction ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25860233
P361
Q35798
USER
What is that occupation a component of ?
(Q145,P361,c(Q35798))
action filter_type
action find
entity Q25860233
relation P361
type Q35798
['Q145', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?u WHERE { resource:Q25860233 property:P361 ?u . ?u rdf:type ontology:Q35798 }
Secretary of State for Exiting the European Union
action filter_type
action find
entity Secretary of State for Exiting the European Union
relation part of
type executive branch
['United Kingdom', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?u WHERE { resource:Secretary_of_State_for_Exiting_the_European_Union property:part_of ?u . ?u rdf:type ontology:executive_branch }
[]
executive branch
Q112014
SYSTEM
Cabinet of the United Kingdom
Q112014
(Q145,P361,c(Q35798))
action filter_type
action find
entity Q25860233
relation P361
type Q35798
That occupation a component of is the [ANSWER]
['Q145', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?u WHERE { resource:Q25860233 property:P361 ?u . ?u rdf:type ontology:Q35798 }
Cabinet of the United Kingdom
That occupation a component of is the Cabinet of the United Kingdom
Cabinet of the United Kingdom
action filter_type
action find
entity Secretary of State for Exiting the European Union
relation part of
type executive branch
['United Kingdom', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?u WHERE { resource:Secretary_of_State_for_Exiting_the_European_Union property:part_of ?u . ?u rdf:type ontology:executive_branch }
[]