Simple Question (Direct)
Simple Question
Q7842863
P17
Q15617994
USER
Which administrative territory is Trinity International University located in ?
(Q7842863,P17,c(Q15617994))
action filter_type
action find
entity Q7842863
relation P17
type Q15617994
['Q7842863', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q7842863 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Trinity International University
action filter_type
action find
entity Trinity International University
relation country
type designation for an administrative territorial entity
['Trinity International University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Trinity_International_University property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7842863,P17,c(Q15617994))
action filter_type
action find
entity Q7842863
relation P17
type Q15617994
Which administrative territory is Trinity International University located in
['Q7842863', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q7842863 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
Which administrative territory is Trinity International University located in
United States of America
action filter_type
action find
entity Trinity International University
relation country
type designation for an administrative territorial entity
['Trinity International University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Trinity_International_University property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P138
Q2221906
USER
Which geographic location is namesake of that administrative territory ?
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q30 property:P138 ?o . ?o rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:United_States_of_America property:named_after ?o . ?o rdf:type ontology:geographic_location }
[]
geographic location
Q828
SYSTEM
Americas
Q828
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
[ANSWER] is namesake of that administrative territory
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q30 property:P138 ?o . ?o rdf:type ontology:Q2221906 }
Americas
Americas is namesake of that administrative territory
Americas
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:United_States_of_America property:named_after ?o . ?o rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12260363 Q30
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with United States of America or are the native countriesof Jesus Maria Etxezarreta ?
OR((Q30,P530,c(Q15617994)), (Q12260363,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q12260363
relation P27
type Q15617994
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q12260363', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q30 property:P530 ?x } UNION { resource:Q12260363 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Jesus Maria Etxezarreta United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Jesus Maria Etxezarreta
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Jesus Maria Etxezarreta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:United_States_of_America property:diplomatic_relation ?x } UNION { resource:Jesus_Maria_Etxezarreta property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801 Q953 Q155 Q805 Q29 Q159 Q796 Q668 Q1011 Q347
SYSTEM
Some of them are Israel, Zambia, Brazil, Yemen, Spain, Russia, Iraq, India, Cape Verde, Liechtenstein
Q805 Q38 Q159 Q222 Q801 Q155 Q148 Q1011 Q889 Q796 Q17 Q37 Q953 Q668 Q403 Q29 Q347 Q414
OR((Q30,P530,c(Q15617994)), (Q12260363,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q12260363
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with United States of America or are the native countriesof Jesus Maria Etxezarreta
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q12260363', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q30 property:P530 ?x } UNION { resource:Q12260363 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Yemen Italy Russia Albania Israel Brazil People's Republic of China Cape Verde Afghanistan Iraq Japan Lithuania Zambia India Serbia Spain Liechtenstein Argentina
Israel, Zambia, Brazil, Yemen, Spain, Russia, Iraq, India, Cape Verde and Liechtenstein have diplomatic relationships with United States of America or are the native countriesof Jesus Maria Etxezarreta
Israel Zambia Brazil Yemen Spain Russia Iraq India Cape Verde Liechtenstein
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Jesus Maria Etxezarreta
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Jesus Maria Etxezarreta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:United_States_of_America property:diplomatic_relation ?x } UNION { resource:Jesus_Maria_Etxezarreta property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q801 Q953 Q155 Q805 Q29 Q159 Q796 Q668 Q1011 Q347
P1001
Q14660
USER
Which flags have jurisdiction over Israel, Zambia, Brazil, Yemen, Spain, Russia, Iraq, India, Cape Verde and Liechtenstein ?
(c(Q14660),P1001,Q801) (c(Q14660),P1001,Q953) (c(Q14660),P1001,Q155) (c(Q14660),P1001,Q805) (c(Q14660),P1001,Q29) (c(Q14660),P1001,Q159) (c(Q14660),P1001,Q796) (c(Q14660),P1001,Q668) (c(Q14660),P1001,Q1011) (c(Q14660),P1001,Q347)
action union
action filter_type
action find_reverse
entity Q801
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q953
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q155
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q805
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q29
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q159
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q796
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q668
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q1011
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q347
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q801'] [{'concept': 'Q14660'}, 'P1001', 'Q953'] [{'concept': 'Q14660'}, 'P1001', 'Q155'] [{'concept': 'Q14660'}, 'P1001', 'Q805'] [{'concept': 'Q14660'}, 'P1001', 'Q29'] [{'concept': 'Q14660'}, 'P1001', 'Q159'] [{'concept': 'Q14660'}, 'P1001', 'Q796'] [{'concept': 'Q14660'}, 'P1001', 'Q668'] [{'concept': 'Q14660'}, 'P1001', 'Q1011'] [{'concept': 'Q14660'}, 'P1001', 'Q347']
SELECT DISTINCT ?k WHERE { VALUES ( ?l ) { ( resource:Q801 ) ( resource:Q953 ) } . ?k property:P1001 ?l }
Israel Zambia Brazil Yemen Spain Russia Iraq India Cape Verde Liechtenstein
action union
action filter_type
action find_reverse
entity Israel
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Zambia
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Yemen
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Spain
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Russia
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Iraq
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity India
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Cape Verde
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Liechtenstein
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Israel'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Zambia'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Yemen'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Spain'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Russia'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Iraq'] [{'concept': 'flag'}, 'applies to jurisdiction', 'India'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Cape Verde'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Liechtenstein']
SELECT DISTINCT ?k WHERE { VALUES ( ?l ) { ( resource:Israel ) ( resource:Zambia ) } . ?k property:applies_to_jurisdiction ?l }
[]
flag
Q82194 Q41673 Q170814
SYSTEM
flag of Brazil, flag of India, Flag of Zambia
Q128480 Q170814 Q82194 Q162699 Q121688 Q16611 Q162781 Q41673 Q102944 Q103055
(c(Q14660),P1001,Q801) (c(Q14660),P1001,Q953) (c(Q14660),P1001,Q155) (c(Q14660),P1001,Q805) (c(Q14660),P1001,Q29) (c(Q14660),P1001,Q159) (c(Q14660),P1001,Q796) (c(Q14660),P1001,Q668) (c(Q14660),P1001,Q1011) (c(Q14660),P1001,Q347)
action union
action filter_type
action find_reverse
entity Q801
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q953
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q155
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q805
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q29
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q159
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q796
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q668
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q1011
relation P1001
type Q14660
action filter_type
action find_reverse
entity Q347
relation P1001
type Q14660
[ANSWERS] have jurisdiction over Israel, Zambia, Brazil, Yemen, Spain, Russia, Iraq, India, Cape Verde and Liechtenstein
[{'concept': 'Q14660'}, 'P1001', 'Q801'] [{'concept': 'Q14660'}, 'P1001', 'Q953'] [{'concept': 'Q14660'}, 'P1001', 'Q155'] [{'concept': 'Q14660'}, 'P1001', 'Q805'] [{'concept': 'Q14660'}, 'P1001', 'Q29'] [{'concept': 'Q14660'}, 'P1001', 'Q159'] [{'concept': 'Q14660'}, 'P1001', 'Q796'] [{'concept': 'Q14660'}, 'P1001', 'Q668'] [{'concept': 'Q14660'}, 'P1001', 'Q1011'] [{'concept': 'Q14660'}, 'P1001', 'Q347']
SELECT DISTINCT ?k WHERE { VALUES ( ?l ) { ( resource:Q801 ) ( resource:Q953 ) } . ?k property:P1001 ?l }
flag of Israel Flag of Zambia flag of Brazil Flag of Yemen flag of Spain flag of Russia flag of Iraq flag of India flag of Cape Verde flag of Liechtenstein
Flag of Brazil, flag of India and Flag of Zambia have jurisdiction over Israel, Zambia, Brazil, Yemen, Spain, Russia, Iraq, India, Cape Verde and Liechtenstein
flag of Brazil flag of India Flag of Zambia
action union
action filter_type
action find_reverse
entity Israel
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Zambia
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Yemen
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Spain
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Russia
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Iraq
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity India
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Cape Verde
relation applies to jurisdiction
type flag
action filter_type
action find_reverse
entity Liechtenstein
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Israel'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Zambia'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Yemen'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Spain'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Russia'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Iraq'] [{'concept': 'flag'}, 'applies to jurisdiction', 'India'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Cape Verde'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Liechtenstein']
SELECT DISTINCT ?k WHERE { VALUES ( ?l ) { ( resource:Israel ) ( resource:Zambia ) } . ?k property:applies_to_jurisdiction ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P85
Q7725634
USER
Which literary work is the anthem for Israel ?
(Q801,P85,c(Q7725634))
action filter_type
action find
entity Q801
relation P85
type Q7725634
['Q801', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7725634 . resource:Q801 property:P85 ?s }
Israel
action filter_type
action find
entity Israel
relation anthem
type literary work
['Israel', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:literary_work . resource:Israel property:anthem ?s }
[]
literary work
Q130865
SYSTEM
Hatikvah
Q130865
(Q801,P85,c(Q7725634))
action filter_type
action find
entity Q801
relation P85
type Q7725634
[ANSWER] is the anthem for Israel
['Q801', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7725634 . resource:Q801 property:P85 ?s }
Hatikvah
Hatikvah is the anthem for Israel
Hatikvah
action filter_type
action find
entity Israel
relation anthem
type literary work
['Israel', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:literary_work . resource:Israel property:anthem ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P710
Q645883
USER
Which military operation has Israel as its participant ?
(c(Q645883),P710,Q801)
action filter_type
action find_reverse
entity Q801
relation P710
type Q645883
[{'concept': 'Q645883'}, 'P710', 'Q801']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q801 . ?n rdf:type ontology:Q645883 }
Israel
action filter_type
action find_reverse
entity Israel
relation participant
type military operation
[{'concept': 'military operation'}, 'participant', 'Israel']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Israel . ?n rdf:type ontology:military_operation }
[]
military operation
Q33933
SYSTEM
Operation Entebbe
Q33933
(c(Q645883),P710,Q801)
action filter_type
action find_reverse
entity Q801
relation P710
type Q645883
[ANSWER] has Israel as its participant
[{'concept': 'Q645883'}, 'P710', 'Q801']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q801 . ?n rdf:type ontology:Q645883 }
Operation Entebbe
Operation Entebbe has Israel as its participant
Operation Entebbe
action filter_type
action find_reverse
entity Israel
relation participant
type military operation
[{'concept': 'military operation'}, 'participant', 'Israel']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Israel . ?n rdf:type ontology:military_operation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P172
Q502895
USER
Which person has Russia as his/her ethnicity ?
(c(Q502895),P172,Q159)
action filter_type
action find_reverse
entity Q159
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q159']
SELECT DISTINCT ?o WHERE { ?o property:P172 resource:Q159 . ?o rdf:type ontology:Q502895 }
Russia
action filter_type
action find_reverse
entity Russia
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Russia']
SELECT DISTINCT ?o WHERE { ?o property:ethnic_group resource:Russia . ?o rdf:type ontology:common_name }
[]
common name
Q16702138
SYSTEM
Andrej Kolomacký
Q16702138
(c(Q502895),P172,Q159)
action filter_type
action find_reverse
entity Q159
relation P172
type Q502895
[ANSWER] has Russia as his/her ethnicity
[{'concept': 'Q502895'}, 'P172', 'Q159']
SELECT DISTINCT ?o WHERE { ?o property:P172 resource:Q159 . ?o rdf:type ontology:Q502895 }
Andrej Kolomacký
Andrej Kolomacký has Russia as his/her ethnicity
Andrej Kolomacký
action filter_type
action find_reverse
entity Russia
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Russia']
SELECT DISTINCT ?o WHERE { ?o property:ethnic_group resource:Russia . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16702138
P140
Q9174
USER
What is the religious affiliation of that person ?
(Q16702138,P140,c(Q9174))
action filter_type
action find
entity Q16702138
relation P140
type Q9174
['Q16702138', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?z WHERE { resource:Q16702138 property:P140 ?z . ?z rdf:type ontology:Q9174 }
Andrej Kolomacký
action filter_type
action find
entity Andrej Kolomacký
relation religion
type religion
['Andrej Kolomacký', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?z WHERE { resource:Andrej_Kolomacký property:religion ?z . ?z rdf:type ontology:religion }
[]
religion
Q3333484
SYSTEM
Orthodox Christianity
Q3333484
(Q16702138,P140,c(Q9174))
action filter_type
action find
entity Q16702138
relation P140
type Q9174
The religious affiliation of that person is of [ANSWER]
['Q16702138', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?z WHERE { resource:Q16702138 property:P140 ?z . ?z rdf:type ontology:Q9174 }
Orthodox Christianity
The religious affiliation of that person is of Orthodox Christianity
Orthodox Christianity
action filter_type
action find
entity Andrej Kolomacký
relation religion
type religion
['Andrej Kolomacký', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?z WHERE { resource:Andrej_Kolomacký property:religion ?z . ?z rdf:type ontology:religion }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q801 Q10918560
P85
Q7725634
USER
How many literary works are the national anthems of Israel or Military and Political University of Resistance Against Japan ?
(Q801,P85,c(Q7725634)) (Q10918560,P85,c(Q7725634))
action count
action union
action filter_type
action find
entity Q801
relation P85
type Q7725634
action filter_type
action find
entity Q10918560
relation P85
type Q7725634
['Q801', 'P85', {'concept': 'Q7725634'}] ['Q10918560', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { VALUES ( ?z ) { ( resource:Q801 ) ( resource:Q10918560 ) } . ?z property:P85 ?r }
Israel Military and Political University of Resistance Against Japan
action count
action union
action filter_type
action find
entity Israel
relation anthem
type literary work
action filter_type
action find
entity Military and Political University of Resistance Against Japan
relation anthem
type literary work
['Israel', 'anthem', {'concept': 'literary work'}] ['Military and Political University of Resistance Against Japan', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { VALUES ( ?z ) { ( resource:Israel ) ( resource:Military_and_Political_University_of_Resistance_Against_Japan ) } . ?z property:anthem ?r }
[]
literary work
SYSTEM
2
Q130865 Q7561178
(Q801,P85,c(Q7725634)) (Q10918560,P85,c(Q7725634))
action count
action union
action filter_type
action find
entity Q801
relation P85
type Q7725634
action filter_type
action find
entity Q10918560
relation P85
type Q7725634
[ANSWER]
['Q801', 'P85', {'concept': 'Q7725634'}] ['Q10918560', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { VALUES ( ?z ) { ( resource:Q801 ) ( resource:Q10918560 ) } . ?z property:P85 ?r }
Hatikvah Song of the Military and Political University of Resistance Against Japan
2
action count
action union
action filter_type
action find
entity Israel
relation anthem
type literary work
action filter_type
action find
entity Military and Political University of Resistance Against Japan
relation anthem
type literary work
['Israel', 'anthem', {'concept': 'literary work'}] ['Military and Political University of Resistance Against Japan', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { VALUES ( ?z ) { ( resource:Israel ) ( resource:Military_and_Political_University_of_Resistance_Against_Japan ) } . ?z property:anthem ?r }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q159
P194
Q35749 Q1752346 Q15617994
USER
How many administrative territories have greater number of parliaments and assemblies as their legislative body than Russia ?
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q159
relation P194
type Q35749
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?l WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:Q1752346 ) ( ontology:Q35749 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Q159 property:P194 ?i . { { ?i rdf:type ontology:Q35749 } UNION { ?i rdf:type ontology:Q1752346 } } } } . FILTER ( ?m > ?t ) }
Russia
action count
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Russia
relation legislative body
type parliament
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?l WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:assembly ) ( ontology:parliament ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Russia property:legislative_body ?i . { { ?i rdf:type ontology:parliament } UNION { ?i rdf:type ontology:assembly } } } } . FILTER ( ?m > ?t ) }
[]
parliament assembly designation for an administrative territorial entity
SYSTEM
2
Q794 Q6465
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q159
relation P194
type Q35749
type Q1752346
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?l WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:Q1752346 ) ( ontology:Q35749 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Q159 property:P194 ?i . { { ?i rdf:type ontology:Q35749 } UNION { ?i rdf:type ontology:Q1752346 } } } } . FILTER ( ?m > ?t ) }
Iran department of France
2
action count
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Russia
relation legislative body
type parliament
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) ?l WHERE { ?v rdf:type ?y . VALUES ( ?y ) { ( ontology:assembly ) ( ontology:parliament ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { resource:Russia property:legislative_body ?i . { { ?i rdf:type ontology:parliament } UNION { ?i rdf:type ontology:assembly } } } } . FILTER ( ?m > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q213
P194
Q35749 Q1752346 Q15617994
USER
And how about Czech Republic?
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q213
relation P194
type Q35749
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?x ) { ( ontology:Q35749 ) ( ontology:Q1752346 ) } . ?f rdf:type ?x } GROUP BY ?n } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q213 property:P194 ?j . { { ?j rdf:type ontology:Q35749 } UNION { ?j rdf:type ontology:Q1752346 } } } } }
Czech Republic
action count
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Czech Republic
relation legislative body
type parliament
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?x ) { ( ontology:parliament ) ( ontology:assembly ) } . ?f rdf:type ?x } GROUP BY ?n } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Czech_Republic property:legislative_body ?j . { { ?j rdf:type ontology:parliament } UNION { ?j rdf:type ontology:assembly } } } } }
[]
parliament assembly designation for an administrative territorial entity
SYSTEM
2
Q794 Q6465
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q213
relation P194
type Q35749
type Q1752346
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?x ) { ( ontology:Q35749 ) ( ontology:Q1752346 ) } . ?f rdf:type ?x } GROUP BY ?n } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q213 property:P194 ?j . { { ?j rdf:type ontology:Q35749 } UNION { ?j rdf:type ontology:Q1752346 } } } } }
Iran department of France
2
action count
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Czech Republic
relation legislative body
type parliament
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?x ) { ( ontology:parliament ) ( ontology:assembly ) } . ?f rdf:type ?x } GROUP BY ?n } . FILTER ( ?d > ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Czech_Republic property:legislative_body ?j . { { ?j rdf:type ontology:parliament } UNION { ?j rdf:type ontology:assembly } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q983
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories holds diplomatic relationship with more number of political territories and administrative territories than Equatorial Guinea ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q983
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?k ) WHERE { { ?y property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } UNION { ?y property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } } GROUP BY ?s } . FILTER ( ?k > ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P530 resource:Q983 . { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } }
Equatorial Guinea
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find_reverse
entity Equatorial Guinea
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?k ) WHERE { { ?y property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } UNION { ?y property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } . FILTER ( ?k > ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:diplomatic_relation resource:Equatorial_Guinea . { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } }
[]
designation for an administrative territorial entity political 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 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q27 Q1049 Q843 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q983
relation P530
type Q1048835
type Q15617994
[ANSWERS] hold diplomatic relationship with more number of political territories and administrative territories than Equatorial Guinea
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?k ) WHERE { { ?y property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } UNION { ?y property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } } GROUP BY ?s } . FILTER ( ?k > ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P530 resource:Q983 . { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Ireland Sudan Pakistan Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America hold diplomatic relationship with more number of political territories and administrative territories than Equatorial Guinea
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find_reverse
entity Equatorial Guinea
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?k ) WHERE { { ?y property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } UNION { ?y property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } . FILTER ( ?k > ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:diplomatic_relation resource:Equatorial_Guinea . { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have diplomatic relations with that administrative territory ?
(Q38,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q38,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q155,P530,c(Q15617994)) (Q155,P530,c(Q1048835)) (Q30,P530,c(Q15617994)) (Q30,P530,c(Q1048835))
['Q38', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q155', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q21475816 property:P530 ?z } UNION { resource:Q21475816 property:P530 ?y } UNION { resource:Q30 property:P530 ?z } UNION { resource:Q30 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Brazil property:diplomatic_relation ?z } UNION { resource:Brazil property:diplomatic_relation ?y } UNION { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:United_States_of_America property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
designation for an administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q21475816 property:P530 ?z } UNION { resource:Q21475816 property:P530 ?y } UNION { resource:Q30 property:P530 ?z } UNION { resource:Q30 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Did you mean United States of America ?
United States of America
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Brazil property:diplomatic_relation ?z } UNION { resource:Brazil property:diplomatic_relation ?y } UNION { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:United_States_of_America property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Italy. Could you tell me the answer for that?
(Q38,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q38,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q155,P530,c(Q15617994)) (Q155,P530,c(Q1048835)) (Q30,P530,c(Q15617994)) (Q30,P530,c(Q1048835))
Q38
['Q38', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q155', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q1048835'}]
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
[]
SYSTEM
80
Q805 Q801 Q189 Q843 Q184 Q183 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q229 Q228 Q215 Q17 Q16 Q35 Q191 Q77 Q298 Q45 Q252 Q114 Q399 Q403 Q258 Q43 Q212 Q213 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q796 Q794 Q889 Q884 Q881 Q423 Q822 Q664 Q33 Q32 Q31 Q30 Q37 Q36 Q79 Q34 Q928 Q39 Q1016 Q739 Q227 Q948 Q733 Q40 Q28 Q236 Q230 Q233 Q238 Q20 Q1045 Q408 Q27 Q869 Q29
(Q38,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q38,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q155,P530,c(Q15617994)) (Q155,P530,c(Q1048835)) (Q30,P530,c(Q15617994)) (Q30,P530,c(Q1048835))
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q155', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q21475816 property:P530 ?z } UNION { resource:Q21475816 property:P530 ?y } UNION { resource:Q30 property:P530 ?z } UNION { resource:Q30 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Yemen Israel Iceland Pakistan Belarus Germany Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Cyprus Andorra Slovenia Japan Canada Denmark Estonia Uruguay Chile Portugal Indonesia Kenya Armenia Serbia South Africa Turkey Ukraine Czech Republic Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria Iraq Iran Afghanistan South Korea Vietnam North Korea Lebanon New Zealand Finland Luxembourg Belgium United States of America Lithuania Poland Egypt Sweden Philippines Switzerland Libya Colombia Azerbaijan Tunisia Paraguay Austria Hungary Montenegro Georgia Malta San Marino Norway Somalia Australia Ireland Thailand Spain
80
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Brazil property:diplomatic_relation ?z } UNION { resource:Brazil property:diplomatic_relation ?y } UNION { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:United_States_of_America property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]