Simple Question (Direct)
Simple Question
Q357815
P641
Q31629
USER
What was the type of sport that Isaac Boleslavsky was a part of ?
(Q357815,P641,c(Q31629))
action filter_type
action find
entity Q357815
relation P641
type Q31629
['Q357815', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { resource:Q357815 property:P641 ?p . ?p rdf:type ontology:Q31629 }
Isaac Boleslavsky
action filter_type
action find
entity Isaac Boleslavsky
relation sport
type type of sport
['Isaac Boleslavsky', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { resource:Isaac_Boleslavsky property:sport ?p . ?p rdf:type ontology:type_of_sport }
[]
type of sport
Q718
SYSTEM
chess
Q718
(Q357815,P641,c(Q31629))
action filter_type
action find
entity Q357815
relation P641
type Q31629
The type of sport that Isaac Boleslavsky was a part of was h [ANSWER]
['Q357815', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { resource:Q357815 property:P641 ?p . ?p rdf:type ontology:Q31629 }
chess
The type of sport that Isaac Boleslavsky was a part of was h chess
chess
action filter_type
action find
entity Isaac Boleslavsky
relation sport
type type of sport
['Isaac Boleslavsky', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { resource:Isaac_Boleslavsky property:sport ?p . ?p rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q357815
P27
Q7275
USER
Which state does Isaac Boleslavsky belong to ?
(Q357815,P27,c(Q7275))
action filter_type
action find
entity Q357815
relation P27
type Q7275
['Q357815', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q357815 property:P27 ?v . ?v rdf:type ontology:Q7275 }
Isaac Boleslavsky
action filter_type
action find
entity Isaac Boleslavsky
relation country of citizenship
type state
['Isaac Boleslavsky', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Isaac_Boleslavsky property:country_of_citizenship ?v . ?v rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q357815,P27,c(Q7275))
action filter_type
action find
entity Q357815
relation P27
type Q7275
Isaac Boleslavsky belongs to [ANSWER]
['Q357815', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q357815 property:P27 ?v . ?v rdf:type ontology:Q7275 }
Soviet Union
Isaac Boleslavsky belongs to Soviet Union
Soviet Union
action filter_type
action find
entity Isaac Boleslavsky
relation country of citizenship
type state
['Isaac Boleslavsky', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Isaac_Boleslavsky property:country_of_citizenship ?v . ?v rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15180
P38
Q8142
USER
What is considered to be the currency of that state ?
(Q15180,P38,c(Q8142))
action filter_type
action find
entity Q15180
relation P38
type Q8142
['Q15180', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q8142 . resource:Q15180 property:P38 ?f }
Soviet Union
action filter_type
action find
entity Soviet Union
relation currency
type currency
['Soviet Union', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:currency . resource:Soviet_Union property:currency ?f }
[]
currency
Q615640
SYSTEM
Soviet ruble
Q615640
(Q15180,P38,c(Q8142))
action filter_type
action find
entity Q15180
relation P38
type Q8142
[ANSWER] is considered to be the currency of that state
['Q15180', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q8142 . resource:Q15180 property:P38 ?f }
Soviet ruble
Soviet ruble is considered to be the currency of that state
Soviet ruble
action filter_type
action find
entity Soviet Union
relation currency
type currency
['Soviet Union', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:currency . resource:Soviet_Union property:currency ?f }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P38
Q8142 Q7275 Q56061
USER
How many currencies are the currencies of less number of states and administrative territories than that currency ?
(c(Q7275)|c(Q56061),P38,c(Q8142))
action count
action less
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q7275
action find_reverse_tuple_counts
relation P38
type Q8142
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q615640
relation P38
type Q7275
type Q56061
[[{'concept': 'Q7275'}, {'concept': 'Q56061'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?j ) WHERE { { ?s property:P38 ?c . ?c rdf:type ontology:Q8142 . ?s rdf:type ontology:Q7275 } UNION { ?s property:P38 ?c . ?c rdf:type ontology:Q8142 . ?s rdf:type ontology:Q56061 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P38 resource:Q615640 . { { ?l rdf:type ontology:Q56061 } UNION { ?l rdf:type ontology:Q7275 } } } } . FILTER ( ?j < ?u ) }
action count
action less
action union
action find_reverse_tuple_counts
relation currency
type currency
type state
action find_reverse_tuple_counts
relation currency
type currency
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Soviet ruble
relation currency
type state
type administrative territorial entity
[[{'concept': 'state'}, {'concept': 'administrative territorial entity'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?j ) WHERE { { ?s property:currency ?c . ?c rdf:type ontology:currency . ?s rdf:type ontology:state } UNION { ?s property:currency ?c . ?c rdf:type ontology:currency . ?s rdf:type ontology:administrative_territorial_entity } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:currency resource:Soviet_ruble . { { ?l rdf:type ontology:administrative_territorial_entity } UNION { ?l rdf:type ontology:state } } } } . FILTER ( ?j < ?u ) }
[]
currency state administrative territorial entity
SYSTEM
4
Q2472225 Q200979 Q2423956 Q232270
(c(Q7275)|c(Q56061),P38,c(Q8142))
action count
action less
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q7275
action find_reverse_tuple_counts
relation P38
type Q8142
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q615640
relation P38
type Q7275
type Q56061
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q56061'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?j ) WHERE { { ?s property:P38 ?c . ?c rdf:type ontology:Q8142 . ?s rdf:type ontology:Q7275 } UNION { ?s property:P38 ?c . ?c rdf:type ontology:Q8142 . ?s rdf:type ontology:Q56061 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P38 resource:Q615640 . { { ?l rdf:type ontology:Q56061 } UNION { ?l rdf:type ontology:Q7275 } } } } . FILTER ( ?j < ?u ) }
Latvian rublis Transnistrian ruble Tajikistani ruble Aruban florin
4
action count
action less
action union
action find_reverse_tuple_counts
relation currency
type currency
type state
action find_reverse_tuple_counts
relation currency
type currency
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Soviet ruble
relation currency
type state
type administrative territorial entity
[[{'concept': 'state'}, {'concept': 'administrative territorial entity'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?j ) WHERE { { ?s property:currency ?c . ?c rdf:type ontology:currency . ?s rdf:type ontology:state } UNION { ?s property:currency ?c . ?c rdf:type ontology:currency . ?s rdf:type ontology:administrative_territorial_entity } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:currency resource:Soviet_ruble . { { ?l rdf:type ontology:administrative_territorial_entity } UNION { ?l rdf:type ontology:state } } } } . FILTER ( ?j < ?u ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P194
Q11204 Q7275
USER
Which legislatures are the legislative bodies for min number of states ?
(c(Q7275),P194,Q22569956)
action argmin
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
[{'concept': 'Q7275'}, 'P194', 'Q22569956']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P194 ?b . ?b rdf:type ontology:Q11204 . ?c rdf:type ontology:Q7275 } GROUP BY ?b } . FILTER ( ?m = ?r ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:P194 ?n . ?n rdf:type ontology:Q11204 . ?w rdf:type ontology:Q7275 } GROUP BY ?n } } }
action argmin
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
[{'concept': 'state'}, 'legislative body', 'Sangguniang Bayan of Bien Unido']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:legislative_body ?b . ?b rdf:type ontology:legislature . ?c rdf:type ontology:state } GROUP BY ?b } . FILTER ( ?m = ?r ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:legislative_body ?n . ?n rdf:type ontology:legislature . ?w rdf:type ontology:state } GROUP BY ?n } } }
[]
legislature state
Q11268 Q19208 Q3687390
SYSTEM
United States Congress, Legislative Council of Hong Kong, Regional Council of Veneto
Q6064424 Q7101400 Q2518570 Q2304409 Q2650715 Q3365321 Q2656777 Q6386149 Q2867079 Q320501 Q550133 Q5692374 Q589022 Q19208 Q3556484 Q3687390 Q3687397 Q4817650 Q2994027 Q3687394 Q22330280 Q7700086 Q1643140 Q2994248 Q3084210 Q1319595 Q2993961 Q5783861 Q7681292 Q5783863 Q5783866 Q1281107 Q1149644 Q715869 Q22443329 Q22443280 Q1812873 Q22443320 Q22443322 Q22443284 Q22443324 Q595411 Q22443327 Q22360043 Q7101257 Q2564988 Q135630 Q4902948 Q2653964 Q7320919 Q2994272 Q374152 Q19211 Q530970 Q4313275 Q5261561 Q1136026 Q680806 Q2867077 Q19606559 Q2707406 Q5684411 Q11268 Q5025648 Q7010195 Q4345425 Q217799 Q330600 Q285714 Q1514096 Q6518465 Q457869 Q10566065 Q2994267 Q2994263 Q2994260 Q1386962 Q22443273 Q14562584 Q22443277 Q5783847 Q5783845 Q131279 Q5783843 Q2747168 Q5783841 Q3634937 Q22443275 Q5783849 Q2994073 Q7972258 Q5253303 Q579836 Q7008154 Q3625554 Q2993782 Q647976 Q1437547 Q1453540 Q3270273 Q764201 Q3270271 Q3270276 Q3687391 Q3270274 Q2080399 Q5783859 Q7080820 Q7986861 Q5783851 Q5783853 Q5783856 Q2747172 Q3687395 Q5161534 Q22330307 Q7051064 Q5399679 Q2386705 Q5148810 Q6386198 Q3270268 Q1484102 Q3270265 Q4303926 Q146138 Q775994 Q22443253 Q5783828 Q16934215 Q17017103 Q897278 Q5783824 Q5783833 Q5783826 Q5783821 Q583952 Q14468380 Q6527389 Q1127198 Q5783831 Q688346 Q2741727 Q2301457 Q14562680 Q5160905 Q274918 Q7604031 Q7055026 Q493517 Q1684080 Q2994252 Q2994253 Q2384499 Q2994255 Q2994239 Q6879566 Q5783839 Q5783837 Q2994234 Q2994235 Q4256974 Q2994237 Q996610 Q1137059 Q3462542 Q719894 Q10566263 Q22443256 Q16996347 Q5018721 Q3687399 Q2565909 Q2994249 Q6689290 Q22443317 Q2994245 Q2994244 Q3365495 Q4938196 Q2994241 Q2994240 Q2994243 Q1563736 Q920609 Q2867076 Q693192 Q6664413 Q6392265 Q7082403 Q250641 Q202384 Q4791449 Q1117432 Q3687389 Q2742602 Q18342090 Q3555619 Q3687386 Q3687387 Q3567567 Q17443556 Q129821 Q7478146 Q2749841 Q3658756 Q22569956
(c(Q7275),P194,Q22569956)
action argmin
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
[ANSWERS] are the legislative bodies for min number of states
[{'concept': 'Q7275'}, 'P194', 'Q22569956']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P194 ?b . ?b rdf:type ontology:Q11204 . ?c rdf:type ontology:Q7275 } GROUP BY ?b } . FILTER ( ?m = ?r ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:P194 ?n . ?n rdf:type ontology:Q11204 . ?w rdf:type ontology:Q7275 } GROUP BY ?n } } }
Iowa General Assembly Oregon Territorial Legislature Regional Council of Rhône-Alpes South Dakota Legislature General Council of Loiret Legislative Assembly of the Falkland Islands Parliament of Transnistria Lancashire County Council New Jersey Legislature Landtag Legislative Assembly of Macau Legislative Council of Carabobo Regional Council of Lorraine Legislative Council of Hong Kong Florida Legislature Regional Council of Veneto Regional Council of Sardinia Austrian Parliament Seine-Saint-Denis General Council Regional Council of Calabria Cebu Provincial Board Tennessee General Assembly Niue Assembly Regional Council of Languedoc-Roussillon California State Legislature National Assembly general council of Meurthe-et-Moselle Legislative Council of Vargas Tamil Nadu Legislative Assembly Legislative Council of Yaracuy Legislative Council of Mérida House of Assembly of Kiribati Landtag of Liechtenstein Legislative Yuan Sangguniang Panlungsod of Carcar Sangguniang Bayan of Alcoy Legislative Assembly of El Salvador Sangguniang Panlungsod of Tagbilaran Sangguniang Panlungsod of Mandaue Sangguniang Bayan of Alegria Sangguniang Panlungsod of Lapu-Lapu Congress of the Dominican Republic Sangguniang Panlungsod of Cebu City Sangguniang Panlungsod of Naga Oregon Legislative Assembly Corsican Assembly Parliament of Catalonia National Legislature Texas Legislature Rhode Island General Assembly Regional Council of Nord-Pas-de-Calais Seimas National People's Congress Virginia General Assembly People's Assembly of the Republic of Dagestan Derbyshire County Council Congress of Guatemala National Parliament Pennsylvania General Assembly Regional Council of Auvergne-Rhône-Alpes Sicilian Regional Assembly Hawaii State Legislature United States Congress Cambridgeshire County Council New Mexico Legislature Parliament of Fiji Islands Riigikogu National Assembly of Azerbaijan Northern Ireland Assembly People's Assembly of Abkhazia Legislature of the Virgin Islands Federal Assembly of the Russian Federation Maryland General Assembly Regional Council of Limousin Regional Council of Martinique Regional Council of Pays de la Loire Legislative Assembly of Costa Rica Sangguniang Bayan of Madridejos Regional Council of Marche Sangguniang Bayan of Alcantara Legislative Council of Monagas Legislative Council of Lara Althing Legislative Council of Guárico Arkansas General Assembly Legislative Council of Falcón Indiana General Assembly Sangguniang Panlungsod of Toledo Legislative Council of Nueva Esparta Nord General Council Washington State Legislature Delaware General Assembly Legislative Council of Zulia New Hampshire General Court Legislative Assembly of the Cayman Islands Regional Council of the Aosta Valley Regional Council of Centre Illinois General Assembly Massachusetts General Court Michigan Legislature Parliament of Vanuatu Kansas Legislature Wyoming Legislature Regional Council of Abruzzo Wisconsin Legislature Parliament of Bhutan Legislative Council of Táchira Ohio General Assembly West Virginia Legislature Legislative Council of Portuguesa Legislative Council of Sucre Legislative Council of Trujillo Arizona State Legislature Regional Council of Lombardy Connecticut General Assembly Siquijor Provincial Board Norfolk Legislative Assembly Essex County Council National Assembly Colorado General Assembly Leicestershire County Council New York State Legislature House of Representatives Alabama Legislature Moscow Oblast Duma Bundesrat Council of Paris Sangguniang Bayan of Bantayan Legislative Council of Barinas Nottinghamshire County Council North Yorkshire County Council Parliament of Tuvalu Legislative Council of Apure Legislative Council of Bolívar Consejo Legislativo del Estado Bolivariano de Aragua Legislative Council of Anzoátegui Oklahoma Legislature Parliament of Kenya Council of the District of Columbia National Council Legislative Council of Miranda Diet of Dalmatia General Council of Finistère Regional Council of Brittany Regional Council of Apulia Congress of Zacatecas Grand National Assembly of Turkey States of Alderney North Dakota Legislative Assembly National Assembly for Wales Jatiyo Sangshad Regional Council of Provence-Alpes-Côte d'Azur Regional Council of Poitou-Charentes Utah State Legislature Regional Council of Guadeloupe Regional Council of Basse-Normandie Missouri General Assembly Legislative Council of Delta Amacuro Legislative Council of Cojedes Regional Council of Île-de-France Regional Council of Auvergne Idaho Legislature Regional Council of Burgundy Nebraska Legislature Belgian Federal Parliament Kerala Legislative Assembly Alaska Legislature North Carolina General Assembly Sangguniang Bayan of Santa Fe Lincolnshire County Council National Legislature Regional Council of Tuscany Parliament of Barbados Regional Council of Picardy Louisiana State Legislature Sangguniang Bayan of Aloguinsan Regional Council of Upper Normandy Franche-Comté Regional Council Parliament of Tunisia Bohol Provincial Board Regional Council of Champagne-Ardenne Alsace Regional Council Aquitaine Regional Council Parliament of Saint Lucia House of Burgesses Vermont General Assembly Regional Council of Midi-Pyrénées Peterborough City Council Kentucky General Assembly Oklahoma Territorial Legislature Tagsatzung National Diet Arizona Territorial Legislature Minnesota Legislature Regional council of Trentino-Alto Adige/Südtirol Parliament of Navarre Assembly of the Representatives of the People Nevada Legislature Regional Council of Friuli-Venezia Giulia Regional Council of Lazio Montana Legislature House of Representatives Oireachtas Pontifical Commission for Vatican City State Maine Legislature San Francisco Board of Supervisors Sangguniang Bayan of Bien Unido
United States Congress, Legislative Council of Hong Kong and Regional Council of Veneto are the legislative bodies for min number of states
United States Congress Legislative Council of Hong Kong Regional Council of Veneto
action argmin
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
[{'concept': 'state'}, 'legislative body', 'Sangguniang Bayan of Bien Unido']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:legislative_body ?b . ?b rdf:type ontology:legislature . ?c rdf:type ontology:state } GROUP BY ?b } . FILTER ( ?m = ?r ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:legislative_body ?n . ?n rdf:type ontology:legislature . ?w rdf:type ontology:state } GROUP BY ?n } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q852446 Q1048835 Q11204
USER
Which legislatures have jurisdiction over min number of US administrative territories or political territories ?
(c(Q11204),P1001,c(Q852446)|c(Q1048835))
action argmin
action union
action find_tuple_counts
relation P1001
type Q11204
type Q852446
action find_tuple_counts
relation P1001
type Q11204
type Q1048835
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?i WHERE { { ?i property:P1001 ?m . ?i rdf:type ontology:Q11204 . ?m rdf:type ontology:Q1048835 } UNION { ?i property:P1001 ?m . ?i rdf:type ontology:Q11204 . ?m rdf:type ontology:Q852446 } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?e WHERE { { ?e property:P1001 ?v . ?v rdf:type ontology:Q852446 . ?e rdf:type ontology:Q11204 } UNION { ?e property:P1001 ?v . ?e rdf:type ontology:Q11204 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?e } . FILTER ( ?t = ?p ) }
action argmin
action union
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity of the United States
action find_tuple_counts
relation applies to jurisdiction
type legislature
type political territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?i WHERE { { ?i property:applies_to_jurisdiction ?m . ?i rdf:type ontology:legislature . ?m rdf:type ontology:political_territorial_entity } UNION { ?i property:applies_to_jurisdiction ?m . ?i rdf:type ontology:legislature . ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?e WHERE { { ?e property:applies_to_jurisdiction ?v . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?e rdf:type ontology:legislature } UNION { ?e property:applies_to_jurisdiction ?v . ?e rdf:type ontology:legislature . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?e } . FILTER ( ?t = ?p ) }
[]
administrative territorial entity of the United States political territorial entity legislature
Q11268 Q1516914 Q1492249
SYSTEM
United States Congress, Legislative Assembly of New Brunswick, National Assembly of Quebec
Q7903336 Q494162 Q2656777 Q6733343 Q5692374 Q7903335 Q19208 Q1144019 Q7051064 Q1246562 Q5783861 Q5783863 Q5783866 Q1149644 Q715869 Q22443329 Q22443280 Q1812873 Q22443320 Q22443322 Q22443284 Q374152 Q595411 Q22360043 Q2994117 Q22443324 Q7058463 Q22443327 Q1136026 Q11268 Q22569956 Q217799 Q285714 Q2626571 Q1514096 Q457869 Q6518465 Q22443273 Q7450030 Q22443277 Q22443275 Q5783847 Q1812858 Q5783845 Q5783843 Q5783841 Q5783849 Q2994072 Q1516914 Q13217296 Q579836 Q3462542 Q1492249 Q7566128 Q5783859 Q3687390 Q4348725 Q5783851 Q5783853 Q5783856 Q3658756 Q17034697 Q775994 Q22443253 Q5783828 Q22443256 Q5783824 Q5783826 Q5783821 Q6527389 Q6518247 Q2741727 Q5160905 Q539149 Q2729213 Q7604031 Q23782077 Q493517 Q1684080 Q2994333 Q5783839 Q5783837 Q5783833 Q5783831 Q320273 Q2993952 Q3244676 Q6386227 Q5261430 Q7566117 Q550133 Q22443317 Q1281107 Q812372 Q3687389 Q2742602 Q131279 Q19211 Q3248654 Q6518242 Q2063555
(c(Q11204),P1001,c(Q852446)|c(Q1048835))
action argmin
action union
action find_tuple_counts
relation P1001
type Q11204
type Q852446
action find_tuple_counts
relation P1001
type Q11204
type Q1048835
[ANSWERS] have jurisdiction over min number of US administrative territories or political territories
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?i WHERE { { ?i property:P1001 ?m . ?i rdf:type ontology:Q11204 . ?m rdf:type ontology:Q1048835 } UNION { ?i property:P1001 ?m . ?i rdf:type ontology:Q11204 . ?m rdf:type ontology:Q852446 } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?e WHERE { { ?e property:P1001 ?v . ?v rdf:type ontology:Q852446 . ?e rdf:type ontology:Q11204 } UNION { ?e property:P1001 ?v . ?e rdf:type ontology:Q11204 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?e } . FILTER ( ?t = ?p ) }
Uttar Pradesh Legislature National Assembly Parliament of Transnistria Maharashtra Legislative Assembly Legislative Council of Carabobo Uttar Pradesh Legislative Council Legislative Council of Hong Kong Bournemouth Borough Council Norfolk Legislative Assembly Assembly of Kosovo Legislative Council of Vargas Legislative Council of Yaracuy Legislative Council of Mérida Landtag of Liechtenstein Legislative Yuan Sangguniang Panlungsod of Carcar Sangguniang Bayan of Alcoy Legislative Assembly of El Salvador Sangguniang Panlungsod of Tagbilaran Sangguniang Panlungsod of Mandaue Sangguniang Bayan of Alegria Seimas Congress of the Dominican Republic Sangguniang Panlungsod of Naga Legislative Council of New Brunswick Sangguniang Panlungsod of Lapu-Lapu Northern Ireland Assembly Sangguniang Panlungsod of Cebu City Congress of Guatemala United States Congress Sangguniang Bayan of Bien Unido Riigikogu Northern Ireland Assembly Supreme Soviet of Russia People's Assembly of Abkhazia Federal Assembly of the Russian Federation Legislature of the Virgin Islands Sangguniang Bayan of Madridejos Senate of Northern Ireland Sangguniang Bayan of Alcantara Sangguniang Panlungsod of Toledo Legislative Council of Monagas Legislative Council of Quebec Legislative Council of Lara Legislative Council of Guárico Legislative Council of Falcón Legislative Council of Nueva Esparta General Council of Morbihan Legislative Assembly of New Brunswick General Council of the Seine Legislative Council of Zulia Kerala Legislative Assembly National Assembly of Quebec South Australian Legislative Council Legislative Council of Táchira Regional Council of Veneto Diet of Finland Legislative Council of Portuguesa Legislative Council of Sucre Legislative Council of Trujillo San Francisco Board of Supervisors Torbay Council Council of Paris Sangguniang Bayan of Bantayan Legislative Council of Barinas Sangguniang Bayan of Santa Fe Legislative Council of Apure Consejo Legislativo del Estado Bolivariano de Aragua Legislative Council of Anzoátegui Council of the District of Columbia Legislative Council of Saint Helena General Council of Finistère Congress of Zacatecas Congress of Deputies Assembly of French Polynesia States of Alderney Seine-et-Marne Departmental Council National Assembly for Wales Jatiyo Sangshad Territorial Council of Saint-Barthélemy Legislative Council of Delta Amacuro Legislative Council of Cojedes Legislative Council of Bolívar Legislative Council of Miranda Nova Scotia House of Assembly General Council of Ille-et-Vilaine New South Wales Legislative Council Norfolk County Council Derby City Council South Australian House of Assembly Legislative Assembly of Macau Sangguniang Bayan of Aloguinsan House of Assembly of Kiribati Bavarian Senate Regional council of Trentino-Alto Adige/Südtirol Parliament of Navarre Althing National People's Congress General Council of French Guiana Legislative Council of Nova Scotia Parliament of South Ossetia
United States Congress, Legislative Assembly of New Brunswick and National Assembly of Quebec have jurisdiction over min number of US administrative territories or political territories
United States Congress Legislative Assembly of New Brunswick National Assembly of Quebec
action argmin
action union
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity of the United States
action find_tuple_counts
relation applies to jurisdiction
type legislature
type political territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?i WHERE { { ?i property:applies_to_jurisdiction ?m . ?i rdf:type ontology:legislature . ?m rdf:type ontology:political_territorial_entity } UNION { ?i property:applies_to_jurisdiction ?m . ?i rdf:type ontology:legislature . ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?e WHERE { { ?e property:applies_to_jurisdiction ?v . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?e rdf:type ontology:legislature } UNION { ?e property:applies_to_jurisdiction ?v . ?e rdf:type ontology:legislature . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?e } . FILTER ( ?t = ?p ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19600502 Q3687390
P495 P17
Q15617994
USER
Which administrative territories are Regional Council of Veneto present in or are the origins of Yarın Ağlayacağım ?
OR((Q3687390,P17,c(Q15617994)), (Q19600502,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3687390
relation P17
action find
entity Q19600502
relation P495
type Q15617994
{'OR': [['Q3687390', 'P17', {'concept': 'Q15617994'}], ['Q19600502', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3687390 property:P17 ?d } UNION { resource:Q19600502 property:P495 ?d } } . ?d rdf:type ontology:Q15617994 }
Yarın Ağlayacağım Regional Council of Veneto
action filter_type
action union
action find
entity Regional Council of Veneto
relation country
action find
entity Yarın Ağlayacağım
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Regional Council of Veneto', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Yarın Ağlayacağım', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Regional_Council_of_Veneto property:country ?d } UNION { resource:Yarın_Ağlayacağım property:country_of_origin ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q43
SYSTEM
Italy, Turkey
Q38 Q43
OR((Q3687390,P17,c(Q15617994)), (Q19600502,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3687390
relation P17
action find
entity Q19600502
relation P495
type Q15617994
[ANSWERS] are Regional Council of Veneto present in or are the origins of Yarın Ağlayacağım
{'OR': [['Q3687390', 'P17', {'concept': 'Q15617994'}], ['Q19600502', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3687390 property:P17 ?d } UNION { resource:Q19600502 property:P495 ?d } } . ?d rdf:type ontology:Q15617994 }
Italy Turkey
Italy and Turkey are Regional Council of Veneto present in or are the origins of Yarın Ağlayacağım
Italy Turkey
action filter_type
action union
action find
entity Regional Council of Veneto
relation country
action find
entity Yarın Ağlayacağım
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Regional Council of Veneto', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Yarın Ağlayacağım', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Regional_Council_of_Veneto property:country ?d } UNION { resource:Yarın_Ağlayacağım property:country_of_origin ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
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 ( ?f ) AS ?h ) WHERE { ?z property:P530 ?f . ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?h = 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 ( ?f ) AS ?h ) WHERE { ?z property:diplomatic_relation ?f . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?h = 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 ( ?f ) AS ?h ) WHERE { ?z property:P530 ?f . ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?h = 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 ( ?f ) AS ?h ) WHERE { ?z property:diplomatic_relation ?f . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?h = 20 ) }
[]