Simple Question (Direct)
Simple Question
Q6141715
P937
Q852446
USER
Which US administrative territory is the work location of James R. Roebuck, Jr. ?
(Q6141715,P937,c(Q852446))
action filter_type
action find
entity Q6141715
relation P937
type Q852446
['Q6141715', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?s WHERE { resource:Q6141715 property:P937 ?s . ?s rdf:type ontology:Q852446 }
James R. Roebuck, Jr.
action filter_type
action find
entity James R. Roebuck, Jr.
relation work location
type administrative territorial entity of the United States
['James R. Roebuck, Jr.', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?s WHERE { resource:James_R._Roebuck,_Jr. property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q25280
SYSTEM
Harrisburg
Q25280
(Q6141715,P937,c(Q852446))
action filter_type
action find
entity Q6141715
relation P937
type Q852446
[ANSWER] is the work location of James R. Roebuck, Jr.
['Q6141715', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?s WHERE { resource:Q6141715 property:P937 ?s . ?s rdf:type ontology:Q852446 }
Harrisburg
Harrisburg is the work location of James R. Roebuck, Jr.
Harrisburg
action filter_type
action find
entity James R. Roebuck, Jr.
relation work location
type administrative territorial entity of the United States
['James R. Roebuck, Jr.', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?s WHERE { resource:James_R._Roebuck,_Jr. property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6141715
P172
Q2472587
USER
What is the ethnicity of James R. Roebuck, Jr. ?
(Q6141715,P172,c(Q2472587))
action filter_type
action find
entity Q6141715
relation P172
type Q2472587
['Q6141715', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?o WHERE { resource:Q6141715 property:P172 ?o . ?o rdf:type ontology:Q2472587 }
James R. Roebuck, Jr.
action filter_type
action find
entity James R. Roebuck, Jr.
relation ethnic group
type people
['James R. Roebuck, Jr.', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?o WHERE { resource:James_R._Roebuck,_Jr. property:ethnic_group ?o . ?o rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q6141715,P172,c(Q2472587))
action filter_type
action find
entity Q6141715
relation P172
type Q2472587
The ethnicity of James R. Roebuck , Jr. is of [ANSWER]
['Q6141715', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?o WHERE { resource:Q6141715 property:P172 ?o . ?o rdf:type ontology:Q2472587 }
African Americans
The ethnicity of James R. Roebuck , Jr. is of African Americans
African Americans
action filter_type
action find
entity James R. Roebuck, Jr.
relation ethnic group
type people
['James R. Roebuck, Jr.', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?o WHERE { resource:James_R._Roebuck,_Jr. property:ethnic_group ?o . ?o rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6141715
P27
Q15617994
USER
Which administrative territory does James R. Roebuck, Jr. belong to ?
(Q6141715,P27,c(Q15617994))
action filter_type
action find
entity Q6141715
relation P27
type Q15617994
['Q6141715', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q6141715 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
James R. Roebuck, Jr.
action filter_type
action find
entity James R. Roebuck, Jr.
relation country of citizenship
type designation for an administrative territorial entity
['James R. Roebuck, Jr.', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:James_R._Roebuck,_Jr. property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6141715,P27,c(Q15617994))
action filter_type
action find
entity Q6141715
relation P27
type Q15617994
[ANSWER] does James R. Roebuck, Jr. belong to
['Q6141715', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q6141715 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
United States of America does James R. Roebuck, Jr. belong to
United States of America
action filter_type
action find
entity James R. Roebuck, Jr.
relation country of citizenship
type designation for an administrative territorial entity
['James R. Roebuck, Jr.', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:James_R._Roebuck,_Jr. property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q347
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with more number of administrative territories than Liechtenstein ?
(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 Q347
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Q347 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?q ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?p ) WHERE { ?h property:P530 ?j . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?h } }
Liechtenstein
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 Liechtenstein
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 ?h WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Liechtenstein property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?q ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?p ) WHERE { ?h property:diplomatic_relation ?j . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q142 Q145 Q148 Q403 Q159 Q43 Q155 Q30 Q38 Q17 Q79 Q1016 Q1011 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 Q347
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with more number of administrative territories than Liechtenstein
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Q347 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?q ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?p ) WHERE { ?h property:P530 ?j . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?h } }
Israel Yemen India France United Kingdom People's Republic of China Serbia Russia Turkey Brazil United States of America Italy Japan Egypt Libya Cape Verde Zambia
Italy, Brazil and United States of America have diplomatic relationships with more number of administrative territories than Liechtenstein
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 Liechtenstein
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 ?h WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Liechtenstein property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?q ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?p ) WHERE { ?h property:diplomatic_relation ?j . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q970
P530
Q15617994 Q15617994
USER
And how about Comoros?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q970
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q970 property:P530 ?x } } . FILTER ( ?g > ?n ) }
Comoros
action greater
action find_reverse_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 Comoros
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 ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Comoros property:diplomatic_relation ?x } } . FILTER ( ?g > ?n ) }
[]
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 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q970
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q970 property:P530 ?x } } . FILTER ( ?g > ?n ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_reverse_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 Comoros
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 ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Comoros property:diplomatic_relation ?x } } . FILTER ( ?g > ?n ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7628781
P840
Q166142
USER
Do Stunt GP have their setting located at those administrative territories ?
(Q7628781,P840,Q38) (Q7628781,P840,Q155) (Q7628781,P840,Q30)
action is_in
entity prev_answer
action find
entity Q7628781
relation P840
['Q7628781', 'P840', 'Q38'] ['Q7628781', 'P840', 'Q155'] ['Q7628781', 'P840', 'Q30']
ASK WHERE { resource:Q7628781 property:P840 ?x . VALUES ( ?x ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } }
Stunt GP
action is_in
entity prev_answer
action find
entity Stunt GP
relation narrative location
['Stunt GP', 'narrative location', 'Italy'] ['Stunt GP', 'narrative location', 'Brazil'] ['Stunt GP', 'narrative location', 'United States of America']
ASK WHERE { resource:Stunt_GP property:narrative_location ?x . VALUES ( ?x ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } }
[]
application
SYSTEM
NO
(Q7628781,P840,Q38) (Q7628781,P840,Q155) (Q7628781,P840,Q30)
action is_in
entity prev_answer
action find
entity Q7628781
relation P840
[ANSWER]
['Q7628781', 'P840', 'Q38'] ['Q7628781', 'P840', 'Q155'] ['Q7628781', 'P840', 'Q30']
ASK WHERE { resource:Q7628781 property:P840 ?x . VALUES ( ?x ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } }
No
action is_in
entity prev_answer
action find
entity Stunt GP
relation narrative location
['Stunt GP', 'narrative location', 'Italy'] ['Stunt GP', 'narrative location', 'Brazil'] ['Stunt GP', 'narrative location', 'United States of America']
ASK WHERE { resource:Stunt_GP property:narrative_location ?x . VALUES ( ?x ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q25280 Q142195
P17
Q15617994
USER
Is Harrisburg present in Monteflavio ?
(Q25280,P17,Q142195)
action is_in
entity Q142195
action find
entity Q25280
relation P17
['Q25280', 'P17', 'Q142195']
ASK WHERE { resource:Q25280 property:P17 resource:Q142195 }
Harrisburg Monteflavio
action is_in
entity Monteflavio
action find
entity Harrisburg
relation country
['Harrisburg', 'country', 'Monteflavio']
ASK WHERE { resource:Harrisburg property:country resource:Monteflavio }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q25280,P17,Q142195)
action is_in
entity Q142195
action find
entity Q25280
relation P17
[ANSWER]
['Q25280', 'P17', 'Q142195']
ASK WHERE { resource:Q25280 property:P17 resource:Q142195 }
No
action is_in
entity Monteflavio
action find
entity Harrisburg
relation country
['Harrisburg', 'country', 'Monteflavio']
ASK WHERE { resource:Harrisburg property:country resource:Monteflavio }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q794
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with more number of administrative territories than Iran ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q794
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?a ) WHERE { ?s property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:Q15617994 . resource:Q794 property:P530 ?y } } . FILTER ( ?a > ?c ) }
Iran
action count
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 Iran
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 ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?a ) WHERE { ?s property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Iran property:diplomatic_relation ?y } } . FILTER ( ?a > ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q801 Q805 Q668 Q142 Q145 Q148 Q711 Q403 Q159 Q43 Q155 Q884 Q30 Q929 Q38 Q230 Q184 Q225 Q347 Q17 Q114 Q212 Q858 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q794
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?a ) WHERE { ?s property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:Q15617994 . resource:Q794 property:P530 ?y } } . FILTER ( ?a > ?c ) }
Israel Yemen India France United Kingdom People's Republic of China Mongolia Serbia Russia Turkey Brazil South Korea United States of America Central African Republic Italy Georgia Belarus Bosnia and Herzegovina Liechtenstein Japan Kenya Ukraine Syria Cape Verde Zambia
25
action count
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 Iran
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 ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?a ) WHERE { ?s property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Iran property:diplomatic_relation ?y } } . FILTER ( ?a > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q31
P530
Q15617994 Q15617994
USER
And how about Belgium?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q31
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?m ) WHERE { ?k property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?m > ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q31 property:P530 ?v } } }
Belgium
action count
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 Belgium
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 ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?m ) WHERE { ?k property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?m > ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belgium property:diplomatic_relation ?v } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
34
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q711 Q252 Q403 Q159 Q43 Q155 Q796 Q794 Q884 Q30 Q929 Q38 Q230 Q27 Q184 Q225 Q222 Q347 Q17 Q114 Q212 Q213 Q79 Q858 Q948 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q31
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?m ) WHERE { ?k property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?m > ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q31 property:P530 ?v } } }
Israel Yemen India Argentina France United Kingdom People's Republic of China Mongolia Indonesia Serbia Russia Turkey Brazil Iraq Iran South Korea United States of America Central African Republic Italy Georgia Ireland Belarus Bosnia and Herzegovina Albania Liechtenstein Japan Kenya Ukraine Czech Republic Egypt Syria Tunisia Cape Verde Zambia
34
action count
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 Belgium
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 ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?m ) WHERE { ?k property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?m > ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belgium property:diplomatic_relation ?v } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q11343
P138
Q15617994 Q62447 Q271669
USER
How many administrative territories are the origin of greater number of aerodromes or landforms than Wetter (Ruhr) ?
(c(Q62447)|c(Q271669),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find_reverse
entity Q11343
relation P138
type Q62447
type Q271669
[[{'concept': 'Q62447'}, {'concept': 'Q271669'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?g ) { ( ontology:Q62447 ) ( ontology:Q271669 ) } . ?a rdf:type ?g } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:P138 resource:Q11343 . { { ?w rdf:type ontology:Q62447 } UNION { ?w rdf:type ontology:Q271669 } } } } . FILTER ( ?s > ?y ) }
Wetter (Ruhr)
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find_reverse
entity Wetter (Ruhr)
relation named after
type aerodrome
type landform
[[{'concept': 'aerodrome'}, {'concept': 'landform'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?g ) { ( ontology:aerodrome ) ( ontology:landform ) } . ?a rdf:type ?g } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:named_after resource:Wetter_(Ruhr) . { { ?w rdf:type ontology:aerodrome } UNION { ?w rdf:type ontology:landform } } } } . FILTER ( ?s > ?y ) }
[]
designation for an administrative territorial entity aerodrome landform
SYSTEM
4
Q6681 Q305352 Q205050 Q142
(c(Q62447)|c(Q271669),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find_reverse
entity Q11343
relation P138
type Q62447
type Q271669
[ANSWER]
[[{'concept': 'Q62447'}, {'concept': 'Q271669'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?g ) { ( ontology:Q62447 ) ( ontology:Q271669 ) } . ?a rdf:type ?g } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:P138 resource:Q11343 . { { ?w rdf:type ontology:Q62447 } UNION { ?w rdf:type ontology:Q271669 } } } } . FILTER ( ?s > ?y ) }
Crotone Aban Geilenkirchen France
4
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find_reverse
entity Wetter (Ruhr)
relation named after
type aerodrome
type landform
[[{'concept': 'aerodrome'}, {'concept': 'landform'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?s ) WHERE { VALUES ( ?g ) { ( ontology:aerodrome ) ( ontology:landform ) } . ?a rdf:type ?g } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:named_after resource:Wetter_(Ruhr) . { { ?w rdf:type ontology:aerodrome } UNION { ?w rdf:type ontology:landform } } } } . FILTER ( ?s > ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q13645
P138
Q15617994 Q62447 Q271669
USER
And what about Tempio Pausania?
(c(Q62447)|c(Q271669),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find_reverse
entity Q13645
relation P138
type Q62447
type Q271669
[[{'concept': 'Q62447'}, {'concept': 'Q271669'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:Q62447 ) ( ontology:Q271669 ) } . ?q rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P138 resource:Q13645 . { { ?m rdf:type ontology:Q62447 } UNION { ?m rdf:type ontology:Q271669 } } } } . FILTER ( ?v > ?h ) }
Tempio Pausania
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find_reverse
entity Tempio Pausania
relation named after
type aerodrome
type landform
[[{'concept': 'aerodrome'}, {'concept': 'landform'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:aerodrome ) ( ontology:landform ) } . ?q rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:named_after resource:Tempio_Pausania . { { ?m rdf:type ontology:aerodrome } UNION { ?m rdf:type ontology:landform } } } } . FILTER ( ?v > ?h ) }
[]
designation for an administrative territorial entity aerodrome landform
SYSTEM
4
Q6681 Q305352 Q205050 Q142
(c(Q62447)|c(Q271669),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find_reverse
entity Q13645
relation P138
type Q62447
type Q271669
[ANSWER]
[[{'concept': 'Q62447'}, {'concept': 'Q271669'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:Q62447 ) ( ontology:Q271669 ) } . ?q rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P138 resource:Q13645 . { { ?m rdf:type ontology:Q62447 } UNION { ?m rdf:type ontology:Q271669 } } } } . FILTER ( ?v > ?h ) }
Crotone Aban Geilenkirchen France
4
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find_reverse
entity Tempio Pausania
relation named after
type aerodrome
type landform
[[{'concept': 'aerodrome'}, {'concept': 'landform'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:aerodrome ) ( ontology:landform ) } . ?q rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:named_after resource:Tempio_Pausania . { { ?m rdf:type ontology:aerodrome } UNION { ?m rdf:type ontology:landform } } } } . FILTER ( ?v > ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q27136740 Q25280
P17
Q15617994
USER
Which administrative territories are Harrisburg or Casa de la Moneda a part of ?
OR((Q25280,P17,c(Q15617994)), (Q27136740,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q25280
relation P17
action find
entity Q27136740
relation P17
type Q15617994
{'OR': [['Q25280', 'P17', {'concept': 'Q15617994'}], ['Q27136740', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . { { resource:Q25280 property:P17 ?v } UNION { resource:Q27136740 property:P17 ?v } } }
Casa de la Moneda Harrisburg
action filter_type
action union
action find
entity Harrisburg
relation country
action find
entity Casa de la Moneda
relation country
type designation for an administrative territorial entity
{'OR': [['Harrisburg', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Casa de la Moneda', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Harrisburg property:country ?v } UNION { resource:Casa_de_la_Moneda property:country ?v } } }
[]
designation for an administrative territorial entity
Q29 Q30
SYSTEM
Spain, United States of America
Q29 Q30
OR((Q25280,P17,c(Q15617994)), (Q27136740,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q25280
relation P17
action find
entity Q27136740
relation P17
type Q15617994
[ANSWERS] are Harrisburg or Casa de la Moneda a part of
{'OR': [['Q25280', 'P17', {'concept': 'Q15617994'}], ['Q27136740', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . { { resource:Q25280 property:P17 ?v } UNION { resource:Q27136740 property:P17 ?v } } }
Spain United States of America
Spain and United States of America are Harrisburg or Casa de la Moneda a part of
Spain United States of America
action filter_type
action union
action find
entity Harrisburg
relation country
action find
entity Casa de la Moneda
relation country
type designation for an administrative territorial entity
{'OR': [['Harrisburg', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Casa de la Moneda', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Harrisburg property:country ?v } UNION { resource:Casa_de_la_Moneda property:country ?v } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q29 Q30
P1532
Q502895
USER
Which people represent Spain and United States of America ?
(c(Q502895),P1532,Q29) (c(Q502895),P1532,Q30)
action union
action filter_type
action find_reverse
entity Q29
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q30
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q29'] [{'concept': 'Q502895'}, 'P1532', 'Q30']
SELECT DISTINCT ?v WHERE { { ?v property:P1532 resource:Q29 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P1532 resource:Q30 . ?v rdf:type ontology:Q502895 } }
Spain United States of America
action union
action filter_type
action find_reverse
entity Spain
relation country for sport
type common name
action filter_type
action find_reverse
entity United States of America
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Spain'] [{'concept': 'common name'}, 'country for sport', 'United States of America']
SELECT DISTINCT ?v WHERE { { ?v property:country_for_sport resource:Spain . ?v rdf:type ontology:common_name } UNION { ?v property:country_for_sport resource:United_States_of_America . ?v rdf:type ontology:common_name } }
[]
common name
Q25893330 Q19867440 Q24256226
SYSTEM
Leonard Essau Korir, Concepción Paredes, Roland McGhee
Q23662377 Q23662377 Q1392421 Q16215768 Q23902595 Q18698326 Q23008405 Q23008429 Q16232317 Q19867440 Q25711732 Q20954210 Q4703305 Q21642970 Q18755906 Q24956498 Q12255976 Q25841216 Q22896387 Q1369590 Q272284 Q11694146 Q6165500 Q12253280 Q21557414 Q6188586 Q20724299 Q20630291 Q5865148 Q25756719 Q5938299 Q23319644 Q20535131 Q25915450 Q23047595 Q20729960 Q21470974 Q6162247 Q25768282 Q24256226 Q6758711 Q26132285 Q25350184 Q26015633 Q25909425 Q23774398 Q23479384 Q746477 Q25915537 Q25893000 Q23031872 Q25861104 Q23479504 Q22667421 Q25999135 Q21623144 Q27642893 Q24006480 Q24001915 Q23771293 Q16299090 Q26405994 Q20827839 Q24951533 Q26018246 Q23308124 Q20524610 Q9324132 Q23907406 Q11702974 Q16210747 Q23658061 Q23658063 Q22083504 Q24150830 Q25803631 Q23306222 Q24893052 Q23772388 Q23766543 Q22341605 Q23801154 Q25909388 Q13562889 Q23319245 Q25909407 Q23043633 Q23043631 Q21683921 Q23308048 Q21402245 Q20727830 Q21642724 Q5363684 Q22751947 Q25861088 Q26111360 Q9310362 Q26160493 Q23009372 Q3518887 Q24955939 Q23043635 Q21735912 Q16211626 Q24852516 Q2224177 Q26217996 Q3007808 Q25893330 Q25915600 Q25893328 Q22002442 Q25350692 Q6721061 Q25893375 Q4909212 Q21501633
(c(Q502895),P1532,Q29) (c(Q502895),P1532,Q30)
action union
action filter_type
action find_reverse
entity Q29
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q30
relation P1532
type Q502895
[ANSWERS] represent Spain and United States of America
[{'concept': 'Q502895'}, 'P1532', 'Q29'] [{'concept': 'Q502895'}, 'P1532', 'Q30']
SELECT DISTINCT ?v WHERE { { ?v property:P1532 resource:Q29 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P1532 resource:Q30 . ?v rdf:type ontology:Q502895 } }
Álvaro de Arriba Álvaro de Arriba Miguel Muñoz Pantoja Pedro Antonio Esteso Enrique Talavera Cristo Reyes Florencio Gascón Luis Turón Antonio Noguera Concepción Paredes Sergio Fernández Lucas Búa de Miguel Jose Javier Arqués Ferrer Salvador Rodríguez Ignacio Plaza Jiménez Juliet Itoya Cristina Castro Irene Alfonso Julia Merino Joan Lino Martínez Carolina Ruiz Castillo Didac Salas Javier Fernández Amaia Andrés Antonio Andrés Jesús Oliván Marc Alcalá Óscar Añón Sande Francisco Aritmendi Daniel Mateo José Arconada Daniel Andújar Estela Estévez Cale Simmons Yolanda Henry Aaron Russell Emma Bates Jason Colwick Heather Miller Roland McGhee Mardy Scales Kendall Sheffield Christian Coleman Paige Kouba Tavis Bailey Derrick Williams Jim Spisak Kylie Hutson Logan Cunningham Rudy Winkler Stanley Redwine Maggie Malone Kellyn Taylor Molly Watcke Deakin Volz Jessica Tonn Nick Rogers Barbara Perry Neely Spence Gracey Gwen Gardner Steve Holman Anthony Peters Herb Lindsay Chris Benard Marc Sylvester Sam Mattis Hendrik Blok Russell Winger James Farmer Gwen Berry Jason Lunn Brianne Nelson Spencer Adams Dawn Bowles Gordon McKee Deajah Stevens Quanera Hayes Tia Jones Dawane Wallace James Butler Cheryl Taplin Ben Blankenship Lexi Weeks Juliana Yendork Alphonso Jordan Kali Davis-White Mike Sayenko Fasil Bizuneh Caleb Jones Christopher Giesting Emily Sisson Ameer Webb Matt Llano Elizabeth Wanless Sharon Couch Raven Saunders Wilbert London Ricky Robertson Josephus Lyles Ellison Goodall Terry Brahm Sydney McLaughlin Terrance Herrington Angie Vaughn Deworski Odom Tony Migliozzi Sara Hall McKayla Fricker Curtis Johnson Leonard Essau Korir Andrew Evans Felisha Johnson Max King Chrishuna Williams Maalik Reynolds Byron Robinson Bill Green Randy Will
Leonard Essau Korir, Concepción Paredes and Roland McGhee represent Spain and United States of America
Leonard Essau Korir Concepción Paredes Roland McGhee
action union
action filter_type
action find_reverse
entity Spain
relation country for sport
type common name
action filter_type
action find_reverse
entity United States of America
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Spain'] [{'concept': 'common name'}, 'country for sport', 'United States of America']
SELECT DISTINCT ?v WHERE { { ?v property:country_for_sport resource:Spain . ?v rdf:type ontology:common_name } UNION { ?v property:country_for_sport resource:United_States_of_America . ?v rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q25893330 Q19867440 Q24256226
P27
Q15617994
USER
Which administrative territories are Leonard Essau Korir, Concepción Paredes and Roland McGhee an inhabitant of ?
(Q25893330,P27,c(Q15617994)) (Q19867440,P27,c(Q15617994)) (Q24256226,P27,c(Q15617994))
action union
action filter_type
action find
entity Q25893330
relation P27
type Q15617994
action filter_type
action find
entity Q19867440
relation P27
type Q15617994
action filter_type
action find
entity Q24256226
relation P27
type Q15617994
['Q25893330', 'P27', {'concept': 'Q15617994'}] ['Q19867440', 'P27', {'concept': 'Q15617994'}] ['Q24256226', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { resource:Q25893330 property:P27 ?z . ?z rdf:type ontology:Q15617994 } UNION { resource:Q19867440 property:P27 ?z . ?z rdf:type ontology:Q15617994 } }
Leonard Essau Korir Concepción Paredes Roland McGhee
action union
action filter_type
action find
entity Leonard Essau Korir
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Concepción Paredes
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Roland McGhee
relation country of citizenship
type designation for an administrative territorial entity
['Leonard Essau Korir', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Concepción Paredes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Roland McGhee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { resource:Leonard_Essau_Korir property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Concepción_Paredes property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q29 Q30
SYSTEM
Spain for 2nd, United States of America for 1st, 3rd
Q30 Q29 Q30
(Q25893330,P27,c(Q15617994)) (Q19867440,P27,c(Q15617994)) (Q24256226,P27,c(Q15617994))
action union
action filter_type
action find
entity Q25893330
relation P27
type Q15617994
action filter_type
action find
entity Q19867440
relation P27
type Q15617994
action filter_type
action find
entity Q24256226
relation P27
type Q15617994
[ANSWERS]
['Q25893330', 'P27', {'concept': 'Q15617994'}] ['Q19867440', 'P27', {'concept': 'Q15617994'}] ['Q24256226', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { resource:Q25893330 property:P27 ?z . ?z rdf:type ontology:Q15617994 } UNION { resource:Q19867440 property:P27 ?z . ?z rdf:type ontology:Q15617994 } }
United States of America Spain United States of America
United States of America, Spain and United States of America are Leonard Essau Korir, Concepción Paredes and Roland McGhee an inhabitant of
United States of America Spain United States of America
action union
action filter_type
action find
entity Leonard Essau Korir
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Concepción Paredes
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Roland McGhee
relation country of citizenship
type designation for an administrative territorial entity
['Leonard Essau Korir', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Concepción Paredes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Roland McGhee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { resource:Leonard_Essau_Korir property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Concepción_Paredes property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]