Simple Question (Direct)
Simple Question
Q1101897
P21
Q290
USER
Which sex does Endre Juhász possess ?
(Q1101897,P21,c(Q290))
action filter_type
action find
entity Q1101897
relation P21
type Q290
['Q1101897', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1101897 property:P21 ?s . ?s rdf:type ontology:Q290 }
Endre Juhász
action filter_type
action find
entity Endre Juhász
relation gender
type sex
['Endre Juhász', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Endre_Juhász property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1101897,P21,c(Q290))
action filter_type
action find
entity Q1101897
relation P21
type Q290
Endre Juhász possesses a [ANSWER]
['Q1101897', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1101897 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Endre Juhász possesses a male
male
action filter_type
action find
entity Endre Juhász
relation gender
type sex
['Endre Juhász', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Endre_Juhász property:gender ?s . ?s rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6495010 Q1101897
P27
Q15617994
USER
Which administrative territories are the native countriesof Endre Juhász and Laszlo Berkowits ?
AND((Q1101897,P27,c(Q15617994)), (Q6495010,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1101897
relation P27
action find
entity Q6495010
relation P27
type Q15617994
{'AND': [['Q1101897', 'P27', {'concept': 'Q15617994'}], ['Q6495010', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { resource:Q1101897 property:P27 ?y . resource:Q6495010 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Laszlo Berkowits Endre Juhász
action filter_type
action intersection
action find
entity Endre Juhász
relation country of citizenship
action find
entity Laszlo Berkowits
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Endre Juhász', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Laszlo Berkowits', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { resource:Endre_Juhász property:country_of_citizenship ?y . resource:Laszlo_Berkowits property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
AND((Q1101897,P27,c(Q15617994)), (Q6495010,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1101897
relation P27
action find
entity Q6495010
relation P27
type Q15617994
[ANSWER] is the native countriesof Endre Juhász and Laszlo Berkowits
{'AND': [['Q1101897', 'P27', {'concept': 'Q15617994'}], ['Q6495010', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { resource:Q1101897 property:P27 ?y . resource:Q6495010 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Hungary
Hungary is the native countriesof Endre Juhász and Laszlo Berkowits
Hungary
action filter_type
action intersection
action find
entity Endre Juhász
relation country of citizenship
action find
entity Laszlo Berkowits
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Endre Juhász', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Laszlo Berkowits', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { resource:Endre_Juhász property:country_of_citizenship ?y . resource:Laszlo_Berkowits property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P159
Q1400264
USER
Which artist collective has its head office location at that administrative territory ?
(c(Q1400264),P159,Q28)
action filter_type
action find_reverse
entity Q28
relation P159
type Q1400264
[{'concept': 'Q1400264'}, 'P159', 'Q28']
SELECT DISTINCT ?m WHERE { ?m property:P159 resource:Q28 . ?m rdf:type ontology:Q1400264 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation headquarters location
type artist collective
[{'concept': 'artist collective'}, 'headquarters location', 'Hungary']
SELECT DISTINCT ?m WHERE { ?m property:headquarters_location resource:Hungary . ?m rdf:type ontology:artist_collective }
[]
artist collective
Q383522
SYSTEM
Conspiracy
Q383522
(c(Q1400264),P159,Q28)
action filter_type
action find_reverse
entity Q28
relation P159
type Q1400264
[ANSWER] has its head office location at that administrative territory
[{'concept': 'Q1400264'}, 'P159', 'Q28']
SELECT DISTINCT ?m WHERE { ?m property:P159 resource:Q28 . ?m rdf:type ontology:Q1400264 }
Conspiracy
Conspiracy has its head office location at that administrative territory
Conspiracy
action filter_type
action find_reverse
entity Hungary
relation headquarters location
type artist collective
[{'concept': 'artist collective'}, 'headquarters location', 'Hungary']
SELECT DISTINCT ?m WHERE { ?m property:headquarters_location resource:Hungary . ?m rdf:type ontology:artist_collective }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1005
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with greater number of administrative territories than Gambia ?
(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 Q1005
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q1005 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?v ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?t ) WHERE { ?f property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } }
Gambia
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 Gambia
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 ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Gambia property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?v ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?t ) WHERE { ?f property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1005
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with greater number of administrative territories than Gambia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q1005 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?v ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?t ) WHERE { ?f property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relations with greater number of administrative territories than Gambia
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 Gambia
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 ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Gambia property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?v ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?t ) WHERE { ?f property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q974
P530
Q15617994 Q15617994
USER
And also tell me about Democratic Republic of the Congo?
(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 Q974
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q974 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?d ) . { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?n ) WHERE { ?l property:P530 ?o . ?l rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?l } }
Democratic Republic of the Congo
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 Democratic Republic of the Congo
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 ( COUNT ( ?m ) AS ?d ) WHERE { resource:Democratic_Republic_of_the_Congo property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?d ) . { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?n ) WHERE { ?l property:diplomatic_relation ?o . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q974
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q974 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?d ) . { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?n ) WHERE { ?l property:P530 ?o . ?l rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?l } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Democratic Republic of the Congo
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 ( COUNT ( ?m ) AS ?d ) WHERE { resource:Democratic_Republic_of_the_Congo property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?d ) . { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?n ) WHERE { ?l property:diplomatic_relation ?o . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P495
Q748720 Q207961
USER
How many institutions of the European Union and shapes are that administrative territory a country of origin of ?
(c(Q748720),P495,Q30) (c(Q207961),P495,Q30) (c(Q748720),P495,Q38) (c(Q207961),P495,Q38) (c(Q748720),P495,Q155) (c(Q207961),P495,Q155) (c(Q748720),P495,Q30) (c(Q207961),P495,Q30)
[{'concept': 'Q748720'}, 'P495', 'Q30'] [{'concept': 'Q207961'}, 'P495', 'Q30'] [{'concept': 'Q748720'}, 'P495', 'Q38'] [{'concept': 'Q207961'}, 'P495', 'Q38'] [{'concept': 'Q748720'}, 'P495', 'Q155'] [{'concept': 'Q207961'}, 'P495', 'Q155'] [{'concept': 'Q748720'}, 'P495', 'Q30'] [{'concept': 'Q207961'}, 'P495', 'Q30']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } UNION { ?z property:P495 resource:Q21475816 } UNION { ?y property:P495 resource:Q21475816 } UNION { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } } . ?z rdf:type ontology:Q748720 . ?y rdf:type ontology:Q207961 }
[{'concept': 'institution of the European Union'}, 'country of origin', 'United States of America'] [{'concept': 'shape'}, 'country of origin', 'United States of America'] [{'concept': 'institution of the European Union'}, 'country of origin', 'Italy'] [{'concept': 'shape'}, 'country of origin', 'Italy'] [{'concept': 'institution of the European Union'}, 'country of origin', 'Brazil'] [{'concept': 'shape'}, 'country of origin', 'Brazil'] [{'concept': 'institution of the European Union'}, 'country of origin', 'United States of America'] [{'concept': 'shape'}, 'country of origin', 'United States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } UNION { ?z property:country_of_origin resource:Brazil } UNION { ?y property:country_of_origin resource:Brazil } UNION { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } } . ?z rdf:type ontology:institution_of_the_European_Union . ?y rdf:type ontology:shape }
[]
institution of the European Union shape
Quantitative|Count|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } UNION { ?z property:P495 resource:Q21475816 } UNION { ?y property:P495 resource:Q21475816 } UNION { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } } . ?z rdf:type ontology:Q748720 . ?y rdf:type ontology:Q207961 }
Did you mean United States of America ?
United States of America
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } UNION { ?z property:country_of_origin resource:Brazil } UNION { ?y property:country_of_origin resource:Brazil } UNION { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } } . ?z rdf:type ontology:institution_of_the_European_Union . ?y rdf:type ontology:shape }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q748720),P495,Q30) (c(Q207961),P495,Q30) (c(Q748720),P495,Q38) (c(Q207961),P495,Q38) (c(Q748720),P495,Q155) (c(Q207961),P495,Q155) (c(Q748720),P495,Q30) (c(Q207961),P495,Q30)
[{'concept': 'Q748720'}, 'P495', 'Q30'] [{'concept': 'Q207961'}, 'P495', 'Q30'] [{'concept': 'Q748720'}, 'P495', 'Q38'] [{'concept': 'Q207961'}, 'P495', 'Q38'] [{'concept': 'Q748720'}, 'P495', 'Q155'] [{'concept': 'Q207961'}, 'P495', 'Q155'] [{'concept': 'Q748720'}, 'P495', 'Q30'] [{'concept': 'Q207961'}, 'P495', 'Q30']
[{'concept': 'institution of the European Union'}, 'country of origin', 'United States of America'] [{'concept': 'shape'}, 'country of origin', 'United States of America'] [{'concept': 'institution of the European Union'}, 'country of origin', 'Italy'] [{'concept': 'shape'}, 'country of origin', 'Italy'] [{'concept': 'institution of the European Union'}, 'country of origin', 'Brazil'] [{'concept': 'shape'}, 'country of origin', 'Brazil'] [{'concept': 'institution of the European Union'}, 'country of origin', 'United States of America'] [{'concept': 'shape'}, 'country of origin', 'United States of America']
[]
SYSTEM
1 institutions of the European Union and 1 shapes
Q2755088 Q2301996
(c(Q748720),P495,Q30) (c(Q207961),P495,Q30) (c(Q748720),P495,Q38) (c(Q207961),P495,Q38) (c(Q748720),P495,Q155) (c(Q207961),P495,Q155) (c(Q748720),P495,Q30) (c(Q207961),P495,Q30)
[ANSWER]
[{'concept': 'Q748720'}, 'P495', 'Q30'] [{'concept': 'Q207961'}, 'P495', 'Q30'] [{'concept': 'Q748720'}, 'P495', 'Q38'] [{'concept': 'Q207961'}, 'P495', 'Q38'] [{'concept': 'Q748720'}, 'P495', 'Q155'] [{'concept': 'Q207961'}, 'P495', 'Q155'] [{'concept': 'Q748720'}, 'P495', 'Q30'] [{'concept': 'Q207961'}, 'P495', 'Q30']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } UNION { ?z property:P495 resource:Q21475816 } UNION { ?y property:P495 resource:Q21475816 } UNION { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } } . ?z rdf:type ontology:Q748720 . ?y rdf:type ontology:Q207961 }
Devilock The Good Life
1 institutions of the European Union and 1 shapes
[{'concept': 'institution of the European Union'}, 'country of origin', 'United States of America'] [{'concept': 'shape'}, 'country of origin', 'United States of America'] [{'concept': 'institution of the European Union'}, 'country of origin', 'Italy'] [{'concept': 'shape'}, 'country of origin', 'Italy'] [{'concept': 'institution of the European Union'}, 'country of origin', 'Brazil'] [{'concept': 'shape'}, 'country of origin', 'Brazil'] [{'concept': 'institution of the European Union'}, 'country of origin', 'United States of America'] [{'concept': 'shape'}, 'country of origin', 'United States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } UNION { ?z property:country_of_origin resource:Brazil } UNION { ?y property:country_of_origin resource:Brazil } UNION { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } } . ?z rdf:type ontology:institution_of_the_European_Union . ?y rdf:type ontology:shape }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3778505
P655
Q502895 Q571 Q234460
USER
How many people did the translation of more number of books and texts than Robin Flower ?
(c(Q571)|c(Q234460),P655,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q3778505
relation P655
type Q571
type Q234460
[[{'concept': 'Q571'}, {'concept': 'Q234460'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?m WHERE { { ?b property:P655 ?m . ?m rdf:type ontology:Q502895 . ?b rdf:type ontology:Q571 } UNION { ?b property:P655 ?m . ?m rdf:type ontology:Q502895 . ?b rdf:type ontology:Q234460 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { { ?k rdf:type ontology:Q571 } UNION { ?k rdf:type ontology:Q234460 } } . ?k property:P655 resource:Q3778505 } } . FILTER ( ?g > ?o ) }
Robin Flower
action count
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type text
action count
action filter_multi_types
action find_reverse
entity Robin Flower
relation translator
type book
type text
[[{'concept': 'book'}, {'concept': 'text'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?m WHERE { { ?b property:translator ?m . ?m rdf:type ontology:common_name . ?b rdf:type ontology:book } UNION { ?b property:translator ?m . ?m rdf:type ontology:common_name . ?b rdf:type ontology:text } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { { ?k rdf:type ontology:book } UNION { ?k rdf:type ontology:text } } . ?k property:translator resource:Robin_Flower } } . FILTER ( ?g > ?o ) }
[]
common name book text
SYSTEM
23
Q4722962 Q7343976 Q2866084 Q461104 Q315537 Q164047 Q9353091 Q3156735 Q721882 Q12028170 Q532457 Q7287827 Q2495818 Q215896 Q78992 Q4233718 Q18342457 Q312829 Q1090185 Q1245203 Q172599 Q1287990 Q334973
(c(Q571)|c(Q234460),P655,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q3778505
relation P655
type Q571
type Q234460
[ANSWER]
[[{'concept': 'Q571'}, {'concept': 'Q234460'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?m WHERE { { ?b property:P655 ?m . ?m rdf:type ontology:Q502895 . ?b rdf:type ontology:Q571 } UNION { ?b property:P655 ?m . ?m rdf:type ontology:Q502895 . ?b rdf:type ontology:Q234460 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { { ?k rdf:type ontology:Q571 } UNION { ?k rdf:type ontology:Q234460 } } . ?k property:P655 resource:Q3778505 } } . FILTER ( ?g > ?o ) }
Alfred John Church Robert Edward Crozier Long Arvède Barine Jaroslav Vrchlický William Cowper Alexander Pope Sławomir Błaut J.-Wladimir Bienstock Léon Wieger Karel Dostál-Lutinov Edward FitzGerald Ralph Manheim Constance Garnett Alfred Schmidt Abraham Brill anonymous William Jackson Brodribb Samuel Butler John Middleton Murry Doris Kilias Giacomo Leopardi James Legge Hugues Felicité Robert de Lamennais
23
action count
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type text
action count
action filter_multi_types
action find_reverse
entity Robin Flower
relation translator
type book
type text
[[{'concept': 'book'}, {'concept': 'text'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?m WHERE { { ?b property:translator ?m . ?m rdf:type ontology:common_name . ?b rdf:type ontology:book } UNION { ?b property:translator ?m . ?m rdf:type ontology:common_name . ?b rdf:type ontology:text } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { { ?k rdf:type ontology:book } UNION { ?k rdf:type ontology:text } } . ?k property:translator resource:Robin_Flower } } . FILTER ( ?g > ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q970
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with more number of administrative territories than 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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?z property:P530 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q970 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?q ) }
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Comoros property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 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] hold diplomatic relationship with more number of administrative territories than Comoros
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?z property:P530 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q970 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?q ) }
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 and United States of America hold diplomatic relationship with more number of administrative territories than Comoros
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Comoros property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q191
P530
Q15617994 Q15617994
USER
And how about Estonia?
(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 Q191
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?r ) WHERE { ?d property:P530 ?k . ?d rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?r > ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Q191 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } }
Estonia
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 Estonia
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 ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?r ) WHERE { ?d property:diplomatic_relation ?k . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?r > ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Estonia property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
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 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q191
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?r ) WHERE { ?d property:P530 ?k . ?d rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?r > ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Q191 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } }
Israel Yemen India Argentina France 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 Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Estonia
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 ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?r ) WHERE { ?d property:diplomatic_relation ?k . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?r > ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Estonia property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P17
Q11424 Q3839081
USER
How many films and disasters are present in Brazil ?
(c(Q11424),P17,Q155) (c(Q3839081),P17,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P17
type Q11424
action filter_type
action find_reverse
entity Q155
relation P17
type Q3839081
[{'concept': 'Q11424'}, 'P17', 'Q155'] [{'concept': 'Q3839081'}, 'P17', 'Q155']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q11424 ) ( ontology:Q3839081 ) } }
Brazil
action count
action union
action filter_type
action find_reverse
entity Brazil
relation country
type film
action filter_type
action find_reverse
entity Brazil
relation country
type disaster
[{'concept': 'film'}, 'country', 'Brazil'] [{'concept': 'disaster'}, 'country', 'Brazil']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:film ) ( ontology:disaster ) } }
[]
film disaster
SYSTEM
1 films and 5 disasters
Q20061547 Q21402069 Q6314708 Q3177188 Q865870 Q16984127
(c(Q11424),P17,Q155) (c(Q3839081),P17,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P17
type Q11424
action filter_type
action find_reverse
entity Q155
relation P17
type Q3839081
[ANSWER]
[{'concept': 'Q11424'}, 'P17', 'Q155'] [{'concept': 'Q3839081'}, 'P17', 'Q155']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q11424 ) ( ontology:Q3839081 ) } }
Cine Oberdan tragedy Bento Rodrigues dam disaster Juqueí TAM Transportes Aéreos Regionais Flight 402 TAM Airlines Flight 3054 1960 Rio de Janeiro air crash
1 films and 5 disasters
action count
action union
action filter_type
action find_reverse
entity Brazil
relation country
type film
action filter_type
action find_reverse
entity Brazil
relation country
type disaster
[{'concept': 'film'}, 'country', 'Brazil'] [{'concept': 'disaster'}, 'country', 'Brazil']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:film ) ( ontology:disaster ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q842
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have diplomatic associations with approximately the same number of administrative territories or political territories as Oman ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q842
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?v WHERE { { ?v property:P530 ?p . ?v rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } UNION { ?v property:P530 ?p . ?v rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } } GROUP BY ?v } . FILTER ( ?n = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q842 property:P530 ?z . { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } }
Oman
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Oman
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?v WHERE { { ?v property:diplomatic_relation ?p . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:diplomatic_relation ?p . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } } GROUP BY ?v } . FILTER ( ?n = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Oman property:diplomatic_relation ?z . { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
147
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q842
relation P530
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?v WHERE { { ?v property:P530 ?p . ?v rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } UNION { ?v property:P530 ?p . ?v rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } } GROUP BY ?v } . FILTER ( ?n = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q842 property:P530 ?z . { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Oman
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?v WHERE { { ?v property:diplomatic_relation ?p . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:diplomatic_relation ?p . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } } GROUP BY ?v } . FILTER ( ?n = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Oman property:diplomatic_relation ?z . { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } }
[]