Simple Question (Direct)
Simple Question
Q1282985
P166
Q618779
USER
Which award was received by William Plomer ?
(Q1282985,P166,c(Q618779))
action filter_type
action find
entity Q1282985
relation P166
type Q618779
['Q1282985', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q618779 . resource:Q1282985 property:P166 ?a }
William Plomer
action filter_type
action find
entity William Plomer
relation award received
type award
['William Plomer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:award . resource:William_Plomer property:award_received ?a }
[]
award
Q640312
SYSTEM
Queen's Gold Medal for Poetry
Q640312
(Q1282985,P166,c(Q618779))
action filter_type
action find
entity Q1282985
relation P166
type Q618779
[ANSWER]
['Q1282985', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q618779 . resource:Q1282985 property:P166 ?a }
Queen's Gold Medal for Poetry
Queen's Gold Medal for Poetry
action filter_type
action find
entity William Plomer
relation award received
type award
['William Plomer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:award . resource:William_Plomer property:award_received ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1282985
P106
Q12737077
USER
Which occupations are the professions of William Plomer ?
(Q1282985,P106,c(Q12737077))
action filter_type
action find
entity Q1282985
relation P106
type Q12737077
['Q1282985', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1282985 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
William Plomer
action filter_type
action find
entity William Plomer
relation occupation
type occupation
['William Plomer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:William_Plomer property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q36834 Q36180 Q8178443
SYSTEM
composer, writer, librettist
Q36180 Q8178443 Q36834 Q49757
(Q1282985,P106,c(Q12737077))
action filter_type
action find
entity Q1282985
relation P106
type Q12737077
[ANSWERS]
['Q1282985', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1282985 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
writer librettist composer poet
composer writer librettist
action filter_type
action find
entity William Plomer
relation occupation
type occupation
['William Plomer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:William_Plomer property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4015538
P106
Q502895
USER
Do Vittorio Schifilliti have a job as those occupations ?
(Q4015538,P106,Q36834) (Q4015538,P106,Q36180) (Q4015538,P106,Q8178443)
action is_in
entity prev_answer
action find
entity Q4015538
relation P106
['Q4015538', 'P106', 'Q36834'] ['Q4015538', 'P106', 'Q36180'] ['Q4015538', 'P106', 'Q8178443']
ASK WHERE { VALUES ( ?q ) { ( resource:Q36180 ) ( resource:Q8178443 ) ( resource:Q36834 ) } . resource:Q4015538 property:P106 ?q }
Vittorio Schifilliti
action is_in
entity prev_answer
action find
entity Vittorio Schifilliti
relation occupation
['Vittorio Schifilliti', 'occupation', 'composer'] ['Vittorio Schifilliti', 'occupation', 'writer'] ['Vittorio Schifilliti', 'occupation', 'librettist']
ASK WHERE { VALUES ( ?q ) { ( resource:writer ) ( resource:librettist ) ( resource:composer ) } . resource:Vittorio_Schifilliti property:occupation ?q }
[]
common name
SYSTEM
NO
(Q4015538,P106,Q36834) (Q4015538,P106,Q36180) (Q4015538,P106,Q8178443)
action is_in
entity prev_answer
action find
entity Q4015538
relation P106
[ANSWER]
['Q4015538', 'P106', 'Q36834'] ['Q4015538', 'P106', 'Q36180'] ['Q4015538', 'P106', 'Q8178443']
ASK WHERE { VALUES ( ?q ) { ( resource:Q36180 ) ( resource:Q8178443 ) ( resource:Q36834 ) } . resource:Q4015538 property:P106 ?q }
No
action is_in
entity prev_answer
action find
entity Vittorio Schifilliti
relation occupation
['Vittorio Schifilliti', 'occupation', 'composer'] ['Vittorio Schifilliti', 'occupation', 'writer'] ['Vittorio Schifilliti', 'occupation', 'librettist']
ASK WHERE { VALUES ( ?q ) { ( resource:writer ) ( resource:librettist ) ( resource:composer ) } . resource:Vittorio_Schifilliti property:occupation ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1282985 Q339665 Q258
P27
Q15617994
USER
Is William Plomer a citizen of Haale, Germany and South Africa ?
(Q1282985,P27,Q339665) (Q1282985,P27,Q258)
action is_in
entity Q1282985
action intersection
action find_reverse
entity Q339665
relation P27
action find_reverse
entity Q258
relation P27
['Q1282985', 'P27', 'Q339665'] ['Q1282985', 'P27', 'Q258']
ASK WHERE { resource:Q1282985 property:P27 resource:Q339665 . resource:Q1282985 property:P27 resource:Q258 }
William Plomer Haale, Germany South Africa
action is_in
entity William Plomer
action intersection
action find_reverse
entity Haale, Germany
relation country of citizenship
action find_reverse
entity South Africa
relation country of citizenship
['William Plomer', 'country of citizenship', 'Haale, Germany'] ['William Plomer', 'country of citizenship', 'South Africa']
ASK WHERE { resource:William_Plomer property:country_of_citizenship resource:Haale,_Germany . resource:William_Plomer property:country_of_citizenship resource:South_Africa }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1282985,P27,Q339665) (Q1282985,P27,Q258)
action is_in
entity Q1282985
action intersection
action find_reverse
entity Q339665
relation P27
action find_reverse
entity Q258
relation P27
[ANSWER]
['Q1282985', 'P27', 'Q339665'] ['Q1282985', 'P27', 'Q258']
ASK WHERE { resource:Q1282985 property:P27 resource:Q339665 . resource:Q1282985 property:P27 resource:Q258 }
NO and YES respectively
action is_in
entity William Plomer
action intersection
action find_reverse
entity Haale, Germany
relation country of citizenship
action find_reverse
entity South Africa
relation country of citizenship
['William Plomer', 'country of citizenship', 'Haale, Germany'] ['William Plomer', 'country of citizenship', 'South Africa']
ASK WHERE { resource:William_Plomer property:country_of_citizenship resource:Haale,_Germany . resource:William_Plomer property:country_of_citizenship resource:South_Africa }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q823751 Q339665
P17
Q1048835
USER
Which political territories do Haale, Germany or Ogooué-Maritime Province belong to ?
OR((Q339665,P17,c(Q1048835)), (Q823751,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q339665
relation P17
action find
entity Q823751
relation P17
type Q1048835
{'OR': [['Q339665', 'P17', {'concept': 'Q1048835'}], ['Q823751', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . { ?r property:P17 ?w . VALUES ( ?r ) { ( resource:Q823751 ) ( resource:Q339665 ) } } }
Ogooué-Maritime Province Haale, Germany
action filter_type
action union
action find
entity Haale, Germany
relation country
action find
entity Ogooué-Maritime Province
relation country
type political territorial entity
{'OR': [['Haale, Germany', 'country', {'concept': 'political territorial entity'}], ['Ogooué-Maritime Province', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . { ?r property:country ?w . VALUES ( ?r ) { ( resource:Ogooué-Maritime_Province ) ( resource:Haale,_Germany ) } } }
[]
political territorial entity
Q1000 Q183
SYSTEM
Gabon, Germany
Q1000 Q183
OR((Q339665,P17,c(Q1048835)), (Q823751,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q339665
relation P17
action find
entity Q823751
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q339665', 'P17', {'concept': 'Q1048835'}], ['Q823751', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . { ?r property:P17 ?w . VALUES ( ?r ) { ( resource:Q823751 ) ( resource:Q339665 ) } } }
Gabon Germany
Gabon Germany
action filter_type
action union
action find
entity Haale, Germany
relation country
action find
entity Ogooué-Maritime Province
relation country
type political territorial entity
{'OR': [['Haale, Germany', 'country', {'concept': 'political territorial entity'}], ['Ogooué-Maritime Province', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . { ?r property:country ?w . VALUES ( ?r ) { ( resource:Ogooué-Maritime_Province ) ( resource:Haale,_Germany ) } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q53138
P530
Q15617994
USER
Do Sagrado have diplomatic relations with those political territories ?
(Q53138,P530,Q1000) (Q53138,P530,Q183)
action is_in
entity prev_answer
action find
entity Q53138
relation P530
['Q53138', 'P530', 'Q1000'] ['Q53138', 'P530', 'Q183']
ASK WHERE { VALUES ( ?v ) { ( resource:Q1000 ) ( resource:Q183 ) } . resource:Q53138 property:P530 ?v }
Sagrado
action is_in
entity prev_answer
action find
entity Sagrado
relation diplomatic relation
['Sagrado', 'diplomatic relation', 'Gabon'] ['Sagrado', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?v ) { ( resource:Gabon ) ( resource:Germany ) } . resource:Sagrado property:diplomatic_relation ?v }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q53138,P530,Q1000) (Q53138,P530,Q183)
action is_in
entity prev_answer
action find
entity Q53138
relation P530
[ANSWER]
['Q53138', 'P530', 'Q1000'] ['Q53138', 'P530', 'Q183']
ASK WHERE { VALUES ( ?v ) { ( resource:Q1000 ) ( resource:Q183 ) } . resource:Q53138 property:P530 ?v }
No
action is_in
entity prev_answer
action find
entity Sagrado
relation diplomatic relation
['Sagrado', 'diplomatic relation', 'Gabon'] ['Sagrado', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?v ) { ( resource:Gabon ) ( resource:Germany ) } . resource:Sagrado property:diplomatic_relation ?v }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q36834 Q80513 Q16165777
P417
Q502895
USER
Is Saint Cecilia and Alex Rudiart Hutajulu a patron saint of composer ?
(Q36834,P417,Q80513) (Q36834,P417,Q16165777)
action is_in
entity Q36834
action intersection
action find_reverse
entity Q80513
relation P417
action find_reverse
entity Q16165777
relation P417
['Q36834', 'P417', 'Q80513'] ['Q36834', 'P417', 'Q16165777']
ASK WHERE { resource:Q36834 property:P417 resource:Q80513 . resource:Q36834 property:P417 resource:Q16165777 }
composer Saint Cecilia Alex Rudiart Hutajulu
action is_in
entity composer
action intersection
action find_reverse
entity Saint Cecilia
relation patron saint
action find_reverse
entity Alex Rudiart Hutajulu
relation patron saint
['composer', 'patron saint', 'Saint Cecilia'] ['composer', 'patron saint', 'Alex Rudiart Hutajulu']
ASK WHERE { resource:composer property:patron_saint resource:Saint_Cecilia . resource:composer property:patron_saint resource:Alex_Rudiart_Hutajulu }
[]
common name
SYSTEM
YES and NO respectively
(Q36834,P417,Q80513) (Q36834,P417,Q16165777)
action is_in
entity Q36834
action intersection
action find_reverse
entity Q80513
relation P417
action find_reverse
entity Q16165777
relation P417
[ANSWER]
['Q36834', 'P417', 'Q80513'] ['Q36834', 'P417', 'Q16165777']
ASK WHERE { resource:Q36834 property:P417 resource:Q80513 . resource:Q36834 property:P417 resource:Q16165777 }
YES and NO respectively
action is_in
entity composer
action intersection
action find_reverse
entity Saint Cecilia
relation patron saint
action find_reverse
entity Alex Rudiart Hutajulu
relation patron saint
['composer', 'patron saint', 'Saint Cecilia'] ['composer', 'patron saint', 'Alex Rudiart Hutajulu']
ASK WHERE { resource:composer property:patron_saint resource:Saint_Cecilia . resource:composer property:patron_saint resource:Alex_Rudiart_Hutajulu }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q101199 Q912
P530
Q15617994
USER
Does Germany have diplomatic associations with Locatello and Mali ?
(Q183,P530,Q101199) (Q183,P530,Q912)
action is_in
entity Q183
action intersection
action find_reverse
entity Q101199
relation P530
action find_reverse
entity Q912
relation P530
['Q183', 'P530', 'Q101199'] ['Q183', 'P530', 'Q912']
ASK WHERE { resource:Q183 property:P530 resource:Q101199 . resource:Q183 property:P530 resource:Q912 }
Germany Locatello Mali
action is_in
entity Germany
action intersection
action find_reverse
entity Locatello
relation diplomatic relation
action find_reverse
entity Mali
relation diplomatic relation
['Germany', 'diplomatic relation', 'Locatello'] ['Germany', 'diplomatic relation', 'Mali']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Locatello . resource:Germany property:diplomatic_relation resource:Mali }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q183,P530,Q101199) (Q183,P530,Q912)
action is_in
entity Q183
action intersection
action find_reverse
entity Q101199
relation P530
action find_reverse
entity Q912
relation P530
[ANSWER]
['Q183', 'P530', 'Q101199'] ['Q183', 'P530', 'Q912']
ASK WHERE { resource:Q183 property:P530 resource:Q101199 . resource:Q183 property:P530 resource:Q912 }
NO and YES respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Locatello
relation diplomatic relation
action find_reverse
entity Mali
relation diplomatic relation
['Germany', 'diplomatic relation', 'Locatello'] ['Germany', 'diplomatic relation', 'Mali']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Locatello . resource:Germany property:diplomatic_relation resource:Mali }
[]