Simple Question (Direct)
Simple Question
Q10274066
P1412
Q34770
USER
Which language is Ernesto Guerra da Cal capable of writing ?
(Q10274066,P1412,c(Q34770))
action filter_type
action find
entity Q10274066
relation P1412
type Q34770
['Q10274066', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q10274066 property:P1412 ?n }
Ernesto Guerra da Cal
action filter_type
action find
entity Ernesto Guerra da Cal
relation languages spoken, written or signed
type language
['Ernesto Guerra da Cal', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:Ernesto_Guerra_da_Cal property:languages_spoken,_written_or_signed ?n }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q10274066,P1412,c(Q34770))
action filter_type
action find
entity Q10274066
relation P1412
type Q34770
[ANSWER] is Ernesto Guerra da Cal capable of writing
['Q10274066', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q10274066 property:P1412 ?n }
Spanish
Spanish is Ernesto Guerra da Cal capable of writing
Spanish
action filter_type
action find
entity Ernesto Guerra da Cal
relation languages spoken, written or signed
type language
['Ernesto Guerra da Cal', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:Ernesto_Guerra_da_Cal property:languages_spoken,_written_or_signed ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10274066
P20
Q56061
USER
Where did that person expire ?
(Q1321,P20,c(Q56061))
action filter_type
action find
entity Q10274066
relation P20
type Q56061
['Q1321', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q10274066 property:P20 ?z }
Ernesto Guerra da Cal
action filter_type
action find
entity Ernesto Guerra da Cal
relation place of death
type administrative territorial entity
['Spanish', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Ernesto_Guerra_da_Cal property:place_of_death ?z }
[]
administrative territorial entity
Q597
SYSTEM
Lisbon
Q597
(Q1321,P20,c(Q56061))
action filter_type
action find
entity Q10274066
relation P20
type Q56061
That person expired in [ANSWER]
['Q1321', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q10274066 property:P20 ?z }
Lisbon
That person expired in Lisbon
Lisbon
action filter_type
action find
entity Ernesto Guerra da Cal
relation place of death
type administrative territorial entity
['Spanish', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Ernesto_Guerra_da_Cal property:place_of_death ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q597
P276
Q500834
USER
What is located at that administrative territory ?
(c(Q500834),P276,Q597)
action filter_type
action find_reverse
entity Q597
relation P276
type Q500834
[{'concept': 'Q500834'}, 'P276', 'Q597']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q500834 . ?e property:P276 resource:Q597 }
Lisbon
action filter_type
action find_reverse
entity Lisbon
relation location
type tournament
[{'concept': 'tournament'}, 'location', 'Lisbon']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:tournament . ?e property:location resource:Lisbon }
[]
tournament
Q18602388
SYSTEM
European Tour 2014/2015 – Event 5
Q18602388
(c(Q500834),P276,Q597)
action filter_type
action find_reverse
entity Q597
relation P276
type Q500834
[ANSWER] is located at that administrative territory
[{'concept': 'Q500834'}, 'P276', 'Q597']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q500834 . ?e property:P276 resource:Q597 }
European Tour 2014/2015 – Event 5
European Tour 2014/2015 – Event 5 is located at that administrative territory
European Tour 2014/2015 – Event 5
action filter_type
action find_reverse
entity Lisbon
relation location
type tournament
[{'concept': 'tournament'}, 'location', 'Lisbon']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:tournament . ?e property:location resource:Lisbon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P276
Q56061
USER
How many administrative territories are the locations of that tournament ?
(Q18602388,P276,c(Q56061))
action count
action filter_type
action find
entity Q18602388
relation P276
type Q56061
['Q18602388', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q18602388 property:P276 ?d . ?d rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity European Tour 2014/2015 – Event 5
relation location
type administrative territorial entity
['European Tour 2014/2015 – Event 5', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:European_Tour_2014/2015_–_Event_5 property:location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q597
(Q18602388,P276,c(Q56061))
action count
action filter_type
action find
entity Q18602388
relation P276
type Q56061
[ANSWER]
['Q18602388', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q18602388 property:P276 ?d . ?d rdf:type ontology:Q56061 }
Lisbon
1
action count
action filter_type
action find
entity European Tour 2014/2015 – Event 5
relation location
type administrative territorial entity
['European Tour 2014/2015 – Event 5', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:European_Tour_2014/2015_–_Event_5 property:location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10274066
P106
Q12737077
USER
What are the professions of Ernesto Guerra da Cal ?
(Q10274066,P106,c(Q12737077))
action filter_type
action find
entity Q10274066
relation P106
type Q12737077
['Q10274066', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q10274066 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Ernesto Guerra da Cal
action filter_type
action find
entity Ernesto Guerra da Cal
relation occupation
type occupation
['Ernesto Guerra da Cal', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Ernesto_Guerra_da_Cal property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q11774202 Q49757
SYSTEM
essayist, poet
Q11774202 Q49757
(Q10274066,P106,c(Q12737077))
action filter_type
action find
entity Q10274066
relation P106
type Q12737077
The professions of Ernesto Guerra da Cal are the [ANSWERS]
['Q10274066', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q10274066 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
essayist poet
The professions of Ernesto Guerra da Cal are the essayist and poet
essayist poet
action filter_type
action find
entity Ernesto Guerra da Cal
relation occupation
type occupation
['Ernesto Guerra da Cal', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Ernesto_Guerra_da_Cal property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49757
P180
Q3305213
USER
Which painting demonstrates that occupation ?
(c(Q3305213),P180,Q49757)
action filter_type
action find_reverse
entity Q49757
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q49757']
SELECT DISTINCT ?g WHERE { ?g property:P180 resource:Q49757 . ?g rdf:type ontology:Q3305213 }
poet
action filter_type
action find_reverse
entity poet
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'poet']
SELECT DISTINCT ?g WHERE { ?g property:depicts resource:poet . ?g rdf:type ontology:painting }
[]
painting
Clarification for simple ques.
Q49757
SYSTEM
Did you mean poet ?
Q11774202 Q49757
(c(Q3305213),P180,Q11774202) (c(Q3305213),P180,Q49757)
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q11774202'] [{'concept': 'Q3305213'}, 'P180', 'Q49757']
SELECT DISTINCT ?g WHERE { ?g property:P180 resource:Q49757 . ?g rdf:type ontology:Q3305213 }
essayist poet
Did you mean poet ?
poet
[{'concept': 'painting'}, 'depicts', 'essayist'] [{'concept': 'painting'}, 'depicts', 'poet']
SELECT DISTINCT ?g WHERE { ?g property:depicts resource:poet . ?g rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q3305213),P180,Q49757)
[{'concept': 'Q3305213'}, 'P180', 'Q49757']
[{'concept': 'painting'}, 'depicts', 'poet']
[]
Q22034120
SYSTEM
The Poet
Q22034120
(c(Q3305213),P180,Q49757)
action filter_type
action find_reverse
entity Q49757
relation P180
type Q3305213
[ANSWER] demonstrates that occupation
[{'concept': 'Q3305213'}, 'P180', 'Q49757']
SELECT DISTINCT ?g WHERE { ?g property:P180 resource:Q49757 . ?g rdf:type ontology:Q3305213 }
The Poet
The Poet demonstrates that occupation
The Poet
action filter_type
action find_reverse
entity poet
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'poet']
SELECT DISTINCT ?g WHERE { ?g property:depicts resource:poet . ?g rdf:type ontology:painting }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q22034120 Q49757
P180
Q12737077
USER
Is poet demonstrated in that painting ?
(Q22034120,P180,Q49757)
action is_in
entity Q49757
action find
entity Q22034120
relation P180
['Q22034120', 'P180', 'Q49757']
ASK WHERE { resource:Q22034120 property:P180 resource:Q49757 }
The Poet poet
action is_in
entity poet
action find
entity The Poet
relation depicts
['The Poet', 'depicts', 'poet']
ASK WHERE { resource:The_Poet property:depicts resource:poet }
[]
occupation
SYSTEM
YES
(Q22034120,P180,Q49757)
action is_in
entity Q49757
action find
entity Q22034120
relation P180
[ANSWER]
['Q22034120', 'P180', 'Q49757']
ASK WHERE { resource:Q22034120 property:P180 resource:Q49757 }
Yes
action is_in
entity poet
action find
entity The Poet
relation depicts
['The Poet', 'depicts', 'poet']
ASK WHERE { resource:The_Poet property:depicts resource:poet }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q10274066 Q101810
P27
Q15617994
USER
Is Ernesto Guerra da Cal a civilian of Zanica ?
(Q10274066,P27,Q101810)
action is_in
entity Q101810
action find
entity Q10274066
relation P27
['Q10274066', 'P27', 'Q101810']
ASK WHERE { resource:Q10274066 property:P27 resource:Q101810 }
Ernesto Guerra da Cal Zanica
action is_in
entity Zanica
action find
entity Ernesto Guerra da Cal
relation country of citizenship
['Ernesto Guerra da Cal', 'country of citizenship', 'Zanica']
ASK WHERE { resource:Ernesto_Guerra_da_Cal property:country_of_citizenship resource:Zanica }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q10274066,P27,Q101810)
action is_in
entity Q101810
action find
entity Q10274066
relation P27
[ANSWER]
['Q10274066', 'P27', 'Q101810']
ASK WHERE { resource:Q10274066 property:P27 resource:Q101810 }
No
action is_in
entity Zanica
action find
entity Ernesto Guerra da Cal
relation country of citizenship
['Ernesto Guerra da Cal', 'country of citizenship', 'Zanica']
ASK WHERE { resource:Ernesto_Guerra_da_Cal property:country_of_citizenship resource:Zanica }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10274066
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
action filter_type
action find
entity Q10274066
relation P19
type Q56061
SELECT DISTINCT ?l WHERE { resource:Q10274066 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Ernesto Guerra da Cal
action filter_type
action find
entity Ernesto Guerra da Cal
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?l WHERE { resource:Ernesto_Guerra_da_Cal property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q485329
SYSTEM
Ferrol
Q485329
action filter_type
action find
entity Q10274066
relation P19
type Q56061
[ANSWER] is the place of birth of that person
SELECT DISTINCT ?l WHERE { resource:Q10274066 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Ferrol
Ferrol is the place of birth of that person
Ferrol
action filter_type
action find
entity Ernesto Guerra da Cal
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?l WHERE { resource:Ernesto_Guerra_da_Cal property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]