Simple Question (Direct)
Simple Question
Q98333
P1196
Q1190554
USER
What situation did Gerhard Pohl die in ?
(Q98333,P1196,c(Q1190554))
action filter_type
action find
entity Q98333
relation P1196
type Q1190554
['Q98333', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1190554 . resource:Q98333 property:P1196 ?z }
Gerhard Pohl
action filter_type
action find
entity Gerhard Pohl
relation manner of death
type event
['Gerhard Pohl', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:event . resource:Gerhard_Pohl property:manner_of_death ?z }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q98333,P1196,c(Q1190554))
action filter_type
action find
entity Q98333
relation P1196
type Q1190554
Gerhard Pohl died by [ANSWER]
['Q98333', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1190554 . resource:Q98333 property:P1196 ?z }
accident
Gerhard Pohl died by accident
accident
action filter_type
action find
entity Gerhard Pohl
relation manner of death
type event
['Gerhard Pohl', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:event . resource:Gerhard_Pohl property:manner_of_death ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q98333
P27
Q7275
USER
Which state is that person an inhabitant of ?
(Q171558,P27,c(Q7275))
action filter_type
action find
entity Q98333
relation P27
type Q7275
['Q171558', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?b WHERE { resource:Q98333 property:P27 ?b . ?b rdf:type ontology:Q7275 }
Gerhard Pohl
action filter_type
action find
entity Gerhard Pohl
relation country of citizenship
type state
['accident', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?b WHERE { resource:Gerhard_Pohl property:country_of_citizenship ?b . ?b rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q171558,P27,c(Q7275))
action filter_type
action find
entity Q98333
relation P27
type Q7275
[ANSWER] is that person an inhabitant of
['Q171558', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?b WHERE { resource:Q98333 property:P27 ?b . ?b rdf:type ontology:Q7275 }
East Germany
East Germany is that person an inhabitant of
East Germany
action filter_type
action find
entity Gerhard Pohl
relation country of citizenship
type state
['accident', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?b WHERE { resource:Gerhard_Pohl property:country_of_citizenship ?b . ?b rdf:type ontology:state }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P85
Q7725634 Q484692 Q7275
USER
Which states have an anthem named more number of literary works or hymns than that state ?
(c(Q7275),P85,c(Q7725634)|c(Q484692))
action greater
action union
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action find_tuple_counts
relation P85
type Q7275
type Q484692
action count
action filter_multi_types
action find
entity Q16957
relation P85
type Q7725634
type Q484692
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q16957 property:P85 ?g . { { ?g rdf:type ontology:Q7725634 } UNION { ?g rdf:type ontology:Q484692 } } } } . FILTER ( ?w > ?l ) }
action greater
action union
action find_tuple_counts
relation anthem
type state
type literary work
action find_tuple_counts
relation anthem
type state
type hymn
action count
action filter_multi_types
action find
entity East Germany
relation anthem
type literary work
type hymn
[{'concept': 'state'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:East_Germany property:anthem ?g . { { ?g rdf:type ontology:literary_work } UNION { ?g rdf:type ontology:hymn } } } } . FILTER ( ?w > ?l ) }
[]
literary work hymn state
SYSTEM
1
Q15180
(c(Q7275),P85,c(Q7725634)|c(Q484692))
action greater
action union
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action find_tuple_counts
relation P85
type Q7275
type Q484692
action count
action filter_multi_types
action find
entity Q16957
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q16957 property:P85 ?g . { { ?g rdf:type ontology:Q7725634 } UNION { ?g rdf:type ontology:Q484692 } } } } . FILTER ( ?w > ?l ) }
Soviet Union
1
action greater
action union
action find_tuple_counts
relation anthem
type state
type literary work
action find_tuple_counts
relation anthem
type state
type hymn
action count
action filter_multi_types
action find
entity East Germany
relation anthem
type literary work
type hymn
[{'concept': 'state'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:East_Germany property:anthem ?g . { { ?g rdf:type ontology:literary_work } UNION { ?g rdf:type ontology:hymn } } } } . FILTER ( ?w > ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q1190554 Q1190554 Q645883
USER
Which events are max number of events or military operations a component of ?
(c(Q1190554)|c(Q645883),P361,c(Q1190554))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
[[{'concept': 'Q1190554'}, {'concept': 'Q645883'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P361 ?y . ?y rdf:type ontology:Q1190554 . ?b rdf:type ontology:Q645883 } UNION { ?b property:P361 ?y . ?y rdf:type ontology:Q1190554 . ?b rdf:type ontology:Q1190554 } } GROUP BY ?y } } . FILTER ( ?h = ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q645883 ) ( ontology:Q1190554 ) } } GROUP BY ?w } }
action argmax
action union
action find_reverse_tuple_counts
relation part of
type event
type event
action find_reverse_tuple_counts
relation part of
type event
type military operation
[[{'concept': 'event'}, {'concept': 'military operation'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:part_of ?y . ?y rdf:type ontology:event . ?b rdf:type ontology:military_operation } UNION { ?b property:part_of ?y . ?y rdf:type ontology:event . ?b rdf:type ontology:event } } GROUP BY ?y } } . FILTER ( ?h = ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:military_operation ) ( ontology:event ) } } GROUP BY ?w } }
[]
event event military operation
Q150701
SYSTEM
War of the Spanish Succession
Q150701
(c(Q1190554)|c(Q645883),P361,c(Q1190554))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
[ANSWER] is max number of events or military operations a component of
[[{'concept': 'Q1190554'}, {'concept': 'Q645883'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P361 ?y . ?y rdf:type ontology:Q1190554 . ?b rdf:type ontology:Q645883 } UNION { ?b property:P361 ?y . ?y rdf:type ontology:Q1190554 . ?b rdf:type ontology:Q1190554 } } GROUP BY ?y } } . FILTER ( ?h = ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q645883 ) ( ontology:Q1190554 ) } } GROUP BY ?w } }
War of the Spanish Succession
War of the Spanish Succession is max number of events or military operations a component of
War of the Spanish Succession
action argmax
action union
action find_reverse_tuple_counts
relation part of
type event
type event
action find_reverse_tuple_counts
relation part of
type event
type military operation
[[{'concept': 'event'}, {'concept': 'military operation'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:part_of ?y . ?y rdf:type ontology:event . ?b rdf:type ontology:military_operation } UNION { ?b property:part_of ?y . ?y rdf:type ontology:event . ?b rdf:type ontology:event } } GROUP BY ?y } } . FILTER ( ?h = ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:military_operation ) ( ontology:event ) } } GROUP BY ?w } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P710
Q15617994 Q7275
USER
How many administrative territories or states were participants of that event ?
(Q150701,P710,c(Q15617994)) (Q150701,P710,c(Q7275)) (Q150701,P710,c(Q15617994)) (Q150701,P710,c(Q7275))
action count
action union
action filter_type
action find
entity Q150701
relation P710
type Q15617994
action filter_type
action find
entity Q150701
relation P710
type Q7275
['Q150701', 'P710', {'concept': 'Q15617994'}] ['Q150701', 'P710', {'concept': 'Q7275'}] ['Q150701', 'P710', {'concept': 'Q15617994'}] ['Q150701', 'P710', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?h rdf:type ?p }
action count
action union
action filter_type
action find
entity War of the Spanish Succession
relation participant
type designation for an administrative territorial entity
action filter_type
action find
entity War of the Spanish Succession
relation participant
type state
['War of the Spanish Succession', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['War of the Spanish Succession', 'participant', {'concept': 'state'}] ['War of the Spanish Succession', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['War of the Spanish Succession', 'participant', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?h rdf:type ?p }
[]
designation for an administrative territorial entity state
SYSTEM
8
Q600093 Q230791 Q70972 Q45670 Q1322229 Q12548 Q426025 Q179876
(Q150701,P710,c(Q15617994)) (Q150701,P710,c(Q7275)) (Q150701,P710,c(Q15617994)) (Q150701,P710,c(Q7275))
action count
action union
action filter_type
action find
entity Q150701
relation P710
type Q15617994
action filter_type
action find
entity Q150701
relation P710
type Q7275
[ANSWER]
['Q150701', 'P710', {'concept': 'Q15617994'}] ['Q150701', 'P710', {'concept': 'Q7275'}] ['Q150701', 'P710', {'concept': 'Q15617994'}] ['Q150701', 'P710', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?h rdf:type ?p }
Habsburg Spain Kingdom of Scotland Kingdom of France Kingdom of Portugal Enlightenment in Spain Holy Roman Empire Duchy of Savoy Kingdom of England
8
action count
action union
action filter_type
action find
entity War of the Spanish Succession
relation participant
type designation for an administrative territorial entity
action filter_type
action find
entity War of the Spanish Succession
relation participant
type state
['War of the Spanish Succession', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['War of the Spanish Succession', 'participant', {'concept': 'state'}] ['War of the Spanish Succession', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['War of the Spanish Succession', 'participant', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?h rdf:type ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q98333
P102
Q7278
USER
Which parties are Gerhard Pohl affiliated with ?
(Q98333,P102,c(Q7278))
action filter_type
action find
entity Q98333
relation P102
type Q7278
['Q98333', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q98333 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Gerhard Pohl
action filter_type
action find
entity Gerhard Pohl
relation member of political party
type political party
['Gerhard Pohl', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Gerhard_Pohl property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
political party
Q49762 Q49754
SYSTEM
Christian Democratic Union, Christian Democratic Union
Q49762 Q49754
(Q98333,P102,c(Q7278))
action filter_type
action find
entity Q98333
relation P102
type Q7278
Gerhard Pohl are affiliated with [ANSWERS]
['Q98333', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q98333 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Christian Democratic Union Christian Democratic Union
Gerhard Pohl are affiliated with Christian Democratic Union and Christian Democratic Union
Christian Democratic Union Christian Democratic Union
action filter_type
action find
entity Gerhard Pohl
relation member of political party
type political party
['Gerhard Pohl', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Gerhard_Pohl property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q75194
Q7278
USER
And how about Ismail Ertug?
(Q75194,P102,c(Q7278))
action filter_type
action find
entity Q75194
relation P102
type Q7278
['Q75194', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?i WHERE { resource:Q75194 property:P102 ?i . ?i rdf:type ontology:Q7278 }
Ismail Ertug
action filter_type
action find
entity Ismail Ertug
relation member of political party
type political party
['Ismail Ertug', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?i WHERE { resource:Ismail_Ertug property:member_of_political_party ?i . ?i rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q75194,P102,c(Q7278))
action filter_type
action find
entity Q75194
relation P102
type Q7278
[ANSWER]
['Q75194', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?i WHERE { resource:Q75194 property:P102 ?i . ?i rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Social Democratic Party of Germany
action filter_type
action find
entity Ismail Ertug
relation member of political party
type political party
['Ismail Ertug', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?i WHERE { resource:Ismail_Ertug property:member_of_political_party ?i . ?i rdf:type ontology:political_party }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q49768 Q5984172
P102
Q502895
USER
Is Luis Piñeyro the member of that political party ?
(Q5984172,P102,Q49768)
action is_in
entity Q5984172
action find
entity Q49768
relation P102
['Q5984172', 'P102', 'Q49768']
ASK WHERE { resource:Q49768 property:P102 resource:Q5984172 }
Social Democratic Party of Germany Luis Piñeyro
action is_in
entity Luis Piñeyro
action find
entity Social Democratic Party of Germany
relation member of political party
['Luis Piñeyro', 'member of political party', 'Social Democratic Party of Germany']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:member_of_political_party resource:Luis_Piñeyro }
[]
common name
SYSTEM
NO
(Q5984172,P102,Q49768)
action is_in
entity Q5984172
action find
entity Q49768
relation P102
[ANSWER]
['Q5984172', 'P102', 'Q49768']
ASK WHERE { resource:Q49768 property:P102 resource:Q5984172 }
No
action is_in
entity Luis Piñeyro
action find
entity Social Democratic Party of Germany
relation member of political party
['Luis Piñeyro', 'member of political party', 'Social Democratic Party of Germany']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:member_of_political_party resource:Luis_Piñeyro }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q16957 Q2601 Q65917
P35
Q502895
USER
Is East Germany headed by Manfred Gerlach and Wilhelm Pieck ?
(Q16957,P35,Q2601) (Q16957,P35,Q65917)
action is_in
entity Q16957
action intersection
action find_reverse
entity Q2601
relation P35
action find_reverse
entity Q65917
relation P35
['Q16957', 'P35', 'Q2601'] ['Q16957', 'P35', 'Q65917']
ASK WHERE { resource:Q16957 property:P35 resource:Q2601 . resource:Q16957 property:P35 resource:Q65917 }
East Germany Manfred Gerlach Wilhelm Pieck
action is_in
entity East Germany
action intersection
action find_reverse
entity Manfred Gerlach
relation head of state
action find_reverse
entity Wilhelm Pieck
relation head of state
['East Germany', 'head of state', 'Manfred Gerlach'] ['East Germany', 'head of state', 'Wilhelm Pieck']
ASK WHERE { resource:East_Germany property:head_of_state resource:Manfred_Gerlach . resource:East_Germany property:head_of_state resource:Wilhelm_Pieck }
[]
common name
SYSTEM
YES
(Q16957,P35,Q2601) (Q16957,P35,Q65917)
action is_in
entity Q16957
action intersection
action find_reverse
entity Q2601
relation P35
action find_reverse
entity Q65917
relation P35
[ANSWER]
['Q16957', 'P35', 'Q2601'] ['Q16957', 'P35', 'Q65917']
ASK WHERE { resource:Q16957 property:P35 resource:Q2601 . resource:Q16957 property:P35 resource:Q65917 }
Yes
action is_in
entity East Germany
action intersection
action find_reverse
entity Manfred Gerlach
relation head of state
action find_reverse
entity Wilhelm Pieck
relation head of state
['East Germany', 'head of state', 'Manfred Gerlach'] ['East Germany', 'head of state', 'Wilhelm Pieck']
ASK WHERE { resource:East_Germany property:head_of_state resource:Manfred_Gerlach . resource:East_Germany property:head_of_state resource:Wilhelm_Pieck }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16957
P47
Q56061
USER
Which administrative territory has a shared border with that state ?
action filter_type
action find
entity Q16957
relation P47
type Q56061
SELECT DISTINCT ?u WHERE { resource:Q16957 property:P47 ?u . ?u rdf:type ontology:Q56061 }
East Germany
action filter_type
action find
entity East Germany
relation shares border with
type administrative territorial entity
SELECT DISTINCT ?u WHERE { resource:East_Germany property:shares_border_with ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
action filter_type
action find
entity Q16957
relation P47
type Q56061
[ANSWER] has a shared border with that state
SELECT DISTINCT ?u WHERE { resource:Q16957 property:P47 ?u . ?u rdf:type ontology:Q56061 }
European Union
European Union has a shared border with that state
European Union
action filter_type
action find
entity East Germany
relation shares border with
type administrative territorial entity
SELECT DISTINCT ?u WHERE { resource:East_Germany property:shares_border_with ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q458
P1376
Q515
USER
What is the capital of that administrative territory ?
(c(Q515),P1376,Q458)
action filter_type
action find_reverse
entity Q458
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q458']
SELECT DISTINCT ?j WHERE { ?j property:P1376 resource:Q458 . ?j rdf:type ontology:Q515 }
European Union
action filter_type
action find_reverse
entity European Union
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'European Union']
SELECT DISTINCT ?j WHERE { ?j property:capital_of resource:European_Union . ?j rdf:type ontology:city }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(c(Q515),P1376,Q458)
action filter_type
action find_reverse
entity Q458
relation P1376
type Q515
The capital of that administrative territory is [ANSWER]
[{'concept': 'Q515'}, 'P1376', 'Q458']
SELECT DISTINCT ?j WHERE { ?j property:P1376 resource:Q458 . ?j rdf:type ontology:Q515 }
Strasbourg
The capital of that administrative territory is Strasbourg
Strasbourg
action filter_type
action find_reverse
entity European Union
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'European Union']
SELECT DISTINCT ?j WHERE { ?j property:capital_of resource:European_Union . ?j rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q458
P530
Q15617994
USER
Who have diplomatic relationships with European Union ?
(Q458,P530,c(Q15617994))
action filter_type
action find
entity Q458
relation P530
type Q15617994
['Q458', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q458 property:P530 ?p . ?p rdf:type ontology:Q15617994 }
European Union
action filter_type
action find
entity European Union
relation diplomatic relation
type designation for an administrative territorial entity
['European Union', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:European_Union property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q184 Q34020
SYSTEM
Brazil, Belarus, Niue
Q155 Q184 Q34020
(Q458,P530,c(Q15617994))
action filter_type
action find
entity Q458
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with European Union
['Q458', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q458 property:P530 ?p . ?p rdf:type ontology:Q15617994 }
Brazil Belarus Niue
Brazil, Belarus and Niue have diplomatic relationships with European Union
Brazil Belarus Niue
action filter_type
action find
entity European Union
relation diplomatic relation
type designation for an administrative territorial entity
['European Union', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:European_Union property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]