Simple Question (Direct)
Simple Question
Q7597698
P641
Q349
USER
Which sport was Stan Howard a part of ?
(Q7597698,P641,c(Q349))
action filter_type
action find
entity Q7597698
relation P641
type Q349
['Q7597698', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . resource:Q7597698 property:P641 ?g }
Stan Howard
action filter_type
action find
entity Stan Howard
relation sport
type sport
['Stan Howard', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . resource:Stan_Howard property:sport ?g }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7597698,P641,c(Q349))
action filter_type
action find
entity Q7597698
relation P641
type Q349
Stan Howard was of the [ANSWER]
['Q7597698', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . resource:Q7597698 property:P641 ?g }
association football
Stan Howard was of the association football
association football
action filter_type
action find
entity Stan Howard
relation sport
type sport
['Stan Howard', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . resource:Stan_Howard property:sport ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7597698
P106
Q12737077
USER
What is the job of Stan Howard ?
(Q7597698,P106,c(Q12737077))
action filter_type
action find
entity Q7597698
relation P106
type Q12737077
['Q7597698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q7597698 property:P106 ?i }
Stan Howard
action filter_type
action find
entity Stan Howard
relation occupation
type occupation
['Stan Howard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Stan_Howard property:occupation ?i }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7597698,P106,c(Q12737077))
action filter_type
action find
entity Q7597698
relation P106
type Q12737077
The job of Stan Howard is an [ANSWER]
['Q7597698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q7597698 property:P106 ?i }
association football player
The job of Stan Howard is an association football player
association football player
action filter_type
action find
entity Stan Howard
relation occupation
type occupation
['Stan Howard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Stan_Howard property:occupation ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7597698
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q7597698
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q7597698 property:P27 ?c }
Stan Howard
action filter_type
action find
entity Stan Howard
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Stan_Howard property:country_of_citizenship ?c }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q7597698
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q7597698 property:P27 ?c }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity Stan Howard
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Stan_Howard property:country_of_citizenship ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7597698
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q7597698
relation P19
type Q56061
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q7597698 property:P19 ?n }
Stan Howard
action filter_type
action find
entity Stan Howard
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Stan_Howard property:place_of_birth ?n }
[]
administrative territorial entity
Q2078535
SYSTEM
Chorley
Q2078535
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q7597698
relation P19
type Q56061
That person was born in [ANSWER]
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q7597698 property:P19 ?n }
Chorley
That person was born in Chorley
Chorley
action filter_type
action find
entity Stan Howard
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Stan_Howard property:place_of_birth ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7597698
P21
Q290
USER
Which sex does that person have ?
(Q2078535,P21,c(Q290))
action filter_type
action find
entity Q7597698
relation P21
type Q290
['Q2078535', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q7597698 property:P21 ?z . ?z rdf:type ontology:Q290 }
Stan Howard
action filter_type
action find
entity Stan Howard
relation gender
type sex
['Chorley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Stan_Howard property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2078535,P21,c(Q290))
action filter_type
action find
entity Q7597698
relation P21
type Q290
That person has a [ANSWER]
['Q2078535', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q7597698 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Stan Howard
relation gender
type sex
['Chorley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Stan_Howard property:gender ?z . ?z rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2062157 Q7597698
P21
Q290
USER
Or Jeffrey Gouweleeuw?
OR((Q7597698,P21,c(Q290)), (Q2062157,P21,c(Q290)))
action filter_type
action union
action find
entity Q7597698
relation P21
action find
entity Q2062157
relation P21
type Q290
{'OR': [['Q7597698', 'P21', {'concept': 'Q290'}], ['Q2062157', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . { { resource:Q7597698 property:P21 ?x } UNION { resource:Q2062157 property:P21 ?x } } }
Jeffrey Gouweleeuw Stan Howard
action filter_type
action union
action find
entity Stan Howard
relation gender
action find
entity Jeffrey Gouweleeuw
relation gender
type sex
{'OR': [['Stan Howard', 'gender', {'concept': 'sex'}], ['Jeffrey Gouweleeuw', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . { { resource:Stan_Howard property:gender ?x } UNION { resource:Jeffrey_Gouweleeuw property:gender ?x } } }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q7597698,P21,c(Q290)), (Q2062157,P21,c(Q290)))
action filter_type
action union
action find
entity Q7597698
relation P21
action find
entity Q2062157
relation P21
type Q290
[ANSWER]
{'OR': [['Q7597698', 'P21', {'concept': 'Q290'}], ['Q2062157', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . { { resource:Q7597698 property:P21 ?x } UNION { resource:Q2062157 property:P21 ?x } } }
male
male
action filter_type
action union
action find
entity Stan Howard
relation gender
action find
entity Jeffrey Gouweleeuw
relation gender
type sex
{'OR': [['Stan Howard', 'gender', {'concept': 'sex'}], ['Jeffrey Gouweleeuw', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . { { resource:Stan_Howard property:gender ?x } UNION { resource:Jeffrey_Gouweleeuw property:gender ?x } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q5655345
P21
Q502895
USER
Does Rolando Barra have the gender as that sex ?
(Q5655345,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5655345
relation P21
['Q5655345', 'P21', 'Q6581097']
ASK WHERE { resource:Q5655345 property:P21 resource:Q6581097 }
male Rolando Barra
action is_in
entity male
action find
entity Rolando Barra
relation gender
['Rolando Barra', 'gender', 'male']
ASK WHERE { resource:Rolando_Barra property:gender resource:male }
[]
common name
SYSTEM
YES
(Q5655345,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5655345
relation P21
[ANSWER]
['Q5655345', 'P21', 'Q6581097']
ASK WHERE { resource:Q5655345 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Rolando Barra
relation gender
['Rolando Barra', 'gender', 'male']
ASK WHERE { resource:Rolando_Barra property:gender resource:male }
[]