Simple Question (Direct)
Simple Question
Q5724684
P9
Q502895
USER
Who is the sibling of Henry Lascelles, 3rd Earl of Harewood ?
(Q5724684,P9,c(Q502895))
action filter_type
action find
entity Q5724684
relation P9
type Q502895
['Q5724684', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q5724684 property:P9 ?w . ?w rdf:type ontology:Q502895 }
Henry Lascelles, 3rd Earl of Harewood
action filter_type
action find
entity Henry Lascelles, 3rd Earl of Harewood
relation sister
type common name
['Henry Lascelles, 3rd Earl of Harewood', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Henry_Lascelles,_3rd_Earl_of_Harewood property:sister ?w . ?w rdf:type ontology:common_name }
[]
common name
Q5372926
SYSTEM
Emma Portman, Viscountess Portman
Q5372926
(Q5724684,P9,c(Q502895))
action filter_type
action find
entity Q5724684
relation P9
type Q502895
The sibling of Henry Lascelles , 3rd Earl of Harewood is married [ANSWER]
['Q5724684', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q5724684 property:P9 ?w . ?w rdf:type ontology:Q502895 }
Emma Portman, Viscountess Portman
The sibling of Henry Lascelles , 3rd Earl of Harewood is married Emma Portman, Viscountess Portman
Emma Portman, Viscountess Portman
action filter_type
action find
entity Henry Lascelles, 3rd Earl of Harewood
relation sister
type common name
['Henry Lascelles, 3rd Earl of Harewood', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Henry_Lascelles,_3rd_Earl_of_Harewood property:sister ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5372926
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q5372926)
action filter_type
action find_reverse
entity Q5372926
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5372926']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P40 resource:Q5372926 }
Emma Portman, Viscountess Portman
action filter_type
action find_reverse
entity Emma Portman, Viscountess Portman
relation child
type common name
[{'concept': 'common name'}, 'child', 'Emma Portman, Viscountess Portman']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:child resource:Emma_Portman,_Viscountess_Portman }
[]
common name
Q13554485
SYSTEM
Henry Lascelles, 2nd Earl of Harewood
Q13554485
(c(Q502895),P40,Q5372926)
action filter_type
action find_reverse
entity Q5372926
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q5372926']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P40 resource:Q5372926 }
Henry Lascelles, 2nd Earl of Harewood
Henry Lascelles, 2nd Earl of Harewood has that one as a child
Henry Lascelles, 2nd Earl of Harewood
action filter_type
action find_reverse
entity Emma Portman, Viscountess Portman
relation child
type common name
[{'concept': 'common name'}, 'child', 'Emma Portman, Viscountess Portman']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:child resource:Emma_Portman,_Viscountess_Portman }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q13554485 Q145 Q1572183
P27
Q15617994
USER
Is that person a civilian of United Kingdom and Halsbach ?
(Q13554485,P27,Q145) (Q13554485,P27,Q1572183)
action is_in
entity Q13554485
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q1572183
relation P27
['Q13554485', 'P27', 'Q145'] ['Q13554485', 'P27', 'Q1572183']
ASK WHERE { resource:Q13554485 property:P27 resource:Q1572183 . resource:Q13554485 property:P27 resource:Q145 }
Henry Lascelles, 2nd Earl of Harewood United Kingdom Halsbach
action is_in
entity Henry Lascelles, 2nd Earl of Harewood
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Halsbach
relation country of citizenship
['Henry Lascelles, 2nd Earl of Harewood', 'country of citizenship', 'United Kingdom'] ['Henry Lascelles, 2nd Earl of Harewood', 'country of citizenship', 'Halsbach']
ASK WHERE { resource:Henry_Lascelles,_2nd_Earl_of_Harewood property:country_of_citizenship resource:Halsbach . resource:Henry_Lascelles,_2nd_Earl_of_Harewood property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q13554485,P27,Q145) (Q13554485,P27,Q1572183)
action is_in
entity Q13554485
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q1572183
relation P27
[ANSWER]
['Q13554485', 'P27', 'Q145'] ['Q13554485', 'P27', 'Q1572183']
ASK WHERE { resource:Q13554485 property:P27 resource:Q1572183 . resource:Q13554485 property:P27 resource:Q145 }
YES and NO respectively
action is_in
entity Henry Lascelles, 2nd Earl of Harewood
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Halsbach
relation country of citizenship
['Henry Lascelles, 2nd Earl of Harewood', 'country of citizenship', 'United Kingdom'] ['Henry Lascelles, 2nd Earl of Harewood', 'country of citizenship', 'Halsbach']
ASK WHERE { resource:Henry_Lascelles,_2nd_Earl_of_Harewood property:country_of_citizenship resource:Halsbach . resource:Henry_Lascelles,_2nd_Earl_of_Harewood property:country_of_citizenship resource:United_Kingdom }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13554485
P39
Q12737077
USER
What were the positions held by that person ?
action filter_type
action find
entity Q13554485
relation P39
type Q12737077
SELECT DISTINCT ?z WHERE { resource:Q13554485 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Henry Lascelles, 2nd Earl of Harewood
action filter_type
action find
entity Henry Lascelles, 2nd Earl of Harewood
relation position held
type occupation
SELECT DISTINCT ?z WHERE { resource:Henry_Lascelles,_2nd_Earl_of_Harewood property:position_held ?z . ?z 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
action filter_type
action find
entity Q13554485
relation P39
type Q12737077
The positions held by that person were [ANSWERS]
SELECT DISTINCT ?z WHERE { resource:Q13554485 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Member of Parliament in the Parliament of Great Britain Member of Parliament in the United Kingdom
The positions held by that person were 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 Henry Lascelles, 2nd Earl of Harewood
relation position held
type occupation
SELECT DISTINCT ?z WHERE { resource:Henry_Lascelles,_2nd_Earl_of_Harewood property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q381880
P39
Q502895
USER
Did Sherrod Brown hold the position of those occupations ?
(Q381880,P39,Q18015642) (Q381880,P39,Q16707842)
action is_in
entity prev_answer
action find
entity Q381880
relation P39
['Q381880', 'P39', 'Q18015642'] ['Q381880', 'P39', 'Q16707842']
ASK WHERE { resource:Q381880 property:P39 ?p . VALUES ( ?p ) { ( resource:Q18015642 ) ( resource:Q16707842 ) } }
Sherrod Brown
action is_in
entity prev_answer
action find
entity Sherrod Brown
relation position held
['Sherrod Brown', 'position held', 'Member of Parliament in the Parliament of Great Britain'] ['Sherrod Brown', 'position held', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Sherrod_Brown property:position_held ?p . VALUES ( ?p ) { ( resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } }
[]
common name
SYSTEM
NO
(Q381880,P39,Q18015642) (Q381880,P39,Q16707842)
action is_in
entity prev_answer
action find
entity Q381880
relation P39
[ANSWER]
['Q381880', 'P39', 'Q18015642'] ['Q381880', 'P39', 'Q16707842']
ASK WHERE { resource:Q381880 property:P39 ?p . VALUES ( ?p ) { ( resource:Q18015642 ) ( resource:Q16707842 ) } }
No
action is_in
entity prev_answer
action find
entity Sherrod Brown
relation position held
['Sherrod Brown', 'position held', 'Member of Parliament in the Parliament of Great Britain'] ['Sherrod Brown', 'position held', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Sherrod_Brown property:position_held ?p . VALUES ( ?p ) { ( resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q381880
P26
Q502895
USER
Which person is married to that one ?
action filter_type
action find
entity Q381880
relation P26
type Q502895
SELECT DISTINCT ?b WHERE { resource:Q381880 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Sherrod Brown
action filter_type
action find
entity Sherrod Brown
relation spouse
type common name
SELECT DISTINCT ?b WHERE { resource:Sherrod_Brown property:spouse ?b . ?b rdf:type ontology:common_name }
[]
common name
Q5161928
SYSTEM
Connie Schultz
Q5161928
action filter_type
action find
entity Q381880
relation P26
type Q502895
[ANSWER] is married to that one
SELECT DISTINCT ?b WHERE { resource:Q381880 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Connie Schultz
Connie Schultz is married to that one
Connie Schultz
action filter_type
action find
entity Sherrod Brown
relation spouse
type common name
SELECT DISTINCT ?b WHERE { resource:Sherrod_Brown property:spouse ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q13554485
P40
Q502895
USER
How many people are the children of Henry Lascelles, 2nd Earl of Harewood ?
(Q13554485,P40,c(Q502895))
action count
action filter_type
action find
entity Q13554485
relation P40
type Q502895
['Q13554485', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q13554485 property:P40 ?h . ?h rdf:type ontology:Q502895 }
Henry Lascelles, 2nd Earl of Harewood
action count
action filter_type
action find
entity Henry Lascelles, 2nd Earl of Harewood
relation child
type common name
['Henry Lascelles, 2nd Earl of Harewood', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Henry_Lascelles,_2nd_Earl_of_Harewood property:child ?h . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q8014327 Q5724684 Q5346601 Q5372926
(Q13554485,P40,c(Q502895))
action count
action filter_type
action find
entity Q13554485
relation P40
type Q502895
[ANSWER]
['Q13554485', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q13554485 property:P40 ?h . ?h rdf:type ontology:Q502895 }
William Lascelles Henry Lascelles, 3rd Earl of Harewood Edwin Lascelles Emma Portman, Viscountess Portman
4
action count
action filter_type
action find
entity Henry Lascelles, 2nd Earl of Harewood
relation child
type common name
['Henry Lascelles, 2nd Earl of Harewood', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Henry_Lascelles,_2nd_Earl_of_Harewood property:child ?h . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5238871
Q502895
USER
And how about David Railton?
(Q5238871,P40,c(Q502895))
action count
action filter_type
action find
entity Q5238871
relation P40
type Q502895
['Q5238871', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q5238871 property:P40 ?y . ?y rdf:type ontology:Q502895 }
David Railton
action count
action filter_type
action find
entity David Railton
relation child
type common name
['David Railton', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:David_Railton property:child ?y . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q5238871,P40,c(Q502895))
action count
action filter_type
action find
entity Q5238871
relation P40
type Q502895
[ANSWER]
['Q5238871', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q5238871 property:P40 ?y . ?y rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity David Railton
relation child
type common name
['David Railton', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:David_Railton property:child ?y . ?y rdf:type ontology:common_name }
[]