Simple Question (Direct)
Simple Question
Q722481
P106
Q12737077
USER
What is the job of Davide Brivio ?
(Q722481,P106,c(Q12737077))
action filter_type
action find
entity Q722481
relation P106
type Q12737077
['Q722481', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q722481 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Davide Brivio
action filter_type
action find
entity Davide Brivio
relation occupation
type occupation
['Davide Brivio', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Davide_Brivio property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q722481,P106,c(Q12737077))
action filter_type
action find
entity Q722481
relation P106
type Q12737077
The job of Davide Brivio is an [ANSWER]
['Q722481', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q722481 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
The job of Davide Brivio is an association football player
association football player
action filter_type
action find
entity Davide Brivio
relation occupation
type occupation
['Davide Brivio', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Davide_Brivio property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q722481
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q722481
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q722481 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Davide Brivio
action filter_type
action find
entity Davide Brivio
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Davide_Brivio property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q722481
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q722481 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Italy
Italy is the country of citizenship of that person
Italy
action filter_type
action find
entity Davide Brivio
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Davide_Brivio property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q722481
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q38,P19,c(Q56061))
action filter_type
action find
entity Q722481
relation P19
type Q56061
['Q38', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q722481 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Davide Brivio
action filter_type
action find
entity Davide Brivio
relation place of birth
type administrative territorial entity
['Italy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Davide_Brivio property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q38,P19,c(Q56061))
action filter_type
action find
entity Q722481
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q38', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q722481 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Milan
Milan is the place of birth of that person
Milan
action filter_type
action find
entity Davide Brivio
relation place of birth
type administrative territorial entity
['Italy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Davide_Brivio property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P417
Q1445650 Q502895 Q56061
USER
How many administrative territories have adopted lesser number of holidays and people as patron saint than that administrative territory ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q490
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) ?h WHERE { { ?h property:P417 ?k . ?k rdf:type ontology:Q502895 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P417 ?k . ?h rdf:type ontology:Q56061 . ?k rdf:type ontology:Q1445650 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { VALUES ( ?r ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?g rdf:type ?r } . resource:Q490 property:P417 ?g } } . FILTER ( ?z < ?u ) }
action count
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Milan
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) ?h WHERE { { ?h property:patron_saint ?k . ?k rdf:type ontology:common_name . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:patron_saint ?k . ?h rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:holiday } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { VALUES ( ?r ) { ( ontology:holiday ) ( ontology:common_name ) } . ?g rdf:type ?r } . resource:Milan property:patron_saint ?g } } . FILTER ( ?z < ?u ) }
[]
holiday common name administrative territorial entity
SYSTEM
33
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q490
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) ?h WHERE { { ?h property:P417 ?k . ?k rdf:type ontology:Q502895 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P417 ?k . ?h rdf:type ontology:Q56061 . ?k rdf:type ontology:Q1445650 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { VALUES ( ?r ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?g rdf:type ?r } . resource:Q490 property:P417 ?g } } . FILTER ( ?z < ?u ) }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
33
action count
action less
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Milan
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) ?h WHERE { { ?h property:patron_saint ?k . ?k rdf:type ontology:common_name . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:patron_saint ?k . ?h rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:holiday } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { VALUES ( ?r ) { ( ontology:holiday ) ( ontology:common_name ) } . ?g rdf:type ?r } . resource:Milan property:patron_saint ?g } } . FILTER ( ?z < ?u ) }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q16173048 Q38
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Italy and are not the countries of citizenship of Dadang M. Nasser ?
AND((Q38,P530,c(Q15617994)), NOT((Q16173048,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q16173048
relation P27
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q16173048', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?f . FILTER NOT EXISTS { resource:Q16173048 property:P27 ?f } }
Dadang M. Nasser Italy
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Dadang M. Nasser
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Dadang M. Nasser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?f . FILTER NOT EXISTS { resource:Dadang_M._Nasser property:country_of_citizenship ?f } }
[]
designation for an administrative territorial entity
Q32 Q77 Q236 Q30 Q258 Q33 Q189 Q20 Q29 Q31
SYSTEM
Some of them are Luxembourg, Uruguay, Montenegro, United States of America, South Africa, Finland, Iceland, Norway, Spain, Belgium
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
AND((Q38,P530,c(Q15617994)), NOT((Q16173048,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q16173048
relation P27
type Q15617994
[ANSWERS] have a diplomatic relationship with Italy and are not the countries of citizenship of Dadang M. Nasser
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q16173048', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?f . FILTER NOT EXISTS { resource:Q16173048 property:P27 ?f } }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Luxembourg, Uruguay, Montenegro, United States of America, South Africa, Finland, Iceland, Norway, Spain and Belgium have a diplomatic relationship with Italy and are not the countries of citizenship of Dadang M. Nasser
Luxembourg Uruguay Montenegro United States of America South Africa Finland Iceland Norway Spain Belgium
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Dadang M. Nasser
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Dadang M. Nasser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?f . FILTER NOT EXISTS { resource:Dadang_M._Nasser property:country_of_citizenship ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1037
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with around the same number of administrative territories as Rwanda ?
(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 Q1037
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q1037 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?d } }
Rwanda
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 Rwanda
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 ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Rwanda property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
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 Q1037
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q1037 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?d } }
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 Rwanda
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 ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Rwanda property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P194
Q1752346 Q11204 Q15617994
USER
Which administrative territories have min number of assemblies and legislatures as their legislative body ?
(c(Q15617994),P194,c(Q1752346)|c(Q11204))
action argmin
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q11204
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) ?m WHERE { VALUES ( ?q ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?r rdf:type ?q } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) ?s WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } } GROUP BY ?s } . FILTER ( ?u = ?n ) }
action argmin
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) ?m WHERE { VALUES ( ?q ) { ( ontology:assembly ) ( ontology:legislature ) } . ?r rdf:type ?q } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) ?s WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:assembly ) ( ontology:legislature ) } } GROUP BY ?s } . FILTER ( ?u = ?n ) }
[]
assembly legislature designation for an administrative territorial entity
Q32 Q1011 Q212
SYSTEM
Luxembourg, Cape Verde, Ukraine
Q2806757 Q1948 Q252320 Q187035 Q3361 Q1979 Q153529 Q1974 Q32 Q104192 Q603676 Q2009 Q2007 Q2003 Q1904 Q1989 Q212 Q694594 Q1011 Q12620 Q1951 Q2023
(c(Q15617994),P194,c(Q1752346)|c(Q11204))
action argmin
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q11204
[ANSWERS] have min number of assemblies and legislatures as their legislative body
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) ?m WHERE { VALUES ( ?q ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?r rdf:type ?q } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) ?s WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } } GROUP BY ?s } . FILTER ( ?u = ?n ) }
105 Mile Post Indian Reserve No. 2 Manitoba Pleinfeld Principality of Albania Doubs Prince Edward Island Duchy of Milan British Columbia Luxembourg Kleinmachnow District of Keewatin Yukon Northwest Territories Newfoundland and Labrador Ontario Saskatchewan Ukraine Bremen-Verden Cape Verde Mayenne Alberta Nunavut
Luxembourg, Cape Verde and Ukraine have min number of assemblies and legislatures as their legislative body
Luxembourg Cape Verde Ukraine
action argmin
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) ?m WHERE { VALUES ( ?q ) { ( ontology:assembly ) ( ontology:legislature ) } . ?r rdf:type ?q } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) ?s WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:assembly ) ( ontology:legislature ) } } GROUP BY ?s } . FILTER ( ?u = ?n ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Are Germany known to have diplomatic connections with those administrative territories ?
(Q183,P530,Q32) (Q183,P530,Q1011) (Q183,P530,Q212)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q32'] ['Q183', 'P530', 'Q1011'] ['Q183', 'P530', 'Q212']
ASK WHERE { VALUES ( ?v ) { ( resource:Q2806757 ) ( resource:Q1948 ) ( resource:Q252320 ) } . resource:Q183 property:P530 ?v }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Luxembourg'] ['Germany', 'diplomatic relation', 'Cape Verde'] ['Germany', 'diplomatic relation', 'Ukraine']
ASK WHERE { VALUES ( ?v ) { ( resource:105_Mile_Post_Indian_Reserve_No._2 ) ( resource:Manitoba ) ( resource:Pleinfeld ) } . resource:Germany property:diplomatic_relation ?v }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q32) (Q183,P530,Q1011) (Q183,P530,Q212)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q32'] ['Q183', 'P530', 'Q1011'] ['Q183', 'P530', 'Q212']
ASK WHERE { VALUES ( ?v ) { ( resource:Q2806757 ) ( resource:Q1948 ) ( resource:Q252320 ) } . resource:Q183 property:P530 ?v }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Luxembourg'] ['Germany', 'diplomatic relation', 'Cape Verde'] ['Germany', 'diplomatic relation', 'Ukraine']
ASK WHERE { VALUES ( ?v ) { ( resource:105_Mile_Post_Indian_Reserve_No._2 ) ( resource:Manitoba ) ( resource:Pleinfeld ) } . resource:Germany property:diplomatic_relation ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189
P17
Q15991303
USER
Which association football leagues are present in Iceland ?
(c(Q15991303),P17,Q189)
action filter_type
action find_reverse
entity Q189
relation P17
type Q15991303
[{'concept': 'Q15991303'}, 'P17', 'Q189']
SELECT DISTINCT ?o WHERE { ?o property:P17 resource:Q189 . ?o rdf:type ontology:Q15991303 }
Iceland
action filter_type
action find_reverse
entity Iceland
relation country
type association football league
[{'concept': 'association football league'}, 'country', 'Iceland']
SELECT DISTINCT ?o WHERE { ?o property:country resource:Iceland . ?o rdf:type ontology:association_football_league }
[]
association football league
Q946692 Q4610362 Q581382
SYSTEM
1971 Úrvalsdeild, 2008 1. deild karla, 1967 Úrvalsdeild
Q946692 Q4610362 Q581382 Q1060684 Q1252071 Q1061164 Q947482 Q1060606 Q1665237 Q647164 Q655395 Q1061533 Q772201 Q24409 Q24407 Q24406 Q604682 Q523430 Q1060712 Q571250 Q956919 Q1061586 Q1060754 Q579052 Q48667 Q1060619 Q1061171 Q1061501 Q1060613 Q1061505 Q241893 Q773013 Q1061213 Q1060746 Q1061178 Q1061146 Q1060741 Q925814 Q786065 Q1061516 Q1061511 Q15714743 Q384715 Q1060665 Q571373 Q221067 Q1061202 Q1061155 Q1061150 Q389145 Q775919 Q774131 Q290154 Q608592 Q523708 Q221875 Q729787 Q1060672 Q377890 Q1527128 Q639684 Q303549 Q426357 Q1061123 Q24600 Q1061578 Q1060649 Q1061571 Q1060642 Q972974 Q18974 Q2949845 Q2949847 Q1061139 Q1060719 Q1061130 Q1061135 Q943963 Q512609 Q1060657 Q516952 Q391194 Q1061184 Q1061561 Q678571 Q1060703 Q1061540 Q1060626 Q1061555 Q302731 Q379312 Q786999 Q203615 Q1061194 Q290455 Q268092 Q375562 Q48669 Q1060735 Q1060730 Q1060694 Q942189 Q1061525 Q1060634 Q1061520 Q369643
(c(Q15991303),P17,Q189)
action filter_type
action find_reverse
entity Q189
relation P17
type Q15991303
[ANSWERS] are present in Iceland
[{'concept': 'Q15991303'}, 'P17', 'Q189']
SELECT DISTINCT ?o WHERE { ?o property:P17 resource:Q189 . ?o rdf:type ontology:Q15991303 }
1971 Úrvalsdeild 2008 1. deild karla 1967 Úrvalsdeild 1943 Úrvalsdeild 1962 Úrvalsdeild 1918 Úrvalsdeild 1946 Úrvalsdeild 1939 Úrvalsdeild 2011 Úrvalsdeild 2000 Úrvalsdeild 1998 Úrvalsdeild 1993 Úrvalsdeild 1981 Úrvalsdeild 2009 Úrvalsdeild 2007 Úrvalsdeild 2006 Úrvalsdeild 1938 Úrvalsdeild 1923 Úrvalsdeild 1934 Úrvalsdeild 1964 Úrvalsdeild 1928 Úrvalsdeild 1973 Úrvalsdeild 1948 Úrvalsdeild 1930 Úrvalsdeild 2005 Úrvalsdeild 1916 Úrvalsdeild 1961 Úrvalsdeild 1990 Úrvalsdeild 1937 Úrvalsdeild 1989 Úrvalsdeild 1935 Úrvalsdeild 1926 Úrvalsdeild 1920 Úrvalsdeild 1914 Úrvalsdeild 1968 Úrvalsdeild 1959 Úrvalsdeild 1927 Úrvalsdeild 1966 Úrvalsdeild 1956 Úrvalsdeild 1985 Úrvalsdeild 1997 Úrvalsdeild 2014 Úrvalsdeild 1980 Úrvalsdeild 1913 Úrvalsdeild 1975 Úrvalsdeild 1984 Úrvalsdeild 1922 Úrvalsdeild 1954 Úrvalsdeild 1951 Úrvalsdeild 1982 Úrvalsdeild 1945 Úrvalsdeild 1978 Úrvalsdeild 1995 Úrvalsdeild 1969 Úrvalsdeild 1952 Úrvalsdeild 1953 Úrvalsdeild 1933 Úrvalsdeild 1949 Úrvalsdeild 1957 Úrvalsdeild 2012 Úrvalsdeild 2001 Úrvalsdeild 1996 Úrvalsdeild 1974 Úrvalsdeild 1972 Úrvalsdeild 2008 Úrvalsdeild 2002 Úrvalsdeild 1932 Úrvalsdeild 1987 Úrvalsdeild 1947 Úrvalsdeild 1915 Úrvalsdeild 2010 Úrvalsdeild 2007 1. deild karla 2012 1. deild karla 1958 Úrvalsdeild 1950 Úrvalsdeild 1970 Úrvalsdeild 2003 Úrvalsdeild 1965 Úrvalsdeild 1942 Úrvalsdeild 1925 Úrvalsdeild 1979 Úrvalsdeild 2013 Úrvalsdeild 1940 Úrvalsdeild 1976 Úrvalsdeild 1955 Úrvalsdeild 1921 Úrvalsdeild 1988 Úrvalsdeild 1941 Úrvalsdeild 1994 Úrvalsdeild 1963 Úrvalsdeild 1986 Úrvalsdeild 1917 Úrvalsdeild 1977 Úrvalsdeild 1944 Úrvalsdeild 1991 Úrvalsdeild 1924 Úrvalsdeild 1992 Úrvalsdeild 2004 Úrvalsdeild 1931 Úrvalsdeild 1919 Úrvalsdeild 1912 Úrvalsdeild 1929 Úrvalsdeild 1983 Úrvalsdeild 1936 Úrvalsdeild 1999 Úrvalsdeild 1960 Úrvalsdeild
1971 Úrvalsdeild, 2008 1. deild karla and 1967 Úrvalsdeild are present in Iceland
1971 Úrvalsdeild 2008 1. deild karla 1967 Úrvalsdeild
action filter_type
action find_reverse
entity Iceland
relation country
type association football league
[{'concept': 'association football league'}, 'country', 'Iceland']
SELECT DISTINCT ?o WHERE { ?o property:country resource:Iceland . ?o rdf:type ontology:association_football_league }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q946692 Q4610362 Q581382
P641
Q349
USER
Which sports did those association football leagues participate in ?
(Q946692,P641,c(Q349)) (Q4610362,P641,c(Q349)) (Q581382,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
['Q946692', 'P641', {'concept': 'Q349'}] ['Q4610362', 'P641', {'concept': 'Q349'}] ['Q581382', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?r property:P641 ?n . VALUES ( ?r ) { ( resource:Q946692 ) ( resource:Q4610362 ) ( resource:Q581382 ) } . ?n rdf:type ontology:Q349 }
1971 Úrvalsdeild 2008 1. deild karla 1967 Úrvalsdeild
action filter_type
action find
entity prev_answer
relation sport
type sport
['1971 Úrvalsdeild', 'sport', {'concept': 'sport'}] ['2008 1. deild karla', 'sport', {'concept': 'sport'}] ['1967 Úrvalsdeild', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?r property:sport ?n . VALUES ( ?r ) { ( resource:1971_Úrvalsdeild ) ( resource:2008_1._deild_karla ) ( resource:1967_Úrvalsdeild ) } . ?n rdf:type ontology:sport }
[]
sport
Q2736 Q2736 Q2736
SYSTEM
association football
Q2736 Q2736 Q2736
(Q946692,P641,c(Q349)) (Q4610362,P641,c(Q349)) (Q581382,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
Those [ANSWER] leagues participated in [ANSWER], [ANSWER] and [ANSWER]
['Q946692', 'P641', {'concept': 'Q349'}] ['Q4610362', 'P641', {'concept': 'Q349'}] ['Q581382', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?r property:P641 ?n . VALUES ( ?r ) { ( resource:Q946692 ) ( resource:Q4610362 ) ( resource:Q581382 ) } . ?n rdf:type ontology:Q349 }
association football association football association football
Those association football leagues participated in association football, association football and association football
association football association football association football
action filter_type
action find
entity prev_answer
relation sport
type sport
['1971 Úrvalsdeild', 'sport', {'concept': 'sport'}] ['2008 1. deild karla', 'sport', {'concept': 'sport'}] ['1967 Úrvalsdeild', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?r property:sport ?n . VALUES ( ?r ) { ( resource:1971_Úrvalsdeild ) ( resource:2008_1._deild_karla ) ( resource:1967_Úrvalsdeild ) } . ?n rdf:type ontology:sport }
[]