Simple Question (Direct)
Simple Question
Q7592420
P937
Q56061
USER
Which administrative territory is the work location of St Andrew St John, 14th Baron St John of Bletso ?
(Q7592420,P937,c(Q56061))
action filter_type
action find
entity Q7592420
relation P937
type Q56061
['Q7592420', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q7592420 property:P937 ?g . ?g rdf:type ontology:Q56061 }
St Andrew St John, 14th Baron St John of Bletso
action filter_type
action find
entity St Andrew St John, 14th Baron St John of Bletso
relation work location
type administrative territorial entity
['St Andrew St John, 14th Baron St John of Bletso', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:St_Andrew_St_John,_14th_Baron_St_John_of_Bletso property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q7592420,P937,c(Q56061))
action filter_type
action find
entity Q7592420
relation P937
type Q56061
[ANSWER] is the work location of St Andrew St John, 14th Baron St John of Bletso
['Q7592420', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q7592420 property:P937 ?g . ?g rdf:type ontology:Q56061 }
London
London is the work location of St Andrew St John, 14th Baron St John of Bletso
London
action filter_type
action find
entity St Andrew St John, 14th Baron St John of Bletso
relation work location
type administrative territorial entity
['St Andrew St John, 14th Baron St John of Bletso', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:St_Andrew_St_John,_14th_Baron_St_John_of_Bletso property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7592420
P1412
Q34770
USER
Which language is spoken by that person ?
(Q84,P1412,c(Q34770))
action filter_type
action find
entity Q7592420
relation P1412
type Q34770
['Q84', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q7592420 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
St Andrew St John, 14th Baron St John of Bletso
action filter_type
action find
entity St Andrew St John, 14th Baron St John of Bletso
relation languages spoken, written or signed
type language
['London', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:St_Andrew_St_John,_14th_Baron_St_John_of_Bletso property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q84,P1412,c(Q34770))
action filter_type
action find
entity Q7592420
relation P1412
type Q34770
Are [ANSWER] is spoken by that person
['Q84', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q7592420 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
Are English is spoken by that person
English
action filter_type
action find
entity St Andrew St John, 14th Baron St John of Bletso
relation languages spoken, written or signed
type language
['London', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:St_Andrew_St_John,_14th_Baron_St_John_of_Bletso property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q84
P19
Q16979650 Q16521
USER
How many sibling groups and taxons have birthplace at London ?
(c(Q16979650),P19,Q84) (c(Q16521),P19,Q84)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P19
type Q16979650
action filter_type
action find_reverse
entity Q84
relation P19
type Q16521
[{'concept': 'Q16979650'}, 'P19', 'Q84'] [{'concept': 'Q16521'}, 'P19', 'Q84']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q16979650 ) ( ontology:Q16521 ) } }
London
action count
action union
action filter_type
action find_reverse
entity London
relation place of birth
type sibling group
action filter_type
action find_reverse
entity London
relation place of birth
type taxon
[{'concept': 'sibling group'}, 'place of birth', 'London'] [{'concept': 'taxon'}, 'place of birth', 'London']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:sibling_group ) ( ontology:taxon ) } }
[]
sibling group taxon
SYSTEM
1 sibling groups and 2 taxons
Q1095350 Q25171691 Q953124
(c(Q16979650),P19,Q84) (c(Q16521),P19,Q84)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P19
type Q16979650
action filter_type
action find_reverse
entity Q84
relation P19
type Q16521
[ANSWER]
[{'concept': 'Q16979650'}, 'P19', 'Q84'] [{'concept': 'Q16521'}, 'P19', 'Q84']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q16979650 ) ( ontology:Q16521 ) } }
Clarence Palmerston Jake and Dinos Chapman
1 sibling groups and 2 taxons
action count
action union
action filter_type
action find_reverse
entity London
relation place of birth
type sibling group
action filter_type
action find_reverse
entity London
relation place of birth
type taxon
[{'concept': 'sibling group'}, 'place of birth', 'London'] [{'concept': 'taxon'}, 'place of birth', 'London']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:sibling_group ) ( ontology:taxon ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7592420
P69
Q1055028
USER
Which college of the University of Cambridge was St Andrew St John, 14th Baron St John of Bletso educated at ?
(Q7592420,P69,c(Q1055028))
action filter_type
action find
entity Q7592420
relation P69
type Q1055028
['Q7592420', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1055028 . resource:Q7592420 property:P69 ?h }
St Andrew St John, 14th Baron St John of Bletso
action filter_type
action find
entity St Andrew St John, 14th Baron St John of Bletso
relation educated at
type college of the University of Cambridge
['St Andrew St John, 14th Baron St John of Bletso', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:college_of_the_University_of_Cambridge . resource:St_Andrew_St_John,_14th_Baron_St_John_of_Bletso property:educated_at ?h }
[]
college of the University of Cambridge
Q691283
SYSTEM
St John's College
Q691283
(Q7592420,P69,c(Q1055028))
action filter_type
action find
entity Q7592420
relation P69
type Q1055028
[ANSWER] was St Andrew St John, 14th Baron St John of Bletso educated at
['Q7592420', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1055028 . resource:Q7592420 property:P69 ?h }
St John's College
St John's College was St Andrew St John, 14th Baron St John of Bletso educated at
St John's College
action filter_type
action find
entity St Andrew St John, 14th Baron St John of Bletso
relation educated at
type college of the University of Cambridge
['St Andrew St John, 14th Baron St John of Bletso', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:college_of_the_University_of_Cambridge . resource:St_Andrew_St_John,_14th_Baron_St_John_of_Bletso property:educated_at ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7592420
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q691283,P106,c(Q12737077))
action filter_type
action find
entity Q7592420
relation P106
type Q12737077
['Q691283', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q7592420 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
St Andrew St John, 14th Baron St John of Bletso
action filter_type
action find
entity St Andrew St John, 14th Baron St John of Bletso
relation occupation
type occupation
["St John's College", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:St_Andrew_St_John,_14th_Baron_St_John_of_Bletso property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q691283,P106,c(Q12737077))
action filter_type
action find
entity Q7592420
relation P106
type Q12737077
A [ANSWER] has that person as his/her 's career
['Q691283', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q7592420 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
politician
A politician has that person as his/her 's career
politician
action filter_type
action find
entity St Andrew St John, 14th Baron St John of Bletso
relation occupation
type occupation
["St John's College", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:St_Andrew_St_John,_14th_Baron_St_John_of_Bletso property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7592420
P39
Q12737077
USER
What were the positions for which that person were appointed ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q7592420
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7592420 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
St Andrew St John, 14th Baron St John of Bletso
action filter_type
action find
entity St Andrew St John, 14th Baron St John of Bletso
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:St_Andrew_St_John,_14th_Baron_St_John_of_Bletso property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q18015642 Q16707842
SYSTEM
Member of Parliament in the Parliament of Great Britain, Member of Parliament in the United Kingdom
Q18015642 Q16707842
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q7592420
relation P39
type Q12737077
[ANSWERS]
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7592420 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Member of Parliament in the Parliament of Great Britain Member of Parliament in the United Kingdom
Member of Parliament in the Parliament of Great Britain and Member of Parliament in the United Kingdom
Member of Parliament in the Parliament of Great Britain Member of Parliament in the United Kingdom
action filter_type
action find
entity St Andrew St John, 14th Baron St John of Bletso
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:St_Andrew_St_John,_14th_Baron_St_John_of_Bletso property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7439298
P39
Q502895
USER
Were Scrope Bernard-Morland appointed for the position of those occupations ?
(Q7439298,P39,Q18015642) (Q7439298,P39,Q16707842)
action is_in
entity prev_answer
action find
entity Q7439298
relation P39
['Q7439298', 'P39', 'Q18015642'] ['Q7439298', 'P39', 'Q16707842']
ASK WHERE { resource:Q7439298 property:P39 ?h . VALUES ( ?h ) { ( resource:Q18015642 ) ( resource:Q16707842 ) } }
Scrope Bernard-Morland
action is_in
entity prev_answer
action find
entity Scrope Bernard-Morland
relation position held
['Scrope Bernard-Morland', 'position held', 'Member of Parliament in the Parliament of Great Britain'] ['Scrope Bernard-Morland', 'position held', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Scrope_Bernard-Morland property:position_held ?h . VALUES ( ?h ) { ( resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } }
[]
common name
SYSTEM
YES
(Q7439298,P39,Q18015642) (Q7439298,P39,Q16707842)
action is_in
entity prev_answer
action find
entity Q7439298
relation P39
[ANSWER]
['Q7439298', 'P39', 'Q18015642'] ['Q7439298', 'P39', 'Q16707842']
ASK WHERE { resource:Q7439298 property:P39 ?h . VALUES ( ?h ) { ( resource:Q18015642 ) ( resource:Q16707842 ) } }
Yes
action is_in
entity prev_answer
action find
entity Scrope Bernard-Morland
relation position held
['Scrope Bernard-Morland', 'position held', 'Member of Parliament in the Parliament of Great Britain'] ['Scrope Bernard-Morland', 'position held', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Scrope_Bernard-Morland property:position_held ?h . VALUES ( ?h ) { ( resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } }
[]