Simple Question (Direct)
Simple Question
Q7279302
P26
Q502895
USER
Which people are married to Rachel Lambert Mellon ?
(Q7279302,P26,c(Q502895))
action filter_type
action find
entity Q7279302
relation P26
type Q502895
['Q7279302', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q7279302 property:P26 ?n }
Rachel Lambert Mellon
action filter_type
action find
entity Rachel Lambert Mellon
relation spouse
type common name
['Rachel Lambert Mellon', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Rachel_Lambert_Mellon property:spouse ?n }
[]
common name
Q7596008 Q1542805
SYSTEM
Stacy Barcroft Lloyd Jr, Paul Mellon
Q7596008 Q1542805
(Q7279302,P26,c(Q502895))
action filter_type
action find
entity Q7279302
relation P26
type Q502895
[ANSWERS] are married to Rachel Lambert Mellon
['Q7279302', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q7279302 property:P26 ?n }
Stacy Barcroft Lloyd Jr Paul Mellon
Stacy Barcroft Lloyd Jr and Paul Mellon are married to Rachel Lambert Mellon
Stacy Barcroft Lloyd Jr Paul Mellon
action filter_type
action find
entity Rachel Lambert Mellon
relation spouse
type common name
['Rachel Lambert Mellon', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Rachel_Lambert_Mellon property:spouse ?n }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1542805
P112
Q43229
USER
Which organization was established by that person ?
(c(Q43229),P112,Q1542805)
action filter_type
action find_reverse
entity Q1542805
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q1542805']
SELECT DISTINCT ?h WHERE { ?h property:P112 resource:Q1542805 . ?h rdf:type ontology:Q43229 }
Paul Mellon
action filter_type
action find_reverse
entity Paul Mellon
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Paul Mellon']
SELECT DISTINCT ?h WHERE { ?h property:founder resource:Paul_Mellon . ?h rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q1542805
SYSTEM
Did you mean Paul Mellon ?
Q7596008 Q1542805
(c(Q43229),P112,Q7596008) (c(Q43229),P112,Q1542805)
[ANSWER]
[{'concept': 'Q43229'}, 'P112', 'Q7596008'] [{'concept': 'Q43229'}, 'P112', 'Q1542805']
SELECT DISTINCT ?h WHERE { ?h property:P112 resource:Q1542805 . ?h rdf:type ontology:Q43229 }
Stacy Barcroft Lloyd Jr Paul Mellon
Did you mean Paul Mellon ?
Paul Mellon
[{'concept': 'organization'}, 'founder', 'Stacy Barcroft Lloyd Jr'] [{'concept': 'organization'}, 'founder', 'Paul Mellon']
SELECT DISTINCT ?h WHERE { ?h property:founder resource:Paul_Mellon . ?h rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q43229),P112,Q1542805)
[{'concept': 'Q43229'}, 'P112', 'Q1542805']
[{'concept': 'organization'}, 'founder', 'Paul Mellon']
[]
Q4758812
SYSTEM
Andrew W. Mellon Foundation
Q4758812
(c(Q43229),P112,Q1542805)
action filter_type
action find_reverse
entity Q1542805
relation P112
type Q43229
[ANSWER] was established by that person
[{'concept': 'Q43229'}, 'P112', 'Q1542805']
SELECT DISTINCT ?h WHERE { ?h property:P112 resource:Q1542805 . ?h rdf:type ontology:Q43229 }
Andrew W. Mellon Foundation
Andrew W. Mellon Foundation was established by that person
Andrew W. Mellon Foundation
action filter_type
action find_reverse
entity Paul Mellon
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Paul Mellon']
SELECT DISTINCT ?h WHERE { ?h property:founder resource:Paul_Mellon . ?h rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4758812 Q1017154 Q931512
P159
Q56061
USER
Does Andrew W. Mellon Foundation have headquarters located at Jamame and Pordašinci ?
(Q4758812,P159,Q1017154) (Q4758812,P159,Q931512)
action is_in
entity Q4758812
action intersection
action find_reverse
entity Q1017154
relation P159
action find_reverse
entity Q931512
relation P159
['Q4758812', 'P159', 'Q1017154'] ['Q4758812', 'P159', 'Q931512']
ASK WHERE { resource:Q4758812 property:P159 resource:Q1017154 . resource:Q4758812 property:P159 resource:Q931512 }
Andrew W. Mellon Foundation Jamame Pordašinci
action is_in
entity Andrew W. Mellon Foundation
action intersection
action find_reverse
entity Jamame
relation headquarters location
action find_reverse
entity Pordašinci
relation headquarters location
['Andrew W. Mellon Foundation', 'headquarters location', 'Jamame'] ['Andrew W. Mellon Foundation', 'headquarters location', 'Pordašinci']
ASK WHERE { resource:Andrew_W._Mellon_Foundation property:headquarters_location resource:Jamame . resource:Andrew_W._Mellon_Foundation property:headquarters_location resource:Pordašinci }
[]
administrative territorial entity
SYSTEM
NO
(Q4758812,P159,Q1017154) (Q4758812,P159,Q931512)
action is_in
entity Q4758812
action intersection
action find_reverse
entity Q1017154
relation P159
action find_reverse
entity Q931512
relation P159
[ANSWER]
['Q4758812', 'P159', 'Q1017154'] ['Q4758812', 'P159', 'Q931512']
ASK WHERE { resource:Q4758812 property:P159 resource:Q1017154 . resource:Q4758812 property:P159 resource:Q931512 }
No
action is_in
entity Andrew W. Mellon Foundation
action intersection
action find_reverse
entity Jamame
relation headquarters location
action find_reverse
entity Pordašinci
relation headquarters location
['Andrew W. Mellon Foundation', 'headquarters location', 'Jamame'] ['Andrew W. Mellon Foundation', 'headquarters location', 'Pordašinci']
ASK WHERE { resource:Andrew_W._Mellon_Foundation property:headquarters_location resource:Jamame . resource:Andrew_W._Mellon_Foundation property:headquarters_location resource:Pordašinci }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4758812
P112
Q502895
USER
Who was the founder of that organization ?
action filter_type
action find
entity Q4758812
relation P112
type Q502895
SELECT DISTINCT ?k WHERE { resource:Q4758812 property:P112 ?k . ?k rdf:type ontology:Q502895 }
Andrew W. Mellon Foundation
action filter_type
action find
entity Andrew W. Mellon Foundation
relation founder
type common name
SELECT DISTINCT ?k WHERE { resource:Andrew_W._Mellon_Foundation property:founder ?k . ?k rdf:type ontology:common_name }
[]
common name
Q1542805
SYSTEM
Paul Mellon
Q1542805
action filter_type
action find
entity Q4758812
relation P112
type Q502895
The founder of that organization was John [ANSWER]
SELECT DISTINCT ?k WHERE { resource:Q4758812 property:P112 ?k . ?k rdf:type ontology:Q502895 }
Paul Mellon
The founder of that organization was John Paul Mellon
Paul Mellon
action filter_type
action find
entity Andrew W. Mellon Foundation
relation founder
type common name
SELECT DISTINCT ?k WHERE { resource:Andrew_W._Mellon_Foundation property:founder ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1542805 Q446858
P22
Q502895
USER
Was Andrew W. Mellon the dad of that one ?
(Q1542805,P22,Q446858)
action is_in
entity Q446858
action find
entity Q1542805
relation P22
['Q1542805', 'P22', 'Q446858']
ASK WHERE { resource:Q1542805 property:P22 resource:Q446858 }
Paul Mellon Andrew W. Mellon
action is_in
entity Andrew W. Mellon
action find
entity Paul Mellon
relation father
['Paul Mellon', 'father', 'Andrew W. Mellon']
ASK WHERE { resource:Paul_Mellon property:father resource:Andrew_W._Mellon }
[]
common name
SYSTEM
YES
(Q1542805,P22,Q446858)
action is_in
entity Q446858
action find
entity Q1542805
relation P22
[ANSWER]
['Q1542805', 'P22', 'Q446858']
ASK WHERE { resource:Q1542805 property:P22 resource:Q446858 }
Yes
action is_in
entity Andrew W. Mellon
action find
entity Paul Mellon
relation father
['Paul Mellon', 'father', 'Andrew W. Mellon']
ASK WHERE { resource:Paul_Mellon property:father resource:Andrew_W._Mellon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1542805
P20
Q852446
USER
Where did the expiration of Paul Mellon occur ?
action filter_type
action find
entity Q1542805
relation P20
type Q852446
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q852446 . resource:Q1542805 property:P20 ?m }
Paul Mellon
action filter_type
action find
entity Paul Mellon
relation place of death
type administrative territorial entity of the United States
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Paul_Mellon property:place_of_death ?m }
[]
administrative territorial entity of the United States
Q2499804
SYSTEM
Upperville
Q2499804
action filter_type
action find
entity Q1542805
relation P20
type Q852446
The expiration of Paul Mellon occurred in [ANSWER]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q852446 . resource:Q1542805 property:P20 ?m }
Upperville
The expiration of Paul Mellon occurred in Upperville
Upperville
action filter_type
action find
entity Paul Mellon
relation place of death
type administrative territorial entity of the United States
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Paul_Mellon property:place_of_death ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1542805
P463
Q811430
USER
Which organization was Paul Mellon a member of ?
(Q1542805,P463,c(Q811430))
action filter_type
action find
entity Q1542805
relation P463
type Q811430
['Q1542805', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q811430 . resource:Q1542805 property:P463 ?o }
Paul Mellon
action filter_type
action find
entity Paul Mellon
relation member of
type construction
['Paul Mellon', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:construction . resource:Paul_Mellon property:member_of ?o }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q1542805,P463,c(Q811430))
action filter_type
action find
entity Q1542805
relation P463
type Q811430
The [ANSWER] was Paul Mellon a member of
['Q1542805', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q811430 . resource:Q1542805 property:P463 ?o }
American Academy of Arts and Sciences
The American Academy of Arts and Sciences was Paul Mellon a member of
American Academy of Arts and Sciences
action filter_type
action find
entity Paul Mellon
relation member of
type construction
['Paul Mellon', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:construction . resource:Paul_Mellon property:member_of ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1542805
P9
Q502895
USER
Which person is the sister of Paul Mellon ?
(Q1542805,P9,c(Q502895))
action filter_type
action find
entity Q1542805
relation P9
type Q502895
['Q1542805', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1542805 property:P9 ?l . ?l rdf:type ontology:Q502895 }
Paul Mellon
action filter_type
action find
entity Paul Mellon
relation sister
type common name
['Paul Mellon', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Paul_Mellon property:sister ?l . ?l rdf:type ontology:common_name }
[]
common name
Q405352
SYSTEM
Ailsa Mellon Bruce
Q405352
(Q1542805,P9,c(Q502895))
action filter_type
action find
entity Q1542805
relation P9
type Q502895
[ANSWER] is the sister of Paul Mellon
['Q1542805', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1542805 property:P9 ?l . ?l rdf:type ontology:Q502895 }
Ailsa Mellon Bruce
Ailsa Mellon Bruce is the sister of Paul Mellon
Ailsa Mellon Bruce
action filter_type
action find
entity Paul Mellon
relation sister
type common name
['Paul Mellon', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Paul_Mellon property:sister ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q405352
P40
Q502895
USER
Whose child is that one ?
(c(Q502895),P40,Q405352)
action filter_type
action find_reverse
entity Q405352
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q405352']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q405352 . ?r rdf:type ontology:Q502895 }
Ailsa Mellon Bruce
action filter_type
action find_reverse
entity Ailsa Mellon Bruce
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ailsa Mellon Bruce']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Ailsa_Mellon_Bruce . ?r rdf:type ontology:common_name }
[]
common name
Q446858
SYSTEM
Andrew W. Mellon
Q446858
(c(Q502895),P40,Q405352)
action filter_type
action find_reverse
entity Q405352
relation P40
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P40', 'Q405352']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q405352 . ?r rdf:type ontology:Q502895 }
Andrew W. Mellon
Andrew W. Mellon is that one
Andrew W. Mellon
action filter_type
action find_reverse
entity Ailsa Mellon Bruce
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ailsa Mellon Bruce']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Ailsa_Mellon_Bruce . ?r rdf:type ontology:common_name }
[]