Simple Question (Direct)
Simple Question
Q5285504
P641
Q349
USER
Which sport did Dmitri Gusak participate in ?
(Q5285504,P641,c(Q349))
action filter_type
action find
entity Q5285504
relation P641
type Q349
['Q5285504', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q5285504 property:P641 ?y }
Dmitri Gusak
action filter_type
action find
entity Dmitri Gusak
relation sport
type sport
['Dmitri Gusak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Dmitri_Gusak property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5285504,P641,c(Q349))
action filter_type
action find
entity Q5285504
relation P641
type Q349
Dmitri Gusak participated in [ANSWER]
['Q5285504', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q5285504 property:P641 ?y }
association football
Dmitri Gusak participated in association football
association football
action filter_type
action find
entity Dmitri Gusak
relation sport
type sport
['Dmitri Gusak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Dmitri_Gusak property:sport ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5285504
P106
Q12737077
USER
Which occupation is the profession of Dmitri Gusak ?
(Q5285504,P106,c(Q12737077))
action filter_type
action find
entity Q5285504
relation P106
type Q12737077
['Q5285504', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q5285504 property:P106 ?c }
Dmitri Gusak
action filter_type
action find
entity Dmitri Gusak
relation occupation
type occupation
['Dmitri Gusak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Dmitri_Gusak property:occupation ?c }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5285504,P106,c(Q12737077))
action filter_type
action find
entity Q5285504
relation P106
type Q12737077
The [ANSWER] is the profession of Dmitri Gusak
['Q5285504', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q5285504 property:P106 ?c }
association football player
The association football player is the profession of Dmitri Gusak
association football player
action filter_type
action find
entity Dmitri Gusak
relation occupation
type occupation
['Dmitri Gusak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Dmitri_Gusak property:occupation ?c }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18672970
Q12737077
USER
And what about William Shrewsbury?
(Q18672970,P106,c(Q12737077))
action filter_type
action find
entity Q18672970
relation P106
type Q12737077
['Q18672970', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q18672970 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
William Shrewsbury
action filter_type
action find
entity William Shrewsbury
relation occupation
type occupation
['William Shrewsbury', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:William_Shrewsbury property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q219477
SYSTEM
missionary
Q219477
(Q18672970,P106,c(Q12737077))
action filter_type
action find
entity Q18672970
relation P106
type Q12737077
[ANSWER]
['Q18672970', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q18672970 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
missionary
missionary
action filter_type
action find
entity William Shrewsbury
relation occupation
type occupation
['William Shrewsbury', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:William_Shrewsbury property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q219477 Q7614167
P417
Q502895
USER
Is Steve True the patron saint of that occupation ?
(Q219477,P417,Q7614167)
action is_in
entity Q7614167
action find
entity Q219477
relation P417
['Q219477', 'P417', 'Q7614167']
ASK WHERE { resource:Q219477 property:P417 resource:Q7614167 }
missionary Steve True
action is_in
entity Steve True
action find
entity missionary
relation patron saint
['missionary', 'patron saint', 'Steve True']
ASK WHERE { resource:missionary property:patron_saint resource:Steve_True }
[]
common name
SYSTEM
NO
(Q219477,P417,Q7614167)
action is_in
entity Q7614167
action find
entity Q219477
relation P417
[ANSWER]
['Q219477', 'P417', 'Q7614167']
ASK WHERE { resource:Q219477 property:P417 resource:Q7614167 }
No
action is_in
entity Steve True
action find
entity missionary
relation patron saint
['missionary', 'patron saint', 'Steve True']
ASK WHERE { resource:missionary property:patron_saint resource:Steve_True }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q219477
P101
Q502895
USER
Which person has specialisation in that occupation ?
action filter_type
action find_reverse
entity Q219477
relation P101
type Q502895
SELECT DISTINCT ?e WHERE { ?e property:P101 resource:Q219477 . ?e rdf:type ontology:Q502895 }
missionary
action filter_type
action find_reverse
entity missionary
relation field of work
type common name
SELECT DISTINCT ?e WHERE { ?e property:field_of_work resource:missionary . ?e rdf:type ontology:common_name }
[]
common name
Q1344575
SYSTEM
Francisco Álvares
Q1344575
action filter_type
action find_reverse
entity Q219477
relation P101
type Q502895
[ANSWER] has specialisation in that occupation
SELECT DISTINCT ?e WHERE { ?e property:P101 resource:Q219477 . ?e rdf:type ontology:Q502895 }
Francisco Álvares
Francisco Álvares has specialisation in that occupation
Francisco Álvares
action filter_type
action find_reverse
entity missionary
relation field of work
type common name
SELECT DISTINCT ?e WHERE { ?e property:field_of_work resource:missionary . ?e rdf:type ontology:common_name }
[]