Simple Question (Direct)
Simple Question
Q7807321
P172
Q2472587
USER
Which people does Timothy K. Lewis have as ethnic origin ?
(Q7807321,P172,c(Q2472587))
action filter_type
action find
entity Q7807321
relation P172
type Q2472587
['Q7807321', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?a WHERE { resource:Q7807321 property:P172 ?a . ?a rdf:type ontology:Q2472587 }
Timothy K. Lewis
action filter_type
action find
entity Timothy K. Lewis
relation ethnic group
type people
['Timothy K. Lewis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?a WHERE { resource:Timothy_K._Lewis property:ethnic_group ?a . ?a rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q7807321,P172,c(Q2472587))
action filter_type
action find
entity Q7807321
relation P172
type Q2472587
Timothy K . Lewis has raised [ANSWER] as ethnic origin
['Q7807321', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?a WHERE { resource:Q7807321 property:P172 ?a . ?a rdf:type ontology:Q2472587 }
African Americans
Timothy K . Lewis has raised African Americans as ethnic origin
African Americans
action filter_type
action find
entity Timothy K. Lewis
relation ethnic group
type people
['Timothy K. Lewis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?a WHERE { resource:Timothy_K._Lewis property:ethnic_group ?a . ?a rdf:type ontology:people }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q7807321
P106
Q12737077 Q28640
USER
How many occupations or professions are the professions of Timothy K. Lewis ?
(Q7807321,P106,c(Q12737077)) (Q7807321,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q7807321
relation P106
type Q12737077
action filter_type
action find
entity Q7807321
relation P106
type Q28640
['Q7807321', 'P106', {'concept': 'Q12737077'}] ['Q7807321', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:Q28640 ) ( ontology:Q12737077 ) } . ?v rdf:type ?a }
Timothy K. Lewis
action count
action union
action filter_type
action find
entity Timothy K. Lewis
relation occupation
type occupation
action filter_type
action find
entity Timothy K. Lewis
relation occupation
type profession
['Timothy K. Lewis', 'occupation', {'concept': 'occupation'}] ['Timothy K. Lewis', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:profession ) ( ontology:occupation ) } . ?v rdf:type ?a }
[]
occupation profession
SYSTEM
2
Q16533 Q40348
(Q7807321,P106,c(Q12737077)) (Q7807321,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q7807321
relation P106
type Q12737077
action filter_type
action find
entity Q7807321
relation P106
type Q28640
[ANSWER]
['Q7807321', 'P106', {'concept': 'Q12737077'}] ['Q7807321', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:Q28640 ) ( ontology:Q12737077 ) } . ?v rdf:type ?a }
judge lawyer
2
action count
action union
action filter_type
action find
entity Timothy K. Lewis
relation occupation
type occupation
action filter_type
action find
entity Timothy K. Lewis
relation occupation
type profession
['Timothy K. Lewis', 'occupation', {'concept': 'occupation'}] ['Timothy K. Lewis', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:profession ) ( ontology:occupation ) } . ?v rdf:type ?a }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q728808 Q7807321
P69
Q163740
USER
Which nonprofit organizations were Timothy K. Lewis or Eugene Richards educated ?
OR((Q7807321,P69,c(Q163740)), (Q728808,P69,c(Q163740)))
action filter_type
action union
action find
entity Q7807321
relation P69
action find
entity Q728808
relation P69
type Q163740
{'OR': [['Q7807321', 'P69', {'concept': 'Q163740'}], ['Q728808', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q7807321 property:P69 ?s } UNION { resource:Q728808 property:P69 ?s } } . ?s rdf:type ontology:Q163740 }
Eugene Richards Timothy K. Lewis
action filter_type
action union
action find
entity Timothy K. Lewis
relation educated at
action find
entity Eugene Richards
relation educated at
type nonprofit organization
{'OR': [['Timothy K. Lewis', 'educated at', {'concept': 'nonprofit organization'}], ['Eugene Richards', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Timothy_K._Lewis property:educated_at ?s } UNION { resource:Eugene_Richards property:educated_at ?s } } . ?s rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49120 Q74343 Q49108 Q37548
SYSTEM
Tufts University, Duquesne University, Massachusetts Institute of Technology, Northeastern University
Q49120 Q74343 Q49108 Q37548
OR((Q7807321,P69,c(Q163740)), (Q728808,P69,c(Q163740)))
action filter_type
action union
action find
entity Q7807321
relation P69
action find
entity Q728808
relation P69
type Q163740
[ANSWERS] were Timothy K. Lewis or Eugene Richards educated
{'OR': [['Q7807321', 'P69', {'concept': 'Q163740'}], ['Q728808', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q7807321 property:P69 ?s } UNION { resource:Q728808 property:P69 ?s } } . ?s rdf:type ontology:Q163740 }
Tufts University Duquesne University Massachusetts Institute of Technology Northeastern University
Tufts University, Duquesne University, Massachusetts Institute of Technology and Northeastern University were Timothy K. Lewis or Eugene Richards educated
Tufts University Duquesne University Massachusetts Institute of Technology Northeastern University
action filter_type
action union
action find
entity Timothy K. Lewis
relation educated at
action find
entity Eugene Richards
relation educated at
type nonprofit organization
{'OR': [['Timothy K. Lewis', 'educated at', {'concept': 'nonprofit organization'}], ['Eugene Richards', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Timothy_K._Lewis property:educated_at ?s } UNION { resource:Eugene_Richards property:educated_at ?s } } . ?s rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5485304
P21
Q290
USER
Which sex does Frank Bergon belong to ?
(Q5485304,P21,c(Q290))
action filter_type
action find
entity Q5485304
relation P21
type Q290
['Q5485304', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q5485304 property:P21 ?j . ?j rdf:type ontology:Q290 }
Frank Bergon
action filter_type
action find
entity Frank Bergon
relation gender
type sex
['Frank Bergon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Frank_Bergon property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5485304,P21,c(Q290))
action filter_type
action find
entity Q5485304
relation P21
type Q290
Frank Bergon belongs to [ANSWER]
['Q5485304', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q5485304 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Frank Bergon belongs to male
male
action filter_type
action find
entity Frank Bergon
relation gender
type sex
['Frank Bergon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Frank_Bergon property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3881586
Q290
USER
And also tell me about Alexander Lokhmanchuk?
(Q3881586,P21,c(Q290))
action filter_type
action find
entity Q3881586
relation P21
type Q290
['Q3881586', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q3881586 property:P21 ?n }
Alexander Lokhmanchuk
action filter_type
action find
entity Alexander Lokhmanchuk
relation gender
type sex
['Alexander Lokhmanchuk', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Alexander_Lokhmanchuk property:gender ?n }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3881586,P21,c(Q290))
action filter_type
action find
entity Q3881586
relation P21
type Q290
[ANSWER]
['Q3881586', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q3881586 property:P21 ?n }
male
male
action filter_type
action find
entity Alexander Lokhmanchuk
relation gender
type sex
['Alexander Lokhmanchuk', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Alexander_Lokhmanchuk property:gender ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q14476970
P21
Q502895
USER
Does Théophile Nicolas Noblot have the gender as that sex ?
(Q14476970,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q14476970
relation P21
['Q14476970', 'P21', 'Q6581097']
ASK WHERE { resource:Q14476970 property:P21 resource:Q6581097 }
male Théophile Nicolas Noblot
action is_in
entity male
action find
entity Théophile Nicolas Noblot
relation gender
['Théophile Nicolas Noblot', 'gender', 'male']
ASK WHERE { resource:Théophile_Nicolas_Noblot property:gender resource:male }
[]
common name
SYSTEM
YES
(Q14476970,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q14476970
relation P21
[ANSWER]
['Q14476970', 'P21', 'Q6581097']
ASK WHERE { resource:Q14476970 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Théophile Nicolas Noblot
relation gender
['Théophile Nicolas Noblot', 'gender', 'male']
ASK WHERE { resource:Théophile_Nicolas_Noblot property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49120 Q30
P17
Q15617994
USER
Is Tufts University situated in United States of America ?
(Q49120,P17,Q30)
action is_in
entity Q30
action find
entity Q49120
relation P17
['Q49120', 'P17', 'Q30']
ASK WHERE { resource:Q49120 property:P17 resource:Q30 }
Tufts University United States of America
action is_in
entity United States of America
action find
entity Tufts University
relation country
['Tufts University', 'country', 'United States of America']
ASK WHERE { resource:Tufts_University property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q49120,P17,Q30)
action is_in
entity Q30
action find
entity Q49120
relation P17
[ANSWER]
['Q49120', 'P17', 'Q30']
ASK WHERE { resource:Q49120 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Tufts University
relation country
['Tufts University', 'country', 'United States of America']
ASK WHERE { resource:Tufts_University property:country resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1771922 Q30
P47 P530
Q1048835
USER
Which political territories have diplomatic relations with United States of America or have a shared border with Albaladejo del Cuende ?
OR((Q30,P530,c(Q1048835)), (Q1771922,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q1771922
relation P47
type Q1048835
{'OR': [['Q30', 'P530', {'concept': 'Q1048835'}], ['Q1771922', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q30 property:P530 ?n } UNION { resource:Q1771922 property:P47 ?n } } . ?n rdf:type ontology:Q1048835 }
Albaladejo del Cuende United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Albaladejo del Cuende
relation shares border with
type political territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Albaladejo del Cuende', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:United_States_of_America property:diplomatic_relation ?n } UNION { resource:Albaladejo_del_Cuende property:shares_border_with ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1772323 Q1767439 Q183 Q1638589 Q408 Q16
SYSTEM
Belmontejo, Villaverde y Pasaconsol, Germany, La Parra de las Vegas, Australia, Canada
Q1772323 Q1767439 Q183 Q1638589 Q408 Q16
OR((Q30,P530,c(Q1048835)), (Q1771922,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q1771922
relation P47
type Q1048835
[ANSWERS] have diplomatic relations with United States of America or have a shared border with Albaladejo del Cuende
{'OR': [['Q30', 'P530', {'concept': 'Q1048835'}], ['Q1771922', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q30 property:P530 ?n } UNION { resource:Q1771922 property:P47 ?n } } . ?n rdf:type ontology:Q1048835 }
Belmontejo Villaverde y Pasaconsol Germany La Parra de las Vegas Australia Canada
Belmontejo, Villaverde y Pasaconsol, Germany, La Parra de las Vegas, Australia and Canada have diplomatic relations with United States of America or have a shared border with Albaladejo del Cuende
Belmontejo Villaverde y Pasaconsol Germany La Parra de las Vegas Australia Canada
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Albaladejo del Cuende
relation shares border with
type political territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Albaladejo del Cuende', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:United_States_of_America property:diplomatic_relation ?n } UNION { resource:Albaladejo_del_Cuende property:shares_border_with ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q233
P530
Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with more number of political territories than Malta ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q233
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Q233 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?n ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?q ) WHERE { ?z property:P530 ?c . ?z rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?z } }
Malta
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Malta
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Malta property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?n ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?q ) WHERE { ?z property:diplomatic_relation ?c . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?z } }
[]
political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q889 Q884 Q33 Q30 Q36 Q34 Q39 Q38 Q739 Q423 Q851 Q230 Q20 Q27 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q233
relation P530
type Q15617994
[ANSWERS] have tactful political relations with more number of political territories than Malta
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Q233 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?n ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?q ) WHERE { ?z property:P530 ?c . ?z rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?z } }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Brazil Afghanistan South Korea Finland United States of America Poland Sweden Switzerland Italy Colombia North Korea Saudi Arabia Georgia Norway Ireland Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
Italy, Brazil and United States of America have tactful political relations with more number of political territories than Malta
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Malta
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Malta property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?n ) . { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?q ) WHERE { ?z property:diplomatic_relation ?c . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?z } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5944131
P840
Q166142
USER
Do Hunter's Moon have a setting location of those administrative territories ?
(Q5944131,P840,Q38) (Q5944131,P840,Q155) (Q5944131,P840,Q30)
action is_in
entity prev_answer
action find
entity Q5944131
relation P840
['Q5944131', 'P840', 'Q38'] ['Q5944131', 'P840', 'Q155'] ['Q5944131', 'P840', 'Q30']
ASK WHERE { resource:Q5944131 property:P840 ?m . VALUES ( ?m ) { ( resource:Q801 ) ( resource:Q142 ) ( resource:Q145 ) } }
Hunter's Moon
action is_in
entity prev_answer
action find
entity Hunter's Moon
relation narrative location
["Hunter's Moon", 'narrative location', 'Italy'] ["Hunter's Moon", 'narrative location', 'Brazil'] ["Hunter's Moon", 'narrative location', 'United States of America']
ASK WHERE { resource:Hunter's_Moon property:narrative_location ?m . VALUES ( ?m ) { ( resource:Israel ) ( resource:France ) ( resource:United_Kingdom ) } }
[]
application
SYSTEM
NO
(Q5944131,P840,Q38) (Q5944131,P840,Q155) (Q5944131,P840,Q30)
action is_in
entity prev_answer
action find
entity Q5944131
relation P840
[ANSWER]
['Q5944131', 'P840', 'Q38'] ['Q5944131', 'P840', 'Q155'] ['Q5944131', 'P840', 'Q30']
ASK WHERE { resource:Q5944131 property:P840 ?m . VALUES ( ?m ) { ( resource:Q801 ) ( resource:Q142 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Hunter's Moon
relation narrative location
["Hunter's Moon", 'narrative location', 'Italy'] ["Hunter's Moon", 'narrative location', 'Brazil'] ["Hunter's Moon", 'narrative location', 'United States of America']
ASK WHERE { resource:Hunter's_Moon property:narrative_location ?m . VALUES ( ?m ) { ( resource:Israel ) ( resource:France ) ( resource:United_Kingdom ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q21
P163
Q14660
USER
How many flags are associated with United States of America or England ?
(Q30,P163,c(Q14660)) (Q21,P163,c(Q14660))
action count
action union
action filter_type
action find
entity Q30
relation P163
type Q14660
action filter_type
action find
entity Q21
relation P163
type Q14660
['Q30', 'P163', {'concept': 'Q14660'}] ['Q21', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { VALUES ( ?p ) { ( resource:Q21 ) ( resource:Q30 ) } . ?p property:P163 ?j }
United States of America England
action count
action union
action filter_type
action find
entity United States of America
relation flag
type flag
action filter_type
action find
entity England
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}] ['England', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { VALUES ( ?p ) { ( resource:England ) ( resource:United_States_of_America ) } . ?p property:flag ?j }
[]
flag
SYSTEM
2
Q42537 Q171117
(Q30,P163,c(Q14660)) (Q21,P163,c(Q14660))
action count
action union
action filter_type
action find
entity Q30
relation P163
type Q14660
action filter_type
action find
entity Q21
relation P163
type Q14660
[ANSWER]
['Q30', 'P163', {'concept': 'Q14660'}] ['Q21', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { VALUES ( ?p ) { ( resource:Q21 ) ( resource:Q30 ) } . ?p property:P163 ?j }
flag of the United States of America flag of England
2
action count
action union
action filter_type
action find
entity United States of America
relation flag
type flag
action filter_type
action find
entity England
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}] ['England', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { VALUES ( ?p ) { ( resource:England ) ( resource:United_States_of_America ) } . ?p property:flag ?j }
[]