Simple Question (Direct)
Simple Question
Q5364861
P22
Q502895
USER
Who was the father of Ellen Hall ?
(Q5364861,P22,c(Q502895))
action filter_type
action find
entity Q5364861
relation P22
type Q502895
['Q5364861', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q5364861 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Ellen Hall
action filter_type
action find
entity Ellen Hall
relation father
type common name
['Ellen Hall', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Ellen_Hall property:father ?r . ?r rdf:type ontology:common_name }
[]
common name
Q3053159
SYSTEM
Emory Johnson
Q3053159
(Q5364861,P22,c(Q502895))
action filter_type
action find
entity Q5364861
relation P22
type Q502895
The father of Ellen Hall was President [ANSWER]
['Q5364861', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q5364861 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Emory Johnson
The father of Ellen Hall was President Emory Johnson
Emory Johnson
action filter_type
action find
entity Ellen Hall
relation father
type common name
['Ellen Hall', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Ellen_Hall property:father ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5364861
P40
Q502895
USER
Which person has Ellen Hall as a child ?
(c(Q502895),P40,Q5364861)
action filter_type
action find_reverse
entity Q5364861
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5364861']
SELECT DISTINCT ?o WHERE { ?o property:P40 resource:Q5364861 . ?o rdf:type ontology:Q502895 }
Ellen Hall
action filter_type
action find_reverse
entity Ellen Hall
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ellen Hall']
SELECT DISTINCT ?o WHERE { ?o property:child resource:Ellen_Hall . ?o rdf:type ontology:common_name }
[]
common name
Q3053159
SYSTEM
Emory Johnson
Q3053159
(c(Q502895),P40,Q5364861)
action filter_type
action find_reverse
entity Q5364861
relation P40
type Q502895
[ANSWER] has Ellen Hall as a child
[{'concept': 'Q502895'}, 'P40', 'Q5364861']
SELECT DISTINCT ?o WHERE { ?o property:P40 resource:Q5364861 . ?o rdf:type ontology:Q502895 }
Emory Johnson
Emory Johnson has Ellen Hall as a child
Emory Johnson
action filter_type
action find_reverse
entity Ellen Hall
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ellen Hall']
SELECT DISTINCT ?o WHERE { ?o property:child resource:Ellen_Hall . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3053159
P106
Q28640
USER
Which profession has that person as his/her 's career ?
(Q3053159,P106,c(Q28640))
action filter_type
action find
entity Q3053159
relation P106
type Q28640
['Q3053159', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?v WHERE { resource:Q3053159 property:P106 ?v . ?v rdf:type ontology:Q28640 }
Emory Johnson
action filter_type
action find
entity Emory Johnson
relation occupation
type profession
['Emory Johnson', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?v WHERE { resource:Emory_Johnson property:occupation ?v . ?v rdf:type ontology:profession }
[]
profession
Q2526255
SYSTEM
film director
Q2526255
(Q3053159,P106,c(Q28640))
action filter_type
action find
entity Q3053159
relation P106
type Q28640
The [ANSWER] has that person as his/her 's career
['Q3053159', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?v WHERE { resource:Q3053159 property:P106 ?v . ?v rdf:type ontology:Q28640 }
film director
The film director has that person as his/her 's career
film director
action filter_type
action find
entity Emory Johnson
relation occupation
type profession
['Emory Johnson', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?v WHERE { resource:Emory_Johnson property:occupation ?v . ?v rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3053159
Q12737077
USER
And which occupation?
(Q3053159,P106,c(Q12737077))
action filter_type
action find
entity Q3053159
relation P106
type Q12737077
['Q3053159', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q3053159 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Emory Johnson
action filter_type
action find
entity Emory Johnson
relation occupation
type occupation
['Emory Johnson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Emory_Johnson property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q3053159,P106,c(Q12737077))
action filter_type
action find
entity Q3053159
relation P106
type Q12737077
[ANSWER]
['Q3053159', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q3053159 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
actor
actor
action filter_type
action find
entity Emory Johnson
relation occupation
type occupation
['Emory Johnson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Emory_Johnson property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q570978 Q5364861
P19
Q56061
USER
Which administrative territories were Ellen Hall or Doğan Babacan born in ?
OR((Q5364861,P19,c(Q56061)), (Q570978,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5364861
relation P19
action find
entity Q570978
relation P19
type Q56061
{'OR': [['Q5364861', 'P19', {'concept': 'Q56061'}], ['Q570978', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q5364861 property:P19 ?e } UNION { resource:Q570978 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Doğan Babacan Ellen Hall
action filter_type
action union
action find
entity Ellen Hall
relation place of birth
action find
entity Doğan Babacan
relation place of birth
type administrative territorial entity
{'OR': [['Ellen Hall', 'place of birth', {'concept': 'administrative territorial entity'}], ['Doğan Babacan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Ellen_Hall property:place_of_birth ?e } UNION { resource:Doğan_Babacan property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65 Q406
SYSTEM
Los Angeles, Istanbul
Q65 Q406
OR((Q5364861,P19,c(Q56061)), (Q570978,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5364861
relation P19
action find
entity Q570978
relation P19
type Q56061
[ANSWERS] were Ellen Hall or Doğan Babacan born in
{'OR': [['Q5364861', 'P19', {'concept': 'Q56061'}], ['Q570978', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q5364861 property:P19 ?e } UNION { resource:Q570978 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Los Angeles Istanbul
Los Angeles and Istanbul were Ellen Hall or Doğan Babacan born in
Los Angeles Istanbul
action filter_type
action union
action find
entity Ellen Hall
relation place of birth
action find
entity Doğan Babacan
relation place of birth
type administrative territorial entity
{'OR': [['Ellen Hall', 'place of birth', {'concept': 'administrative territorial entity'}], ['Doğan Babacan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Ellen_Hall property:place_of_birth ?e } UNION { resource:Doğan_Babacan property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q65
P264
Q2031291
USER
Which release has been sponsored by that administrative territory for its recording ?
(c(Q2031291),P264,Q65)
action filter_type
action find_reverse
entity Q65
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q65']
SELECT DISTINCT ?e WHERE { ?e property:P264 resource:Q65 . ?e rdf:type ontology:Q2031291 }
Los Angeles
action filter_type
action find_reverse
entity Los Angeles
relation record label
type release
[{'concept': 'release'}, 'record label', 'Los Angeles']
SELECT DISTINCT ?e WHERE { ?e property:record_label resource:Los_Angeles . ?e rdf:type ontology:release }
[]
release
Clarification for simple ques.
Q65
SYSTEM
Did you mean Los Angeles ?
Q65 Q406
(c(Q2031291),P264,Q65) (c(Q2031291),P264,Q406)
[ANSWER]
[{'concept': 'Q2031291'}, 'P264', 'Q65'] [{'concept': 'Q2031291'}, 'P264', 'Q406']
SELECT DISTINCT ?e WHERE { ?e property:P264 resource:Q65 . ?e rdf:type ontology:Q2031291 }
Los Angeles Istanbul
Did you mean Los Angeles ?
Los Angeles
[{'concept': 'release'}, 'record label', 'Los Angeles'] [{'concept': 'release'}, 'record label', 'Istanbul']
SELECT DISTINCT ?e WHERE { ?e property:record_label resource:Los_Angeles . ?e rdf:type ontology:release }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2031291),P264,Q65)
[{'concept': 'Q2031291'}, 'P264', 'Q65']
[{'concept': 'release'}, 'record label', 'Los Angeles']
[]
Q6907853
SYSTEM
Moonlight Madness
Q6907853
(c(Q2031291),P264,Q65)
action filter_type
action find_reverse
entity Q65
relation P264
type Q2031291
Territory [ANSWER] has been sponsored by that administrative territory for its recording
[{'concept': 'Q2031291'}, 'P264', 'Q65']
SELECT DISTINCT ?e WHERE { ?e property:P264 resource:Q65 . ?e rdf:type ontology:Q2031291 }
Moonlight Madness
Territory Moonlight Madness has been sponsored by that administrative territory for its recording
Moonlight Madness
action filter_type
action find_reverse
entity Los Angeles
relation record label
type release
[{'concept': 'release'}, 'record label', 'Los Angeles']
SELECT DISTINCT ?e WHERE { ?e property:record_label resource:Los_Angeles . ?e rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6907853
P264
Q43229
USER
Which organization is the record label of that release ?
(Q6907853,P264,c(Q43229))
action filter_type
action find
entity Q6907853
relation P264
type Q43229
['Q6907853', 'P264', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q6907853 property:P264 ?n . ?n rdf:type ontology:Q43229 }
Moonlight Madness
action filter_type
action find
entity Moonlight Madness
relation record label
type organization
['Moonlight Madness', 'record label', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Moonlight_Madness property:record_label ?n . ?n rdf:type ontology:organization }
[]
organization
Q2017494
SYSTEM
Westlake Recording Studios
Q2017494
(Q6907853,P264,c(Q43229))
action filter_type
action find
entity Q6907853
relation P264
type Q43229
The [ANSWER] is the record label of that release
['Q6907853', 'P264', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q6907853 property:P264 ?n . ?n rdf:type ontology:Q43229 }
Westlake Recording Studios
The Westlake Recording Studios is the record label of that release
Westlake Recording Studios
action filter_type
action find
entity Moonlight Madness
relation record label
type organization
['Moonlight Madness', 'record label', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Moonlight_Madness property:record_label ?n . ?n rdf:type ontology:organization }
[]