Simple Question (Direct)
Simple Question
Q673315
P21
Q290
USER
Which sex does Cy Endfield belong to ?
(Q673315,P21,c(Q290))
action filter_type
action find
entity Q673315
relation P21
type Q290
['Q673315', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q673315 property:P21 ?o . ?o rdf:type ontology:Q290 }
Cy Endfield
action filter_type
action find
entity Cy Endfield
relation gender
type sex
['Cy Endfield', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Cy_Endfield property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q673315,P21,c(Q290))
action filter_type
action find
entity Q673315
relation P21
type Q290
Cy Endfield belongs to [ANSWER]
['Q673315', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q673315 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Cy Endfield belongs to male
male
action filter_type
action find
entity Cy Endfield
relation gender
type sex
['Cy Endfield', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Cy_Endfield property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q673315
P161
Q838948
USER
Which work of art stars that person as actor ?
(c(Q838948),P161,Q6581097)
action filter_type
action find_reverse
entity Q673315
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q6581097']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P161 resource:Q673315 }
Cy Endfield
action filter_type
action find_reverse
entity Cy Endfield
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'male']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:cast_member resource:Cy_Endfield }
[]
work of art
Q7894068
SYSTEM
Universal Soldier
Q7894068
(c(Q838948),P161,Q6581097)
action filter_type
action find_reverse
entity Q673315
relation P161
type Q838948
[ANSWER] stars that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q6581097']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P161 resource:Q673315 }
Universal Soldier
Universal Soldier stars that person as actor
Universal Soldier
action filter_type
action find_reverse
entity Cy Endfield
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'male']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:cast_member resource:Cy_Endfield }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people were casted in that work of art ?
(Q7894068,P161,c(Q502895))
action count
action filter_type
action find
entity Q7894068
relation P161
type Q502895
['Q7894068', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q7894068 property:P161 ?x . ?x rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Universal Soldier
relation cast member
type common name
['Universal Soldier', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Universal_Soldier property:cast_member ?x . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
7
Q205599 Q7352554 Q126853 Q2895358 Q103591 Q673315 Q7377469
(Q7894068,P161,c(Q502895))
action count
action filter_type
action find
entity Q7894068
relation P161
type Q502895
[ANSWER]
['Q7894068', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q7894068 property:P161 ?x . ?x rdf:type ontology:Q502895 }
George Lazenby Robin Hunter Edward Judd Ben Carruthers Germaine Greer Cy Endfield Rudolph Walker
7
action count
action filter_type
action find
entity Universal Soldier
relation cast member
type common name
['Universal Soldier', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Universal_Soldier property:cast_member ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q673315
P69
Q163740
USER
Which nonprofit organization was Cy Endfield educated at ?
(Q673315,P69,c(Q163740))
action filter_type
action find
entity Q673315
relation P69
type Q163740
['Q673315', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q673315 property:P69 ?u . ?u rdf:type ontology:Q163740 }
Cy Endfield
action filter_type
action find
entity Cy Endfield
relation educated at
type nonprofit organization
['Cy Endfield', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Cy_Endfield property:educated_at ?u . ?u rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q673315,P69,c(Q163740))
action filter_type
action find
entity Q673315
relation P69
type Q163740
Cy Endfield was educated at [ANSWER]
['Q673315', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q673315 property:P69 ?u . ?u rdf:type ontology:Q163740 }
Yale University
Cy Endfield was educated at Yale University
Yale University
action filter_type
action find
entity Cy Endfield
relation educated at
type nonprofit organization
['Cy Endfield', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Cy_Endfield property:educated_at ?u . ?u rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q49112 Q743812 Q7007152
P463
Q874405
USER
Is that nonprofit organization a member of Association of American Universities and New England Association of Schools and Colleges ?
(Q49112,P463,Q743812) (Q49112,P463,Q7007152)
action is_in
entity Q49112
action intersection
action find_reverse
entity Q743812
relation P463
action find_reverse
entity Q7007152
relation P463
['Q49112', 'P463', 'Q743812'] ['Q49112', 'P463', 'Q7007152']
ASK WHERE { resource:Q49112 property:P463 resource:Q743812 . resource:Q49112 property:P463 resource:Q7007152 }
Yale University Association of American Universities New England Association of Schools and Colleges
action is_in
entity Yale University
action intersection
action find_reverse
entity Association of American Universities
relation member of
action find_reverse
entity New England Association of Schools and Colleges
relation member of
['Yale University', 'member of', 'Association of American Universities'] ['Yale University', 'member of', 'New England Association of Schools and Colleges']
ASK WHERE { resource:Yale_University property:member_of resource:Association_of_American_Universities . resource:Yale_University property:member_of resource:New_England_Association_of_Schools_and_Colleges }
[]
social group
SYSTEM
YES
(Q49112,P463,Q743812) (Q49112,P463,Q7007152)
action is_in
entity Q49112
action intersection
action find_reverse
entity Q743812
relation P463
action find_reverse
entity Q7007152
relation P463
[ANSWER]
['Q49112', 'P463', 'Q743812'] ['Q49112', 'P463', 'Q7007152']
ASK WHERE { resource:Q49112 property:P463 resource:Q743812 . resource:Q49112 property:P463 resource:Q7007152 }
Yes
action is_in
entity Yale University
action intersection
action find_reverse
entity Association of American Universities
relation member of
action find_reverse
entity New England Association of Schools and Colleges
relation member of
['Yale University', 'member of', 'Association of American Universities'] ['Yale University', 'member of', 'New England Association of Schools and Colleges']
ASK WHERE { resource:Yale_University property:member_of resource:Association_of_American_Universities . resource:Yale_University property:member_of resource:New_England_Association_of_Schools_and_Colleges }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49112
P276
Q838948
USER
What is located at that nonprofit organization ?
action filter_type
action find_reverse
entity Q49112
relation P276
type Q838948
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q49112 . ?n rdf:type ontology:Q838948 }
Yale University
action filter_type
action find_reverse
entity Yale University
relation location
type work of art
SELECT DISTINCT ?n WHERE { ?n property:location resource:Yale_University . ?n rdf:type ontology:work_of_art }
[]
work of art
Q27032019
SYSTEM
Women’s Table
Q27032019
action filter_type
action find_reverse
entity Q49112
relation P276
type Q838948
[ANSWER] is located at that nonprofit organization
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q49112 . ?n rdf:type ontology:Q838948 }
Women’s Table
Women’s Table is located at that nonprofit organization
Women’s Table
action filter_type
action find_reverse
entity Yale University
relation location
type work of art
SELECT DISTINCT ?n WHERE { ?n property:location resource:Yale_University . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27032019
P800
Q502895
USER
Whose notable work was that one ?
(c(Q502895),P800,Q27032019)
action filter_type
action find_reverse
entity Q27032019
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q27032019']
SELECT DISTINCT ?j WHERE { ?j property:P800 resource:Q27032019 . ?j rdf:type ontology:Q502895 }
Women’s Table
action filter_type
action find_reverse
entity Women’s Table
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Women’s Table']
SELECT DISTINCT ?j WHERE { ?j property:notable_work resource:Women’s_Table . ?j rdf:type ontology:common_name }
[]
common name
Q235063
SYSTEM
Maya Lin
Q235063
(c(Q502895),P800,Q27032019)
action filter_type
action find_reverse
entity Q27032019
relation P800
type Q502895
[ANSWER] was that one
[{'concept': 'Q502895'}, 'P800', 'Q27032019']
SELECT DISTINCT ?j WHERE { ?j property:P800 resource:Q27032019 . ?j rdf:type ontology:Q502895 }
Maya Lin
Maya Lin was that one
Maya Lin
action filter_type
action find_reverse
entity Women’s Table
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Women’s Table']
SELECT DISTINCT ?j WHERE { ?j property:notable_work resource:Women’s_Table . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q235063
P106
Q12737077
USER
What do that person do for a living ?
(Q235063,P106,c(Q12737077))
action filter_type
action find
entity Q235063
relation P106
type Q12737077
['Q235063', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q235063 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Maya Lin
action filter_type
action find
entity Maya Lin
relation occupation
type occupation
['Maya Lin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Maya_Lin property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q42973 Q1281618
SYSTEM
architect, sculptor
Q42973 Q1281618
(Q235063,P106,c(Q12737077))
action filter_type
action find
entity Q235063
relation P106
type Q12737077
That person do for a living an [ANSWERS]
['Q235063', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q235063 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
architect sculptor
That person do for a living an architect and sculptor
architect sculptor
action filter_type
action find
entity Maya Lin
relation occupation
type occupation
['Maya Lin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Maya_Lin property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7360278 Q235063
P106
Q12737077
USER
Or Roland Iche?
OR((Q235063,P106,c(Q12737077)), (Q7360278,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q235063
relation P106
action find
entity Q7360278
relation P106
type Q12737077
{'OR': [['Q235063', 'P106', {'concept': 'Q12737077'}], ['Q7360278', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:P106 ?v . VALUES ( ?s ) { ( resource:Q235063 ) ( resource:Q7360278 ) } } . ?v rdf:type ontology:Q12737077 }
Roland Iche Maya Lin
action filter_type
action union
action find
entity Maya Lin
relation occupation
action find
entity Roland Iche
relation occupation
type occupation
{'OR': [['Maya Lin', 'occupation', {'concept': 'occupation'}], ['Roland Iche', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:occupation ?v . VALUES ( ?s ) { ( resource:Maya_Lin ) ( resource:Roland_Iche ) } } . ?v rdf:type ontology:occupation }
[]
occupation
Q42973 Q1281618 Q13382566
SYSTEM
architect, sculptor, canoer
Q42973 Q1281618 Q13382566
OR((Q235063,P106,c(Q12737077)), (Q7360278,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q235063
relation P106
action find
entity Q7360278
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q235063', 'P106', {'concept': 'Q12737077'}], ['Q7360278', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:P106 ?v . VALUES ( ?s ) { ( resource:Q235063 ) ( resource:Q7360278 ) } } . ?v rdf:type ontology:Q12737077 }
architect sculptor canoer
architect sculptor canoer
action filter_type
action union
action find
entity Maya Lin
relation occupation
action find
entity Roland Iche
relation occupation
type occupation
{'OR': [['Maya Lin', 'occupation', {'concept': 'occupation'}], ['Roland Iche', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:occupation ?v . VALUES ( ?s ) { ( resource:Maya_Lin ) ( resource:Roland_Iche ) } } . ?v rdf:type ontology:occupation }
[]