Simple Question (Direct)
Simple Question
Q1405539
P937
Q56061
USER
What is the location where Ferdinand Lacina worked ?
(Q1405539,P937,c(Q56061))
action filter_type
action find
entity Q1405539
relation P937
type Q56061
['Q1405539', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1405539 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Ferdinand Lacina
action filter_type
action find
entity Ferdinand Lacina
relation work location
type administrative territorial entity
['Ferdinand Lacina', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ferdinand_Lacina property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1405539,P937,c(Q56061))
action filter_type
action find
entity Q1405539
relation P937
type Q56061
The location Ferdinand Lacina worked is in [ANSWER]
['Q1405539', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1405539 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Vienna
The location Ferdinand Lacina worked is in Vienna
Vienna
action filter_type
action find
entity Ferdinand Lacina
relation work location
type administrative territorial entity
['Ferdinand Lacina', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ferdinand_Lacina property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1405539
P27
Q1048835
USER
Which political territory is Ferdinand Lacina an inhabitant of ?
(Q1405539,P27,c(Q1048835))
action filter_type
action find
entity Q1405539
relation P27
type Q1048835
['Q1405539', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q1405539 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Ferdinand Lacina
action filter_type
action find
entity Ferdinand Lacina
relation country of citizenship
type political territorial entity
['Ferdinand Lacina', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Ferdinand_Lacina property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1405539,P27,c(Q1048835))
action filter_type
action find
entity Q1405539
relation P27
type Q1048835
[ANSWER] is Ferdinand Lacina an inhabitant of
['Q1405539', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q1405539 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Austria
Austria is Ferdinand Lacina an inhabitant of
Austria
action filter_type
action find
entity Ferdinand Lacina
relation country of citizenship
type political territorial entity
['Ferdinand Lacina', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Ferdinand_Lacina property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1537824
Q1048835
USER
And what about Robert Pasemann?
(Q1537824,P27,c(Q1048835))
action filter_type
action find
entity Q1537824
relation P27
type Q1048835
['Q1537824', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q1537824 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Robert Pasemann
action filter_type
action find
entity Robert Pasemann
relation country of citizenship
type political territorial entity
['Robert Pasemann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Robert_Pasemann property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1537824,P27,c(Q1048835))
action filter_type
action find
entity Q1537824
relation P27
type Q1048835
[ANSWER]
['Q1537824', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q1537824 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Robert Pasemann
relation country of citizenship
type political territorial entity
['Robert Pasemann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Robert_Pasemann property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q4324775
P17
Q1048835
USER
Is Germany present in Novoolenivka ?
(Q183,P17,Q4324775)
action is_in
entity Q4324775
action find
entity Q183
relation P17
['Q183', 'P17', 'Q4324775']
ASK WHERE { resource:Q183 property:P17 resource:Q4324775 }
Germany Novoolenivka
action is_in
entity Novoolenivka
action find
entity Germany
relation country
['Germany', 'country', 'Novoolenivka']
ASK WHERE { resource:Germany property:country resource:Novoolenivka }
[]
political territorial entity
SYSTEM
NO
(Q183,P17,Q4324775)
action is_in
entity Q4324775
action find
entity Q183
relation P17
[ANSWER]
['Q183', 'P17', 'Q4324775']
ASK WHERE { resource:Q183 property:P17 resource:Q4324775 }
No
action is_in
entity Novoolenivka
action find
entity Germany
relation country
['Germany', 'country', 'Novoolenivka']
ASK WHERE { resource:Germany property:country resource:Novoolenivka }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q40 Q403 Q347
P530
Q15617994
USER
Does Austria have ambassadorial relations with Serbia and Liechtenstein ?
(Q40,P530,Q403) (Q40,P530,Q347)
action is_in
entity Q40
action intersection
action find_reverse
entity Q403
relation P530
action find_reverse
entity Q347
relation P530
['Q40', 'P530', 'Q403'] ['Q40', 'P530', 'Q347']
ASK WHERE { resource:Q40 property:P530 resource:Q403 . resource:Q40 property:P530 resource:Q347 }
Austria Serbia Liechtenstein
action is_in
entity Austria
action intersection
action find_reverse
entity Serbia
relation diplomatic relation
action find_reverse
entity Liechtenstein
relation diplomatic relation
['Austria', 'diplomatic relation', 'Serbia'] ['Austria', 'diplomatic relation', 'Liechtenstein']
ASK WHERE { resource:Austria property:diplomatic_relation resource:Serbia . resource:Austria property:diplomatic_relation resource:Liechtenstein }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q40,P530,Q403) (Q40,P530,Q347)
action is_in
entity Q40
action intersection
action find_reverse
entity Q403
relation P530
action find_reverse
entity Q347
relation P530
[ANSWER]
['Q40', 'P530', 'Q403'] ['Q40', 'P530', 'Q347']
ASK WHERE { resource:Q40 property:P530 resource:Q403 . resource:Q40 property:P530 resource:Q347 }
Yes
action is_in
entity Austria
action intersection
action find_reverse
entity Serbia
relation diplomatic relation
action find_reverse
entity Liechtenstein
relation diplomatic relation
['Austria', 'diplomatic relation', 'Serbia'] ['Austria', 'diplomatic relation', 'Liechtenstein']
ASK WHERE { resource:Austria property:diplomatic_relation resource:Serbia . resource:Austria property:diplomatic_relation resource:Liechtenstein }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1405539 Q6467364 Q7139007
P102
Q7210356
USER
Is Ferdinand Lacina affiliated to Labour-Farmer Masses Party and Parliamentary Party of Kosovo ?
(Q1405539,P102,Q6467364) (Q1405539,P102,Q7139007)
action is_in
entity Q1405539
action intersection
action find_reverse
entity Q6467364
relation P102
action find_reverse
entity Q7139007
relation P102
['Q1405539', 'P102', 'Q6467364'] ['Q1405539', 'P102', 'Q7139007']
ASK WHERE { resource:Q1405539 property:P102 resource:Q6467364 . resource:Q1405539 property:P102 resource:Q7139007 }
Ferdinand Lacina Labour-Farmer Masses Party Parliamentary Party of Kosovo
action is_in
entity Ferdinand Lacina
action intersection
action find_reverse
entity Labour-Farmer Masses Party
relation member of political party
action find_reverse
entity Parliamentary Party of Kosovo
relation member of political party
['Ferdinand Lacina', 'member of political party', 'Labour-Farmer Masses Party'] ['Ferdinand Lacina', 'member of political party', 'Parliamentary Party of Kosovo']
ASK WHERE { resource:Ferdinand_Lacina property:member_of_political_party resource:Labour-Farmer_Masses_Party . resource:Ferdinand_Lacina property:member_of_political_party resource:Parliamentary_Party_of_Kosovo }
[]
political organization
SYSTEM
NO
(Q1405539,P102,Q6467364) (Q1405539,P102,Q7139007)
action is_in
entity Q1405539
action intersection
action find_reverse
entity Q6467364
relation P102
action find_reverse
entity Q7139007
relation P102
[ANSWER]
['Q1405539', 'P102', 'Q6467364'] ['Q1405539', 'P102', 'Q7139007']
ASK WHERE { resource:Q1405539 property:P102 resource:Q6467364 . resource:Q1405539 property:P102 resource:Q7139007 }
No
action is_in
entity Ferdinand Lacina
action intersection
action find_reverse
entity Labour-Farmer Masses Party
relation member of political party
action find_reverse
entity Parliamentary Party of Kosovo
relation member of political party
['Ferdinand Lacina', 'member of political party', 'Labour-Farmer Masses Party'] ['Ferdinand Lacina', 'member of political party', 'Parliamentary Party of Kosovo']
ASK WHERE { resource:Ferdinand_Lacina property:member_of_political_party resource:Labour-Farmer_Masses_Party . resource:Ferdinand_Lacina property:member_of_political_party resource:Parliamentary_Party_of_Kosovo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7139007 Q1588587
P159
Q56061
USER
How many administrative territories are the HQ of Parliamentary Party of Kosovo or King Chulalongkorn Memorial Hospital ?
(Q7139007,P159,c(Q56061)) (Q1588587,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q7139007
relation P159
type Q56061
action filter_type
action find
entity Q1588587
relation P159
type Q56061
['Q7139007', 'P159', {'concept': 'Q56061'}] ['Q1588587', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { resource:Q7139007 property:P159 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q1588587 property:P159 ?h . ?h rdf:type ontology:Q56061 } }
Parliamentary Party of Kosovo King Chulalongkorn Memorial Hospital
action count
action union
action filter_type
action find
entity Parliamentary Party of Kosovo
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity King Chulalongkorn Memorial Hospital
relation headquarters location
type administrative territorial entity
['Parliamentary Party of Kosovo', 'headquarters location', {'concept': 'administrative territorial entity'}] ['King Chulalongkorn Memorial Hospital', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { resource:Parliamentary_Party_of_Kosovo property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:King_Chulalongkorn_Memorial_Hospital property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q1861 Q25270
(Q7139007,P159,c(Q56061)) (Q1588587,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q7139007
relation P159
type Q56061
action filter_type
action find
entity Q1588587
relation P159
type Q56061
[ANSWER]
['Q7139007', 'P159', {'concept': 'Q56061'}] ['Q1588587', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { resource:Q7139007 property:P159 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q1588587 property:P159 ?h . ?h rdf:type ontology:Q56061 } }
Bangkok Prishtina
2
action count
action union
action filter_type
action find
entity Parliamentary Party of Kosovo
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity King Chulalongkorn Memorial Hospital
relation headquarters location
type administrative territorial entity
['Parliamentary Party of Kosovo', 'headquarters location', {'concept': 'administrative territorial entity'}] ['King Chulalongkorn Memorial Hospital', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { resource:Parliamentary_Party_of_Kosovo property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:King_Chulalongkorn_Memorial_Hospital property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q974
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with less number of political territories than Democratic Republic of the Congo ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q974
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q974 property:P530 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?k < ?s ) }
Democratic Republic of the Congo
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Democratic Republic of the Congo
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Democratic_Republic_of_the_Congo property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?k < ?s ) }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q974
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with less number of political territories than Democratic Republic of the Congo
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q974 property:P530 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?k < ?s ) }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen, Syria and Oman have diplomatic relationships with less number of political territories than Democratic Republic of the Congo
Yemen Syria Oman
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Democratic Republic of the Congo
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Democratic_Republic_of_the_Congo property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?k < ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q222
P530
Q15617994 Q1048835
USER
And also tell me about Albania?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q222
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q222 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?p < ?x ) }
Albania
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Albania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Albania property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p < ?x ) }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q222
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q222 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?p < ?x ) }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen Syria Oman
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Albania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Albania property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p < ?x ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q858
P47
Q15617994
USER
Which administrative territories are bordered by that one ?
(Q858,P47,c(Q15617994))
action filter_type
action find
entity Q858
relation P47
type Q15617994
['Q858', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q858 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Syria
action filter_type
action find
entity Syria
relation shares border with
type designation for an administrative territorial entity
['Syria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Syria property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q805
SYSTEM
Did you mean Yemen ?
Q805 Q858 Q842
(Q805,P47,c(Q15617994)) (Q858,P47,c(Q15617994)) (Q842,P47,c(Q15617994))
[ANSWER]
['Q805', 'P47', {'concept': 'Q15617994'}] ['Q858', 'P47', {'concept': 'Q15617994'}] ['Q842', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q858 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Yemen Syria Oman
Did you mean Yemen ?
Yemen
['Yemen', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Syria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Oman', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Syria property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Syria. Could you tell me the answer for that?
(Q858,P47,c(Q15617994))
Q858
['Q858', 'P47', {'concept': 'Q15617994'}]
['Syria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
[]
Q43 Q801 Q796
SYSTEM
Turkey, Israel, Iraq
Q796 Q810 Q43 Q801 Q822
(Q858,P47,c(Q15617994))
action filter_type
action find
entity Q858
relation P47
type Q15617994
[ANSWERS] are bordered by that one
['Q858', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q858 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Iraq Jordan Turkey Israel Lebanon
Turkey, Israel and Iraq are bordered by that one
Turkey Israel Iraq
action filter_type
action find
entity Syria
relation shares border with
type designation for an administrative territorial entity
['Syria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Syria property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]