Simple Question (Direct)
Simple Question
Q4741225
P172
Q2472587
USER
What is the race of Amber Boykins ?
(Q4741225,P172,c(Q2472587))
action filter_type
action find
entity Q4741225
relation P172
type Q2472587
['Q4741225', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?j WHERE { resource:Q4741225 property:P172 ?j . ?j rdf:type ontology:Q2472587 }
Amber Boykins
action filter_type
action find
entity Amber Boykins
relation ethnic group
type people
['Amber Boykins', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?j WHERE { resource:Amber_Boykins property:ethnic_group ?j . ?j rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q4741225,P172,c(Q2472587))
action filter_type
action find
entity Q4741225
relation P172
type Q2472587
The race of Amber Boykins is of [ANSWER]
['Q4741225', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?j WHERE { resource:Q4741225 property:P172 ?j . ?j rdf:type ontology:Q2472587 }
African Americans
The race of Amber Boykins is of African Americans
African Americans
action filter_type
action find
entity Amber Boykins
relation ethnic group
type people
['Amber Boykins', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?j WHERE { resource:Amber_Boykins property:ethnic_group ?j . ?j rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4741225
P27
Q15617994
USER
Which administrative territory is Amber Boykins a civilian of ?
(Q4741225,P27,c(Q15617994))
action filter_type
action find
entity Q4741225
relation P27
type Q15617994
['Q4741225', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q4741225 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Amber Boykins
action filter_type
action find
entity Amber Boykins
relation country of citizenship
type designation for an administrative territorial entity
['Amber Boykins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Amber_Boykins property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4741225,P27,c(Q15617994))
action filter_type
action find
entity Q4741225
relation P27
type Q15617994
The [ANSWER] is Amber Boykins a civilian of
['Q4741225', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q4741225 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
The United States of America is Amber Boykins a civilian of
United States of America
action filter_type
action find
entity Amber Boykins
relation country of citizenship
type designation for an administrative territorial entity
['Amber Boykins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Amber_Boykins property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5500502
Q15617994
USER
And also tell me about Freedom Chiya?
(Q5500502,P27,c(Q15617994))
action filter_type
action find
entity Q5500502
relation P27
type Q15617994
['Q5500502', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q5500502 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Freedom Chiya
action filter_type
action find
entity Freedom Chiya
relation country of citizenship
type designation for an administrative territorial entity
['Freedom Chiya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Freedom_Chiya property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q258
SYSTEM
South Africa
Q258
(Q5500502,P27,c(Q15617994))
action filter_type
action find
entity Q5500502
relation P27
type Q15617994
[ANSWER]
['Q5500502', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q5500502 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
South Africa
South Africa
action filter_type
action find
entity Freedom Chiya
relation country of citizenship
type designation for an administrative territorial entity
['Freedom Chiya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Freedom_Chiya property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q258 Q369526
P27
Q502895
USER
Is Margaret Kennedy a civilian of that administrative territory ?
(Q369526,P27,Q258)
action is_in
entity Q369526
action find
entity Q258
relation P27
['Q369526', 'P27', 'Q258']
ASK WHERE { resource:Q258 property:P27 resource:Q369526 }
South Africa Margaret Kennedy
action is_in
entity Margaret Kennedy
action find
entity South Africa
relation country of citizenship
['Margaret Kennedy', 'country of citizenship', 'South Africa']
ASK WHERE { resource:South_Africa property:country_of_citizenship resource:Margaret_Kennedy }
[]
common name
SYSTEM
NO
(Q369526,P27,Q258)
action is_in
entity Q369526
action find
entity Q258
relation P27
[ANSWER]
['Q369526', 'P27', 'Q258']
ASK WHERE { resource:Q258 property:P27 resource:Q369526 }
No
action is_in
entity Margaret Kennedy
action find
entity South Africa
relation country of citizenship
['Margaret Kennedy', 'country of citizenship', 'South Africa']
ASK WHERE { resource:South_Africa property:country_of_citizenship resource:Margaret_Kennedy }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q977
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with more number of administrative territories than Djibouti ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q977
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?e ) WHERE { ?t rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 . ?t property:P530 ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q977 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?g ) }
Djibouti
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Djibouti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?e ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Djibouti property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q977
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with more number of administrative territories than Djibouti
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?e ) WHERE { ?t rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 . ?t property:P530 ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q977 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?g ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
Italy, Brazil and United States of America have ambassadorial relations with more number of administrative territories than Djibouti
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Djibouti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?e ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?a } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Djibouti property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q836
P530
Q15617994 Q15617994
USER
And also tell me about Myanmar?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q836
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?b property:P530 ?j . ?b rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q836 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?g > ?q ) }
Myanmar
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Myanmar
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?b property:diplomatic_relation ?j . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Myanmar property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g > ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q836
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?b property:P530 ?j . ?b rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q836 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?g > ?q ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Myanmar
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?b property:diplomatic_relation ?j . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Myanmar property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g > ?q ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2139177
P530
Q15617994
USER
Do Reichenbach have tactful political relations with those ones ?
(Q2139177,P530,Q38) (Q2139177,P530,Q155) (Q2139177,P530,Q30)
action is_in
entity prev_answer
action find
entity Q2139177
relation P530
['Q2139177', 'P530', 'Q38'] ['Q2139177', 'P530', 'Q155'] ['Q2139177', 'P530', 'Q30']
ASK WHERE { resource:Q2139177 property:P530 ?y . VALUES ( ?y ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } }
Reichenbach
action is_in
entity prev_answer
action find
entity Reichenbach
relation diplomatic relation
['Reichenbach', 'diplomatic relation', 'Italy'] ['Reichenbach', 'diplomatic relation', 'Brazil'] ['Reichenbach', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Reichenbach property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2139177,P530,Q38) (Q2139177,P530,Q155) (Q2139177,P530,Q30)
action is_in
entity prev_answer
action find
entity Q2139177
relation P530
[ANSWER]
['Q2139177', 'P530', 'Q38'] ['Q2139177', 'P530', 'Q155'] ['Q2139177', 'P530', 'Q30']
ASK WHERE { resource:Q2139177 property:P530 ?y . VALUES ( ?y ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } }
No
action is_in
entity prev_answer
action find
entity Reichenbach
relation diplomatic relation
['Reichenbach', 'diplomatic relation', 'Italy'] ['Reichenbach', 'diplomatic relation', 'Brazil'] ['Reichenbach', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Reichenbach property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q55488 Q179049
USER
Which administrative territories are the etymology of exactly 2 railway stations and nature reserves ?
(c(Q55488)|c(Q179049),P138,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
value 2
[[{'concept': 'Q55488'}, {'concept': 'Q179049'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:P138 ?y . ?y rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q55488 } UNION { ?y rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q179049 . ?o property:P138 ?y } } GROUP BY ?y } . FILTER ( ?g = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
value 2
[[{'concept': 'railway station'}, {'concept': 'nature reserve'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:named_after ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:railway_station } UNION { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:nature_reserve . ?o property:named_after ?y } } GROUP BY ?y } . FILTER ( ?g = 2 ) }
[]
designation for an administrative territorial entity railway station nature reserve
Q488513 Q14943702 Q2152015
SYSTEM
Anklam, Sprendlingen, Riedelbach
Q488513 Q14943702 Q2152015
(c(Q55488)|c(Q179049),P138,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
value 2
[ANSWERS] are the etymology of exactly 2 railway stations and nature reserves
[[{'concept': 'Q55488'}, {'concept': 'Q179049'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:P138 ?y . ?y rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q55488 } UNION { ?y rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q179049 . ?o property:P138 ?y } } GROUP BY ?y } . FILTER ( ?g = 2 ) }
Anklam Sprendlingen Riedelbach
Anklam, Sprendlingen and Riedelbach are the etymology of exactly 2 railway stations and nature reserves
Anklam Sprendlingen Riedelbach
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
value 2
[[{'concept': 'railway station'}, {'concept': 'nature reserve'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:named_after ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:railway_station } UNION { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:nature_reserve . ?o property:named_after ?y } } GROUP BY ?y } . FILTER ( ?g = 2 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7579375 Q155
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Brazil and are Sport Progreso a part of ?
AND((Q155,P530,c(Q15617994)), (Q7579375,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q155
relation P530
action find
entity Q7579375
relation P17
type Q15617994
{'AND': [['Q155', 'P530', {'concept': 'Q15617994'}], ['Q7579375', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { resource:Q155 property:P530 ?s . resource:Q7579375 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Sport Progreso Brazil
action filter_type
action intersection
action find
entity Brazil
relation diplomatic relation
action find
entity Sport Progreso
relation country
type designation for an administrative territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Sport Progreso', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:Brazil property:diplomatic_relation ?s . resource:Sport_Progreso property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419
SYSTEM
Peru
Q419
AND((Q155,P530,c(Q15617994)), (Q7579375,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q155
relation P530
action find
entity Q7579375
relation P17
type Q15617994
[ANSWER] have diplomatic relationships with Brazil and are Sport Progreso a part of
{'AND': [['Q155', 'P530', {'concept': 'Q15617994'}], ['Q7579375', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { resource:Q155 property:P530 ?s . resource:Q7579375 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Peru
Peru have diplomatic relationships with Brazil and are Sport Progreso a part of
Peru
action filter_type
action intersection
action find
entity Brazil
relation diplomatic relation
action find
entity Sport Progreso
relation country
type designation for an administrative territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Sport Progreso', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:Brazil property:diplomatic_relation ?s . resource:Sport_Progreso property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]