Simple Question (Direct)
Simple Question
Q4943807
P102
Q7210356
USER
Which party does Claire Curtis-Thomas belong to ?
(Q4943807,P102,c(Q7210356))
action filter_type
action find
entity Q4943807
relation P102
type Q7210356
['Q4943807', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q4943807 property:P102 ?x }
Claire Curtis-Thomas
action filter_type
action find
entity Claire Curtis-Thomas
relation member of political party
type political organization
['Claire Curtis-Thomas', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:Claire_Curtis-Thomas property:member_of_political_party ?x }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q4943807,P102,c(Q7210356))
action filter_type
action find
entity Q4943807
relation P102
type Q7210356
Claire Curtis-Thomas belongs to [ANSWER]
['Q4943807', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q4943807 property:P102 ?x }
Labour Party
Claire Curtis-Thomas belongs to Labour Party
Labour Party
action filter_type
action find
entity Claire Curtis-Thomas
relation member of political party
type political organization
['Claire Curtis-Thomas', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:Claire_Curtis-Thomas property:member_of_political_party ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4943807
P21
Q290
USER
Which sex does that person possess ?
(Q9630,P21,c(Q290))
action filter_type
action find
entity Q4943807
relation P21
type Q290
['Q9630', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4943807 property:P21 ?c . ?c rdf:type ontology:Q290 }
Claire Curtis-Thomas
action filter_type
action find
entity Claire Curtis-Thomas
relation gender
type sex
['Labour Party', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Claire_Curtis-Thomas property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q9630,P21,c(Q290))
action filter_type
action find
entity Q4943807
relation P21
type Q290
That person possesses the [ANSWER]
['Q9630', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4943807 property:P21 ?c . ?c rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Claire Curtis-Thomas
relation gender
type sex
['Labour Party', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Claire_Curtis-Thomas property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4943807
P463
Q484652
USER
Which international organization had that person as its member ?
(Q6581072,P463,c(Q484652))
action filter_type
action find
entity Q4943807
relation P463
type Q484652
['Q6581072', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q484652 . resource:Q4943807 property:P463 ?q }
Claire Curtis-Thomas
action filter_type
action find
entity Claire Curtis-Thomas
relation member of
type international organization
['female', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:international_organization . resource:Claire_Curtis-Thomas property:member_of ?q }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q6581072,P463,c(Q484652))
action filter_type
action find
entity Q4943807
relation P463
type Q484652
The [ANSWER] had that person as its member
['Q6581072', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q484652 . resource:Q4943807 property:P463 ?q }
Parliamentary Assembly of the Council of Europe
The Parliamentary Assembly of the Council of Europe had that person as its member
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Claire Curtis-Thomas
relation member of
type international organization
['female', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:international_organization . resource:Claire_Curtis-Thomas property:member_of ?q }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1035419 Q4943807
P106
Q12737077
USER
Which occupations have Claire Curtis-Thomas and Herbert Pell as his/her as a career ?
AND((Q4943807,P106,c(Q12737077)), (Q1035419,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q4943807
relation P106
action find
entity Q1035419
relation P106
type Q12737077
{'AND': [['Q4943807', 'P106', {'concept': 'Q12737077'}], ['Q1035419', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { resource:Q4943807 property:P106 ?f . resource:Q1035419 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Herbert Pell Claire Curtis-Thomas
action filter_type
action intersection
action find
entity Claire Curtis-Thomas
relation occupation
action find
entity Herbert Pell
relation occupation
type occupation
{'AND': [['Claire Curtis-Thomas', 'occupation', {'concept': 'occupation'}], ['Herbert Pell', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { resource:Claire_Curtis-Thomas property:occupation ?f . resource:Herbert_Pell property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
AND((Q4943807,P106,c(Q12737077)), (Q1035419,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q4943807
relation P106
action find
entity Q1035419
relation P106
type Q12737077
The [ANSWER] have Claire Curtis-Thomas and Herbert Pell as his/her as a career
{'AND': [['Q4943807', 'P106', {'concept': 'Q12737077'}], ['Q1035419', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { resource:Q4943807 property:P106 ?f . resource:Q1035419 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
politician
The politician have Claire Curtis-Thomas and Herbert Pell as his/her as a career
politician
action filter_type
action intersection
action find
entity Claire Curtis-Thomas
relation occupation
action find
entity Herbert Pell
relation occupation
type occupation
{'AND': [['Claire Curtis-Thomas', 'occupation', {'concept': 'occupation'}], ['Herbert Pell', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { resource:Claire_Curtis-Thomas property:occupation ?f . resource:Herbert_Pell property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1035419
P7
Q502895
USER
Who are Herbert Pell a brother of ?
(c(Q502895),P7,Q82955)
action filter_type
action find
entity Q1035419
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q82955']
SELECT DISTINCT ?f WHERE { resource:Q1035419 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Herbert Pell
action filter_type
action find
entity Herbert Pell
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'politician']
SELECT DISTINCT ?f WHERE { resource:Herbert_Pell property:brother ?f . ?f rdf:type ontology:common_name }
[]
common name
Q678858 Q5541464
SYSTEM
Pierre Lorillard IV, George L. Lorillard
Q678858 Q5541464
(c(Q502895),P7,Q82955)
action filter_type
action find
entity Q1035419
relation P7
type Q502895
Herbert Pell a brother of are Prince [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q82955']
SELECT DISTINCT ?f WHERE { resource:Q1035419 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Pierre Lorillard IV George L. Lorillard
Herbert Pell a brother of are Prince Pierre Lorillard IV and George L. Lorillard
Pierre Lorillard IV George L. Lorillard
action filter_type
action find
entity Herbert Pell
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'politician']
SELECT DISTINCT ?f WHERE { resource:Herbert_Pell property:brother ?f . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q678858
P27
Q15617994
USER
How many administrative territories are Pierre Lorillard IV a civilian of ?
(Q678858,P27,c(Q15617994))
action count
action filter_type
action find
entity Q678858
relation P27
type Q15617994
['Q678858', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Q678858 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Pierre Lorillard IV
action count
action filter_type
action find
entity Pierre Lorillard IV
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Lorillard IV', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Pierre_Lorillard_IV property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q678858,P27,c(Q15617994))
action count
action filter_type
action find
entity Q678858
relation P27
type Q15617994
[ANSWER]
['Q678858', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Q678858 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Pierre Lorillard IV
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Lorillard IV', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { resource:Pierre_Lorillard_IV property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q678858
P40
Q502895
USER
Which person has that one as a child ?
action filter_type
action find_reverse
entity Q678858
relation P40
type Q502895
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q678858 . ?u rdf:type ontology:Q502895 }
Pierre Lorillard IV
action filter_type
action find_reverse
entity Pierre Lorillard IV
relation child
type common name
SELECT DISTINCT ?u WHERE { ?u property:child resource:Pierre_Lorillard_IV . ?u rdf:type ontology:common_name }
[]
common name
Q284491
SYSTEM
Pierre Lorillard III
Q284491
action filter_type
action find_reverse
entity Q678858
relation P40
type Q502895
[ANSWER] has that one as a child
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q678858 . ?u rdf:type ontology:Q502895 }
Pierre Lorillard III
Pierre Lorillard III has that one as a child
Pierre Lorillard III
action filter_type
action find_reverse
entity Pierre Lorillard IV
relation child
type common name
SELECT DISTINCT ?u WHERE { ?u property:child resource:Pierre_Lorillard_IV . ?u rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q284491 Q17350984
P22
Q502895
USER
Does Marie Uthurriague have that one as dad ?
(Q17350984,P22,Q284491)
action is_in
entity Q17350984
action find
entity Q284491
relation P22
['Q17350984', 'P22', 'Q284491']
ASK WHERE { resource:Q284491 property:P22 resource:Q17350984 }
Pierre Lorillard III Marie Uthurriague
action is_in
entity Marie Uthurriague
action find
entity Pierre Lorillard III
relation father
['Marie Uthurriague', 'father', 'Pierre Lorillard III']
ASK WHERE { resource:Pierre_Lorillard_III property:father resource:Marie_Uthurriague }
[]
common name
SYSTEM
NO
(Q17350984,P22,Q284491)
action is_in
entity Q17350984
action find
entity Q284491
relation P22
[ANSWER]
['Q17350984', 'P22', 'Q284491']
ASK WHERE { resource:Q284491 property:P22 resource:Q17350984 }
No
action is_in
entity Marie Uthurriague
action find
entity Pierre Lorillard III
relation father
['Marie Uthurriague', 'father', 'Pierre Lorillard III']
ASK WHERE { resource:Pierre_Lorillard_III property:father resource:Marie_Uthurriague }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4943807
P937
Q56061
USER
Where did Claire Curtis-Thomas work ?
(Q4943807,P937,c(Q56061))
action filter_type
action find
entity Q4943807
relation P937
type Q56061
['Q4943807', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q4943807 property:P937 ?g }
Claire Curtis-Thomas
action filter_type
action find
entity Claire Curtis-Thomas
relation work location
type administrative territorial entity
['Claire Curtis-Thomas', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Claire_Curtis-Thomas property:work_location ?g }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q4943807,P937,c(Q56061))
action filter_type
action find
entity Q4943807
relation P937
type Q56061
Claire Curtis-Thomas worked in [ANSWER]
['Q4943807', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q4943807 property:P937 ?g }
London
Claire Curtis-Thomas worked in London
London
action filter_type
action find
entity Claire Curtis-Thomas
relation work location
type administrative territorial entity
['Claire Curtis-Thomas', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Claire_Curtis-Thomas property:work_location ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q823908
Q56061
USER
And also tell me about Bernd Monheim?
(Q823908,P937,c(Q56061))
action filter_type
action find
entity Q823908
relation P937
type Q56061
['Q823908', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q823908 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Bernd Monheim
action filter_type
action find
entity Bernd Monheim
relation work location
type administrative territorial entity
['Bernd Monheim', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Bernd_Monheim property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1017
SYSTEM
Aachen
Q1017
(Q823908,P937,c(Q56061))
action filter_type
action find
entity Q823908
relation P937
type Q56061
[ANSWER]
['Q823908', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q823908 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Aachen
Aachen
action filter_type
action find
entity Bernd Monheim
relation work location
type administrative territorial entity
['Bernd Monheim', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Bernd_Monheim property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1017 Q9796
P47
Q13220204
USER
Is Kerkrade adjacent to Aachen ?
(Q1017,P47,Q9796)
action is_in
entity Q9796
action find
entity Q1017
relation P47
['Q1017', 'P47', 'Q9796']
ASK WHERE { resource:Q1017 property:P47 resource:Q9796 }
Aachen Kerkrade
action is_in
entity Kerkrade
action find
entity Aachen
relation shares border with
['Aachen', 'shares border with', 'Kerkrade']
ASK WHERE { resource:Aachen property:shares_border_with resource:Kerkrade }
[]
second-level administrative country subdivision
SYSTEM
YES
(Q1017,P47,Q9796)
action is_in
entity Q9796
action find
entity Q1017
relation P47
[ANSWER]
['Q1017', 'P47', 'Q9796']
ASK WHERE { resource:Q1017 property:P47 resource:Q9796 }
Yes
action is_in
entity Kerkrade
action find
entity Aachen
relation shares border with
['Aachen', 'shares border with', 'Kerkrade']
ASK WHERE { resource:Aachen property:shares_border_with resource:Kerkrade }
[]