Simple Question (Direct)
Simple Question
Q1967530
P106
Q12737077
USER
What does Lia Eliava do for a living ?
(Q1967530,P106,c(Q12737077))
action filter_type
action find
entity Q1967530
relation P106
type Q12737077
['Q1967530', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1967530 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Lia Eliava
action filter_type
action find
entity Lia Eliava
relation occupation
type occupation
['Lia Eliava', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Lia_Eliava property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q1967530,P106,c(Q12737077))
action filter_type
action find
entity Q1967530
relation P106
type Q12737077
Lia Eliava does an [ANSWER] for a living
['Q1967530', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1967530 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
actor
Lia Eliava does an actor for a living
actor
action filter_type
action find
entity Lia Eliava
relation occupation
type occupation
['Lia Eliava', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Lia_Eliava property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1967530
P20
Q56061
USER
Where did the demise of Lia Eliava occur ?
(Q1967530,P20,c(Q56061))
action filter_type
action find
entity Q1967530
relation P20
type Q56061
['Q1967530', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1967530 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Lia Eliava
action filter_type
action find
entity Lia Eliava
relation place of death
type administrative territorial entity
['Lia Eliava', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Lia_Eliava property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q994
SYSTEM
Tbilisi
Q994
(Q1967530,P20,c(Q56061))
action filter_type
action find
entity Q1967530
relation P20
type Q56061
The demise of Lia Eliava occurred in [ANSWER]
['Q1967530', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1967530 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Tbilisi
The demise of Lia Eliava occurred in Tbilisi
Tbilisi
action filter_type
action find
entity Lia Eliava
relation place of death
type administrative territorial entity
['Lia Eliava', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Lia_Eliava property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1967530
P19
Q56061
USER
Where was that person born ?
(Q994,P19,c(Q56061))
action filter_type
action find
entity Q1967530
relation P19
type Q56061
['Q994', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1967530 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Lia Eliava
action filter_type
action find
entity Lia Eliava
relation place of birth
type administrative territorial entity
['Tbilisi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Lia_Eliava property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q994
SYSTEM
Tbilisi
Q994
(Q994,P19,c(Q56061))
action filter_type
action find
entity Q1967530
relation P19
type Q56061
That person was born in [ANSWER]
['Q994', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1967530 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Tbilisi
That person was born in Tbilisi
Tbilisi
action filter_type
action find
entity Lia Eliava
relation place of birth
type administrative territorial entity
['Tbilisi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Lia_Eliava property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q994 Q230
P36
Q15617994
USER
Does Georgia consist of that administrative territory as its capital ?
(Q230,P36,Q994)
action is_in
entity Q994
action find
entity Q230
relation P36
['Q230', 'P36', 'Q994']
ASK WHERE { resource:Q230 property:P36 resource:Q994 }
Tbilisi Georgia
action is_in
entity Tbilisi
action find
entity Georgia
relation capital
['Georgia', 'capital', 'Tbilisi']
ASK WHERE { resource:Georgia property:capital resource:Tbilisi }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P36,Q994)
action is_in
entity Q994
action find
entity Q230
relation P36
[ANSWER]
['Q230', 'P36', 'Q994']
ASK WHERE { resource:Q230 property:P36 resource:Q994 }
Yes
action is_in
entity Tbilisi
action find
entity Georgia
relation capital
['Georgia', 'capital', 'Tbilisi']
ASK WHERE { resource:Georgia property:capital resource:Tbilisi }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1967530 Q637352 Q1419437
P27
Q15617994
USER
Is Lia Eliava a native of Kirchheim and Höllerbach ?
(Q1967530,P27,Q637352) (Q1967530,P27,Q1419437)
action is_in
entity Q1967530
action intersection
action find_reverse
entity Q637352
relation P27
action find_reverse
entity Q1419437
relation P27
['Q1967530', 'P27', 'Q637352'] ['Q1967530', 'P27', 'Q1419437']
ASK WHERE { resource:Q1967530 property:P27 resource:Q1419437 . resource:Q1967530 property:P27 resource:Q637352 }
Lia Eliava Kirchheim Höllerbach
action is_in
entity Lia Eliava
action intersection
action find_reverse
entity Kirchheim
relation country of citizenship
action find_reverse
entity Höllerbach
relation country of citizenship
['Lia Eliava', 'country of citizenship', 'Kirchheim'] ['Lia Eliava', 'country of citizenship', 'Höllerbach']
ASK WHERE { resource:Lia_Eliava property:country_of_citizenship resource:Höllerbach . resource:Lia_Eliava property:country_of_citizenship resource:Kirchheim }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1967530,P27,Q637352) (Q1967530,P27,Q1419437)
action is_in
entity Q1967530
action intersection
action find_reverse
entity Q637352
relation P27
action find_reverse
entity Q1419437
relation P27
[ANSWER]
['Q1967530', 'P27', 'Q637352'] ['Q1967530', 'P27', 'Q1419437']
ASK WHERE { resource:Q1967530 property:P27 resource:Q1419437 . resource:Q1967530 property:P27 resource:Q637352 }
No
action is_in
entity Lia Eliava
action intersection
action find_reverse
entity Kirchheim
relation country of citizenship
action find_reverse
entity Höllerbach
relation country of citizenship
['Lia Eliava', 'country of citizenship', 'Kirchheim'] ['Lia Eliava', 'country of citizenship', 'Höllerbach']
ASK WHERE { resource:Lia_Eliava property:country_of_citizenship resource:Höllerbach . resource:Lia_Eliava property:country_of_citizenship resource:Kirchheim }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q994 Q20586596 Q12158462
P190
Q56061
USER
Is Tbilisi a sister city of Corazon de Jesus, Villa Clara and Stignița ?
(Q994,P190,Q20586596) (Q994,P190,Q12158462)
action is_in
entity Q994
action intersection
action find_reverse
entity Q20586596
relation P190
action find_reverse
entity Q12158462
relation P190
['Q994', 'P190', 'Q20586596'] ['Q994', 'P190', 'Q12158462']
ASK WHERE { resource:Q994 property:P190 resource:Q20586596 . resource:Q994 property:P190 resource:Q12158462 }
Tbilisi Corazon de Jesus, Villa Clara Stignița
action is_in
entity Tbilisi
action intersection
action find_reverse
entity Corazon de Jesus, Villa Clara
relation sister city
action find_reverse
entity Stignița
relation sister city
['Tbilisi', 'sister city', 'Corazon de Jesus, Villa Clara'] ['Tbilisi', 'sister city', 'Stignița']
ASK WHERE { resource:Tbilisi property:sister_city resource:Corazon_de_Jesus,_Villa_Clara . resource:Tbilisi property:sister_city resource:Stignița }
[]
administrative territorial entity
SYSTEM
NO
(Q994,P190,Q20586596) (Q994,P190,Q12158462)
action is_in
entity Q994
action intersection
action find_reverse
entity Q20586596
relation P190
action find_reverse
entity Q12158462
relation P190
[ANSWER]
['Q994', 'P190', 'Q20586596'] ['Q994', 'P190', 'Q12158462']
ASK WHERE { resource:Q994 property:P190 resource:Q20586596 . resource:Q994 property:P190 resource:Q12158462 }
No
action is_in
entity Tbilisi
action intersection
action find_reverse
entity Corazon de Jesus, Villa Clara
relation sister city
action find_reverse
entity Stignița
relation sister city
['Tbilisi', 'sister city', 'Corazon de Jesus, Villa Clara'] ['Tbilisi', 'sister city', 'Stignița']
ASK WHERE { resource:Tbilisi property:sister_city resource:Corazon_de_Jesus,_Villa_Clara . resource:Tbilisi property:sister_city resource:Stignița }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q994
P17
Q5589178
USER
Which regime is Tbilisi present in ?
(Q994,P17,c(Q5589178))
action filter_type
action find
entity Q994
relation P17
type Q5589178
['Q994', 'P17', {'concept': 'Q5589178'}]
SELECT DISTINCT ?m WHERE { resource:Q994 property:P17 ?m . ?m rdf:type ontology:Q5589178 }
Tbilisi
action filter_type
action find
entity Tbilisi
relation country
type regime
['Tbilisi', 'country', {'concept': 'regime'}]
SELECT DISTINCT ?m WHERE { resource:Tbilisi property:country ?m . ?m rdf:type ontology:regime }
[]
regime
Q330756
SYSTEM
Transcaucasian Democratic Federative Republic
Q330756
(Q994,P17,c(Q5589178))
action filter_type
action find
entity Q994
relation P17
type Q5589178
Which regime is Tbilisi present in
['Q994', 'P17', {'concept': 'Q5589178'}]
SELECT DISTINCT ?m WHERE { resource:Q994 property:P17 ?m . ?m rdf:type ontology:Q5589178 }
Transcaucasian Democratic Federative Republic
Which regime is Tbilisi present in
Transcaucasian Democratic Federative Republic
action filter_type
action find
entity Tbilisi
relation country
type regime
['Tbilisi', 'country', {'concept': 'regime'}]
SELECT DISTINCT ?m WHERE { resource:Tbilisi property:country ?m . ?m rdf:type ontology:regime }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q698774
Q5589178
USER
And how about Kunyang Station?
(Q698774,P17,c(Q5589178))
action filter_type
action find
entity Q698774
relation P17
type Q5589178
['Q698774', 'P17', {'concept': 'Q5589178'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q5589178 . resource:Q698774 property:P17 ?w }
Kunyang Station
action filter_type
action find
entity Kunyang Station
relation country
type regime
['Kunyang Station', 'country', {'concept': 'regime'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:regime . resource:Kunyang_Station property:country ?w }
[]
regime
Q865
SYSTEM
Taiwan
Q865
(Q698774,P17,c(Q5589178))
action filter_type
action find
entity Q698774
relation P17
type Q5589178
[ANSWER]
['Q698774', 'P17', {'concept': 'Q5589178'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q5589178 . resource:Q698774 property:P17 ?w }
Taiwan
Taiwan
action filter_type
action find
entity Kunyang Station
relation country
type regime
['Kunyang Station', 'country', {'concept': 'regime'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:regime . resource:Kunyang_Station property:country ?w }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P85
Q7725634 Q484692 Q5589178
USER
Which regimes have an anthem named more number of literary works or hymns than that regime ?
(c(Q5589178),P85,c(Q7725634)|c(Q484692))
action greater
action union
action find_tuple_counts
relation P85
type Q5589178
type Q7725634
action find_tuple_counts
relation P85
type Q5589178
type Q484692
action count
action filter_multi_types
action find
entity Q865
relation P85
type Q7725634
type Q484692
[{'concept': 'Q5589178'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q865 property:P85 ?h . { { ?h rdf:type ontology:Q7725634 } UNION { ?h rdf:type ontology:Q484692 } } } } . FILTER ( ?l > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?l ) WHERE { { ?n property:P85 ?m . ?n rdf:type ontology:Q5589178 . ?m rdf:type ontology:Q7725634 } UNION { ?n property:P85 ?m . ?n rdf:type ontology:Q5589178 . ?m rdf:type ontology:Q484692 } } GROUP BY ?n } }
action greater
action union
action find_tuple_counts
relation anthem
type regime
type literary work
action find_tuple_counts
relation anthem
type regime
type hymn
action count
action filter_multi_types
action find
entity Taiwan
relation anthem
type literary work
type hymn
[{'concept': 'regime'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Taiwan property:anthem ?h . { { ?h rdf:type ontology:literary_work } UNION { ?h rdf:type ontology:hymn } } } } . FILTER ( ?l > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?l ) WHERE { { ?n property:anthem ?m . ?n rdf:type ontology:regime . ?m rdf:type ontology:literary_work } UNION { ?n property:anthem ?m . ?n rdf:type ontology:regime . ?m rdf:type ontology:hymn } } GROUP BY ?n } }
[]
literary work hymn regime
SYSTEM
1
Q865
(c(Q5589178),P85,c(Q7725634)|c(Q484692))
action greater
action union
action find_tuple_counts
relation P85
type Q5589178
type Q7725634
action find_tuple_counts
relation P85
type Q5589178
type Q484692
action count
action filter_multi_types
action find
entity Q865
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q5589178'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q865 property:P85 ?h . { { ?h rdf:type ontology:Q7725634 } UNION { ?h rdf:type ontology:Q484692 } } } } . FILTER ( ?l > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?l ) WHERE { { ?n property:P85 ?m . ?n rdf:type ontology:Q5589178 . ?m rdf:type ontology:Q7725634 } UNION { ?n property:P85 ?m . ?n rdf:type ontology:Q5589178 . ?m rdf:type ontology:Q484692 } } GROUP BY ?n } }
Taiwan
1
action greater
action union
action find_tuple_counts
relation anthem
type regime
type literary work
action find_tuple_counts
relation anthem
type regime
type hymn
action count
action filter_multi_types
action find
entity Taiwan
relation anthem
type literary work
type hymn
[{'concept': 'regime'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Taiwan property:anthem ?h . { { ?h rdf:type ontology:literary_work } UNION { ?h rdf:type ontology:hymn } } } } . FILTER ( ?l > ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?l ) WHERE { { ?n property:anthem ?m . ?n rdf:type ontology:regime . ?m rdf:type ontology:literary_work } UNION { ?n property:anthem ?m . ?n rdf:type ontology:regime . ?m rdf:type ontology:hymn } } GROUP BY ?n } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q734550 Q1419437
P47 P17
Q1048835
USER
Which political territories are Höllerbach located in or are bordered by Otxandio ?
OR((Q1419437,P17,c(Q1048835)), (Q734550,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1419437
relation P17
action find
entity Q734550
relation P47
type Q1048835
{'OR': [['Q1419437', 'P17', {'concept': 'Q1048835'}], ['Q734550', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1419437 property:P17 ?l } UNION { resource:Q734550 property:P47 ?l } } . ?l rdf:type ontology:Q1048835 }
Otxandio Höllerbach
action filter_type
action union
action find
entity Höllerbach
relation country
action find
entity Otxandio
relation shares border with
type political territorial entity
{'OR': [['Höllerbach', 'country', {'concept': 'political territorial entity'}], ['Otxandio', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Höllerbach property:country ?l } UNION { resource:Otxandio property:shares_border_with ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q744893 Q1611490 Q183 Q1227932 Q976743 Q663530
SYSTEM
Abadiño, Legutio, Germany, Ubide, Aramaio, Dima
Q744893 Q1611490 Q183 Q1227932 Q976743 Q663530
OR((Q1419437,P17,c(Q1048835)), (Q734550,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1419437
relation P17
action find
entity Q734550
relation P47
type Q1048835
[ANSWERS]
{'OR': [['Q1419437', 'P17', {'concept': 'Q1048835'}], ['Q734550', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1419437 property:P17 ?l } UNION { resource:Q734550 property:P47 ?l } } . ?l rdf:type ontology:Q1048835 }
Abadiño Legutio Germany Ubide Aramaio Dima
Which political territories are Höllerbach located in or are bordered by Otxandio
Abadiño Legutio Germany Ubide Aramaio Dima
action filter_type
action union
action find
entity Höllerbach
relation country
action find
entity Otxandio
relation shares border with
type political territorial entity
{'OR': [['Höllerbach', 'country', {'concept': 'political territorial entity'}], ['Otxandio', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Höllerbach property:country ?l } UNION { resource:Otxandio property:shares_border_with ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q744893 Q1611490 Q183 Q1227932 Q976743 Q663530
P1313
Q12737077
USER
Which occupations are fulfilled by those political territories ?
(Q744893,P1313,c(Q12737077)) (Q1611490,P1313,c(Q12737077)) (Q183,P1313,c(Q12737077)) (Q1227932,P1313,c(Q12737077)) (Q976743,P1313,c(Q12737077)) (Q663530,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
['Q744893', 'P1313', {'concept': 'Q12737077'}] ['Q1611490', 'P1313', {'concept': 'Q12737077'}] ['Q183', 'P1313', {'concept': 'Q12737077'}] ['Q1227932', 'P1313', {'concept': 'Q12737077'}] ['Q976743', 'P1313', {'concept': 'Q12737077'}] ['Q663530', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?n ) { ( resource:Q744893 ) ( resource:Q1611490 ) ( resource:Q183 ) } . ?n property:P1313 ?r . ?r rdf:type ontology:Q12737077 }
Abadiño Legutio Germany Ubide Aramaio Dima
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Abadiño', 'office held by head of government', {'concept': 'occupation'}] ['Legutio', 'office held by head of government', {'concept': 'occupation'}] ['Germany', 'office held by head of government', {'concept': 'occupation'}] ['Ubide', 'office held by head of government', {'concept': 'occupation'}] ['Aramaio', 'office held by head of government', {'concept': 'occupation'}] ['Dima', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?n ) { ( resource:Abadiño ) ( resource:Legutio ) ( resource:Germany ) } . ?n property:office_held_by_head_of_government ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q4970706 Q26699831 Q26692097
SYSTEM
Federal Chancellor of Germany, mayor of Abadiano, mayor of Villarreal de Álava
Q26699831 Q26692097 Q4970706 Q26690519 Q26702071 Q26699515
(Q744893,P1313,c(Q12737077)) (Q1611490,P1313,c(Q12737077)) (Q183,P1313,c(Q12737077)) (Q1227932,P1313,c(Q12737077)) (Q976743,P1313,c(Q12737077)) (Q663530,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
[ANSWERS] are fulfilled by those political territories
['Q744893', 'P1313', {'concept': 'Q12737077'}] ['Q1611490', 'P1313', {'concept': 'Q12737077'}] ['Q183', 'P1313', {'concept': 'Q12737077'}] ['Q1227932', 'P1313', {'concept': 'Q12737077'}] ['Q976743', 'P1313', {'concept': 'Q12737077'}] ['Q663530', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?n ) { ( resource:Q744893 ) ( resource:Q1611490 ) ( resource:Q183 ) } . ?n property:P1313 ?r . ?r rdf:type ontology:Q12737077 }
mayor of Abadiano mayor of Villarreal de Álava Federal Chancellor of Germany mayor of Ubidea mayor of Aramayona mayor of Dima
Federal Chancellor of Germany, mayor of Abadiano and mayor of Villarreal de Álava are fulfilled by those political territories
Federal Chancellor of Germany mayor of Abadiano mayor of Villarreal de Álava
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Abadiño', 'office held by head of government', {'concept': 'occupation'}] ['Legutio', 'office held by head of government', {'concept': 'occupation'}] ['Germany', 'office held by head of government', {'concept': 'occupation'}] ['Ubide', 'office held by head of government', {'concept': 'occupation'}] ['Aramaio', 'office held by head of government', {'concept': 'occupation'}] ['Dima', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?n ) { ( resource:Abadiño ) ( resource:Legutio ) ( resource:Germany ) } . ?n property:office_held_by_head_of_government ?r . ?r rdf:type ontology:occupation }
[]