Simple Question (Direct)
Simple Question
Q16906396
P21
Q290
USER
Which sex does Stelios Stylianides have ?
(Q16906396,P21,c(Q290))
action filter_type
action find
entity Q16906396
relation P21
type Q290
['Q16906396', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q16906396 property:P21 ?q }
Stelios Stylianides
action filter_type
action find
entity Stelios Stylianides
relation gender
type sex
['Stelios Stylianides', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Stelios_Stylianides property:gender ?q }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16906396,P21,c(Q290))
action filter_type
action find
entity Q16906396
relation P21
type Q290
Stelios Stylianides has 1 [ANSWER]
['Q16906396', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q16906396 property:P21 ?q }
male
Stelios Stylianides has 1 male
male
action filter_type
action find
entity Stelios Stylianides
relation gender
type sex
['Stelios Stylianides', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Stelios_Stylianides property:gender ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16906396
P27
Q15617994
USER
Which administrative territory does Stelios Stylianides belong to ?
(Q16906396,P27,c(Q15617994))
action filter_type
action find
entity Q16906396
relation P27
type Q15617994
['Q16906396', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q16906396 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Stelios Stylianides
action filter_type
action find
entity Stelios Stylianides
relation country of citizenship
type designation for an administrative territorial entity
['Stelios Stylianides', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Stelios_Stylianides property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q229
SYSTEM
Cyprus
Q229
(Q16906396,P27,c(Q15617994))
action filter_type
action find
entity Q16906396
relation P27
type Q15617994
Stelios Stylianides belongs to [ANSWER]
['Q16906396', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q16906396 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Cyprus
Stelios Stylianides belongs to Cyprus
Cyprus
action filter_type
action find
entity Stelios Stylianides
relation country of citizenship
type designation for an administrative territorial entity
['Stelios Stylianides', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Stelios_Stylianides property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q229
P710
Q15275719
USER
What event was that administrative territory a participant of ?
(c(Q15275719),P710,Q229)
action filter_type
action find_reverse
entity Q229
relation P710
type Q15275719
[{'concept': 'Q15275719'}, 'P710', 'Q229']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15275719 . ?l property:P710 resource:Q229 }
Cyprus
action filter_type
action find_reverse
entity Cyprus
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Cyprus']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:recurring_event . ?l property:participant resource:Cyprus }
[]
recurring event
Q207815
SYSTEM
Eurovision Song Contest 1996
Q207815
(c(Q15275719),P710,Q229)
action filter_type
action find_reverse
entity Q229
relation P710
type Q15275719
What event was that administrative territory a participant of
[{'concept': 'Q15275719'}, 'P710', 'Q229']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15275719 . ?l property:P710 resource:Q229 }
Eurovision Song Contest 1996
What event was that administrative territory a participant of
Eurovision Song Contest 1996
action filter_type
action find_reverse
entity Cyprus
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Cyprus']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:recurring_event . ?l property:participant resource:Cyprus }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q229
P138
Q11173
USER
Which chemical compound has that administrative territory as its namesake ?
(c(Q11173),P138,Q207815)
action filter_type
action find_reverse
entity Q229
relation P138
type Q11173
[{'concept': 'Q11173'}, 'P138', 'Q207815']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q229 . ?p rdf:type ontology:Q11173 }
Cyprus
action filter_type
action find_reverse
entity Cyprus
relation named after
type chemical compound
[{'concept': 'chemical compound'}, 'named after', 'Eurovision Song Contest 1996']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Cyprus . ?p rdf:type ontology:chemical_compound }
[]
chemical compound
Q583353
SYSTEM
copper (native)
Q583353
(c(Q11173),P138,Q207815)
action filter_type
action find_reverse
entity Q229
relation P138
type Q11173
[ANSWER] has that administrative territory as its namesake
[{'concept': 'Q11173'}, 'P138', 'Q207815']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q229 . ?p rdf:type ontology:Q11173 }
copper (native)
Copper (native) has that administrative territory as its namesake
copper (native)
action filter_type
action find_reverse
entity Cyprus
relation named after
type chemical compound
[{'concept': 'chemical compound'}, 'named after', 'Eurovision Song Contest 1996']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Cyprus . ?p rdf:type ontology:chemical_compound }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2695
Q8072 Q11173
USER
Which volcanoes are famous for containing atmost 5 chemical compounds ?
(c(Q11173),P2695,c(Q8072))
action atmost
action find_reverse_tuple_counts
relation P2695
type Q8072
type Q11173
value 5
[{'concept': 'Q11173'}, 'P2695', {'concept': 'Q8072'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P2695 ?j . ?j rdf:type ontology:Q8072 . ?v rdf:type ontology:Q11173 } GROUP BY ?j } . FILTER ( ?x <= 5 ) }
action atmost
action find_reverse_tuple_counts
relation type locality
type volcano
type chemical compound
value 5
[{'concept': 'chemical compound'}, 'type locality', {'concept': 'volcano'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:type_locality ?j . ?j rdf:type ontology:volcano . ?v rdf:type ontology:chemical_compound } GROUP BY ?j } . FILTER ( ?x <= 5 ) }
[]
volcano chemical compound
Q16990 Q755123
SYSTEM
Mount Etna, Phlegraean Fields
Q16990 Q755123
(c(Q11173),P2695,c(Q8072))
action atmost
action find_reverse_tuple_counts
relation P2695
type Q8072
type Q11173
value 5
[ANSWERS] are famous for containing atmost 5 chemical compounds
[{'concept': 'Q11173'}, 'P2695', {'concept': 'Q8072'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P2695 ?j . ?j rdf:type ontology:Q8072 . ?v rdf:type ontology:Q11173 } GROUP BY ?j } . FILTER ( ?x <= 5 ) }
Mount Etna Phlegraean Fields
Mount Etna and Phlegraean Fields are famous for containing atmost 5 chemical compounds
Mount Etna Phlegraean Fields
action atmost
action find_reverse_tuple_counts
relation type locality
type volcano
type chemical compound
value 5
[{'concept': 'chemical compound'}, 'type locality', {'concept': 'volcano'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:type_locality ?j . ?j rdf:type ontology:volcano . ?v rdf:type ontology:chemical_compound } GROUP BY ?j } . FILTER ( ?x <= 5 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16990
P17
Q15617994
USER
How many administrative territories are Mount Etna situated in ?
(Q16990,P17,c(Q15617994))
action count
action filter_type
action find
entity Q16990
relation P17
type Q15617994
['Q16990', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q16990 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Mount Etna
action count
action filter_type
action find
entity Mount Etna
relation country
type designation for an administrative territorial entity
['Mount Etna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Mount_Etna property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q16990,P17,c(Q15617994))
action count
action filter_type
action find
entity Q16990
relation P17
type Q15617994
[ANSWER]
['Q16990', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q16990 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Mount Etna
relation country
type designation for an administrative territorial entity
['Mount Etna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Mount_Etna property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q229
P163
Q14660
USER
What is the name of flag associated with Cyprus ?
(Q229,P163,c(Q14660))
action filter_type
action find
entity Q229
relation P163
type Q14660
['Q229', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q14660 . resource:Q229 property:P163 ?s }
Cyprus
action filter_type
action find
entity Cyprus
relation flag
type flag
['Cyprus', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:flag . resource:Cyprus property:flag ?s }
[]
flag
Q4633
SYSTEM
Flag of Cyprus
Q4633
(Q229,P163,c(Q14660))
action filter_type
action find
entity Q229
relation P163
type Q14660
The name of flag associated with Cyprus is the [ANSWER]
['Q229', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q14660 . resource:Q229 property:P163 ?s }
Flag of Cyprus
The name of flag associated with Cyprus is the Flag of Cyprus
Flag of Cyprus
action filter_type
action find
entity Cyprus
relation flag
type flag
['Cyprus', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:flag . resource:Cyprus property:flag ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q229 Q1027830
P706
Q337567
USER
How many still waterss have their location as Cyprus or Gotland ?
(c(Q337567),P706,Q229) (c(Q337567),P706,Q1027830)
action count
action union
action filter_type
action find_reverse
entity Q229
relation P706
type Q337567
action filter_type
action find_reverse
entity Q1027830
relation P706
type Q337567
[{'concept': 'Q337567'}, 'P706', 'Q229'] [{'concept': 'Q337567'}, 'P706', 'Q1027830']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:P706 resource:Q1027830 . ?i rdf:type ontology:Q337567 } UNION { ?i property:P706 resource:Q229 . ?i rdf:type ontology:Q337567 } }
Cyprus Gotland
action count
action union
action filter_type
action find_reverse
entity Cyprus
relation located on terrain feature
type still waters
action filter_type
action find_reverse
entity Gotland
relation located on terrain feature
type still waters
[{'concept': 'still waters'}, 'located on terrain feature', 'Cyprus'] [{'concept': 'still waters'}, 'located on terrain feature', 'Gotland']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:located_on_terrain_feature resource:Gotland . ?i rdf:type ontology:still_waters } UNION { ?i property:located_on_terrain_feature resource:Cyprus . ?i rdf:type ontology:still_waters } }
[]
still waters
SYSTEM
2
Q2435780 Q166402
(c(Q337567),P706,Q229) (c(Q337567),P706,Q1027830)
action count
action union
action filter_type
action find_reverse
entity Q229
relation P706
type Q337567
action filter_type
action find_reverse
entity Q1027830
relation P706
type Q337567
[ANSWER]
[{'concept': 'Q337567'}, 'P706', 'Q229'] [{'concept': 'Q337567'}, 'P706', 'Q1027830']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:P706 resource:Q1027830 . ?i rdf:type ontology:Q337567 } UNION { ?i property:P706 resource:Q229 . ?i rdf:type ontology:Q337567 } }
Tingstäde träsk Lake Bästeträsk
2
action count
action union
action filter_type
action find_reverse
entity Cyprus
relation located on terrain feature
type still waters
action filter_type
action find_reverse
entity Gotland
relation located on terrain feature
type still waters
[{'concept': 'still waters'}, 'located on terrain feature', 'Cyprus'] [{'concept': 'still waters'}, 'located on terrain feature', 'Gotland']
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i property:located_on_terrain_feature resource:Gotland . ?i rdf:type ontology:still_waters } UNION { ?i property:located_on_terrain_feature resource:Cyprus . ?i rdf:type ontology:still_waters } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16990
P915
Q838948
USER
How many works of art were filmed in the location Mount Etna ?
(c(Q838948),P915,Q16990)
action count
action filter_type
action find_reverse
entity Q16990
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q16990']
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P915 resource:Q16990 . ?e rdf:type ontology:Q838948 }
Mount Etna
action count
action filter_type
action find_reverse
entity Mount Etna
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Mount Etna']
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:filming_location resource:Mount_Etna . ?e rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
1
Q858047
(c(Q838948),P915,Q16990)
action count
action filter_type
action find_reverse
entity Q16990
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q16990']
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P915 resource:Q16990 . ?e rdf:type ontology:Q838948 }
The Canterbury Tales
1
action count
action filter_type
action find_reverse
entity Mount Etna
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Mount Etna']
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:filming_location resource:Mount_Etna . ?e rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q958
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have diplomatic relations with approximately the same number of political territories or administrative territories as South Sudan ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
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 Q958
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?m WHERE { { ?p property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } UNION { ?p property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P530 resource:Q958 . { ?h rdf:type ?e . VALUES ( ?e ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?j = ?b ) }
South Sudan
action count
action approx
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 South Sudan
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 ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?m WHERE { { ?p property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } UNION { ?p property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:diplomatic_relation resource:South_Sudan . { ?h rdf:type ?e . VALUES ( ?e ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?j = ?b ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
153
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
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 Q958
relation P530
type Q1048835
type Q15617994
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?m WHERE { { ?p property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } UNION { ?p property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P530 resource:Q958 . { ?h rdf:type ?e . VALUES ( ?e ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?j = ?b ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Kenya 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
153
action count
action approx
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 South Sudan
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 ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?m WHERE { { ?p property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } UNION { ?p property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:diplomatic_relation resource:South_Sudan . { ?h rdf:type ?e . VALUES ( ?e ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?j = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q902
P530
Q15617994 Q1048835 Q15617994
USER
And what about Bangladesh?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
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 Q902
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?x WHERE { { ?b property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } UNION { ?b property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { { ?a rdf:type ontology:Q1048835 } UNION { ?a rdf:type ontology:Q15617994 } } . ?a property:P530 resource:Q902 } } . FILTER ( ?f = ?q ) }
Bangladesh
action count
action approx
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 Bangladesh
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 ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?x WHERE { { ?b property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { { ?a rdf:type ontology:political_territorial_entity } UNION { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?a property:diplomatic_relation resource:Bangladesh } } . FILTER ( ?f = ?q ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
155
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 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 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
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 Q902
relation P530
type Q1048835
type Q15617994
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?x WHERE { { ?b property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } UNION { ?b property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { { ?a rdf:type ontology:Q1048835 } UNION { ?a rdf:type ontology:Q15617994 } } . ?a property:P530 resource:Q902 } } . FILTER ( ?f = ?q ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Kenya 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
155
action count
action approx
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 Bangladesh
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 ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?x WHERE { { ?b property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { { ?a rdf:type ontology:political_territorial_entity } UNION { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?a property:diplomatic_relation resource:Bangladesh } } . FILTER ( ?f = ?q ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q229 Q16
P530
Q1048835
USER
How many political territories have diplomatic associations with Cyprus and Canada ?
(c(Q1048835),P530,Q229) (c(Q1048835),P530,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q229
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q229'] [{'concept': 'Q1048835'}, 'P530', 'Q16']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P530 resource:Q16 . ?e rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q1048835 . ?e property:P530 resource:Q229 }
Cyprus Canada
action count
action intersection
action filter_type
action find_reverse
entity Cyprus
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Cyprus'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Canada']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:diplomatic_relation resource:Canada . ?e rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:political_territorial_entity . ?e property:diplomatic_relation resource:Cyprus }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q229) (c(Q1048835),P530,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q229
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q16
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q229'] [{'concept': 'Q1048835'}, 'P530', 'Q16']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P530 resource:Q16 . ?e rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q1048835 . ?e property:P530 resource:Q229 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Cyprus
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Cyprus'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Canada']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:diplomatic_relation resource:Canada . ?e rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:political_territorial_entity . ?e property:diplomatic_relation resource:Cyprus }
[]