Simple Question (Direct)
Simple Question
Q2196
P108
Q4830453
USER
Which business enterprise does Pierre Desproges work for ?
(Q2196,P108,c(Q4830453))
action filter_type
action find
entity Q2196
relation P108
type Q4830453
['Q2196', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?p WHERE { resource:Q2196 property:P108 ?p . ?p rdf:type ontology:Q4830453 }
Pierre Desproges
action filter_type
action find
entity Pierre Desproges
relation employer
type business enterprise
['Pierre Desproges', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?p WHERE { resource:Pierre_Desproges property:employer ?p . ?p rdf:type ontology:business_enterprise }
[]
business enterprise
Q19905
SYSTEM
France Inter
Q19905
(Q2196,P108,c(Q4830453))
action filter_type
action find
entity Q2196
relation P108
type Q4830453
Pierre Desproges works in [ANSWER]
['Q2196', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?p WHERE { resource:Q2196 property:P108 ?p . ?p rdf:type ontology:Q4830453 }
France Inter
Pierre Desproges works in France Inter
France Inter
action filter_type
action find
entity Pierre Desproges
relation employer
type business enterprise
['Pierre Desproges', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?p WHERE { resource:Pierre_Desproges property:employer ?p . ?p rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2196
P509
Q12136
USER
Which disease was the cause of death of that person ?
(Q19905,P509,c(Q12136))
action filter_type
action find
entity Q2196
relation P509
type Q12136
['Q19905', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?l WHERE { resource:Q2196 property:P509 ?l . ?l rdf:type ontology:Q12136 }
Pierre Desproges
action filter_type
action find
entity Pierre Desproges
relation cause of death
type disease
['France Inter', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?l WHERE { resource:Pierre_Desproges property:cause_of_death ?l . ?l rdf:type ontology:disease }
[]
disease
Q12078
SYSTEM
cancer
Q12078
(Q19905,P509,c(Q12136))
action filter_type
action find
entity Q2196
relation P509
type Q12136
[ANSWER] was the cause of death of that person
['Q19905', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?l WHERE { resource:Q2196 property:P509 ?l . ?l rdf:type ontology:Q12136 }
cancer
Cancer was the cause of death of that person
cancer
action filter_type
action find
entity Pierre Desproges
relation cause of death
type disease
['France Inter', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?l WHERE { resource:Pierre_Desproges property:cause_of_death ?l . ?l rdf:type ontology:disease }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2196
P119
Q39614
USER
Where is the place of burial for Pierre Desproges located ?
(Q2196,P119,c(Q39614))
action filter_type
action find
entity Q2196
relation P119
type Q39614
['Q2196', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?x WHERE { resource:Q2196 property:P119 ?x . ?x rdf:type ontology:Q39614 }
Pierre Desproges
action filter_type
action find
entity Pierre Desproges
relation place of burial
type cemetery
['Pierre Desproges', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?x WHERE { resource:Pierre_Desproges property:place_of_burial ?x . ?x rdf:type ontology:cemetery }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q2196,P119,c(Q39614))
action filter_type
action find
entity Q2196
relation P119
type Q39614
The place of burial for Pierre Desproges is located in [ANSWER]
['Q2196', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?x WHERE { resource:Q2196 property:P119 ?x . ?x rdf:type ontology:Q39614 }
Père Lachaise Cemetery
The place of burial for Pierre Desproges is located in Père Lachaise Cemetery
Père Lachaise Cemetery
action filter_type
action find
entity Pierre Desproges
relation place of burial
type cemetery
['Pierre Desproges', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?x WHERE { resource:Pierre_Desproges property:place_of_burial ?x . ?x rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2196
P106
Q12737077
USER
What do that person do for a living ?
(Q311,P106,c(Q12737077))
action filter_type
action find
entity Q2196
relation P106
type Q12737077
['Q311', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2196 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Pierre Desproges
action filter_type
action find
entity Pierre Desproges
relation occupation
type occupation
['Père Lachaise Cemetery', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Pierre_Desproges property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q36180 Q2722764 Q245068
SYSTEM
writer, radio personality, comedian
Q36180 Q2722764 Q245068
(Q311,P106,c(Q12737077))
action filter_type
action find
entity Q2196
relation P106
type Q12737077
[ANSWERS] that person do for a living
['Q311', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2196 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
writer radio personality comedian
Writer, radio personality and comedian that person do for a living
writer radio personality comedian
action filter_type
action find
entity Pierre Desproges
relation occupation
type occupation
['Père Lachaise Cemetery', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Pierre_Desproges property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2196
P21
Q290
USER
Which sex does Pierre Desproges belong to ?
(Q2196,P21,c(Q290))
action filter_type
action find
entity Q2196
relation P21
type Q290
['Q2196', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q2196 property:P21 ?q }
Pierre Desproges
action filter_type
action find
entity Pierre Desproges
relation gender
type sex
['Pierre Desproges', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Pierre_Desproges property:gender ?q }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2196,P21,c(Q290))
action filter_type
action find
entity Q2196
relation P21
type Q290
Pierre Desproges belongs to [ANSWER]
['Q2196', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q2196 property:P21 ?q }
male
Pierre Desproges belongs to male
male
action filter_type
action find
entity Pierre Desproges
relation gender
type sex
['Pierre Desproges', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Pierre_Desproges property:gender ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3769741
Q290
USER
And how about Giulio Paulis?
(Q3769741,P21,c(Q290))
action filter_type
action find
entity Q3769741
relation P21
type Q290
['Q3769741', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q3769741 property:P21 ?o . ?o rdf:type ontology:Q290 }
Giulio Paulis
action filter_type
action find
entity Giulio Paulis
relation gender
type sex
['Giulio Paulis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Giulio_Paulis property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3769741,P21,c(Q290))
action filter_type
action find
entity Q3769741
relation P21
type Q290
[ANSWER]
['Q3769741', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q3769741 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Giulio Paulis
relation gender
type sex
['Giulio Paulis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Giulio_Paulis property:gender ?o . ?o rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q546216
P21
Q502895
USER
Does J. S. Wilson have that sex as the sex ?
(Q546216,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q546216
relation P21
['Q546216', 'P21', 'Q6581097']
ASK WHERE { resource:Q546216 property:P21 resource:Q6581097 }
male J. S. Wilson
action is_in
entity male
action find
entity J. S. Wilson
relation gender
['J. S. Wilson', 'gender', 'male']
ASK WHERE { resource:J._S._Wilson property:gender resource:male }
[]
common name
SYSTEM
YES
(Q546216,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q546216
relation P21
[ANSWER]
['Q546216', 'P21', 'Q6581097']
ASK WHERE { resource:Q546216 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity J. S. Wilson
relation gender
['J. S. Wilson', 'gender', 'male']
ASK WHERE { resource:J._S._Wilson property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6144168 Q546216
P241
Q781132
USER
Which military branches contain J. S. Wilson or James Thomas Morisset as their part ?
OR((Q546216,P241,c(Q781132)), (Q6144168,P241,c(Q781132)))
action filter_type
action union
action find
entity Q546216
relation P241
action find
entity Q6144168
relation P241
type Q781132
{'OR': [['Q546216', 'P241', {'concept': 'Q781132'}], ['Q6144168', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q546216 property:P241 ?u } UNION { resource:Q6144168 property:P241 ?u } } . ?u rdf:type ontology:Q781132 }
James Thomas Morisset J. S. Wilson
action filter_type
action union
action find
entity J. S. Wilson
relation military branch
action find
entity James Thomas Morisset
relation military branch
type military branch
{'OR': [['J. S. Wilson', 'military branch', {'concept': 'military branch'}], ['James Thomas Morisset', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?u WHERE { { { resource:J._S._Wilson property:military_branch ?u } UNION { resource:James_Thomas_Morisset property:military_branch ?u } } . ?u rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
OR((Q546216,P241,c(Q781132)), (Q6144168,P241,c(Q781132)))
action filter_type
action union
action find
entity Q546216
relation P241
action find
entity Q6144168
relation P241
type Q781132
[ANSWER] contain J. S. Wilson or James Thomas Morisset as their part
{'OR': [['Q546216', 'P241', {'concept': 'Q781132'}], ['Q6144168', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q546216 property:P241 ?u } UNION { resource:Q6144168 property:P241 ?u } } . ?u rdf:type ontology:Q781132 }
British Army
British Army contain J. S. Wilson or James Thomas Morisset as their part
British Army
action filter_type
action union
action find
entity J. S. Wilson
relation military branch
action find
entity James Thomas Morisset
relation military branch
type military branch
{'OR': [['J. S. Wilson', 'military branch', {'concept': 'military branch'}], ['James Thomas Morisset', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?u WHERE { { { resource:J._S._Wilson property:military_branch ?u } UNION { resource:James_Thomas_Morisset property:military_branch ?u } } . ?u rdf:type ontology:military_branch }
[]