Simple Question (Direct)
Simple Question
Q371025
P937
Q56061
USER
What is the location where Larry Craig worked ?
(Q371025,P937,c(Q56061))
action filter_type
action find
entity Q371025
relation P937
type Q56061
['Q371025', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q371025 property:P937 ?r }
Larry Craig
action filter_type
action find
entity Larry Craig
relation work location
type administrative territorial entity
['Larry Craig', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Larry_Craig property:work_location ?r }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q371025,P937,c(Q56061))
action filter_type
action find
entity Q371025
relation P937
type Q56061
The location Larry Craig worked is in [ANSWER]
['Q371025', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q371025 property:P937 ?r }
Washington, D.C.
The location Larry Craig worked is in Washington, D.C.
Washington, D.C.
action filter_type
action find
entity Larry Craig
relation work location
type administrative territorial entity
['Larry Craig', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Larry_Craig property:work_location ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11575138 Q371025
P69
Q3918
USER
Which universities were Larry Craig or Jōji Tagami educated ?
OR((Q371025,P69,c(Q3918)), (Q11575138,P69,c(Q3918)))
action filter_type
action union
action find
entity Q371025
relation P69
action find
entity Q11575138
relation P69
type Q3918
{'OR': [['Q371025', 'P69', {'concept': 'Q3918'}], ['Q11575138', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q371025 property:P69 ?m } UNION { resource:Q11575138 property:P69 ?m } } . ?m rdf:type ontology:Q3918 }
Jōji Tagami Larry Craig
action filter_type
action union
action find
entity Larry Craig
relation educated at
action find
entity Jōji Tagami
relation educated at
type university
{'OR': [['Larry Craig', 'educated at', {'concept': 'university'}], ['Jōji Tagami', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Larry_Craig property:educated_at ?m } UNION { resource:Jōji_Tagami property:educated_at ?m } } . ?m rdf:type ontology:university }
[]
university
Q1854488 Q7842
SYSTEM
University of Idaho, University of Tokyo
Q1854488 Q7842
OR((Q371025,P69,c(Q3918)), (Q11575138,P69,c(Q3918)))
action filter_type
action union
action find
entity Q371025
relation P69
action find
entity Q11575138
relation P69
type Q3918
Larry Craig or Jōji Tagami were educated at [ANSWERS]
{'OR': [['Q371025', 'P69', {'concept': 'Q3918'}], ['Q11575138', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q371025 property:P69 ?m } UNION { resource:Q11575138 property:P69 ?m } } . ?m rdf:type ontology:Q3918 }
University of Idaho University of Tokyo
Larry Craig or Jōji Tagami were educated at University of Idaho and University of Tokyo
University of Idaho University of Tokyo
action filter_type
action union
action find
entity Larry Craig
relation educated at
action find
entity Jōji Tagami
relation educated at
type university
{'OR': [['Larry Craig', 'educated at', {'concept': 'university'}], ['Jōji Tagami', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Larry_Craig property:educated_at ?m } UNION { resource:Jōji_Tagami property:educated_at ?m } } . ?m rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1854488 Q7842
P17
Q15617994
USER
Which administrative territories do University of Idaho and University of Tokyo belong to ?
(Q1854488,P17,c(Q15617994)) (Q7842,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1854488
relation P17
type Q15617994
action filter_type
action find
entity Q7842
relation P17
type Q15617994
['Q1854488', 'P17', {'concept': 'Q15617994'}] ['Q7842', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q15617994 . resource:Q7842 property:P17 ?v } UNION { resource:Q1854488 property:P17 ?v . ?v rdf:type ontology:Q15617994 } }
University of Idaho University of Tokyo
action union
action filter_type
action find
entity University of Idaho
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity University of Tokyo
relation country
type designation for an administrative territorial entity
['University of Idaho', 'country', {'concept': 'designation for an administrative territorial entity'}] ['University of Tokyo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:University_of_Tokyo property:country ?v } UNION { resource:University_of_Idaho property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q17
SYSTEM
United States of America, Japan
Q30 Q17
(Q1854488,P17,c(Q15617994)) (Q7842,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1854488
relation P17
type Q15617994
action filter_type
action find
entity Q7842
relation P17
type Q15617994
University of Idaho and University of Tokyo belong to the [ANSWERS]
['Q1854488', 'P17', {'concept': 'Q15617994'}] ['Q7842', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q15617994 . resource:Q7842 property:P17 ?v } UNION { resource:Q1854488 property:P17 ?v . ?v rdf:type ontology:Q15617994 } }
United States of America Japan
University of Idaho and University of Tokyo belong to the United States of America and Japan
United States of America Japan
action union
action filter_type
action find
entity University of Idaho
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity University of Tokyo
relation country
type designation for an administrative territorial entity
['University of Idaho', 'country', {'concept': 'designation for an administrative territorial entity'}] ['University of Tokyo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:University_of_Tokyo property:country ?v } UNION { resource:University_of_Idaho property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1854488
P361
Q3918
USER
Which university is a part of that one ?
(c(Q3918),P361,Q1854488)
action filter_type
action find_reverse
entity Q1854488
relation P361
type Q3918
[{'concept': 'Q3918'}, 'P361', 'Q1854488']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q3918 . ?l property:P361 resource:Q1854488 }
University of Idaho
action filter_type
action find_reverse
entity University of Idaho
relation part of
type university
[{'concept': 'university'}, 'part of', 'University of Idaho']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:university . ?l property:part_of resource:University_of_Idaho }
[]
university
Clarification for simple ques.
Q1854488
SYSTEM
Did you mean University of Idaho ?
Q30 Q17
(c(Q3918),P361,Q30) (c(Q3918),P361,Q17)
[ANSWER]
[{'concept': 'Q3918'}, 'P361', 'Q30'] [{'concept': 'Q3918'}, 'P361', 'Q17']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q3918 . ?l property:P361 resource:Q1854488 }
United States of America Japan
Did you mean University of Idaho ?
University of Idaho
[{'concept': 'university'}, 'part of', 'United States of America'] [{'concept': 'university'}, 'part of', 'Japan']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:university . ?l property:part_of resource:University_of_Idaho }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q3918),P361,Q1854488)
[{'concept': 'Q3918'}, 'P361', 'Q1854488']
[{'concept': 'university'}, 'part of', 'University of Idaho']
[]
Q7895518
SYSTEM
University of Idaho College of Law
Q7895518
(c(Q3918),P361,Q1854488)
action filter_type
action find_reverse
entity Q1854488
relation P361
type Q3918
[ANSWER] is a part of that one
[{'concept': 'Q3918'}, 'P361', 'Q1854488']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q3918 . ?l property:P361 resource:Q1854488 }
University of Idaho College of Law
University of Idaho College of Law is a part of that one
University of Idaho College of Law
action filter_type
action find_reverse
entity University of Idaho
relation part of
type university
[{'concept': 'university'}, 'part of', 'University of Idaho']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:university . ?l property:part_of resource:University_of_Idaho }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7895518
P361
Q3918
USER
What is that one a part of ?
(Q7895518,P361,c(Q3918))
action filter_type
action find
entity Q7895518
relation P361
type Q3918
['Q7895518', 'P361', {'concept': 'Q3918'}]
SELECT DISTINCT ?j WHERE { resource:Q7895518 property:P361 ?j . ?j rdf:type ontology:Q3918 }
University of Idaho College of Law
action filter_type
action find
entity University of Idaho College of Law
relation part of
type university
['University of Idaho College of Law', 'part of', {'concept': 'university'}]
SELECT DISTINCT ?j WHERE { resource:University_of_Idaho_College_of_Law property:part_of ?j . ?j rdf:type ontology:university }
[]
university
Q1854488
SYSTEM
University of Idaho
Q1854488
(Q7895518,P361,c(Q3918))
action filter_type
action find
entity Q7895518
relation P361
type Q3918
That one a part of is the [ANSWER]
['Q7895518', 'P361', {'concept': 'Q3918'}]
SELECT DISTINCT ?j WHERE { resource:Q7895518 property:P361 ?j . ?j rdf:type ontology:Q3918 }
University of Idaho
That one a part of is the University of Idaho
University of Idaho
action filter_type
action find
entity University of Idaho College of Law
relation part of
type university
['University of Idaho College of Law', 'part of', {'concept': 'university'}]
SELECT DISTINCT ?j WHERE { resource:University_of_Idaho_College_of_Law property:part_of ?j . ?j rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1854488 Q4810015
P463
Q874405
USER
Was that university a member of Association of Public and Land-grant Universities ?
(Q1854488,P463,Q4810015)
action is_in
entity Q4810015
action find
entity Q1854488
relation P463
['Q1854488', 'P463', 'Q4810015']
ASK WHERE { resource:Q1854488 property:P463 resource:Q4810015 }
University of Idaho Association of Public and Land-grant Universities
action is_in
entity Association of Public and Land-grant Universities
action find
entity University of Idaho
relation member of
['University of Idaho', 'member of', 'Association of Public and Land-grant Universities']
ASK WHERE { resource:University_of_Idaho property:member_of resource:Association_of_Public_and_Land-grant_Universities }
[]
social group
SYSTEM
YES
(Q1854488,P463,Q4810015)
action is_in
entity Q4810015
action find
entity Q1854488
relation P463
[ANSWER]
['Q1854488', 'P463', 'Q4810015']
ASK WHERE { resource:Q1854488 property:P463 resource:Q4810015 }
Yes
action is_in
entity Association of Public and Land-grant Universities
action find
entity University of Idaho
relation member of
['University of Idaho', 'member of', 'Association of Public and Land-grant Universities']
ASK WHERE { resource:University_of_Idaho property:member_of resource:Association_of_Public_and_Land-grant_Universities }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19974750 Q17
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Japan or do John Payne Jackson belong to ?
OR((Q17,P530,c(Q15617994)), (Q19974750,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17
relation P530
action find
entity Q19974750
relation P27
type Q15617994
{'OR': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q19974750', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q17 property:P530 ?s } UNION { resource:Q19974750 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
John Payne Jackson Japan
action filter_type
action union
action find
entity Japan
relation diplomatic relation
action find
entity John Payne Jackson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['John Payne Jackson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Japan property:diplomatic_relation ?s } UNION { resource:John_Payne_Jackson property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033 Q884 Q155 Q159 Q30 Q145 Q142 Q801 Q869 Q227
SYSTEM
Some of them are Nigeria, South Korea, Brazil, Russia, United States of America, United Kingdom, France, Israel, Thailand, Azerbaijan
Q227 Q142 Q711 Q884 Q159 Q1033 Q801 Q145 Q155 Q30 Q869 Q38
OR((Q17,P530,c(Q15617994)), (Q19974750,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17
relation P530
action find
entity Q19974750
relation P27
type Q15617994
[ANSWERS] have a diplomatic relationship with Japan or do John Payne Jackson belong to
{'OR': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q19974750', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q17 property:P530 ?s } UNION { resource:Q19974750 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Azerbaijan France Mongolia South Korea Russia Nigeria Israel United Kingdom Brazil United States of America Thailand Italy
Nigeria, South Korea, Brazil, Russia, United States of America, United Kingdom, France, Israel, Thailand and Azerbaijan have a diplomatic relationship with Japan or do John Payne Jackson belong to
Nigeria South Korea Brazil Russia United States of America United Kingdom France Israel Thailand Azerbaijan
action filter_type
action union
action find
entity Japan
relation diplomatic relation
action find
entity John Payne Jackson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['John Payne Jackson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Japan property:diplomatic_relation ?s } UNION { resource:John_Payne_Jackson property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1033 Q884 Q155 Q159 Q30 Q145 Q142 Q801 Q869 Q227
P530
Q1048835
USER
Which political territories have diplomatic relations with Nigeria, South Korea, Brazil, Russia, United States of America, United Kingdom, France, Israel, Thailand and Azerbaijan ?
(Q1033,P530,c(Q1048835)) (Q884,P530,c(Q1048835)) (Q155,P530,c(Q1048835)) (Q159,P530,c(Q1048835)) (Q30,P530,c(Q1048835)) (Q145,P530,c(Q1048835)) (Q142,P530,c(Q1048835)) (Q801,P530,c(Q1048835)) (Q869,P530,c(Q1048835)) (Q227,P530,c(Q1048835))
action union
action filter_type
action find
entity Q1033
relation P530
type Q1048835
action filter_type
action find
entity Q884
relation P530
type Q1048835
action filter_type
action find
entity Q155
relation P530
type Q1048835
action filter_type
action find
entity Q159
relation P530
type Q1048835
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q145
relation P530
type Q1048835
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q801
relation P530
type Q1048835
action filter_type
action find
entity Q869
relation P530
type Q1048835
action filter_type
action find
entity Q227
relation P530
type Q1048835
['Q1033', 'P530', {'concept': 'Q1048835'}] ['Q884', 'P530', {'concept': 'Q1048835'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q159', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q1048835'}] ['Q801', 'P530', {'concept': 'Q1048835'}] ['Q869', 'P530', {'concept': 'Q1048835'}] ['Q227', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Q1033 ) ( resource:Q884 ) } . ?h property:P530 ?s }
Nigeria South Korea Brazil Russia United States of America United Kingdom France Israel Thailand Azerbaijan
action union
action filter_type
action find
entity Nigeria
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity South Korea
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Russia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Israel
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Thailand
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Azerbaijan
relation diplomatic relation
type political territorial entity
['Nigeria', 'diplomatic relation', {'concept': 'political territorial entity'}] ['South Korea', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Israel', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Thailand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Azerbaijan', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Nigeria ) ( resource:South_Korea ) } . ?h property:diplomatic_relation ?s }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q408 Q183 Q183 Q408 Q16 Q183 Q16 Q766 Q35 Q408 Q183 Q408 Q16 Q183 Q408 Q16 Q183 Q408 Q16 Q40 Q408 Q183 Q183 Q16 Q408 Q408 Q183 Q183
(Q1033,P530,c(Q1048835)) (Q884,P530,c(Q1048835)) (Q155,P530,c(Q1048835)) (Q159,P530,c(Q1048835)) (Q30,P530,c(Q1048835)) (Q145,P530,c(Q1048835)) (Q142,P530,c(Q1048835)) (Q801,P530,c(Q1048835)) (Q869,P530,c(Q1048835)) (Q227,P530,c(Q1048835))
action union
action filter_type
action find
entity Q1033
relation P530
type Q1048835
action filter_type
action find
entity Q884
relation P530
type Q1048835
action filter_type
action find
entity Q155
relation P530
type Q1048835
action filter_type
action find
entity Q159
relation P530
type Q1048835
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q145
relation P530
type Q1048835
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q801
relation P530
type Q1048835
action filter_type
action find
entity Q869
relation P530
type Q1048835
action filter_type
action find
entity Q227
relation P530
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] have diplomatic relations with Nigeria, South Korea, Brazil, Russia, United States of America, United Kingdom, France, Israel, Thailand and Azerbaijan
['Q1033', 'P530', {'concept': 'Q1048835'}] ['Q884', 'P530', {'concept': 'Q1048835'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q159', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q1048835'}] ['Q801', 'P530', {'concept': 'Q1048835'}] ['Q869', 'P530', {'concept': 'Q1048835'}] ['Q227', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Q1033 ) ( resource:Q884 ) } . ?h property:P530 ?s }
Australia Germany Germany Australia Canada Germany Canada Jamaica Denmark Australia Germany Australia Canada Germany Australia Canada Germany Australia Canada Austria Australia Germany Germany Canada Australia Australia Germany Germany
Germany, Germany and Germany have diplomatic relations with Nigeria, South Korea, Brazil, Russia, United States of America, United Kingdom, France, Israel, Thailand and Azerbaijan
Germany Germany Germany
action union
action filter_type
action find
entity Nigeria
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity South Korea
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Russia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Israel
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Thailand
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Azerbaijan
relation diplomatic relation
type political territorial entity
['Nigeria', 'diplomatic relation', {'concept': 'political territorial entity'}] ['South Korea', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Israel', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Thailand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Azerbaijan', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Nigeria ) ( resource:South_Korea ) } . ?h property:diplomatic_relation ?s }
[]