Simple Question (Direct)
Simple Question
Q5202663
P106
Q12737077
USER
Which occupation has Cézar Augusto do Nascimento as his/her 's career ?
(Q5202663,P106,c(Q12737077))
action filter_type
action find
entity Q5202663
relation P106
type Q12737077
['Q5202663', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5202663 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Cézar Augusto do Nascimento
action filter_type
action find
entity Cézar Augusto do Nascimento
relation occupation
type occupation
['Cézar Augusto do Nascimento', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Cézar_Augusto_do_Nascimento property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5202663,P106,c(Q12737077))
action filter_type
action find
entity Q5202663
relation P106
type Q12737077
The [ANSWER] has Cézar Augusto do Nascimento as his/her 's career
['Q5202663', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5202663 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
The association football player has Cézar Augusto do Nascimento as his/her 's career
association football player
action filter_type
action find
entity Cézar Augusto do Nascimento
relation occupation
type occupation
['Cézar Augusto do Nascimento', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Cézar_Augusto_do_Nascimento property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Which sport has that one as the associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q937857 property:P425 ?q . ?q rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:association_football_player property:field_of_this_occupation ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER] has that one as the associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q937857 property:P425 ?q . ?q rdf:type ontology:Q349 }
association football
Association football has that one as the associated field of occupation
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:association_football_player property:field_of_this_occupation ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P366
Q1076486
USER
Which sports venues are mainly used as that sport ?
(c(Q1076486),P366,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P366
type Q1076486
[{'concept': 'Q1076486'}, 'P366', 'Q2736']
SELECT DISTINCT ?c WHERE { ?c property:P366 resource:Q2736 . ?c rdf:type ontology:Q1076486 }
association football
action filter_type
action find_reverse
entity association football
relation use
type sports venue
[{'concept': 'sports venue'}, 'use', 'association football']
SELECT DISTINCT ?c WHERE { ?c property:use resource:association_football . ?c rdf:type ontology:sports_venue }
[]
sports venue
Q867234 Q824352 Q2701834
SYSTEM
Swedbank Stadion, Ullevi, Tele2 Arena
Q935604 Q7536143 Q2301634 Q2701834 Q6744417 Q6711371 Q867234 Q7417550 Q5375261 Q501184 Q15057990 Q1421187 Q1238576 Q824352 Q7845178 Q1326393 Q1165409 Q7619895 Q1453337 Q2093297 Q1154710 Q151379 Q7944304 Q5464623 Q627087 Q7289779 Q4266901 Q1780359 Q5004954 Q571624 Q5743985 Q9393595 Q6917112 Q10540509 Q725623 Q739184 Q1583034 Q4530146 Q982837 Q1568614 Q814577 Q15077481 Q165944 Q15057987 Q727078 Q15057985 Q1138684 Q175960 Q1776735 Q197911 Q3435821 Q638087 Q15195205 Q4444527
(c(Q1076486),P366,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P366
type Q1076486
[ANSWERS] are mainly used as that sport
[{'concept': 'Q1076486'}, 'P366', 'Q2736']
SELECT DISTINCT ?c WHERE { ?c property:P366 resource:Q2736 . ?c rdf:type ontology:Q1076486 }
Markbygg Arena Skogsvallen Strömvallen Tele2 Arena Malmö IP Lövåsvallen Swedbank Stadion Sandåkerns IP Enavallen Stadsparksvallen Hillängens IP Guldfågeln Arena Domnarvsvallen Ullevi Trollebo IP Rambergsvallen Swedbank Park Stora Valla Fredriksskans Ryavallen football stadium T3 Arena Vägga IP Folkungavallen Borås Arena Ramnavallen Tranebergs Idrottsplats Norrporten Arena Bårsta IP Idrottsparken Herrgärdets IP Ängelholms IP Motala Idrottspark Johanneshovs IP Råsunda Stadium Landskrona IP Myresjöhus Arena Ekvallen Linköping Arena Södertälje Fotbollsarena Behrn Arena Gamla Ullevi Gamla Ullevi Kamratvallen Stockholm Olympic Stadium Norra IP Friends Arena Malmö stadion Söderstadion Zhongshan Soccer Stadium Jämtkraft Arena Olympia Tyresövallen Studenternas IP
Swedbank Stadion, Ullevi and Tele2 Arena are mainly used as that sport
Swedbank Stadion Ullevi Tele2 Arena
action filter_type
action find_reverse
entity association football
relation use
type sports venue
[{'concept': 'sports venue'}, 'use', 'association football']
SELECT DISTINCT ?c WHERE { ?c property:use resource:association_football . ?c rdf:type ontology:sports_venue }
[]
Clarification
Simple Question|Single Entity|Indirect
Q824352
P276
Q15275719
USER
What is situated at that sports venue ?
(c(Q15275719),P276,Q824352)
action filter_type
action find_reverse
entity Q824352
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q824352']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q824352 . ?c rdf:type ontology:Q15275719 }
Ullevi
action filter_type
action find_reverse
entity Ullevi
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Ullevi']
SELECT DISTINCT ?c WHERE { ?c property:location resource:Ullevi . ?c rdf:type ontology:recurring_event }
[]
recurring event
Clarification for simple ques.
Q2701834
SYSTEM
Did you mean Tele2 Arena ?
Q867234 Q824352 Q2701834
(c(Q15275719),P276,Q867234) (c(Q15275719),P276,Q824352) (c(Q15275719),P276,Q2701834)
[ANSWER]
[{'concept': 'Q15275719'}, 'P276', 'Q867234'] [{'concept': 'Q15275719'}, 'P276', 'Q824352'] [{'concept': 'Q15275719'}, 'P276', 'Q2701834']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q824352 . ?c rdf:type ontology:Q15275719 }
Swedbank Stadion Ullevi Tele2 Arena
Did you mean Tele2 Arena ?
Tele2 Arena
[{'concept': 'recurring event'}, 'location', 'Swedbank Stadion'] [{'concept': 'recurring event'}, 'location', 'Ullevi'] [{'concept': 'recurring event'}, 'location', 'Tele2 Arena']
SELECT DISTINCT ?c WHERE { ?c property:location resource:Ullevi . ?c rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
USER
No, I meant Ullevi. Could you tell me the answer for that?
(c(Q15275719),P276,Q824352)
Q824352
[{'concept': 'Q15275719'}, 'P276', 'Q824352']
[{'concept': 'recurring event'}, 'location', 'Ullevi']
[]
Q132533
SYSTEM
1958 FIFA World Cup
Q132533
(c(Q15275719),P276,Q824352)
action filter_type
action find_reverse
entity Q824352
relation P276
type Q15275719
[ANSWER] is situated at that sports venue
[{'concept': 'Q15275719'}, 'P276', 'Q824352']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q824352 . ?c rdf:type ontology:Q15275719 }
1958 FIFA World Cup
1958 FIFA World Cup is situated at that sports venue
1958 FIFA World Cup
action filter_type
action find_reverse
entity Ullevi
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Ullevi']
SELECT DISTINCT ?c WHERE { ?c property:location resource:Ullevi . ?c rdf:type ontology:recurring_event }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12001664 Q824352
P27 P17
Q15617994
USER
Which administrative territories are Ullevi situated in or do Ferdinand Alanus de Rupa belong to ?
OR((Q824352,P17,c(Q15617994)), (Q12001664,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q824352
relation P17
action find
entity Q12001664
relation P27
type Q15617994
{'OR': [['Q824352', 'P17', {'concept': 'Q15617994'}], ['Q12001664', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q824352 property:P17 ?c } UNION { resource:Q12001664 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Ferdinand Alanus de Rupa Ullevi
action filter_type
action union
action find
entity Ullevi
relation country
action find
entity Ferdinand Alanus de Rupa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ullevi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ferdinand Alanus de Rupa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Ullevi property:country ?c } UNION { resource:Ferdinand_Alanus_de_Rupa property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q34
SYSTEM
Czech Republic, Sweden
Q213 Q34
OR((Q824352,P17,c(Q15617994)), (Q12001664,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q824352
relation P17
action find
entity Q12001664
relation P27
type Q15617994
Ullevi are situated belong to the [ANSWERS]
{'OR': [['Q824352', 'P17', {'concept': 'Q15617994'}], ['Q12001664', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q824352 property:P17 ?c } UNION { resource:Q12001664 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Czech Republic Sweden
Ullevi are situated belong to the Czech Republic and Sweden
Czech Republic Sweden
action filter_type
action union
action find
entity Ullevi
relation country
action find
entity Ferdinand Alanus de Rupa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ullevi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ferdinand Alanus de Rupa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Ullevi property:country ?c } UNION { resource:Ferdinand_Alanus_de_Rupa property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16951443
P530
Q15617994
USER
Do Memphis City Schools have diplomatic relations with those ones ?
(Q16951443,P530,Q213) (Q16951443,P530,Q34)
action is_in
entity prev_answer
action find
entity Q16951443
relation P530
['Q16951443', 'P530', 'Q213'] ['Q16951443', 'P530', 'Q34']
ASK WHERE { resource:Q16951443 property:P530 ?y . VALUES ( ?y ) { ( resource:Q213 ) ( resource:Q34 ) } }
Memphis City Schools
action is_in
entity prev_answer
action find
entity Memphis City Schools
relation diplomatic relation
['Memphis City Schools', 'diplomatic relation', 'Czech Republic'] ['Memphis City Schools', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Memphis_City_Schools property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Czech_Republic ) ( resource:Sweden ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q16951443,P530,Q213) (Q16951443,P530,Q34)
action is_in
entity prev_answer
action find
entity Q16951443
relation P530
[ANSWER]
['Q16951443', 'P530', 'Q213'] ['Q16951443', 'P530', 'Q34']
ASK WHERE { resource:Q16951443 property:P530 ?y . VALUES ( ?y ) { ( resource:Q213 ) ( resource:Q34 ) } }
No
action is_in
entity prev_answer
action find
entity Memphis City Schools
relation diplomatic relation
['Memphis City Schools', 'diplomatic relation', 'Czech Republic'] ['Memphis City Schools', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Memphis_City_Schools property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Czech_Republic ) ( resource:Sweden ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with around 20 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 20
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?v ) WHERE { ?z property:P530 ?y . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?v = 20 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 20
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?v ) WHERE { ?z property:diplomatic_relation ?y . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?v = 20 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q805 Q142 Q148 Q159 Q30 Q929 Q17 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 20
[ANSWERS] have tactful political relations with around 20 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?v ) WHERE { ?z property:P530 ?y . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?v = 20 ) }
Israel Yemen France People's Republic of China Russia United States of America Central African Republic Japan Kenya Syria Zambia
United States of America, Russia and France have tactful political relations with around 20 administrative territories
United States of America Russia France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 20
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?v ) WHERE { ?z property:diplomatic_relation ?y . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?v = 20 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q977
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with approximately the same number of administrative territories as Djibouti ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q977
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?m ) WHERE { ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?y property:P530 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q977 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?f ) }
Djibouti
action count
action approx
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 Djibouti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?m ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Djibouti property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?f ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
152
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 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q977
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?m ) WHERE { ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?y property:P530 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q977 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?f ) }
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 Togo Tonga Spain New Caledonia Thailand Zambia
152
action count
action approx
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 Djibouti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?m ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Djibouti property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1033
P530
Q15617994 Q15617994
USER
And also tell me about Nigeria?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1033
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:P530 ?p . ?l rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q1033 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?w ) }
Nigeria
action count
action approx
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 Nigeria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:diplomatic_relation ?p . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Nigeria property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 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 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 Q17 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(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1033
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:P530 ?p . ?l rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q1033 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?w ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati 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 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 Japan 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
158
action count
action approx
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 Nigeria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:diplomatic_relation ?p . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Nigeria property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q229
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with less number of administrative territories than Cyprus ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q229
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:Q15617994 . ?t property:P530 resource:Q229 } } . FILTER ( ?n < ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:P530 ?d . ?z rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } }
Cyprus
action less
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_reverse
entity Cyprus
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 ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation resource:Cyprus } } . FILTER ( ?n < ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:diplomatic_relation ?d . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q218 Q20 Q948
SYSTEM
Romania, Norway, Tunisia
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q229
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with less number of administrative territories than Cyprus
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:Q15617994 . ?t property:P530 resource:Q229 } } . FILTER ( ?n < ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:P530 ?d . ?z rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
Romania, Norway and Tunisia hold diplomatic relationship with less number of administrative territories than Cyprus
Romania Norway Tunisia
action less
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_reverse
entity Cyprus
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 ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation resource:Cyprus } } . FILTER ( ?n < ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:diplomatic_relation ?d . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q784
P530
Q15617994 Q15617994
USER
And how about Dominica?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q784
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?s ) WHERE { ?t property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:P530 resource:Q784 . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?v ) }
Dominica
action less
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_reverse
entity Dominica
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 ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?s ) WHERE { ?t property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:diplomatic_relation resource:Dominica . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?v ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q784
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?s ) WHERE { ?t property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:P530 resource:Q784 . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?v ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic Kingdom of the Netherlands Kazakhstan
action less
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_reverse
entity Dominica
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 ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?s ) WHERE { ?t property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:diplomatic_relation resource:Dominica . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?v ) }
[]