Simple Question (Direct)
Simple Question
Q305496
P27
Q7275
USER
Which state is the native country of Nadezhda Shuvayeva-Olkhova ?
(Q305496,P27,c(Q7275))
action filter_type
action find
entity Q305496
relation P27
type Q7275
['Q305496', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q305496 property:P27 ?i . ?i rdf:type ontology:Q7275 }
Nadezhda Shuvayeva-Olkhova
action filter_type
action find
entity Nadezhda Shuvayeva-Olkhova
relation country of citizenship
type state
['Nadezhda Shuvayeva-Olkhova', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Nadezhda_Shuvayeva-Olkhova property:country_of_citizenship ?i . ?i rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q305496,P27,c(Q7275))
action filter_type
action find
entity Q305496
relation P27
type Q7275
The [ANSWER] is the native country of Nadezhda Shuvayeva-Olkhova
['Q305496', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q305496 property:P27 ?i . ?i rdf:type ontology:Q7275 }
Soviet Union
The Soviet Union is the native country of Nadezhda Shuvayeva-Olkhova
Soviet Union
action filter_type
action find
entity Nadezhda Shuvayeva-Olkhova
relation country of citizenship
type state
['Nadezhda Shuvayeva-Olkhova', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Nadezhda_Shuvayeva-Olkhova property:country_of_citizenship ?i . ?i rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q305496
P166
Q618779
USER
What was won by that person ?
(Q15180,P166,c(Q618779))
action filter_type
action find
entity Q305496
relation P166
type Q618779
['Q15180', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q305496 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Nadezhda Shuvayeva-Olkhova
action filter_type
action find
entity Nadezhda Shuvayeva-Olkhova
relation award received
type award
['Soviet Union', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Nadezhda_Shuvayeva-Olkhova property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q583881
SYSTEM
Order of Friendship of Peoples
Q583881
(Q15180,P166,c(Q618779))
action filter_type
action find
entity Q305496
relation P166
type Q618779
The [ANSWER] was won by that person
['Q15180', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q305496 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Order of Friendship of Peoples
The Order of Friendship of Peoples was won by that person
Order of Friendship of Peoples
action filter_type
action find
entity Nadezhda Shuvayeva-Olkhova
relation award received
type award
['Soviet Union', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Nadezhda_Shuvayeva-Olkhova property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q305496
P641
Q349
USER
Which sport was that person a part of ?
(Q583881,P641,c(Q349))
action filter_type
action find
entity Q305496
relation P641
type Q349
['Q583881', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q305496 property:P641 ?w . ?w rdf:type ontology:Q349 }
Nadezhda Shuvayeva-Olkhova
action filter_type
action find
entity Nadezhda Shuvayeva-Olkhova
relation sport
type sport
['Order of Friendship of Peoples', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Nadezhda_Shuvayeva-Olkhova property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q583881,P641,c(Q349))
action filter_type
action find
entity Q305496
relation P641
type Q349
The [ANSWER] was that person a part of
['Q583881', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q305496 property:P641 ?w . ?w rdf:type ontology:Q349 }
basketball
The basketball was that person a part of
basketball
action filter_type
action find
entity Nadezhda Shuvayeva-Olkhova
relation sport
type sport
['Order of Friendship of Peoples', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Nadezhda_Shuvayeva-Olkhova property:sport ?w . ?w rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q162200 Q305496
P641
Q349
USER
Or 1. FC Aschersleben?
OR((Q305496,P641,c(Q349)), (Q162200,P641,c(Q349)))
action filter_type
action union
action find
entity Q305496
relation P641
action find
entity Q162200
relation P641
type Q349
{'OR': [['Q305496', 'P641', {'concept': 'Q349'}], ['Q162200', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q305496 property:P641 ?d } UNION { resource:Q162200 property:P641 ?d } } . ?d rdf:type ontology:Q349 }
1. FC Aschersleben Nadezhda Shuvayeva-Olkhova
action filter_type
action union
action find
entity Nadezhda Shuvayeva-Olkhova
relation sport
action find
entity 1. FC Aschersleben
relation sport
type sport
{'OR': [['Nadezhda Shuvayeva-Olkhova', 'sport', {'concept': 'sport'}], ['1. FC Aschersleben', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Nadezhda_Shuvayeva-Olkhova property:sport ?d } UNION { resource:1._FC_Aschersleben property:sport ?d } } . ?d rdf:type ontology:sport }
[]
sport
Q5372 Q2736
SYSTEM
basketball, association football
Q5372 Q2736
OR((Q305496,P641,c(Q349)), (Q162200,P641,c(Q349)))
action filter_type
action union
action find
entity Q305496
relation P641
action find
entity Q162200
relation P641
type Q349
[ANSWERS]
{'OR': [['Q305496', 'P641', {'concept': 'Q349'}], ['Q162200', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q305496 property:P641 ?d } UNION { resource:Q162200 property:P641 ?d } } . ?d rdf:type ontology:Q349 }
basketball association football
basketball association football
action filter_type
action union
action find
entity Nadezhda Shuvayeva-Olkhova
relation sport
action find
entity 1. FC Aschersleben
relation sport
type sport
{'OR': [['Nadezhda Shuvayeva-Olkhova', 'sport', {'concept': 'sport'}], ['1. FC Aschersleben', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Nadezhda_Shuvayeva-Olkhova property:sport ?d } UNION { resource:1._FC_Aschersleben property:sport ?d } } . ?d rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5372 Q2736
P425
Q12737077
USER
Which occupations do those sports belong to ?
(c(Q12737077),P425,Q5372) (c(Q12737077),P425,Q2736)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q5372'] [{'concept': 'Q12737077'}, 'P425', 'Q2736']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . VALUES ( ?x ) { ( resource:Q5372 ) ( resource:Q2736 ) } . ?z property:P425 ?x }
basketball association football
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'basketball'] [{'concept': 'occupation'}, 'field of this occupation', 'association football']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . VALUES ( ?x ) { ( resource:basketball ) ( resource:association_football ) } . ?z property:field_of_this_occupation ?x }
[]
occupation
Q5137571 Q2304816 Q3665646
SYSTEM
basketball coach, official, basketball player
Q5137571 Q2304816 Q17279652 Q3665646 Q937857 Q628099 Q18052877
(c(Q12737077),P425,Q5372) (c(Q12737077),P425,Q2736)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
Those sports belong to [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q5372'] [{'concept': 'Q12737077'}, 'P425', 'Q2736']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . VALUES ( ?x ) { ( resource:Q5372 ) ( resource:Q2736 ) } . ?z property:P425 ?x }
basketball coach official basketball assistant coach basketball player association football player association football manager assistant coach
Those sports belong to basketball coach, official and basketball player
basketball coach official basketball player
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'basketball'] [{'concept': 'occupation'}, 'field of this occupation', 'association football']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . VALUES ( ?x ) { ( resource:basketball ) ( resource:association_football ) } . ?z property:field_of_this_occupation ?x }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5137571 Q2304816 Q3665646
P425
Q349
USER
Who have basketball coach, official and basketball player as the associated fields of occupation ?
(Q5137571,P425,c(Q349)) (Q2304816,P425,c(Q349)) (Q3665646,P425,c(Q349))
action union
action filter_type
action find
entity Q5137571
relation P425
type Q349
action filter_type
action find
entity Q2304816
relation P425
type Q349
action filter_type
action find
entity Q3665646
relation P425
type Q349
['Q5137571', 'P425', {'concept': 'Q349'}] ['Q2304816', 'P425', {'concept': 'Q349'}] ['Q3665646', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?y ) { ( resource:Q5137571 ) ( resource:Q2304816 ) } . ?y property:P425 ?o }
basketball coach official basketball player
action union
action filter_type
action find
entity basketball coach
relation field of this occupation
type sport
action filter_type
action find
entity official
relation field of this occupation
type sport
action filter_type
action find
entity basketball player
relation field of this occupation
type sport
['basketball coach', 'field of this occupation', {'concept': 'sport'}] ['official', 'field of this occupation', {'concept': 'sport'}] ['basketball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?y ) { ( resource:basketball_coach ) ( resource:official ) } . ?y property:field_of_this_occupation ?o }
[]
sport
Q5372 Q5372 Q5372
SYSTEM
basketball
Q5372 Q5372 Q5372
(Q5137571,P425,c(Q349)) (Q2304816,P425,c(Q349)) (Q3665646,P425,c(Q349))
action union
action filter_type
action find
entity Q5137571
relation P425
type Q349
action filter_type
action find
entity Q2304816
relation P425
type Q349
action filter_type
action find
entity Q3665646
relation P425
type Q349
[ANSWER], [ANSWER] and [ANSWER] have [ANSWER] coach, official and [ANSWER] player as the associated fields of occupation
['Q5137571', 'P425', {'concept': 'Q349'}] ['Q2304816', 'P425', {'concept': 'Q349'}] ['Q3665646', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?y ) { ( resource:Q5137571 ) ( resource:Q2304816 ) } . ?y property:P425 ?o }
basketball basketball basketball
Basketball, basketball and basketball have basketball coach, official and basketball player as the associated fields of occupation
basketball basketball basketball
action union
action filter_type
action find
entity basketball coach
relation field of this occupation
type sport
action filter_type
action find
entity official
relation field of this occupation
type sport
action filter_type
action find
entity basketball player
relation field of this occupation
type sport
['basketball coach', 'field of this occupation', {'concept': 'sport'}] ['official', 'field of this occupation', {'concept': 'sport'}] ['basketball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?y ) { ( resource:basketball_coach ) ( resource:official ) } . ?y property:field_of_this_occupation ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q583881
P17
Q7275
USER
Which state does Order of Friendship of Peoples belong to ?
(Q583881,P17,c(Q7275))
action filter_type
action find
entity Q583881
relation P17
type Q7275
['Q583881', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?l WHERE { resource:Q583881 property:P17 ?l . ?l rdf:type ontology:Q7275 }
Order of Friendship of Peoples
action filter_type
action find
entity Order of Friendship of Peoples
relation country
type state
['Order of Friendship of Peoples', 'country', {'concept': 'state'}]
SELECT DISTINCT ?l WHERE { resource:Order_of_Friendship_of_Peoples property:country ?l . ?l rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q583881,P17,c(Q7275))
action filter_type
action find
entity Q583881
relation P17
type Q7275
Order of Friendship of Peoples belongs to [ANSWER]
['Q583881', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?l WHERE { resource:Q583881 property:P17 ?l . ?l rdf:type ontology:Q7275 }
Soviet Union
Order of Friendship of Peoples belongs to Soviet Union
Soviet Union
action filter_type
action find
entity Order of Friendship of Peoples
relation country
type state
['Order of Friendship of Peoples', 'country', {'concept': 'state'}]
SELECT DISTINCT ?l WHERE { resource:Order_of_Friendship_of_Peoples property:country ?l . ?l rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q84
Q7275
USER
And what about London?
(Q84,P17,c(Q7275))
action filter_type
action find
entity Q84
relation P17
type Q7275
['Q84', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7275 . resource:Q84 property:P17 ?r }
London
action filter_type
action find
entity London
relation country
type state
['London', 'country', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:state . resource:London property:country ?r }
[]
state
Q105092 Q179876 Q174193
SYSTEM
Kingdom of Mercia, Kingdom of England, United Kingdom of Great Britain and Ireland
Q105092 Q161885 Q174193 Q105313 Q110888 Q179876
(Q84,P17,c(Q7275))
action filter_type
action find
entity Q84
relation P17
type Q7275
[ANSWERS]
['Q84', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7275 . resource:Q84 property:P17 ?r }
Kingdom of Mercia Kingdom of Great Britain United Kingdom of Great Britain and Ireland Kingdom of Wessex Kingdom of Essex Kingdom of England
Kingdom of Mercia Kingdom of England United Kingdom of Great Britain and Ireland
action filter_type
action find
entity London
relation country
type state
['London', 'country', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:state . resource:London property:country ?r }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q12664186
P17
Q56061
USER
Are Makaronka located in those states ?
(Q12664186,P17,Q105092) (Q12664186,P17,Q179876) (Q12664186,P17,Q174193)
action is_in
entity prev_answer
action find
entity Q12664186
relation P17
['Q12664186', 'P17', 'Q105092'] ['Q12664186', 'P17', 'Q179876'] ['Q12664186', 'P17', 'Q174193']
ASK WHERE { resource:Q12664186 property:P17 ?n . VALUES ( ?n ) { ( resource:Q105092 ) ( resource:Q161885 ) ( resource:Q174193 ) } }
Makaronka
action is_in
entity prev_answer
action find
entity Makaronka
relation country
['Makaronka', 'country', 'Kingdom of Mercia'] ['Makaronka', 'country', 'Kingdom of England'] ['Makaronka', 'country', 'United Kingdom of Great Britain and Ireland']
ASK WHERE { resource:Makaronka property:country ?n . VALUES ( ?n ) { ( resource:Kingdom_of_Mercia ) ( resource:Kingdom_of_Great_Britain ) ( resource:United_Kingdom_of_Great_Britain_and_Ireland ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q12664186,P17,Q105092) (Q12664186,P17,Q179876) (Q12664186,P17,Q174193)
action is_in
entity prev_answer
action find
entity Q12664186
relation P17
[ANSWER]
['Q12664186', 'P17', 'Q105092'] ['Q12664186', 'P17', 'Q179876'] ['Q12664186', 'P17', 'Q174193']
ASK WHERE { resource:Q12664186 property:P17 ?n . VALUES ( ?n ) { ( resource:Q105092 ) ( resource:Q161885 ) ( resource:Q174193 ) } }
No
action is_in
entity prev_answer
action find
entity Makaronka
relation country
['Makaronka', 'country', 'Kingdom of Mercia'] ['Makaronka', 'country', 'Kingdom of England'] ['Makaronka', 'country', 'United Kingdom of Great Britain and Ireland']
ASK WHERE { resource:Makaronka property:country ?n . VALUES ( ?n ) { ( resource:Kingdom_of_Mercia ) ( resource:Kingdom_of_Great_Britain ) ( resource:United_Kingdom_of_Great_Britain_and_Ireland ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q105092
P710
Q1190554
USER
What event were Kingdom of Mercia a participant of ?
(c(Q1190554),P710,Q105092)
action filter_type
action find_reverse
entity Q105092
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q105092']
SELECT DISTINCT ?u WHERE { ?u property:P710 resource:Q105092 . ?u rdf:type ontology:Q1190554 }
Kingdom of Mercia
action filter_type
action find_reverse
entity Kingdom of Mercia
relation participant
type event
[{'concept': 'event'}, 'participant', 'Kingdom of Mercia']
SELECT DISTINCT ?u WHERE { ?u property:participant resource:Kingdom_of_Mercia . ?u rdf:type ontology:event }
[]
event
Q1939977 Q4870465 Q1818410
SYSTEM
Battle of Ellandun, Battle of Bensington, Battle of Maserfield
Q1939977 Q4870465 Q1818410
(c(Q1190554),P710,Q105092)
action filter_type
action find_reverse
entity Q105092
relation P710
type Q1190554
Kingdom of Mercia were the [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q105092']
SELECT DISTINCT ?u WHERE { ?u property:P710 resource:Q105092 . ?u rdf:type ontology:Q1190554 }
Battle of Ellandun Battle of Bensington Battle of Maserfield
Kingdom of Mercia were the Battle of Ellandun, Battle of Bensington and Battle of Maserfield
Battle of Ellandun Battle of Bensington Battle of Maserfield
action filter_type
action find_reverse
entity Kingdom of Mercia
relation participant
type event
[{'concept': 'event'}, 'participant', 'Kingdom of Mercia']
SELECT DISTINCT ?u WHERE { ?u property:participant resource:Kingdom_of_Mercia . ?u rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q105092
P1376
Q56061
USER
Which administrative territory is the county seat of that state ?
(c(Q56061),P1376,Q1939977) (c(Q56061),P1376,Q4870465) (c(Q56061),P1376,Q1818410)
action filter_type
action find_reverse
entity Q105092
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q1939977'] [{'concept': 'Q56061'}, 'P1376', 'Q4870465'] [{'concept': 'Q56061'}, 'P1376', 'Q1818410']
SELECT DISTINCT ?u WHERE { ?u property:P1376 resource:Q105092 . ?u rdf:type ontology:Q56061 }
Kingdom of Mercia
action filter_type
action find_reverse
entity Kingdom of Mercia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Battle of Ellandun'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Battle of Bensington'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Battle of Maserfield']
SELECT DISTINCT ?u WHERE { ?u property:capital_of resource:Kingdom_of_Mercia . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q704864
SYSTEM
Tamworth
Q704864
(c(Q56061),P1376,Q1939977) (c(Q56061),P1376,Q4870465) (c(Q56061),P1376,Q1818410)
action filter_type
action find_reverse
entity Q105092
relation P1376
type Q56061
[ANSWER] is the county seat of that state
[{'concept': 'Q56061'}, 'P1376', 'Q1939977'] [{'concept': 'Q56061'}, 'P1376', 'Q4870465'] [{'concept': 'Q56061'}, 'P1376', 'Q1818410']
SELECT DISTINCT ?u WHERE { ?u property:P1376 resource:Q105092 . ?u rdf:type ontology:Q56061 }
Tamworth
Tamworth is the county seat of that state
Tamworth
action filter_type
action find_reverse
entity Kingdom of Mercia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Battle of Ellandun'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Battle of Bensington'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Battle of Maserfield']
SELECT DISTINCT ?u WHERE { ?u property:capital_of resource:Kingdom_of_Mercia . ?u rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q867457 Q105092
P1376
Q56061
USER
Or Ciorani?
OR((c(Q56061),P1376,Q105092), (c(Q56061),P1376,Q867457))
action filter_type
action union
action find_reverse
entity Q105092
relation P1376
action find_reverse
entity Q867457
relation P1376
type Q56061
{'OR': [[{'concept': 'Q56061'}, 'P1376', 'Q105092'], [{'concept': 'Q56061'}, 'P1376', 'Q867457']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?e ) { ( resource:Q105092 ) ( resource:Q867457 ) } . ?m property:P1376 ?e } . ?m rdf:type ontology:Q56061 }
Ciorani Kingdom of Mercia
action filter_type
action union
action find_reverse
entity Kingdom of Mercia
relation capital of
action find_reverse
entity Ciorani
relation capital of
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'capital of', 'Kingdom of Mercia'], [{'concept': 'administrative territorial entity'}, 'capital of', 'Ciorani']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?e ) { ( resource:Kingdom_of_Mercia ) ( resource:Ciorani ) } . ?m property:capital_of ?e } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q704864 Q12170458
SYSTEM
Tamworth, Cioranii de Jos
Q704864 Q12170458
OR((c(Q56061),P1376,Q105092), (c(Q56061),P1376,Q867457))
action filter_type
action union
action find_reverse
entity Q105092
relation P1376
action find_reverse
entity Q867457
relation P1376
type Q56061
[ANSWERS]
{'OR': [[{'concept': 'Q56061'}, 'P1376', 'Q105092'], [{'concept': 'Q56061'}, 'P1376', 'Q867457']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?e ) { ( resource:Q105092 ) ( resource:Q867457 ) } . ?m property:P1376 ?e } . ?m rdf:type ontology:Q56061 }
Tamworth Cioranii de Jos
Tamworth Cioranii de Jos
action filter_type
action union
action find_reverse
entity Kingdom of Mercia
relation capital of
action find_reverse
entity Ciorani
relation capital of
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'capital of', 'Kingdom of Mercia'], [{'concept': 'administrative territorial entity'}, 'capital of', 'Ciorani']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?e ) { ( resource:Kingdom_of_Mercia ) ( resource:Ciorani ) } . ?m property:capital_of ?e } . ?m rdf:type ontology:administrative_territorial_entity }
[]