Simple Question (Direct)
Simple Question
Q5642649
P106
Q12737077
USER
Which occupation has Carlos Torres as his/her 's career ?
(Q5642649,P106,c(Q12737077))
action filter_type
action find
entity Q5642649
relation P106
type Q12737077
['Q5642649', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5642649 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Carlos Torres
action filter_type
action find
entity Carlos Torres
relation occupation
type occupation
['Carlos Torres', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Carlos_Torres property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5642649,P106,c(Q12737077))
action filter_type
action find
entity Q5642649
relation P106
type Q12737077
Player [ANSWER] has Carlos Torres as his/her 's career
['Q5642649', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5642649 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football player
Player association football player has Carlos Torres as his/her 's career
association football player
action filter_type
action find
entity Carlos Torres
relation occupation
type occupation
['Carlos Torres', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Carlos_Torres property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5642649
P1412
Q34770
USER
Which language can Carlos Torres understand ?
(Q5642649,P1412,c(Q34770))
action filter_type
action find
entity Q5642649
relation P1412
type Q34770
['Q5642649', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q5642649 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
Carlos Torres
action filter_type
action find
entity Carlos Torres
relation languages spoken, written or signed
type language
['Carlos Torres', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Carlos_Torres property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5642649,P1412,c(Q34770))
action filter_type
action find
entity Q5642649
relation P1412
type Q34770
Carlos Torres can understand [ANSWER]
['Q5642649', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q5642649 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
Spanish
Carlos Torres can understand Spanish
Spanish
action filter_type
action find
entity Carlos Torres
relation languages spoken, written or signed
type language
['Carlos Torres', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Carlos_Torres property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18546400
Q34770
USER
And what about Justin Brett?
(Q18546400,P1412,c(Q34770))
action filter_type
action find
entity Q18546400
relation P1412
type Q34770
['Q18546400', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q18546400 property:P1412 ?l }
Justin Brett
action filter_type
action find
entity Justin Brett
relation languages spoken, written or signed
type language
['Justin Brett', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Justin_Brett property:languages_spoken,_written_or_signed ?l }
[]
language
Q1860
SYSTEM
English
Q1860
(Q18546400,P1412,c(Q34770))
action filter_type
action find
entity Q18546400
relation P1412
type Q34770
[ANSWER]
['Q18546400', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q18546400 property:P1412 ?l }
English
English
action filter_type
action find
entity Justin Brett
relation languages spoken, written or signed
type language
['Justin Brett', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Justin_Brett property:languages_spoken,_written_or_signed ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18546400
P21
Q290
USER
What is the sex of that person ?
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q18546400
relation P21
type Q290
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q18546400 property:P21 ?e . ?e rdf:type ontology:Q290 }
Justin Brett
action filter_type
action find
entity Justin Brett
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Justin_Brett property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q18546400
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q18546400 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Justin Brett
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Justin_Brett property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18546400
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q18546400
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q18546400 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Justin Brett
action filter_type
action find
entity Justin Brett
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Justin_Brett property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q18546400
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q18546400 property:P19 ?s . ?s rdf:type ontology:Q56061 }
London
That person was born in London
London
action filter_type
action find
entity Justin Brett
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Justin_Brett property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3032932 Q18546400
P27
Q15617994
USER
Which administrative territories are Justin Brett or Djibril Kouyaté a civilian of ?
OR((Q18546400,P27,c(Q15617994)), (Q3032932,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18546400
relation P27
action find
entity Q3032932
relation P27
type Q15617994
{'OR': [['Q18546400', 'P27', {'concept': 'Q15617994'}], ['Q3032932', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3032932 property:P27 ?k } UNION { resource:Q18546400 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Djibril Kouyaté Justin Brett
action filter_type
action union
action find
entity Justin Brett
relation country of citizenship
action find
entity Djibril Kouyaté
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Justin Brett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Djibril Kouyaté', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Djibril_Kouyaté property:country_of_citizenship ?k } UNION { resource:Justin_Brett property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q912 Q145
SYSTEM
Mali, United Kingdom
Q912 Q145
OR((Q18546400,P27,c(Q15617994)), (Q3032932,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18546400
relation P27
action find
entity Q3032932
relation P27
type Q15617994
[ANSWERS] are Justin Brett or Djibril Kouyaté a civilian of
{'OR': [['Q18546400', 'P27', {'concept': 'Q15617994'}], ['Q3032932', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3032932 property:P27 ?k } UNION { resource:Q18546400 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Mali United Kingdom
Mali and United Kingdom are Justin Brett or Djibril Kouyaté a civilian of
Mali United Kingdom
action filter_type
action union
action find
entity Justin Brett
relation country of citizenship
action find
entity Djibril Kouyaté
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Justin Brett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Djibril Kouyaté', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Djibril_Kouyaté property:country_of_citizenship ?k } UNION { resource:Justin_Brett property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6099479
P27
Q502895
USER
Are Ivor Porter a citizen of those administrative territories ?
(Q6099479,P27,Q912) (Q6099479,P27,Q145)
action is_in
entity prev_answer
action find
entity Q6099479
relation P27
['Q6099479', 'P27', 'Q912'] ['Q6099479', 'P27', 'Q145']
ASK WHERE { resource:Q6099479 property:P27 ?u . VALUES ( ?u ) { ( resource:Q912 ) ( resource:Q145 ) } }
Ivor Porter
action is_in
entity prev_answer
action find
entity Ivor Porter
relation country of citizenship
['Ivor Porter', 'country of citizenship', 'Mali'] ['Ivor Porter', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Ivor_Porter property:country_of_citizenship ?u . VALUES ( ?u ) { ( resource:Mali ) ( resource:United_Kingdom ) } }
[]
common name
SYSTEM
YES
(Q6099479,P27,Q912) (Q6099479,P27,Q145)
action is_in
entity prev_answer
action find
entity Q6099479
relation P27
[ANSWER]
['Q6099479', 'P27', 'Q912'] ['Q6099479', 'P27', 'Q145']
ASK WHERE { resource:Q6099479 property:P27 ?u . VALUES ( ?u ) { ( resource:Q912 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Ivor Porter
relation country of citizenship
['Ivor Porter', 'country of citizenship', 'Mali'] ['Ivor Porter', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Ivor_Porter property:country_of_citizenship ?u . VALUES ( ?u ) { ( resource:Mali ) ( resource:United_Kingdom ) } }
[]