Simple Question (Direct)
Simple Question
Q4782064
P735
Q82799
USER
Which name is April Phumo known by ?
(Q4782064,P735,c(Q82799))
action filter_type
action find
entity Q4782064
relation P735
type Q82799
['Q4782064', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q4782064 property:P735 ?v . ?v rdf:type ontology:Q82799 }
April Phumo
action filter_type
action find
entity April Phumo
relation given name
type name
['April Phumo', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:April_Phumo property:given_name ?v . ?v rdf:type ontology:name }
[]
name
Q621915
SYSTEM
April
Q621915
(Q4782064,P735,c(Q82799))
action filter_type
action find
entity Q4782064
relation P735
type Q82799
[ANSWER] Phumo is known as [ANSWER]
['Q4782064', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q4782064 property:P735 ?v . ?v rdf:type ontology:Q82799 }
April
April Phumo is known as April
April
action filter_type
action find
entity April Phumo
relation given name
type name
['April Phumo', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:April_Phumo property:given_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q621915
P1533
Q82799
USER
Which name is same as that one ?
(Q621915,P1533,c(Q82799))
action filter_type
action find
entity Q621915
relation P1533
type Q82799
['Q621915', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q82799 . resource:Q621915 property:P1533 ?v }
April
action filter_type
action find
entity April
relation family name identical to this first name
type name
['April', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:name . resource:April property:family_name_identical_to_this_first_name ?v }
[]
name
Q26933324
SYSTEM
April
Q26933324
(Q621915,P1533,c(Q82799))
action filter_type
action find
entity Q621915
relation P1533
type Q82799
The [ANSWER] is same as that one
['Q621915', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q82799 . resource:Q621915 property:P1533 ?v }
April
The April is same as that one
April
action filter_type
action find
entity April
relation family name identical to this first name
type name
['April', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:name . resource:April property:family_name_identical_to_this_first_name ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26933324
P734
Q502895
USER
Which person has that one as last name ?
(c(Q502895),P734,Q26933324)
action filter_type
action find_reverse
entity Q26933324
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q26933324']
SELECT DISTINCT ?y WHERE { ?y property:P734 resource:Q26933324 . ?y rdf:type ontology:Q502895 }
April
action filter_type
action find_reverse
entity April
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'April']
SELECT DISTINCT ?y WHERE { ?y property:family_name resource:April . ?y rdf:type ontology:common_name }
[]
common name
Q730586
SYSTEM
Franklin April
Q730586
(c(Q502895),P734,Q26933324)
action filter_type
action find_reverse
entity Q26933324
relation P734
type Q502895
[ANSWER] has that one as last name
[{'concept': 'Q502895'}, 'P734', 'Q26933324']
SELECT DISTINCT ?y WHERE { ?y property:P734 resource:Q26933324 . ?y rdf:type ontology:Q502895 }
Franklin April
Franklin April has that one as last name
Franklin April
action filter_type
action find_reverse
entity April
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'April']
SELECT DISTINCT ?y WHERE { ?y property:family_name resource:April . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q68614 Q4782064
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of April Phumo or do Sanming belong to ?
OR((Q4782064,P27,c(Q15617994)), (Q68614,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4782064
relation P27
action find
entity Q68614
relation P17
type Q15617994
{'OR': [['Q4782064', 'P27', {'concept': 'Q15617994'}], ['Q68614', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q68614 property:P17 ?k } UNION { resource:Q4782064 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Sanming April Phumo
action filter_type
action union
action find
entity April Phumo
relation country of citizenship
action find
entity Sanming
relation country
type designation for an administrative territorial entity
{'OR': [['April Phumo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sanming', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Sanming property:country ?k } UNION { resource:April_Phumo property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q258
SYSTEM
People's Republic of China, South Africa
Q148 Q258
OR((Q4782064,P27,c(Q15617994)), (Q68614,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4782064
relation P27
action find
entity Q68614
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of April Phumo or do Sanming belong to
{'OR': [['Q4782064', 'P27', {'concept': 'Q15617994'}], ['Q68614', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q68614 property:P17 ?k } UNION { resource:Q4782064 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
People's Republic of China South Africa
People's Republic of China and South Africa are the countries of citizenship of April Phumo or do Sanming belong to
People's Republic of China South Africa
action filter_type
action union
action find
entity April Phumo
relation country of citizenship
action find
entity Sanming
relation country
type designation for an administrative territorial entity
{'OR': [['April Phumo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sanming', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Sanming property:country ?k } UNION { resource:April_Phumo property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4536984
P530
Q1048835
USER
Do Yakovlivka have tactful political relations with those administrative territories ?
(Q4536984,P530,Q148) (Q4536984,P530,Q258)
action is_in
entity prev_answer
action find
entity Q4536984
relation P530
['Q4536984', 'P530', 'Q148'] ['Q4536984', 'P530', 'Q258']
ASK WHERE { VALUES ( ?a ) { ( resource:Q148 ) ( resource:Q258 ) } . resource:Q4536984 property:P530 ?a }
Yakovlivka
action is_in
entity prev_answer
action find
entity Yakovlivka
relation diplomatic relation
['Yakovlivka', 'diplomatic relation', "People's Republic of China"] ['Yakovlivka', 'diplomatic relation', 'South Africa']
ASK WHERE { VALUES ( ?a ) { ( resource:People's_Republic_of_China ) ( resource:South_Africa ) } . resource:Yakovlivka property:diplomatic_relation ?a }
[]
political territorial entity
SYSTEM
NO
(Q4536984,P530,Q148) (Q4536984,P530,Q258)
action is_in
entity prev_answer
action find
entity Q4536984
relation P530
[ANSWER]
['Q4536984', 'P530', 'Q148'] ['Q4536984', 'P530', 'Q258']
ASK WHERE { VALUES ( ?a ) { ( resource:Q148 ) ( resource:Q258 ) } . resource:Q4536984 property:P530 ?a }
No
action is_in
entity prev_answer
action find
entity Yakovlivka
relation diplomatic relation
['Yakovlivka', 'diplomatic relation', "People's Republic of China"] ['Yakovlivka', 'diplomatic relation', 'South Africa']
ASK WHERE { VALUES ( ?a ) { ( resource:People's_Republic_of_China ) ( resource:South_Africa ) } . resource:Yakovlivka property:diplomatic_relation ?a }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q56061 Q20667921
USER
Which administrative territories have around 2 administrative territories or french administrative divisions as their capital ?
(c(Q56061)|c(Q20667921),P1376,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 2
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?p WHERE { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } } GROUP BY ?p } . FILTER ( ?n = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 2
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?p WHERE { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?p } . FILTER ( ?n = 2 ) }
[]
designation for an administrative territorial entity administrative territorial entity type of french administrative division
Q38 Q30 Q805
SYSTEM
Italy, United States of America, Yemen
Q805 Q258 Q3259 Q12798 Q1020 Q41 Q30 Q38 Q12730 Q199688 Q3278 Q12772 Q12661 Q517333
(c(Q56061)|c(Q20667921),P1376,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 2
[ANSWERS] have around 2 administrative territories or french administrative divisions as their capital
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?p WHERE { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } } GROUP BY ?p } . FILTER ( ?n = 2 ) }
Yemen South Africa Cantal Vendée Malawi Greece United States of America Italy Haute-Saône Almohad Charente-Maritime Tarn Nord Principality of Polotsk
Italy, United States of America and Yemen have around 2 administrative territories or french administrative divisions as their capital
Italy United States of America Yemen
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 2
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?p WHERE { ?l rdf:type ?e . VALUES ( ?e ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?p } . FILTER ( ?n = 2 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4267174
P530
Q15617994
USER
Are Losevo, Leningrad Oblast known to have diplomatic connections with those ones ?
(Q4267174,P530,Q38) (Q4267174,P530,Q30) (Q4267174,P530,Q805)
action is_in
entity prev_answer
action find
entity Q4267174
relation P530
['Q4267174', 'P530', 'Q38'] ['Q4267174', 'P530', 'Q30'] ['Q4267174', 'P530', 'Q805']
ASK WHERE { resource:Q4267174 property:P530 ?l . VALUES ( ?l ) { ( resource:Q805 ) ( resource:Q258 ) ( resource:Q3259 ) } }
Losevo, Leningrad Oblast
action is_in
entity prev_answer
action find
entity Losevo, Leningrad Oblast
relation diplomatic relation
['Losevo, Leningrad Oblast', 'diplomatic relation', 'Italy'] ['Losevo, Leningrad Oblast', 'diplomatic relation', 'United States of America'] ['Losevo, Leningrad Oblast', 'diplomatic relation', 'Yemen']
ASK WHERE { resource:Losevo,_Leningrad_Oblast property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Yemen ) ( resource:South_Africa ) ( resource:Cantal ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4267174,P530,Q38) (Q4267174,P530,Q30) (Q4267174,P530,Q805)
action is_in
entity prev_answer
action find
entity Q4267174
relation P530
[ANSWER]
['Q4267174', 'P530', 'Q38'] ['Q4267174', 'P530', 'Q30'] ['Q4267174', 'P530', 'Q805']
ASK WHERE { resource:Q4267174 property:P530 ?l . VALUES ( ?l ) { ( resource:Q805 ) ( resource:Q258 ) ( resource:Q3259 ) } }
No
action is_in
entity prev_answer
action find
entity Losevo, Leningrad Oblast
relation diplomatic relation
['Losevo, Leningrad Oblast', 'diplomatic relation', 'Italy'] ['Losevo, Leningrad Oblast', 'diplomatic relation', 'United States of America'] ['Losevo, Leningrad Oblast', 'diplomatic relation', 'Yemen']
ASK WHERE { resource:Losevo,_Leningrad_Oblast property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Yemen ) ( resource:South_Africa ) ( resource:Cantal ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4782064 Q258
P27
Q15617994
USER
Does April Phumo belong to South Africa ?
(Q4782064,P27,Q258)
action is_in
entity Q258
action find
entity Q4782064
relation P27
['Q4782064', 'P27', 'Q258']
ASK WHERE { resource:Q4782064 property:P27 resource:Q258 }
April Phumo South Africa
action is_in
entity South Africa
action find
entity April Phumo
relation country of citizenship
['April Phumo', 'country of citizenship', 'South Africa']
ASK WHERE { resource:April_Phumo property:country_of_citizenship resource:South_Africa }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q4782064,P27,Q258)
action is_in
entity Q258
action find
entity Q4782064
relation P27
[ANSWER]
['Q4782064', 'P27', 'Q258']
ASK WHERE { resource:Q4782064 property:P27 resource:Q258 }
Yes
action is_in
entity South Africa
action find
entity April Phumo
relation country of citizenship
['April Phumo', 'country of citizenship', 'South Africa']
ASK WHERE { resource:April_Phumo property:country_of_citizenship resource:South_Africa }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q30
P122
Q4164871 Q1307214 Q15617994
USER
How many administrative territories have around the same number of positions and forms of government as the type of government as United States of America ?
(c(Q15617994),P122,c(Q4164871)|c(Q1307214))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q30
relation P122
type Q4164871
type Q1307214
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?o WHERE { { ?o property:P122 ?n . ?o rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q4164871 } UNION { ?o property:P122 ?n . ?o rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1307214 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:Q4164871 } UNION { ?b rdf:type ontology:Q1307214 } } . resource:Q30 property:P122 ?b } } . FILTER ( ?j = ?y ) }
United States of America
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity United States of America
relation basic form of government
type position
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?o WHERE { { ?o property:basic_form_of_government ?n . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:position } UNION { ?o property:basic_form_of_government ?n . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:form_of_government } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:position } UNION { ?b rdf:type ontology:form_of_government } } . resource:United_States_of_America property:basic_form_of_government ?b } } . FILTER ( ?j = ?y ) }
[]
position form of government designation for an administrative territorial entity
SYSTEM
85
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q77 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q4164871)|c(Q1307214))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q30
relation P122
type Q4164871
type Q1307214
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?o WHERE { { ?o property:P122 ?n . ?o rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q4164871 } UNION { ?o property:P122 ?n . ?o rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1307214 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:Q4164871 } UNION { ?b rdf:type ontology:Q1307214 } } . resource:Q30 property:P122 ?b } } . FILTER ( ?j = ?y ) }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Uruguay United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
85
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity United States of America
relation basic form of government
type position
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?o WHERE { { ?o property:basic_form_of_government ?n . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:position } UNION { ?o property:basic_form_of_government ?n . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:form_of_government } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:position } UNION { ?b rdf:type ontology:form_of_government } } . resource:United_States_of_America property:basic_form_of_government ?b } } . FILTER ( ?j = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q902
P122
Q4164871 Q1307214 Q15617994
USER
And how about Bangladesh?
(c(Q15617994),P122,c(Q4164871)|c(Q1307214))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q902
relation P122
type Q4164871
type Q1307214
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?o WHERE { { ?o rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q4164871 . ?o property:P122 ?n } UNION { ?o property:P122 ?n . ?o rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1307214 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q902 property:P122 ?j . { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q4164871 ) ( ontology:Q1307214 ) } } } } . FILTER ( ?c = ?w ) }
Bangladesh
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Bangladesh
relation basic form of government
type position
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?o WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:position . ?o property:basic_form_of_government ?n } UNION { ?o property:basic_form_of_government ?n . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:form_of_government } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Bangladesh property:basic_form_of_government ?j . { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:position ) ( ontology:form_of_government ) } } } } . FILTER ( ?c = ?w ) }
[]
position form of government designation for an administrative territorial entity
SYSTEM
85
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q77 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q4164871)|c(Q1307214))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q902
relation P122
type Q4164871
type Q1307214
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?o WHERE { { ?o rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q4164871 . ?o property:P122 ?n } UNION { ?o property:P122 ?n . ?o rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1307214 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q902 property:P122 ?j . { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q4164871 ) ( ontology:Q1307214 ) } } } } . FILTER ( ?c = ?w ) }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Uruguay United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
85
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Bangladesh
relation basic form of government
type position
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?o WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:position . ?o property:basic_form_of_government ?n } UNION { ?o property:basic_form_of_government ?n . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:form_of_government } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Bangladesh property:basic_form_of_government ?j . { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:position ) ( ontology:form_of_government ) } } } } . FILTER ( ?c = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P163
Q14660
USER
What is associated with People's Republic of China ?
(Q148,P163,c(Q14660))
action filter_type
action find
entity Q148
relation P163
type Q14660
['Q148', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?j WHERE { resource:Q148 property:P163 ?j . ?j rdf:type ontology:Q14660 }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation flag
type flag
["People's Republic of China", 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?j WHERE { resource:People's_Republic_of_China property:flag ?j . ?j rdf:type ontology:flag }
[]
flag
Q131147
SYSTEM
Flag of the People's Republic of China
Q131147
(Q148,P163,c(Q14660))
action filter_type
action find
entity Q148
relation P163
type Q14660
And [ANSWER] is associated with People's Republic of China
['Q148', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?j WHERE { resource:Q148 property:P163 ?j . ?j rdf:type ontology:Q14660 }
Flag of the People's Republic of China
And Flag of the People's Republic of China is associated with People's Republic of China
Flag of the People's Republic of China
action filter_type
action find
entity People's Republic of China
relation flag
type flag
["People's Republic of China", 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?j WHERE { resource:People's_Republic_of_China property:flag ?j . ?j rdf:type ontology:flag }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P163
Q14660 Q13220204
USER
How many flags are associated with around the same number of administrative country subdivisions as that flag ?
(c(Q13220204),P163,c(Q14660))
action count
action approx
action find_reverse_tuple_counts
relation P163
type Q14660
type Q13220204
action count
action filter_type
action find
entity Q131147
relation P163
type Q14660
[{'concept': 'Q13220204'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P163 ?i . ?i rdf:type ontology:Q14660 . ?l rdf:type ontology:Q13220204 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q131147 property:P163 ?d . ?d rdf:type ontology:Q14660 } } . FILTER ( ?r = ?j ) }
action count
action approx
action find_reverse_tuple_counts
relation flag
type flag
type second-level administrative country subdivision
action count
action filter_type
action find
entity Flag of the People's Republic of China
relation flag
type flag
[{'concept': 'second-level administrative country subdivision'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:flag ?i . ?i rdf:type ontology:flag . ?l rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Flag_of_the_People's_Republic_of_China property:flag ?d . ?d rdf:type ontology:flag } } . FILTER ( ?r = ?j ) }
[]
flag second-level administrative country subdivision
SYSTEM
326
Q81477 Q225360 Q12188 Q165500 Q171124 Q81471 Q279667 Q159872 Q16611 Q601391 Q41673 Q83392 Q1165949 Q211579 Q184584 Q173548 Q483659 Q42436 Q102960 Q168935 Q162068 Q270377 Q18983 Q81970 Q42537 Q1426561 Q235445 Q2062018 Q1074327 Q103001 Q133015 Q238759 Q4633 Q130774 Q328889 Q128347 Q131204 Q134521 Q266618 Q102944 Q235829 Q103084 Q127296 Q642998 Q168912 Q204120 Q127179 Q60149 Q168711 Q163008 Q75374 Q147776 Q601976 Q252995 Q173535 Q122462 Q1418784 Q207518 Q185285 Q26491 Q302382 Q484249 Q165905 Q219726 Q567838 Q156564 Q190064 Q18993 Q83278 Q600147 Q127974 Q182514 Q181120 Q558375 Q134627 Q495469 Q162699 Q41327 Q258262 Q133022 Q658355 Q618036 Q3039133 Q103019 Q659058 Q172517 Q19427 Q134885 Q204666 Q578054 Q46008 Q170554 Q170555 Q169907 Q132633 Q169903 Q330517 Q283772 Q170795 Q103037 Q19810326 Q36005 Q135014 Q530665 Q173201 Q523638 Q168917 Q83149 Q164584 Q26236277 Q160872 Q369618 Q605195 Q633087 Q524824 Q392167 Q462498 Q81952 Q29074 Q201987 Q652088 Q48409 Q232591 Q124329 Q43175 Q188072 Q160260 Q224972 Q129132 Q160877 Q483774 Q383109 Q162781 Q162980 Q102987 Q59070 Q912854 Q162789 Q130449 Q103055 Q1064042 Q165550 Q102198 Q130442 Q160124 Q168925 Q128480 Q208671 Q435309 Q134252 Q19016 Q168941 Q79874 Q46835 Q102993 Q512175 Q102939 Q102392 Q134933 Q121688 Q328895 Q82205 Q42876 Q102184 Q105643 Q284396 Q126622 Q165775 Q82194 Q128812 Q188477 Q492524 Q616325 Q170064 Q160242 Q167584 Q117758 Q170465 Q199621 Q165872 Q33213 Q134874 Q1426630 Q369833 Q1091279 Q127155 Q119605 Q19000 Q131650 Q4575 Q46585 Q124020 Q34599 Q101769 Q160255 Q48160 Q160250 Q190648 Q174487 Q673117 Q184268 Q103046 Q1856088 Q184265 Q167119 Q81286 Q134247 Q499127 Q245213 Q104351 Q242502 Q163753 Q160425 Q172530 Q131469 Q130481 Q165545 Q188609 Q159741 Q19373 Q1414813 Q43192 Q19374 Q162033 Q1122078 Q180725 Q169192 Q601206 Q162999 Q130807 Q130458 Q102977 Q520966 Q135034 Q663111 Q497997 Q241781 Q159538 Q131147 Q178179 Q163333 Q165552 Q101472 Q202189 Q117347 Q185271 Q185273 Q202610 Q160861 Q103070 Q185277 Q613188 Q103414 Q189612 Q81526 Q82236 Q160676 Q676623 Q604735 Q301628 Q693558 Q637134 Q492541 Q79198 Q645967 Q370111 Q182782 Q617649 Q171117 Q245269 Q590821 Q200260 Q193693 Q285418 Q170814 Q632491 Q102967 Q12990 Q235475 Q30768 Q93335 Q429900 Q19379 Q170289 Q154823 Q159865 Q103447 Q165542 Q165641 Q492546 Q103064 Q586585 Q221881 Q80110 Q47214 Q33037 Q636719 Q248102 Q609337 Q165230 Q184596 Q47891 Q81676 Q186226 Q159746 Q184283 Q188839 Q148199 Q172533 Q159986 Q179383 Q171103 Q173554 Q594095 Q169441 Q45136 Q163832 Q104969 Q170809 Q329280 Q170543 Q204143 Q130811 Q165811 Q102953 Q165822
(c(Q13220204),P163,c(Q14660))
action count
action approx
action find_reverse_tuple_counts
relation P163
type Q14660
type Q13220204
action count
action filter_type
action find
entity Q131147
relation P163
type Q14660
[ANSWER]
[{'concept': 'Q13220204'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P163 ?i . ?i rdf:type ontology:Q14660 . ?l rdf:type ontology:Q13220204 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q131147 property:P163 ?d . ?d rdf:type ontology:Q14660 } } . FILTER ( ?r = ?j ) }
Flag of Lithuania Flag of Bulgaria flag of Brittany Flag of Guinea Flag of Guyana Flag of Estonia Flag of the Republic of Adygea Flag of Cameroon flag of Russia flag of Castile-La Mancha flag of India Flag of Algeria Flag of Ontario Flag of Saint Helena Flag of Saint Vincent and the Grenadines Flag of Mauritius Flag of Singapore Flag of Poland Flag of Nigeria Flag of Malaysia Flag of Ethiopia Flag of Tokelau Flag of Pennsylvania flag of Hungary flag of the United States of America Flag of the Northwest Territories Flag of Norfolk Island flag of Yukon flag of Tasmania Flag of Malawi Flag of Croatia Flag of Macau Flag of Cyprus flag of Argentina Flag of the Northern Mariana Islands Flag of Pakistan Flag of Vietnam Flag of Bhutan Flag of Prince Edward Island flag of Cape Verde flag of Guam Flag of Burundi Flag of South Korea Flag of New Mexico Flag of Sierra Leone Flag of the British Virgin Islands flag of Bangladesh Flag of Denmark flag of Kosovo Flag of Cuba Flag of the Solomon Islands Flag of the Komi Republic Flag of Nova Scotia flag of the Australian Capital Territory Flag of the Republic of China flag of Mexico Flag of New Brunswick flag of Northern Cyprus Flag of Vanuatu Flag of Georgia Flag of Kabardino-Balkaria Flag of Mozambique flag of Kenya Flag of Hawaii flag of South Dakota flag of Alaska Flag of Bermuda Flag of Virginia flag of the United Kingdom Flag of the City of Madrid Flag of Ukraine Flag of Fiji Flag of Saint Kitts and Nevis flag of Brandenburg flag of the Philippines flag of Lower Saxony Flag of Yemen flag of Turkmenistan Flag of Oklahoma flag of Luxembourg flag of Tyumen Oblast Flag of Toronto Flag of Rhodesia Flag of Madagascar flag of Paris Flag of Jamaica flag of Oregon flag of Thailand Flag of US Virgin Islands Flag of Karachay-Cherkessia flag of Laos flag of Equatorial Guinea Flag of Eritrea Flag of São Tomé and Príncipe flag of Belarus Flag of Mali Flag of California Flag of Gagauzia Flag of Liberia Flag of Uganda flag of Dzisna flag of Lebanon Flag of the Gambia flag of Orkney Flag of the Seychelles Flag of Kalmykia Flag of Comoros flag of Norway Flag of the Democratic Republic of the Congo flag of Talossa flag of Chile flag of Shetland Flag of Tennessee Flag of Montana Flag of Vermont flag of Quebec Flag of Tatarstan flag of Turkey Flag of the Latvian Soviet Socialist Republic Flag of Somaliland Flag of Krasnodar Krai flag of Albania Flag of French Polynesia Flag of Angola Flag of Japan Flag of Tonga flag of New Zealand Flag of the Canary Islands flag of Greece Flag of Saudi Arabia Flag of Uzbekistan Flag of Queensland flag of Iraq Flag of Montenegro Flag of Haiti Flag of the Republic of Mordovia flag of South Australia Flag of Tunisia Flag of Latvia flag of Liechtenstein flag of New South Wales Flag of Oman Flag of Sudan flag of Benin Flag of Tajikistan Flag of San Marino flag of Israel Flag of Iraqi Kurdistan Flag of Republika Srpska Flag of Burkina Faso flag of New York flag of Panama flag of Afghanistan flag of Austria Flag of Swaziland Flag of Manitoba Flag of Honduras Flag of Scotland Flag of Senegal flag of Spain Flag of the Cocos (Keeling) Islands flag of Ireland Flag of Italy Flag of Djibouti Flag of Tuvalu Flag of Kansas Flag of Iran Flag of the Central African Republic flag of Brazil Flag of Portugal flag of Samoa Flag of Wyoming Flag of Rio Grande do Sul Flag of Jordan flag of Botswana Flag of Moldova Flag of Kiribati flag of Paraguay Flag of Abkhazia Flag of Brunei flag of Armenia Flag of Bolivia Flag of Nunavut Flag of Arkansas flag of Western Australia flag of the Czech Republic Flag of New Jersey Flag of Texas flag of Kazakhstan Flag of the Faroe Islands flag of the Netherlands flag of Switzerland Flag of Libya Flag of Gabon flag of Peru flag of Germany flag of South Africa Flag of the Federated States of Micronesia flag of the Cayman Islands Flag of Indiana flag of Greenland Flag of Niger Flag of Rotterdam Flag of Dominican Republic Flag of the Republic of Macedonia flag of Sweden Flag of the United Arab Emirates Flag of Maine Flag of South Georgia and the South Sandwich Islands Flag of Barbados Flag of American Samoa Flag of Burma flag of Colombia flag of Qatar flag of Malta Flag of Bahrain flag of Kuwait Flag of Palau flag of Nepal Flag of South Carolina Flag of New York City Flag of France Flag of Louisiana flag of Bosnia and Herzegovina Flag of Alberta Flag of Suriname flag of Belize Flag of Tuva Flag of Cambodia flag of Slovenia flag of Egypt Flag of Mauritania Flag of Rhode Island Flag of Antigua and Barbuda flag of Mecklenburg-Vorpommern Flag of Alabama Flag of Madeira Flag of Somalia Flag of the People's Republic of China Flag of Guatemala Flag of the Republic of the Congo Flag of Mongolia Flag of Indonesia Flag of Niue Flag of Ulster Flag of Papua New Guinea Flag of the Falkland Islands flag of Åland Flag of Slovakia Flag of Togo Flag of Nauru Flag of the Chuvash Republic Flag of Grenada Flag of Jersey flag of Andorra Flag of Azerbaijan Flag of Ghana Flag of Georgia Flag of Sint Maarten Flag of Mississippi flag of Saskatchewan flag of British Columbia flag of Iowa Flag of Vatican City flag of Hamburg Flag of the Federation of Bosnia and Herzegovina Flag of South Sudan flag of Wallonia flag of England flag of Montserrat Flag of Kentucky Flag of the Marshall Islands Flag of the Cook Islands Flag of Michigan Flag of Zambia Flag of Arizona Flag of Ivory Coast flag of Belgium Ikurriña flag of East Timor Flag of Iceland Flag of Saba Flag of North Carolina Flag of Costa Rica Flag of Sri Lanka Flag of Morocco Flag of the Bahamas flag of Ecuador flag of Kyrgyzstan Flag of Colorado Flag of North Korea Flag of Buenos Aires Flag of Massachusetts flag of Canada flag of the Russian Soviet Federative Socialist Republic Flag of Gibraltar Flag of Newfoundland and Labrador Flag of New Hampshire Flag of Chechnya flag of the Soviet Union Flag of Saint Lucia Flag of Finland flag of Australia flag of the Isle of Man Flag of Monaco Flag of Trinidad and Tobago Flag of Aruba Flag of Thuringia flag of Nicaragua Flag of Zimbabwe Flag of Dominica Flag of Uruguay flag of El Salvador flag of Sverdlovsk Oblast Flag of the Maldives Flag of Syria Flag of Serbia Flag of Lesotho Flag of Tanzania Flag of the British Indian Ocean Territory flag of Rwanda Flag of the Turks and Caicos Islands Flag of Romania flag of Chad Flag of Guinea-Bissau flag of Namibia
326
action count
action approx
action find_reverse_tuple_counts
relation flag
type flag
type second-level administrative country subdivision
action count
action filter_type
action find
entity Flag of the People's Republic of China
relation flag
type flag
[{'concept': 'second-level administrative country subdivision'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:flag ?i . ?i rdf:type ontology:flag . ?l rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Flag_of_the_People's_Republic_of_China property:flag ?d . ?d rdf:type ontology:flag } } . FILTER ( ?r = ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1389008 Q805
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with Yemen or are FC Nizhny Novgorod present in ?
OR((Q805,P530,c(Q15617994)), (Q1389008,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q805
relation P530
action find
entity Q1389008
relation P17
type Q15617994
{'OR': [['Q805', 'P530', {'concept': 'Q15617994'}], ['Q1389008', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q805 property:P530 ?y } UNION { resource:Q1389008 property:P17 ?y } } }
FC Nizhny Novgorod Yemen
action filter_type
action union
action find
entity Yemen
relation diplomatic relation
action find
entity FC Nizhny Novgorod
relation country
type designation for an administrative territorial entity
{'OR': [['Yemen', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['FC Nizhny Novgorod', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Yemen property:diplomatic_relation ?y } UNION { resource:FC_Nizhny_Novgorod property:country ?y } } }
[]
designation for an administrative territorial entity
Q38 Q796 Q30 Q843 Q794 Q145 Q878 Q1016 Q398 Q851
SYSTEM
Some of them are Italy, Iraq, United States of America, Pakistan, Iran, United Kingdom, United Arab Emirates, Libya, Bahrain, Saudi Arabia
Q858 Q159 Q43 Q801 Q145 Q843 Q851 Q1016 Q796 Q794 Q30 Q398 Q38 Q842 Q148 Q878
OR((Q805,P530,c(Q15617994)), (Q1389008,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q805
relation P530
action find
entity Q1389008
relation P17
type Q15617994
[ANSWERS] have diplomatic relations with Yemen or are FC Nizhny Novgorod present in
{'OR': [['Q805', 'P530', {'concept': 'Q15617994'}], ['Q1389008', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q805 property:P530 ?y } UNION { resource:Q1389008 property:P17 ?y } } }
Syria Russia Turkey Israel United Kingdom Pakistan Saudi Arabia Libya Iraq Iran United States of America Bahrain Italy Oman People's Republic of China United Arab Emirates
Italy, Iraq, United States of America, Pakistan, Iran, United Kingdom, United Arab Emirates, Libya, Bahrain and Saudi Arabia have diplomatic relations with Yemen or are FC Nizhny Novgorod present in
Italy Iraq United States of America Pakistan Iran United Kingdom United Arab Emirates Libya Bahrain Saudi Arabia
action filter_type
action union
action find
entity Yemen
relation diplomatic relation
action find
entity FC Nizhny Novgorod
relation country
type designation for an administrative territorial entity
{'OR': [['Yemen', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['FC Nizhny Novgorod', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Yemen property:diplomatic_relation ?y } UNION { resource:FC_Nizhny_Novgorod property:country ?y } } }
[]