Simple Question (Direct)
Simple Question
Q1733084
P106
Q12737077
USER
Which occupation has Karl Steinhart as his/her 's career ?
(Q1733084,P106,c(Q12737077))
action filter_type
action find
entity Q1733084
relation P106
type Q12737077
['Q1733084', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1733084 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Karl Steinhart
action filter_type
action find
entity Karl Steinhart
relation occupation
type occupation
['Karl Steinhart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Karl_Steinhart property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1733084,P106,c(Q12737077))
action filter_type
action find
entity Q1733084
relation P106
type Q12737077
As [ANSWER] has Karl Steinhart as his/her 's career
['Q1733084', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1733084 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician
As politician has Karl Steinhart as his/her 's career
politician
action filter_type
action find
entity Karl Steinhart
relation occupation
type occupation
['Karl Steinhart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Karl_Steinhart property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1733084
P937
Q56061
USER
Which administrative territory is the work location of Karl Steinhart ?
(Q1733084,P937,c(Q56061))
action filter_type
action find
entity Q1733084
relation P937
type Q56061
['Q1733084', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1733084 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Karl Steinhart
action filter_type
action find
entity Karl Steinhart
relation work location
type administrative territorial entity
['Karl Steinhart', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Karl_Steinhart property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1718
SYSTEM
Düsseldorf
Q1718
(Q1733084,P937,c(Q56061))
action filter_type
action find
entity Q1733084
relation P937
type Q56061
[ANSWER] is the work location of Karl Steinhart
['Q1733084', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1733084 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Düsseldorf
Düsseldorf is the work location of Karl Steinhart
Düsseldorf
action filter_type
action find
entity Karl Steinhart
relation work location
type administrative territorial entity
['Karl Steinhart', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Karl_Steinhart property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1733084
P102
Q7278
USER
Which political party is that person a member of ?
(Q1718,P102,c(Q7278))
action filter_type
action find
entity Q1733084
relation P102
type Q7278
['Q1718', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7278 . resource:Q1733084 property:P102 ?p }
Karl Steinhart
action filter_type
action find
entity Karl Steinhart
relation member of political party
type political party
['Düsseldorf', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_party . resource:Karl_Steinhart property:member_of_political_party ?p }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1718,P102,c(Q7278))
action filter_type
action find
entity Q1733084
relation P102
type Q7278
[ANSWER] is that person a member of
['Q1718', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7278 . resource:Q1733084 property:P102 ?p }
Social Democratic Party of Germany
Social Democratic Party of Germany is that person a member of
Social Democratic Party of Germany
action filter_type
action find
entity Karl Steinhart
relation member of political party
type political party
['Düsseldorf', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_party . resource:Karl_Steinhart property:member_of_political_party ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q7278 Q7210356
USER
How many political parties or political organizations had that political party as their member ?
(Q49768,P463,c(Q7278)) (Q49768,P463,c(Q7210356)) (Q49768,P463,c(Q7278)) (Q49768,P463,c(Q7210356))
action count
action union
action filter_type
action find
entity Q49768
relation P463
type Q7278
action filter_type
action find
entity Q49768
relation P463
type Q7210356
['Q49768', 'P463', {'concept': 'Q7278'}] ['Q49768', 'P463', {'concept': 'Q7210356'}] ['Q49768', 'P463', {'concept': 'Q7278'}] ['Q49768', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?e ) { ( ontology:Q7278 ) ( ontology:Q7210356 ) } . ?n rdf:type ?e }
action count
action union
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type political party
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type political organization
['Social Democratic Party of Germany', 'member of', {'concept': 'political party'}] ['Social Democratic Party of Germany', 'member of', {'concept': 'political organization'}] ['Social Democratic Party of Germany', 'member of', {'concept': 'political party'}] ['Social Democratic Party of Germany', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?e ) { ( ontology:political_party ) ( ontology:political_organization ) } . ?n rdf:type ?e }
[]
political party political organization
SYSTEM
2
Q7248622 Q220945
(Q49768,P463,c(Q7278)) (Q49768,P463,c(Q7210356)) (Q49768,P463,c(Q7278)) (Q49768,P463,c(Q7210356))
action count
action union
action filter_type
action find
entity Q49768
relation P463
type Q7278
action filter_type
action find
entity Q49768
relation P463
type Q7210356
[ANSWER]
['Q49768', 'P463', {'concept': 'Q7278'}] ['Q49768', 'P463', {'concept': 'Q7210356'}] ['Q49768', 'P463', {'concept': 'Q7278'}] ['Q49768', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?e ) { ( ontology:Q7278 ) ( ontology:Q7210356 ) } . ?n rdf:type ?e }
Progressive Alliance Party of European Socialists
2
action count
action union
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type political party
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type political organization
['Social Democratic Party of Germany', 'member of', {'concept': 'political party'}] ['Social Democratic Party of Germany', 'member of', {'concept': 'political organization'}] ['Social Democratic Party of Germany', 'member of', {'concept': 'political party'}] ['Social Democratic Party of Germany', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?e ) { ( ontology:political_party ) ( ontology:political_organization ) } . ?n rdf:type ?e }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1605971 Q1733084
P47 P27
Q1048835
USER
Which political territories do Karl Steinhart belong to or share the border with Barjas ?
OR((Q1733084,P27,c(Q1048835)), (Q1605971,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1733084
relation P27
action find
entity Q1605971
relation P47
type Q1048835
{'OR': [['Q1733084', 'P27', {'concept': 'Q1048835'}], ['Q1605971', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1733084 property:P27 ?w } UNION { resource:Q1605971 property:P47 ?w } } . ?w rdf:type ontology:Q1048835 }
Barjas Karl Steinhart
action filter_type
action union
action find
entity Karl Steinhart
relation country of citizenship
action find
entity Barjas
relation shares border with
type political territorial entity
{'OR': [['Karl Steinhart', 'country of citizenship', {'concept': 'political territorial entity'}], ['Barjas', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Karl_Steinhart property:country_of_citizenship ?w } UNION { resource:Barjas property:shares_border_with ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q842698 Q967734 Q1442729 Q918084 Q183 Q1447369 Q1617652
SYSTEM
Trabadelo, Pedrafita do Cebreiro, Corullón, Vega de Valcarce, Germany, Folgoso do Courel, Oencia
Q842698 Q967734 Q1442729 Q918084 Q183 Q1447369 Q1617652
OR((Q1733084,P27,c(Q1048835)), (Q1605971,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1733084
relation P27
action find
entity Q1605971
relation P47
type Q1048835
Karl Steinhart belong to Nazi [ANSWERS]
{'OR': [['Q1733084', 'P27', {'concept': 'Q1048835'}], ['Q1605971', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1733084 property:P27 ?w } UNION { resource:Q1605971 property:P47 ?w } } . ?w rdf:type ontology:Q1048835 }
Trabadelo Pedrafita do Cebreiro Corullón Vega de Valcarce Germany Folgoso do Courel Oencia
Karl Steinhart belong to Nazi Trabadelo, Pedrafita do Cebreiro, Corullón, Vega de Valcarce, Germany, Folgoso do Courel and Oencia
Trabadelo Pedrafita do Cebreiro Corullón Vega de Valcarce Germany Folgoso do Courel Oencia
action filter_type
action union
action find
entity Karl Steinhart
relation country of citizenship
action find
entity Barjas
relation shares border with
type political territorial entity
{'OR': [['Karl Steinhart', 'country of citizenship', {'concept': 'political territorial entity'}], ['Barjas', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Karl_Steinhart property:country_of_citizenship ?w } UNION { resource:Barjas property:shares_border_with ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1637406
P206
Q355304 Q15324 Q1048835
USER
Which political territories are located next to greater number of watercourses or bodies of water than Ruiloba ?
(c(Q1048835),P206,c(Q355304)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q1637406
relation P206
type Q355304
type Q15324
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) ?m WHERE { { ?m property:P206 ?u . ?u rdf:type ontology:Q15324 . ?m rdf:type ontology:Q1048835 } UNION { ?m property:P206 ?u . ?m rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q355304 } } GROUP BY ?m } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } . resource:Q1637406 property:P206 ?q } } }
Ruiloba
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Ruiloba
relation located next to body of water
type watercourse
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) ?m WHERE { { ?m property:located_next_to_body_of_water ?u . ?u rdf:type ontology:body_of_water . ?m rdf:type ontology:political_territorial_entity } UNION { ?m property:located_next_to_body_of_water ?u . ?m rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:watercourse } } GROUP BY ?m } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } . resource:Ruiloba property:located_next_to_body_of_water ?q } } }
[]
watercourse body of water political territorial entity
Q40 Q2898 Q5061
SYSTEM
Austria, Rostock District, East Nusa Tenggara Province
Q5075 Q5061 Q5062 Q40 Q5093 Q1905388 Q2898 Q10996863 Q505610 Q109128 Q3916 Q213361 Q207176
(c(Q1048835),P206,c(Q355304)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action count
action filter_multi_types
action find
entity Q1637406
relation P206
type Q355304
type Q15324
[ANSWERS] are located next to greater number of watercourses or bodies of water than Ruiloba
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) ?m WHERE { { ?m property:P206 ?u . ?u rdf:type ontology:Q15324 . ?m rdf:type ontology:Q1048835 } UNION { ?m property:P206 ?u . ?m rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q355304 } } GROUP BY ?m } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } . resource:Q1637406 property:P206 ?q } } }
South East Sulawesi Province East Nusa Tenggara Province West Nusa Tenggara Austria Maluku Province L'Alcúdia de Crespins Rostock District City and County of Swansea Flintshire Gwynedd Kalimantan Barat Pembrokeshire Monmouthshire
Austria, Rostock District and East Nusa Tenggara Province are located next to greater number of watercourses or bodies of water than Ruiloba
Austria Rostock District East Nusa Tenggara Province
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action count
action filter_multi_types
action find
entity Ruiloba
relation located next to body of water
type watercourse
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) ?m WHERE { { ?m property:located_next_to_body_of_water ?u . ?u rdf:type ontology:body_of_water . ?m rdf:type ontology:political_territorial_entity } UNION { ?m property:located_next_to_body_of_water ?u . ?m rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:watercourse } } GROUP BY ?m } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } . resource:Ruiloba property:located_next_to_body_of_water ?q } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q1442729
P47 P17
Q1048835
USER
Which political territories do Corullón share a border with and are present in Spain ?
AND((c(Q1048835),P47,Q1442729), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1442729
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q1442729'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . ?q property:P47 resource:Q1442729 . ?q property:P17 resource:Q29 }
Spain Corullón
action filter_type
action intersection
action find_reverse
entity Corullón
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Corullón'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . ?q property:shares_border_with resource:Corullón . ?q property:country resource:Spain }
[]
political territorial entity
Q848300 Q3332541 Q1605971 Q842698
SYSTEM
Villafranca del Bierzo, Toral de los Vados, Barjas, Trabadelo
Q848300 Q3332541 Q1605971 Q842698
AND((c(Q1048835),P47,Q1442729), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1442729
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
Corullón share a border with the [ANSWERS] and are present in Spain
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q1442729'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . ?q property:P47 resource:Q1442729 . ?q property:P17 resource:Q29 }
Villafranca del Bierzo Toral de los Vados Barjas Trabadelo
Corullón share a border with the Villafranca del Bierzo, Toral de los Vados, Barjas and Trabadelo and are present in Spain
Villafranca del Bierzo Toral de los Vados Barjas Trabadelo
action filter_type
action intersection
action find_reverse
entity Corullón
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Corullón'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . ?q property:shares_border_with resource:Corullón . ?q property:country resource:Spain }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1442729
P47
Q1048835
USER
Are Corullón next to the border of those ones ?
(Q1442729,P47,Q848300) (Q1442729,P47,Q3332541) (Q1442729,P47,Q1605971) (Q1442729,P47,Q842698)
action is_in
entity prev_answer
action find
entity Q1442729
relation P47
['Q1442729', 'P47', 'Q848300'] ['Q1442729', 'P47', 'Q3332541'] ['Q1442729', 'P47', 'Q1605971'] ['Q1442729', 'P47', 'Q842698']
ASK WHERE { VALUES ( ?b ) { ( resource:Q848300 ) ( resource:Q3332541 ) ( resource:Q1605971 ) } . resource:Q1442729 property:P47 ?b }
Corullón
action is_in
entity prev_answer
action find
entity Corullón
relation shares border with
['Corullón', 'shares border with', 'Villafranca del Bierzo'] ['Corullón', 'shares border with', 'Toral de los Vados'] ['Corullón', 'shares border with', 'Barjas'] ['Corullón', 'shares border with', 'Trabadelo']
ASK WHERE { VALUES ( ?b ) { ( resource:Villafranca_del_Bierzo ) ( resource:Toral_de_los_Vados ) ( resource:Barjas ) } . resource:Corullón property:shares_border_with ?b }
[]
political territorial entity
SYSTEM
YES
(Q1442729,P47,Q848300) (Q1442729,P47,Q3332541) (Q1442729,P47,Q1605971) (Q1442729,P47,Q842698)
action is_in
entity prev_answer
action find
entity Q1442729
relation P47
[ANSWER]
['Q1442729', 'P47', 'Q848300'] ['Q1442729', 'P47', 'Q3332541'] ['Q1442729', 'P47', 'Q1605971'] ['Q1442729', 'P47', 'Q842698']
ASK WHERE { VALUES ( ?b ) { ( resource:Q848300 ) ( resource:Q3332541 ) ( resource:Q1605971 ) } . resource:Q1442729 property:P47 ?b }
Yes
action is_in
entity prev_answer
action find
entity Corullón
relation shares border with
['Corullón', 'shares border with', 'Villafranca del Bierzo'] ['Corullón', 'shares border with', 'Toral de los Vados'] ['Corullón', 'shares border with', 'Barjas'] ['Corullón', 'shares border with', 'Trabadelo']
ASK WHERE { VALUES ( ?b ) { ( resource:Villafranca_del_Bierzo ) ( resource:Toral_de_los_Vados ) ( resource:Barjas ) } . resource:Corullón property:shares_border_with ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q918084
P1001
Q12737077
USER
Which occupation presides the jurisdiction over Vega de Valcarce ?
(c(Q12737077),P1001,Q918084)
action filter_type
action find_reverse
entity Q918084
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q918084']
SELECT DISTINCT ?b WHERE { ?b property:P1001 resource:Q918084 . ?b rdf:type ontology:Q12737077 }
Vega de Valcarce
action filter_type
action find_reverse
entity Vega de Valcarce
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Vega de Valcarce']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction resource:Vega_de_Valcarce . ?b rdf:type ontology:occupation }
[]
occupation
Q26700991
SYSTEM
mayor of Vega de Valcarce
Q26700991
(c(Q12737077),P1001,Q918084)
action filter_type
action find_reverse
entity Q918084
relation P1001
type Q12737077
The [ANSWER] presides the jurisdiction over Vega de Valcarce
[{'concept': 'Q12737077'}, 'P1001', 'Q918084']
SELECT DISTINCT ?b WHERE { ?b property:P1001 resource:Q918084 . ?b rdf:type ontology:Q12737077 }
mayor of Vega de Valcarce
The mayor of Vega de Valcarce presides the jurisdiction over Vega de Valcarce
mayor of Vega de Valcarce
action filter_type
action find_reverse
entity Vega de Valcarce
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Vega de Valcarce']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction resource:Vega_de_Valcarce . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q918084
P1313
Q12737077
USER
Which occupation is fulfilled by Vega de Valcarce ?
(Q918084,P1313,c(Q12737077))
action filter_type
action find
entity Q918084
relation P1313
type Q12737077
['Q918084', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q918084 property:P1313 ?u . ?u rdf:type ontology:Q12737077 }
Vega de Valcarce
action filter_type
action find
entity Vega de Valcarce
relation office held by head of government
type occupation
['Vega de Valcarce', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Vega_de_Valcarce property:office_held_by_head_of_government ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q26700991
SYSTEM
mayor of Vega de Valcarce
Q26700991
(Q918084,P1313,c(Q12737077))
action filter_type
action find
entity Q918084
relation P1313
type Q12737077
The [ANSWER] is fulfilled by Vega de Valcarce
['Q918084', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q918084 property:P1313 ?u . ?u rdf:type ontology:Q12737077 }
mayor of Vega de Valcarce
The mayor of Vega de Valcarce is fulfilled by Vega de Valcarce
mayor of Vega de Valcarce
action filter_type
action find
entity Vega de Valcarce
relation office held by head of government
type occupation
['Vega de Valcarce', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Vega_de_Valcarce property:office_held_by_head_of_government ?u . ?u rdf:type ontology:occupation }
[]