Simple Question (Direct)
Simple Question
Q5095
P47
Q1048835
USER
Which political territories are adjacent to Papua ?
(Q5095,P47,c(Q1048835))
action filter_type
action find
entity Q5095
relation P47
type Q1048835
['Q5095', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q5095 property:P47 ?n . ?n rdf:type ontology:Q1048835 }
Papua
action filter_type
action find
entity Papua
relation shares border with
type political territorial entity
['Papua', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Papua property:shares_border_with ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q5096 Q691
SYSTEM
Australia, West Papua, Papua New Guinea
Q408 Q5096 Q691
(Q5095,P47,c(Q1048835))
action filter_type
action find
entity Q5095
relation P47
type Q1048835
And [ANSWERS] are adjacent to Papua
['Q5095', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q5095 property:P47 ?n . ?n rdf:type ontology:Q1048835 }
Australia West Papua Papua New Guinea
And Australia, West Papua and Papua New Guinea are adjacent to Papua
Australia West Papua Papua New Guinea
action filter_type
action find
entity Papua
relation shares border with
type political territorial entity
['Papua', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Papua property:shares_border_with ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q5096 Q691
P47
Q1048835
USER
Which political territories do those ones share a border with ?
(c(Q1048835),P47,Q408) (c(Q1048835),P47,Q5096) (c(Q1048835),P47,Q691)
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q408'] [{'concept': 'Q1048835'}, 'P47', 'Q5096'] [{'concept': 'Q1048835'}, 'P47', 'Q691']
SELECT DISTINCT ?w WHERE { VALUES ( ?g ) { ( resource:Q408 ) ( resource:Q5096 ) ( resource:Q691 ) } . ?w rdf:type ontology:Q1048835 . ?g property:P47 ?w }
Australia West Papua Papua New Guinea
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'political territorial entity'}, 'shares border with', 'West Papua'] [{'concept': 'political territorial entity'}, 'shares border with', 'Papua New Guinea']
SELECT DISTINCT ?w WHERE { VALUES ( ?g ) { ( resource:Australia ) ( resource:West_Papua ) ( resource:Papua_New_Guinea ) } . ?w rdf:type ontology:political_territorial_entity . ?g property:shares_border_with ?w }
[]
political territorial entity
Q408 Q664 Q691
SYSTEM
Australia, New Zealand, Papua New Guinea
Q5095 Q664 Q691 Q5093 Q5094 Q5095 Q5095 Q408
(c(Q1048835),P47,Q408) (c(Q1048835),P47,Q5096) (c(Q1048835),P47,Q691)
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
Those ones share a border with [ANSWERS]
[{'concept': 'Q1048835'}, 'P47', 'Q408'] [{'concept': 'Q1048835'}, 'P47', 'Q5096'] [{'concept': 'Q1048835'}, 'P47', 'Q691']
SELECT DISTINCT ?w WHERE { VALUES ( ?g ) { ( resource:Q408 ) ( resource:Q5096 ) ( resource:Q691 ) } . ?w rdf:type ontology:Q1048835 . ?g property:P47 ?w }
Papua New Zealand Papua New Guinea Maluku Province North Maluku Province Papua Papua Australia
Those ones share a border with Australia, New Zealand and Papua New Guinea
Australia New Zealand Papua New Guinea
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'political territorial entity'}, 'shares border with', 'West Papua'] [{'concept': 'political territorial entity'}, 'shares border with', 'Papua New Guinea']
SELECT DISTINCT ?w WHERE { VALUES ( ?g ) { ( resource:Australia ) ( resource:West_Papua ) ( resource:Papua_New_Guinea ) } . ?w rdf:type ontology:political_territorial_entity . ?g property:shares_border_with ?w }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q664 Q691
P530
Q1048835
USER
Who holds diplomatic relationship with those ones ?
(Q408,P530,c(Q1048835)) (Q664,P530,c(Q1048835)) (Q691,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
['Q408', 'P530', {'concept': 'Q1048835'}] ['Q664', 'P530', {'concept': 'Q1048835'}] ['Q691', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?o ) { ( resource:Q5095 ) ( resource:Q664 ) ( resource:Q691 ) } . ?o property:P530 ?f . ?f rdf:type ontology:Q1048835 }
Australia New Zealand Papua New Guinea
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Australia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Papua New Guinea', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?o ) { ( resource:Papua ) ( resource:New_Zealand ) ( resource:Papua_New_Guinea ) } . ?o property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q183 Q408
SYSTEM
Australia for 3rd, Germany for 1st, 2nd
Q664 Q781 Q183 Q40 Q35 Q16 Q691 Q769 Q685 Q766 Q778 Q408 Q16 Q183 Q408
(Q408,P530,c(Q1048835)) (Q664,P530,c(Q1048835)) (Q691,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[ANSWERS]
['Q408', 'P530', {'concept': 'Q1048835'}] ['Q664', 'P530', {'concept': 'Q1048835'}] ['Q691', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?o ) { ( resource:Q5095 ) ( resource:Q664 ) ( resource:Q691 ) } . ?o property:P530 ?f . ?f rdf:type ontology:Q1048835 }
New Zealand Antigua and Barbuda Germany Austria Denmark Canada Papua New Guinea Grenada Solomon Islands Jamaica The Bahamas Australia Canada Germany Australia
Germany, Germany and Australia hold diplomatic relationship with those ones
Germany Germany Australia
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Australia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Papua New Guinea', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?o ) { ( resource:Papua ) ( resource:New_Zealand ) ( resource:Papua_New_Guinea ) } . ?o property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity }
[]