Simple Question (Direct)
Simple Question
Q3481359
P19
Q56061
USER
Which administrative territory is the place of birth of Shane Endicott ?
(Q3481359,P19,c(Q56061))
action filter_type
action find
entity Q3481359
relation P19
type Q56061
['Q3481359', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3481359 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Shane Endicott
action filter_type
action find
entity Shane Endicott
relation place of birth
type administrative territorial entity
['Shane Endicott', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Shane_Endicott property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10566
SYSTEM
Saskatoon
Q10566
(Q3481359,P19,c(Q56061))
action filter_type
action find
entity Q3481359
relation P19
type Q56061
[ANSWER] is the place of birth of Shane Endicott
['Q3481359', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3481359 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Saskatoon
Saskatoon is the place of birth of Shane Endicott
Saskatoon
action filter_type
action find
entity Shane Endicott
relation place of birth
type administrative territorial entity
['Shane Endicott', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Shane_Endicott property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3481359
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q10566,P54,c(Q12973014))
action filter_type
action find
entity Q3481359
relation P54
type Q12973014
['Q10566', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?f WHERE { resource:Q3481359 property:P54 ?f . ?f rdf:type ontology:Q12973014 }
Shane Endicott
action filter_type
action find
entity Shane Endicott
relation member of sports team
type sports team
['Saskatoon', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?f WHERE { resource:Shane_Endicott property:member_of_sports_team ?f . ?f rdf:type ontology:sports_team }
[]
sports team
Q193643 Q1478965
SYSTEM
Pittsburgh Penguins, SG Pontebba
Q193643 Q1478965
(Q10566,P54,c(Q12973014))
action filter_type
action find
entity Q3481359
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q10566', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?f WHERE { resource:Q3481359 property:P54 ?f . ?f rdf:type ontology:Q12973014 }
Pittsburgh Penguins SG Pontebba
Pittsburgh Penguins and SG Pontebba are that person a member of
Pittsburgh Penguins SG Pontebba
action filter_type
action find
entity Shane Endicott
relation member of sports team
type sports team
['Saskatoon', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?f WHERE { resource:Shane_Endicott property:member_of_sports_team ?f . ?f rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10566
P190
Q914262
USER
Which administrative territory of Sweden is the sister city of Saskatoon ?
(Q10566,P190,c(Q914262))
action filter_type
action find
entity Q10566
relation P190
type Q914262
['Q10566', 'P190', {'concept': 'Q914262'}]
SELECT DISTINCT ?e WHERE { resource:Q10566 property:P190 ?e . ?e rdf:type ontology:Q914262 }
Saskatoon
action filter_type
action find
entity Saskatoon
relation sister city
type administrative territorial entity of Sweden
['Saskatoon', 'sister city', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?e WHERE { resource:Saskatoon property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
administrative territorial entity of Sweden
Q507709
SYSTEM
Umeå Municipality
Q507709
(Q10566,P190,c(Q914262))
action filter_type
action find
entity Q10566
relation P190
type Q914262
[ANSWER] is the sister city of Saskatoon
['Q10566', 'P190', {'concept': 'Q914262'}]
SELECT DISTINCT ?e WHERE { resource:Q10566 property:P190 ?e . ?e rdf:type ontology:Q914262 }
Umeå Municipality
Umeå Municipality is the sister city of Saskatoon
Umeå Municipality
action filter_type
action find
entity Saskatoon
relation sister city
type administrative territorial entity of Sweden
['Saskatoon', 'sister city', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?e WHERE { resource:Saskatoon property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q25410
Q914262
USER
And what about Aalborg?
(Q25410,P190,c(Q914262))
action filter_type
action find
entity Q25410
relation P190
type Q914262
['Q25410', 'P190', {'concept': 'Q914262'}]
SELECT DISTINCT ?s WHERE { resource:Q25410 property:P190 ?s . ?s rdf:type ontology:Q914262 }
Aalborg
action filter_type
action find
entity Aalborg
relation sister city
type administrative territorial entity of Sweden
['Aalborg', 'sister city', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?s WHERE { resource:Aalborg property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
administrative territorial entity of Sweden
Q509634 Q503188 Q338752
SYSTEM
Karlskoga Municipality, Lerum Municipality, Orust Municipality
Q503188 Q338752 Q504630 Q509634
(Q25410,P190,c(Q914262))
action filter_type
action find
entity Q25410
relation P190
type Q914262
[ANSWERS]
['Q25410', 'P190', {'concept': 'Q914262'}]
SELECT DISTINCT ?s WHERE { resource:Q25410 property:P190 ?s . ?s rdf:type ontology:Q914262 }
Lerum Municipality Orust Municipality Orsa Municipality Karlskoga Municipality
Karlskoga Municipality Lerum Municipality Orust Municipality
action filter_type
action find
entity Aalborg
relation sister city
type administrative territorial entity of Sweden
['Aalborg', 'sister city', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?s WHERE { resource:Aalborg property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13406269 Q338752
P27 P17
Q15617994
USER
Which administrative territories are Orust Municipality situated in or are Olaug Grønseth Granli an inhabitant of ?
OR((Q338752,P17,c(Q15617994)), (Q13406269,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q338752
relation P17
action find
entity Q13406269
relation P27
type Q15617994
{'OR': [['Q338752', 'P17', {'concept': 'Q15617994'}], ['Q13406269', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q338752 property:P17 ?a } UNION { resource:Q13406269 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Olaug Grønseth Granli Orust Municipality
action filter_type
action union
action find
entity Orust Municipality
relation country
action find
entity Olaug Grønseth Granli
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Orust Municipality', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Olaug Grønseth Granli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Orust_Municipality property:country ?a } UNION { resource:Olaug_Grønseth_Granli property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q34
SYSTEM
Norway, Sweden
Q20 Q34
OR((Q338752,P17,c(Q15617994)), (Q13406269,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q338752
relation P17
action find
entity Q13406269
relation P27
type Q15617994
Orust Municipality are situated in [ANSWERS] or are Olaug Grønseth Granli an inhabitant of
{'OR': [['Q338752', 'P17', {'concept': 'Q15617994'}], ['Q13406269', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q338752 property:P17 ?a } UNION { resource:Q13406269 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Norway Sweden
Orust Municipality are situated in Norway and Sweden or are Olaug Grønseth Granli an inhabitant of
Norway Sweden
action filter_type
action union
action find
entity Orust Municipality
relation country
action find
entity Olaug Grønseth Granli
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Orust Municipality', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Olaug Grønseth Granli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Orust_Municipality property:country ?a } UNION { resource:Olaug_Grønseth_Granli property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q12761286
P27
Q502895
USER
Are Shani Pallaska a citizen of those administrative territories ?
(Q12761286,P27,Q20) (Q12761286,P27,Q34)
action is_in
entity prev_answer
action find
entity Q12761286
relation P27
['Q12761286', 'P27', 'Q20'] ['Q12761286', 'P27', 'Q34']
ASK WHERE { resource:Q12761286 property:P27 ?i . VALUES ( ?i ) { ( resource:Q20 ) ( resource:Q34 ) } }
Shani Pallaska
action is_in
entity prev_answer
action find
entity Shani Pallaska
relation country of citizenship
['Shani Pallaska', 'country of citizenship', 'Norway'] ['Shani Pallaska', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Shani_Pallaska property:country_of_citizenship ?i . VALUES ( ?i ) { ( resource:Norway ) ( resource:Sweden ) } }
[]
common name
SYSTEM
NO
(Q12761286,P27,Q20) (Q12761286,P27,Q34)
action is_in
entity prev_answer
action find
entity Q12761286
relation P27
[ANSWER]
['Q12761286', 'P27', 'Q20'] ['Q12761286', 'P27', 'Q34']
ASK WHERE { resource:Q12761286 property:P27 ?i . VALUES ( ?i ) { ( resource:Q20 ) ( resource:Q34 ) } }
No
action is_in
entity prev_answer
action find
entity Shani Pallaska
relation country of citizenship
['Shani Pallaska', 'country of citizenship', 'Norway'] ['Shani Pallaska', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Shani_Pallaska property:country_of_citizenship ?i . VALUES ( ?i ) { ( resource:Norway ) ( resource:Sweden ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with max number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?c ) WHERE { ?p property:P530 ?r . ?p rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?i ) WHERE { ?f rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 . ?f property:P530 ?n } GROUP BY ?f } . FILTER ( ?i = ?w ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?c ) WHERE { ?p property:diplomatic_relation ?r . ?p rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?i ) WHERE { ?f rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?n } GROUP BY ?f } . FILTER ( ?i = ?w ) }
[]
political territorial entity designation for an administrative territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have a diplomatic relationship with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?c ) WHERE { ?p property:P530 ?r . ?p rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?i ) WHERE { ?f rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 . ?f property:P530 ?n } GROUP BY ?f } . FILTER ( ?i = ?w ) }
Germany
Germany have a diplomatic relationship with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?c ) WHERE { ?p property:diplomatic_relation ?r . ?p rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?i ) WHERE { ?f rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?n } GROUP BY ?f } . FILTER ( ?i = ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q20
P463
Q484652
USER
How many international organizations were Norway a member of ?
(Q20,P463,c(Q484652))
action count
action filter_type
action find
entity Q20
relation P463
type Q484652
['Q20', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q20 property:P463 ?f . ?f rdf:type ontology:Q484652 }
Norway
action count
action filter_type
action find
entity Norway
relation member of
type international organization
['Norway', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Norway property:member_of ?f . ?f rdf:type ontology:international_organization }
[]
international organization
SYSTEM
10
Q81299 Q1065 Q166546 Q7184 Q42262 Q188822 Q674182 Q789769 Q146165 Q1043527
(Q20,P463,c(Q484652))
action count
action filter_type
action find
entity Q20
relation P463
type Q484652
[ANSWER]
['Q20', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q20 property:P463 ?f . ?f rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations European Free Trade Association North Atlantic Treaty Organisation European Space Agency Asian Development Bank Arctic Council Council of the Baltic Sea States Nordic Council Multilateral Investment Guarantee Agency
10
action count
action filter_type
action find
entity Norway
relation member of
type international organization
['Norway', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Norway property:member_of ?f . ?f rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1676624
P463
Q484652
USER
And what about Walter Layton, 1st Baron Layton?
(Q1676624,P463,c(Q484652))
action count
action filter_type
action find
entity Q1676624
relation P463
type Q484652
['Q1676624', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q1676624 property:P463 ?j . ?j rdf:type ontology:Q484652 }
Walter Layton, 1st Baron Layton
action count
action filter_type
action find
entity Walter Layton, 1st Baron Layton
relation member of
type international organization
['Walter Layton, 1st Baron Layton', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Walter_Layton,_1st_Baron_Layton property:member_of ?j . ?j rdf:type ontology:international_organization }
[]
international organization
SYSTEM
1
Q939743
(Q1676624,P463,c(Q484652))
action count
action filter_type
action find
entity Q1676624
relation P463
type Q484652
[ANSWER]
['Q1676624', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q1676624 property:P463 ?j . ?j rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
1
action count
action filter_type
action find
entity Walter Layton, 1st Baron Layton
relation member of
type international organization
['Walter Layton, 1st Baron Layton', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Walter_Layton,_1st_Baron_Layton property:member_of ?j . ?j rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3105793
Q484652
USER
And how about Gilbert Meyer?
(Q3105793,P463,c(Q484652))
action count
action filter_type
action find
entity Q3105793
relation P463
type Q484652
['Q3105793', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q3105793 property:P463 ?r . ?r rdf:type ontology:Q484652 }
Gilbert Meyer
action count
action filter_type
action find
entity Gilbert Meyer
relation member of
type international organization
['Gilbert Meyer', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Gilbert_Meyer property:member_of ?r . ?r rdf:type ontology:international_organization }
[]
international organization
SYSTEM
1
(Q3105793,P463,c(Q484652))
action count
action filter_type
action find
entity Q3105793
relation P463
type Q484652
[ANSWER]
['Q3105793', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q3105793 property:P463 ?r . ?r rdf:type ontology:Q484652 }
1
action count
action filter_type
action find
entity Gilbert Meyer
relation member of
type international organization
['Gilbert Meyer', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Gilbert_Meyer property:member_of ?r . ?r rdf:type ontology:international_organization }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic associations with max number of political territories ?
(c(Q15617994),P530,c(Q1048835))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { ?r property:P530 ?e . ?r rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?p ) WHERE { ?l rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 . ?l property:P530 ?g } GROUP BY ?l } . FILTER ( ?p = ?o ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { ?r property:diplomatic_relation ?e . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?p ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity . ?l property:diplomatic_relation ?g } GROUP BY ?l } . FILTER ( ?p = ?o ) }
[]
political territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q1048835))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWER] have diplomatic associations with max number of political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { ?r property:P530 ?e . ?r rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?p ) WHERE { ?l rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 . ?l property:P530 ?g } GROUP BY ?l } . FILTER ( ?p = ?o ) }
Georgia
Georgia have diplomatic associations with max number of political territories
Georgia
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { ?r property:diplomatic_relation ?e . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?p ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity . ?l property:diplomatic_relation ?g } GROUP BY ?l } . FILTER ( ?p = ?o ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q230 Q222 Q184
P530
Q15617994
USER
Does Georgia have diplomatic relations with Albania and Belarus ?
(Q230,P530,Q222) (Q230,P530,Q184)
action is_in
entity Q230
action intersection
action find_reverse
entity Q222
relation P530
action find_reverse
entity Q184
relation P530
['Q230', 'P530', 'Q222'] ['Q230', 'P530', 'Q184']
ASK WHERE { resource:Q230 property:P530 resource:Q222 . resource:Q230 property:P530 resource:Q184 }
Georgia Albania Belarus
action is_in
entity Georgia
action intersection
action find_reverse
entity Albania
relation diplomatic relation
action find_reverse
entity Belarus
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Albania'] ['Georgia', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Albania . resource:Georgia property:diplomatic_relation resource:Belarus }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P530,Q222) (Q230,P530,Q184)
action is_in
entity Q230
action intersection
action find_reverse
entity Q222
relation P530
action find_reverse
entity Q184
relation P530
[ANSWER]
['Q230', 'P530', 'Q222'] ['Q230', 'P530', 'Q184']
ASK WHERE { resource:Q230 property:P530 resource:Q222 . resource:Q230 property:P530 resource:Q184 }
Yes
action is_in
entity Georgia
action intersection
action find_reverse
entity Albania
relation diplomatic relation
action find_reverse
entity Belarus
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Albania'] ['Georgia', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Albania . resource:Georgia property:diplomatic_relation resource:Belarus }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3481359 Q16
P27
Q1048835
USER
Is Shane Endicott a civilian of Canada ?
(Q3481359,P27,Q16)
action is_in
entity Q16
action find
entity Q3481359
relation P27
['Q3481359', 'P27', 'Q16']
ASK WHERE { resource:Q3481359 property:P27 resource:Q16 }
Shane Endicott Canada
action is_in
entity Canada
action find
entity Shane Endicott
relation country of citizenship
['Shane Endicott', 'country of citizenship', 'Canada']
ASK WHERE { resource:Shane_Endicott property:country_of_citizenship resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q3481359,P27,Q16)
action is_in
entity Q16
action find
entity Q3481359
relation P27
[ANSWER]
['Q3481359', 'P27', 'Q16']
ASK WHERE { resource:Q3481359 property:P27 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Shane Endicott
relation country of citizenship
['Shane Endicott', 'country of citizenship', 'Canada']
ASK WHERE { resource:Shane_Endicott property:country_of_citizenship resource:Canada }
[]