Simple Question (Direct)
Simple Question
Q334578
P106
Q12737077
USER
Which occupation has Paul Dean, Baron Dean of Harptree as his/her 's career ?
(Q334578,P106,c(Q12737077))
action filter_type
action find
entity Q334578
relation P106
type Q12737077
['Q334578', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q334578 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Paul Dean, Baron Dean of Harptree
action filter_type
action find
entity Paul Dean, Baron Dean of Harptree
relation occupation
type occupation
['Paul Dean, Baron Dean of Harptree', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Dean,_Baron_Dean_of_Harptree property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q334578,P106,c(Q12737077))
action filter_type
action find
entity Q334578
relation P106
type Q12737077
The [ANSWER] has Paul Dean, Baron Dean of Harptree as his/her 's career
['Q334578', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q334578 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician
The politician has Paul Dean, Baron Dean of Harptree as his/her 's career
politician
action filter_type
action find
entity Paul Dean, Baron Dean of Harptree
relation occupation
type occupation
['Paul Dean, Baron Dean of Harptree', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Dean,_Baron_Dean_of_Harptree property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q334578
P39
Q12737077
USER
Which occupations were a position held by that person ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q334578
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q334578 property:P39 ?j }
Paul Dean, Baron Dean of Harptree
action filter_type
action find
entity Paul Dean, Baron Dean of Harptree
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Paul_Dean,_Baron_Dean_of_Harptree property:position_held ?j }
[]
occupation
Q18574418 Q16707842
SYSTEM
First Deputy Chairman of Ways and Means, Member of Parliament in the United Kingdom
Q18574418 Q16707842
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q334578
relation P39
type Q12737077
The [ANSWERS] were a position held by that person
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q334578 property:P39 ?j }
First Deputy Chairman of Ways and Means Member of Parliament in the United Kingdom
The First Deputy Chairman of Ways and Means and Member of Parliament in the United Kingdom were a position held by that person
First Deputy Chairman of Ways and Means Member of Parliament in the United Kingdom
action filter_type
action find
entity Paul Dean, Baron Dean of Harptree
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Paul_Dean,_Baron_Dean_of_Harptree property:position_held ?j }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5392734
P39
Q502895
USER
Were Ernest Armstrong responsible for occupying the position of those occupations ?
(Q5392734,P39,Q18574418) (Q5392734,P39,Q16707842)
action is_in
entity prev_answer
action find
entity Q5392734
relation P39
['Q5392734', 'P39', 'Q18574418'] ['Q5392734', 'P39', 'Q16707842']
ASK WHERE { resource:Q5392734 property:P39 ?e . VALUES ( ?e ) { ( resource:Q18574418 ) ( resource:Q16707842 ) } }
Ernest Armstrong
action is_in
entity prev_answer
action find
entity Ernest Armstrong
relation position held
['Ernest Armstrong', 'position held', 'First Deputy Chairman of Ways and Means'] ['Ernest Armstrong', 'position held', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Ernest_Armstrong property:position_held ?e . VALUES ( ?e ) { ( resource:First_Deputy_Chairman_of_Ways_and_Means ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } }
[]
common name
SYSTEM
YES
(Q5392734,P39,Q18574418) (Q5392734,P39,Q16707842)
action is_in
entity prev_answer
action find
entity Q5392734
relation P39
[ANSWER]
['Q5392734', 'P39', 'Q18574418'] ['Q5392734', 'P39', 'Q16707842']
ASK WHERE { resource:Q5392734 property:P39 ?e . VALUES ( ?e ) { ( resource:Q18574418 ) ( resource:Q16707842 ) } }
Yes
action is_in
entity prev_answer
action find
entity Ernest Armstrong
relation position held
['Ernest Armstrong', 'position held', 'First Deputy Chairman of Ways and Means'] ['Ernest Armstrong', 'position held', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Ernest_Armstrong property:position_held ?e . VALUES ( ?e ) { ( resource:First_Deputy_Chairman_of_Ways_and_Means ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q334578
P1412
Q34770
USER
Which language is spoken by Paul Dean, Baron Dean of Harptree ?
(Q334578,P1412,c(Q34770))
action filter_type
action find
entity Q334578
relation P1412
type Q34770
['Q334578', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q334578 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Paul Dean, Baron Dean of Harptree
action filter_type
action find
entity Paul Dean, Baron Dean of Harptree
relation languages spoken, written or signed
type language
['Paul Dean, Baron Dean of Harptree', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Dean,_Baron_Dean_of_Harptree property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q334578,P1412,c(Q34770))
action filter_type
action find
entity Q334578
relation P1412
type Q34770
[ANSWER] is spoken by Paul Dean, Baron Dean of Harptree
['Q334578', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q334578 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
English
English is spoken by Paul Dean, Baron Dean of Harptree
English
action filter_type
action find
entity Paul Dean, Baron Dean of Harptree
relation languages spoken, written or signed
type language
['Paul Dean, Baron Dean of Harptree', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Dean,_Baron_Dean_of_Harptree property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q334578
P69
Q1244442
USER
Which school building is the alma mater of Paul Dean, Baron Dean of Harptree ?
(Q334578,P69,c(Q1244442))
action filter_type
action find
entity Q334578
relation P69
type Q1244442
['Q334578', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1244442 . resource:Q334578 property:P69 ?d }
Paul Dean, Baron Dean of Harptree
action filter_type
action find
entity Paul Dean, Baron Dean of Harptree
relation educated at
type school building
['Paul Dean, Baron Dean of Harptree', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:school_building . resource:Paul_Dean,_Baron_Dean_of_Harptree property:educated_at ?d }
[]
school building
Q81173
SYSTEM
Exeter College
Q81173
(Q334578,P69,c(Q1244442))
action filter_type
action find
entity Q334578
relation P69
type Q1244442
[ANSWER] is the alma mater of Paul Dean, Baron Dean of Harptree
['Q334578', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1244442 . resource:Q334578 property:P69 ?d }
Exeter College
Exeter College is the alma mater of Paul Dean, Baron Dean of Harptree
Exeter College
action filter_type
action find
entity Paul Dean, Baron Dean of Harptree
relation educated at
type school building
['Paul Dean, Baron Dean of Harptree', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:school_building . resource:Paul_Dean,_Baron_Dean_of_Harptree property:educated_at ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q81173 Q1077594
P69
Q502895
USER
Was Chris Murphy educated at that school building ?
(Q1077594,P69,Q81173)
action is_in
entity Q81173
action find
entity Q1077594
relation P69
['Q1077594', 'P69', 'Q81173']
ASK WHERE { resource:Q1077594 property:P69 resource:Q81173 }
Exeter College Chris Murphy
action is_in
entity Exeter College
action find
entity Chris Murphy
relation educated at
['Chris Murphy', 'educated at', 'Exeter College']
ASK WHERE { resource:Chris_Murphy property:educated_at resource:Exeter_College }
[]
common name
SYSTEM
YES
(Q1077594,P69,Q81173)
action is_in
entity Q81173
action find
entity Q1077594
relation P69
[ANSWER]
['Q1077594', 'P69', 'Q81173']
ASK WHERE { resource:Q1077594 property:P69 resource:Q81173 }
Yes
action is_in
entity Exeter College
action find
entity Chris Murphy
relation educated at
['Chris Murphy', 'educated at', 'Exeter College']
ASK WHERE { resource:Chris_Murphy property:educated_at resource:Exeter_College }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81173
P138
Q502895
USER
Which person is that school building named after ?
action filter_type
action find
entity Q81173
relation P138
type Q502895
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q81173 property:P138 ?w }
Exeter College
action filter_type
action find
entity Exeter College
relation named after
type common name
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Exeter_College property:named_after ?w }
[]
common name
Q4476147
SYSTEM
Walter de Stapledon
Q4476147
action filter_type
action find
entity Q81173
relation P138
type Q502895
That school building is named for [ANSWER]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q81173 property:P138 ?w }
Walter de Stapledon
That school building is named for Walter de Stapledon
Walter de Stapledon
action filter_type
action find
entity Exeter College
relation named after
type common name
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Exeter_College property:named_after ?w }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17380074 Q16707842
P27 P1001
Q15617994
USER
Which administrative territories apply to jurisdiction of Member of Parliament in the United Kingdom or do Knut Gustaf Nikolai Borgenström belong to ?
OR((Q16707842,P1001,c(Q15617994)), (Q17380074,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16707842
relation P1001
action find
entity Q17380074
relation P27
type Q15617994
{'OR': [['Q16707842', 'P1001', {'concept': 'Q15617994'}], ['Q17380074', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q17380074 property:P27 ?j } UNION { resource:Q16707842 property:P1001 ?j } } . ?j rdf:type ontology:Q15617994 }
Knut Gustaf Nikolai Borgenström Member of Parliament in the United Kingdom
action filter_type
action union
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
action find
entity Knut Gustaf Nikolai Borgenström
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Member of Parliament in the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Knut Gustaf Nikolai Borgenström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Knut_Gustaf_Nikolai_Borgenström property:country_of_citizenship ?j } UNION { resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q145
SYSTEM
Finland, United Kingdom
Q33 Q145
OR((Q16707842,P1001,c(Q15617994)), (Q17380074,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16707842
relation P1001
action find
entity Q17380074
relation P27
type Q15617994
[ANSWERS] apply to jurisdiction of Member of Parliament in the United Kingdom or do Knut Gustaf Nikolai Borgenström belong to
{'OR': [['Q16707842', 'P1001', {'concept': 'Q15617994'}], ['Q17380074', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q17380074 property:P27 ?j } UNION { resource:Q16707842 property:P1001 ?j } } . ?j rdf:type ontology:Q15617994 }
Finland United Kingdom
Finland and United Kingdom apply to jurisdiction of Member of Parliament in the United Kingdom or do Knut Gustaf Nikolai Borgenström belong to
Finland United Kingdom
action filter_type
action union
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
action find
entity Knut Gustaf Nikolai Borgenström
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Member of Parliament in the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Knut Gustaf Nikolai Borgenström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Knut_Gustaf_Nikolai_Borgenström property:country_of_citizenship ?j } UNION { resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q35
P710
Q1190554
USER
How many events were United Kingdom and Denmark a participant of ?
(c(Q1190554),P710,Q145) (c(Q1190554),P710,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q35
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q145'] [{'concept': 'Q1190554'}, 'P710', 'Q35']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P710 resource:Q145 . ?j rdf:type ontology:Q1190554 . ?j property:P710 resource:Q35 . ?j rdf:type ontology:Q1190554 }
United Kingdom Denmark
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation participant
type event
action filter_type
action find_reverse
entity Denmark
relation participant
type event
[{'concept': 'event'}, 'participant', 'United Kingdom'] [{'concept': 'event'}, 'participant', 'Denmark']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:participant resource:United_Kingdom . ?j rdf:type ontology:event . ?j property:participant resource:Denmark . ?j rdf:type ontology:event }
[]
event
SYSTEM
2
Q7510253 Q16470
(c(Q1190554),P710,Q145) (c(Q1190554),P710,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q35
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q145'] [{'concept': 'Q1190554'}, 'P710', 'Q35']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P710 resource:Q145 . ?j rdf:type ontology:Q1190554 . ?j property:P710 resource:Q35 . ?j rdf:type ontology:Q1190554 }
Siege of Musa Qala Normandy landings
2
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation participant
type event
action filter_type
action find_reverse
entity Denmark
relation participant
type event
[{'concept': 'event'}, 'participant', 'United Kingdom'] [{'concept': 'event'}, 'participant', 'Denmark']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:participant resource:United_Kingdom . ?j rdf:type ontology:event . ?j property:participant resource:Denmark . ?j rdf:type ontology:event }
[]