Simple Question (Direct)
Simple Question
Q5057122
P106
Q12737077
USER
What does Cedric Killings do for a living ?
(Q5057122,P106,c(Q12737077))
action filter_type
action find
entity Q5057122
relation P106
type Q12737077
['Q5057122', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q5057122 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Cedric Killings
action filter_type
action find
entity Cedric Killings
relation occupation
type occupation
['Cedric Killings', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Cedric_Killings property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q5057122,P106,c(Q12737077))
action filter_type
action find
entity Q5057122
relation P106
type Q12737077
Cedric Killings does the [ANSWER] for a living
['Q5057122', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q5057122 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
American football player
Cedric Killings does the American football player for a living
American football player
action filter_type
action find
entity Cedric Killings
relation occupation
type occupation
['Cedric Killings', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Cedric_Killings property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5057122
P21
Q290
USER
Which sex does that person possess ?
(Q19204627,P21,c(Q290))
action filter_type
action find
entity Q5057122
relation P21
type Q290
['Q19204627', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5057122 property:P21 ?z . ?z rdf:type ontology:Q290 }
Cedric Killings
action filter_type
action find
entity Cedric Killings
relation gender
type sex
['American football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Cedric_Killings property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19204627,P21,c(Q290))
action filter_type
action find
entity Q5057122
relation P21
type Q290
That person possesses a [ANSWER]
['Q19204627', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5057122 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Cedric Killings
relation gender
type sex
['American football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Cedric_Killings property:gender ?z . ?z rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q197511 Q5057122
P21
Q290
USER
And also Frederick, Margrave of Tuscany
AND((Q5057122,P21,c(Q290)), (Q197511,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q5057122
relation P21
action find
entity Q197511
relation P21
type Q290
{'AND': [['Q5057122', 'P21', {'concept': 'Q290'}], ['Q197511', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?l WHERE { resource:Q5057122 property:P21 ?l . resource:Q197511 property:P21 ?l . ?l rdf:type ontology:Q290 }
Frederick, Margrave of Tuscany Cedric Killings
action filter_type
action intersection
action find
entity Cedric Killings
relation gender
action find
entity Frederick, Margrave of Tuscany
relation gender
type sex
{'AND': [['Cedric Killings', 'gender', {'concept': 'sex'}], ['Frederick, Margrave of Tuscany', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?l WHERE { resource:Cedric_Killings property:gender ?l . resource:Frederick,_Margrave_of_Tuscany property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q5057122,P21,c(Q290)), (Q197511,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q5057122
relation P21
action find
entity Q197511
relation P21
type Q290
[ANSWER]
{'AND': [['Q5057122', 'P21', {'concept': 'Q290'}], ['Q197511', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?l WHERE { resource:Q5057122 property:P21 ?l . resource:Q197511 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Cedric Killings
relation gender
action find
entity Frederick, Margrave of Tuscany
relation gender
type sex
{'AND': [['Cedric Killings', 'gender', {'concept': 'sex'}], ['Frederick, Margrave of Tuscany', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?l WHERE { resource:Cedric_Killings property:gender ?l . resource:Frederick,_Margrave_of_Tuscany property:gender ?l . ?l rdf:type ontology:sex }
[]