Simple Question (Direct)
Simple Question
Q4410713
P463
Q874405
USER
Which organization was Yelizaveta Svilova a member of ?
(Q4410713,P463,c(Q874405))
action filter_type
action find
entity Q4410713
relation P463
type Q874405
['Q4410713', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q4410713 property:P463 ?w . ?w rdf:type ontology:Q874405 }
Yelizaveta Svilova
action filter_type
action find
entity Yelizaveta Svilova
relation member of
type social group
['Yelizaveta Svilova', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Yelizaveta_Svilova property:member_of ?w . ?w rdf:type ontology:social_group }
[]
social group
Q4430504
SYSTEM
Cinematographers’ Union of the USSR
Q4430504
(Q4410713,P463,c(Q874405))
action filter_type
action find
entity Q4410713
relation P463
type Q874405
The [ANSWER] was Yelizaveta Svilova a member of
['Q4410713', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q4410713 property:P463 ?w . ?w rdf:type ontology:Q874405 }
Cinematographers’ Union of the USSR
The Cinematographers’ Union of the USSR was Yelizaveta Svilova a member of
Cinematographers’ Union of the USSR
action filter_type
action find
entity Yelizaveta Svilova
relation member of
type social group
['Yelizaveta Svilova', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Yelizaveta_Svilova property:member_of ?w . ?w rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4430504
P17
Q7275
USER
Which state is that social group located in ?
(Q4430504,P17,c(Q7275))
action filter_type
action find
entity Q4430504
relation P17
type Q7275
['Q4430504', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7275 . resource:Q4430504 property:P17 ?p }
Cinematographers’ Union of the USSR
action filter_type
action find
entity Cinematographers’ Union of the USSR
relation country
type state
['Cinematographers’ Union of the USSR', 'country', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:state . resource:Cinematographers’_Union_of_the_USSR property:country ?p }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q4430504,P17,c(Q7275))
action filter_type
action find
entity Q4430504
relation P17
type Q7275
That social group is located in [ANSWER]
['Q4430504', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7275 . resource:Q4430504 property:P17 ?p }
Soviet Union
That social group is located in Soviet Union
Soviet Union
action filter_type
action find
entity Cinematographers’ Union of the USSR
relation country
type state
['Cinematographers’ Union of the USSR', 'country', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:state . resource:Cinematographers’_Union_of_the_USSR property:country ?p }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q11204 Q7275
USER
Which legislatures represent around 1 state ?
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
value 1
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?m ) WHERE { ?u rdf:type ontology:Q11204 . ?f rdf:type ontology:Q7275 . ?f property:P194 ?u } GROUP BY ?u } . FILTER ( ?m = 1 ) }
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
value 1
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?m ) WHERE { ?u rdf:type ontology:legislature . ?f rdf:type ontology:state . ?f property:legislative_body ?u } GROUP BY ?u } . FILTER ( ?m = 1 ) }
[]
legislature state
Q980284 Q3103766 Q6879217
SYSTEM
South Carolina General Assembly, Georgia General Assembly, Mississippi Legislature
Q6879217 Q980284 Q669970 Q1579497 Q3244416 Q388526 Q3363019 Q2326816 Q700757 Q920222 Q876529 Q3103766
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
value 1
The [ANSWERS] represent around 1 state
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?m ) WHERE { ?u rdf:type ontology:Q11204 . ?f rdf:type ontology:Q7275 . ?f property:P194 ?u } GROUP BY ?u } . FILTER ( ?m = 1 ) }
Mississippi Legislature South Carolina General Assembly Imperial Diet Parliament of Montenegro East Bengal Legislative Assembly Estates of Sint Maarten Assembly of the Union Estates of Curaçao Diet of Hungary National Assembly Imperial Diet Georgia General Assembly
The South Carolina General Assembly, Georgia General Assembly and Mississippi Legislature represent around 1 state
South Carolina General Assembly Georgia General Assembly Mississippi Legislature
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
value 1
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?m ) WHERE { ?u rdf:type ontology:legislature . ?f rdf:type ontology:state . ?f property:legislative_body ?u } GROUP BY ?u } . FILTER ( ?m = 1 ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q11204 Q12737077 Q56061
USER
Which legislatures are more number of occupations and administrative territories a part of than that legislature ?
(c(Q12737077)|c(Q56061),P361,c(Q11204))
[[{'concept': 'Q12737077'}, {'concept': 'Q56061'}], 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { { ?r property:P361 ?y . VALUES ( ?r ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q11204 . ?x rdf:type ontology:Q56061 }
[[{'concept': 'occupation'}, {'concept': 'administrative territorial entity'}], 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { { ?r property:part_of ?y . VALUES ( ?r ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:legislature . ?x rdf:type ontology:administrative_territorial_entity }
[]
legislature occupation administrative territorial entity
Comparative|More/Less|Mult. entity type|Clarification
Q6879217
SYSTEM
Did you mean Mississippi Legislature ?
(c(Q12737077)|c(Q56061),P361,c(Q11204))
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q56061'}], 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { { ?r property:P361 ?y . VALUES ( ?r ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q11204 . ?x rdf:type ontology:Q56061 }
Did you mean Mississippi Legislature ?
Mississippi Legislature
[[{'concept': 'occupation'}, {'concept': 'administrative territorial entity'}], 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { { ?r property:part_of ?y . VALUES ( ?r ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:legislature . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Georgia General Assembly. Could you tell me the answer for that?
(c(Q12737077)|c(Q56061),P361,c(Q11204))
Q3103766
[[{'concept': 'Q12737077'}, {'concept': 'Q56061'}], 'P361', {'concept': 'Q11204'}]
[[{'concept': 'occupation'}, {'concept': 'administrative territorial entity'}], 'part of', {'concept': 'legislature'}]
[]
Q1516914 Q320273 Q1492249
SYSTEM
Legislative Assembly of New Brunswick, Nova Scotia House of Assembly, National Assembly of Quebec
Q1427127 Q494162 Q1544714 Q6733343 Q24563 Q1479761 Q1280186 Q1319595 Q7681292 Q1149644 Q715869 Q1812873 Q374152 Q897278 Q135630 Q1269555 Q1484102 Q1136026 Q680806 Q1337463 Q1577811 Q4345425 Q217799 Q330600 Q285714 Q6518465 Q1138071 Q1563896 Q1579497 Q1386962 Q7450030 Q1138357 Q1287831 Q650066 Q570619 Q3462542 Q764201 Q7566128 Q4348725 Q1267064 Q1854129 Q1969578 Q146138 Q1139228 Q812372 Q1127198 Q1516914 Q539149 Q1573424 Q1684080 Q1287548 Q630145 Q2052850 Q320273 Q7054573 Q3244676 Q920222 Q1765001 Q7566117 Q740533 Q1281107 Q1573929 Q818708 Q2396996 Q1492249 Q16057514 Q131279 Q1297237 Q1139363 Q19211 Q1784088 Q17443556 Q1512579 Q7478146
(c(Q12737077)|c(Q56061),P361,c(Q11204))
The [ANSWERS] are more number of occupations and administrative territories a part of than that legislature
[[{'concept': 'Q12737077'}, {'concept': 'Q56061'}], 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q11204 . ?x rdf:type ontology:Q56061 }
The Gambia National Assembly National Assembly State Great Khural Maharashtra Legislative Assembly National Parliament of Papua New Guinea Federal National Council Legislature of the Marshall Islands National Assembly Tamil Nadu Legislative Assembly Landtag of Liechtenstein Legislative Yuan Legislative Assembly of El Salvador Seimas Parliament of Tuvalu Parliament of Catalonia Legislative Assembly of Samoa House of Representatives Congress of Guatemala National Parliament National Assembly of Armenia National Assembly Parliament of Fiji Islands Riigikogu National Assembly of Azerbaijan Northern Ireland Assembly Legislature of the Virgin Islands National Assembly Legislature of Guam Parliament of Montenegro Legislative Assembly of Costa Rica Senate of Northern Ireland House of Assembly of Saint Vincent and the Grenadines Legislative Assembly of Tonga People's Majlis House of Assembly of Barbados Kerala Legislative Assembly Parliament of Vanuatu South Australian Legislative Council Diet of Finland National Assembly National Assembly National Assembly Bundesrat National Assembly Bavarian Senate National Council Legislative Assembly of New Brunswick Congress of Deputies Assembly of the Union of the Comoros Jatiyo Sangshad Congress of the Federated States of Micronesia Assembly of Turkmenistan Parliament of Uganda Nova Scotia House of Assembly North Carolina Provincial Congress New South Wales Legislative Council National Assembly National Assembly South Australian House of Assembly National People's Assembly House of Assembly of Kiribati National Assembly Consultative Assembly of Saudi Arabia Legislative Council of Brunei National Assembly of Quebec 2nd Nepalese Constituent Assembly Althing House of Assembly of Dominica National Assembly National People's Congress National Assembly House of Representatives National Assembly Pontifical Commission for Vatican City State
The Legislative Assembly of New Brunswick, Nova Scotia House of Assembly and National Assembly of Quebec are more number of occupations and administrative territories a part of than that legislature
Legislative Assembly of New Brunswick Nova Scotia House of Assembly National Assembly of Quebec
[[{'concept': 'occupation'}, {'concept': 'administrative territorial entity'}], 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:legislature . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q11204 Q15617994
USER
Which administrative territories have around 1 legislature as their legislative body ?
(c(Q15617994),P194,c(Q11204))
action approx
action find_tuple_counts
relation P194
type Q15617994
type Q11204
value 1
[{'concept': 'Q15617994'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?k ) WHERE { ?t property:P194 ?f . ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q11204 } GROUP BY ?t } . FILTER ( ?k = 1 ) }
action approx
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?k ) WHERE { ?t property:legislative_body ?f . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:legislature } GROUP BY ?t } . FILTER ( ?k = 1 ) }
[]
legislature designation for an administrative territorial entity
Q30 Q159 Q148
SYSTEM
United States of America, Russia, People's Republic of China
Q805 Q800 Q1462 Q1250 Q148 Q189 Q786 Q710 Q1460 Q159 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q12761 Q244 Q31 Q30 Q37 Q1447 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q1458 Q227 Q347 Q17 Q902 Q191 Q114 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q1222 Q774 Q1016 Q27 Q1243 Q12626 Q672 Q1237
(c(Q15617994),P194,c(Q11204))
action approx
action find_tuple_counts
relation P194
type Q15617994
type Q11204
value 1
[ANSWERS] have around 1 legislature as their legislative body
[{'concept': 'Q15617994'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?k ) WHERE { ?t property:P194 ?f . ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q11204 } GROUP BY ?t } . FILTER ( ?k = 1 ) }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia People's Republic of China Iceland Dominican Republic Kiribati Sicily Russia Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Seine-Saint-Denis Barbados Belgium United States of America Lithuania Apulia Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Calabria Azerbaijan Liechtenstein Japan Bangladesh Estonia Kenya Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Aosta Valley Guatemala Libya Ireland Veneto Meurthe-et-Moselle Tuvalu Trentino-South Tyrol
United States of America, Russia and People's Republic of China have around 1 legislature as their legislative body
United States of America Russia People's Republic of China
action approx
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?k ) WHERE { ?t property:legislative_body ?f . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:legislature } GROUP BY ?t } . FILTER ( ?k = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q1048835 Q56061 Q11204
USER
Which legislatures have jurisdiction over min number of political territories or administrative territories ?
(c(Q11204),P1001,c(Q1048835)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P1001
type Q11204
type Q1048835
action find_tuple_counts
relation P1001
type Q11204
type Q56061
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?p WHERE { VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?y rdf:type ?h } GROUP BY ?p } } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?g WHERE { { ?g property:P1001 ?t . ?g rdf:type ontology:Q11204 . ?t rdf:type ontology:Q1048835 } UNION { ?g property:P1001 ?t . ?g rdf:type ontology:Q11204 . ?t rdf:type ontology:Q56061 } } GROUP BY ?g } }
action argmin
action union
action find_tuple_counts
relation applies to jurisdiction
type legislature
type political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?p WHERE { VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?y rdf:type ?h } GROUP BY ?p } } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?g WHERE { { ?g property:applies_to_jurisdiction ?t . ?g rdf:type ontology:legislature . ?t rdf:type ontology:political_territorial_entity } UNION { ?g property:applies_to_jurisdiction ?t . ?g rdf:type ontology:legislature . ?t rdf:type ontology:administrative_territorial_entity } } GROUP BY ?g } }
[]
political territorial entity administrative territorial entity legislature
Q11268 Q1516914 Q1492249
SYSTEM
United States Congress, Legislative Assembly of New Brunswick, National Assembly of Quebec
Q6064424 Q7903336 Q494162 Q2656777 Q6733343 Q5692374 Q7903335 Q19208 Q7051064 Q1246562 Q5783861 Q5783863 Q5783866 Q1149644 Q715869 Q22443329 Q22443280 Q1812873 Q22443320 Q22443322 Q22443284 Q374152 Q595411 Q22360043 Q7101257 Q2994117 Q6879217 Q22443324 Q530970 Q22443327 Q1136026 Q980284 Q2867076 Q11268 Q22569956 Q217799 Q2626571 Q1514096 Q457869 Q10566065 Q7320919 Q22443273 Q22443277 Q22443275 Q5783847 Q1812858 Q5783845 Q5783843 Q5783841 Q5783849 Q2994072 Q1516914 Q13217296 Q579836 Q2384499 Q7054573 Q3462542 Q1492249 Q7566128 Q5783859 Q3687390 Q4348725 Q5783851 Q5783853 Q5783856 Q5161534 Q17034697 Q5148810 Q3270268 Q22443253 Q5783828 Q22443256 Q5783824 Q5783826 Q5783821 Q6518247 Q2741727 Q5160905 Q539149 Q2729213 Q23782077 Q493517 Q1684080 Q2994333 Q5783839 Q5783837 Q5783833 Q5783831 Q320273 Q996610 Q2993952 Q3244676 Q6386227 Q10566263 Q7566117 Q550133 Q6689290 Q22443317 Q1281107 Q812372 Q3687389 Q2742602 Q131279 Q3103766 Q3555619 Q19211 Q3248654 Q6518242 Q2063555
(c(Q11204),P1001,c(Q1048835)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P1001
type Q11204
type Q1048835
action find_tuple_counts
relation P1001
type Q11204
type Q56061
[ANSWERS] have jurisdiction over min number of political territories or administrative territories
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?p WHERE { VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?y rdf:type ?h } GROUP BY ?p } } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?g WHERE { { ?g property:P1001 ?t . ?g rdf:type ontology:Q11204 . ?t rdf:type ontology:Q1048835 } UNION { ?g property:P1001 ?t . ?g rdf:type ontology:Q11204 . ?t rdf:type ontology:Q56061 } } GROUP BY ?g } }
Iowa General Assembly Uttar Pradesh Legislature National Assembly Parliament of Transnistria Maharashtra Legislative Assembly Legislative Council of Carabobo Uttar Pradesh Legislative Council Legislative Council of Hong Kong 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 Oregon Legislative Assembly Legislative Council of New Brunswick Mississippi Legislature Sangguniang Panlungsod of Lapu-Lapu Virginia General Assembly Sangguniang Panlungsod of Cebu City Congress of Guatemala South Carolina General Assembly Vermont General Assembly United States Congress Sangguniang Bayan of Bien Unido Riigikogu Supreme Soviet of Russia People's Assembly of Abkhazia Federal Assembly of the Russian Federation Maryland General Assembly Rhode Island General Assembly Sangguniang Bayan of Madridejos 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 Utah State Legislature North Carolina Provincial Congress 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 Connecticut General Assembly Torbay Council Colorado General Assembly New York State Legislature 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 Legislative Council of Saint Helena General Council of Finistère Congress of Zacatecas Congress of Deputies Assembly of French Polynesia 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 Nebraska Legislature General Council of Ille-et-Vilaine New South Wales Legislative Council Norfolk County Council North Carolina General Assembly South Australian House of Assembly Legislative Assembly of Macau Louisiana State Legislature Sangguniang Bayan of Aloguinsan House of Assembly of Kiribati Bavarian Senate Regional council of Trentino-Alto Adige/Südtirol Parliament of Navarre Althing Georgia General Assembly Nevada Legislature 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 political territories or administrative 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 political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?p WHERE { VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?y rdf:type ?h } GROUP BY ?p } } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?g WHERE { { ?g property:applies_to_jurisdiction ?t . ?g rdf:type ontology:legislature . ?t rdf:type ontology:political_territorial_entity } UNION { ?g property:applies_to_jurisdiction ?t . ?g rdf:type ontology:legislature . ?t rdf:type ontology:administrative_territorial_entity } } GROUP BY ?g } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4084714 Q4410713
P26
Q502895
USER
Which people are married to Yelizaveta Svilova or Berengar ?
OR((c(Q502895),P26,Q4410713), (c(Q502895),P26,Q4084714))
action filter_type
action union
action find_reverse
entity Q4410713
relation P26
action find_reverse
entity Q4084714
relation P26
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q4410713'], [{'concept': 'Q502895'}, 'P26', 'Q4084714']]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?x ) { ( resource:Q4410713 ) ( resource:Q4084714 ) } . ?n property:P26 ?x } . ?n rdf:type ontology:Q502895 }
Berengar Yelizaveta Svilova
action filter_type
action union
action find_reverse
entity Yelizaveta Svilova
relation spouse
action find_reverse
entity Berengar
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Yelizaveta Svilova'], [{'concept': 'common name'}, 'spouse', 'Berengar']]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?x ) { ( resource:Yelizaveta_Svilova ) ( resource:Berengar ) } . ?n property:spouse ?x } . ?n rdf:type ontology:common_name }
[]
common name
Q55193 Q24028010
SYSTEM
Dziga Vertov, Hiltrude
Q55193 Q24028010
OR((c(Q502895),P26,Q4410713), (c(Q502895),P26,Q4084714))
action filter_type
action union
action find_reverse
entity Q4410713
relation P26
action find_reverse
entity Q4084714
relation P26
type Q502895
[ANSWERS] are married to Yelizaveta Svilova or Berengar
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q4410713'], [{'concept': 'Q502895'}, 'P26', 'Q4084714']]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?x ) { ( resource:Q4410713 ) ( resource:Q4084714 ) } . ?n property:P26 ?x } . ?n rdf:type ontology:Q502895 }
Dziga Vertov Hiltrude
Dziga Vertov and Hiltrude are married to Yelizaveta Svilova or Berengar
Dziga Vertov Hiltrude
action filter_type
action union
action find_reverse
entity Yelizaveta Svilova
relation spouse
action find_reverse
entity Berengar
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Yelizaveta Svilova'], [{'concept': 'common name'}, 'spouse', 'Berengar']]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?x ) { ( resource:Yelizaveta_Svilova ) ( resource:Berengar ) } . ?n property:spouse ?x } . ?n rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q15392994
P725
Q502895 Q5398426
USER
How many television series had their voice dubbing done by more number of people than Prison School ?
(c(Q5398426),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q15392994
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q15392994 property:P725 ?l . ?l rdf:type ontology:Q5398426 } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?d ) WHERE { ?j property:P725 ?c . ?j rdf:type ontology:Q5398426 . ?c rdf:type ontology:Q502895 } GROUP BY ?j } }
Prison School
action count
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Prison School
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Prison_School property:voice_actor ?l . ?l rdf:type ontology:television_series } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?d ) WHERE { ?j property:voice_actor ?c . ?j rdf:type ontology:television_series . ?c rdf:type ontology:common_name } GROUP BY ?j } }
[]
common name television series
SYSTEM
4
Q662 Q881797 Q386361 Q483535
(c(Q5398426),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q15392994
relation P725
type Q5398426
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q15392994 property:P725 ?l . ?l rdf:type ontology:Q5398426 } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?d ) WHERE { ?j property:P725 ?c . ?j rdf:type ontology:Q5398426 . ?c rdf:type ontology:Q502895 } GROUP BY ?j } }
Neon Genesis Evangelion YuruYuri Devil May Cry: The Animated Series Ore no Imōto ga Konna ni Kawaii Wake ga Nai
4
action count
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Prison School
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Prison_School property:voice_actor ?l . ?l rdf:type ontology:television_series } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?d ) WHERE { ?j property:voice_actor ?c . ?j rdf:type ontology:television_series . ?c rdf:type ontology:common_name } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q498079
P725
Q502895 Q5398426
USER
And how about Pretty Rhythm?
(c(Q5398426),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q498079
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?h ) WHERE { ?l rdf:type ontology:Q5398426 . ?g rdf:type ontology:Q502895 . ?l property:P725 ?g } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ontology:Q5398426 . resource:Q498079 property:P725 ?r } } . FILTER ( ?h > ?m ) }
Pretty Rhythm
action count
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Pretty Rhythm
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?h ) WHERE { ?l rdf:type ontology:television_series . ?g rdf:type ontology:common_name . ?l property:voice_actor ?g } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ontology:television_series . resource:Pretty_Rhythm property:voice_actor ?r } } . FILTER ( ?h > ?m ) }
[]
common name television series
SYSTEM
8
Q662 Q881797 Q211183 Q386361 Q483535 Q3280971 Q921440 Q15392994
(c(Q5398426),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q498079
relation P725
type Q5398426
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?h ) WHERE { ?l rdf:type ontology:Q5398426 . ?g rdf:type ontology:Q502895 . ?l property:P725 ?g } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ontology:Q5398426 . resource:Q498079 property:P725 ?r } } . FILTER ( ?h > ?m ) }
Neon Genesis Evangelion YuruYuri Tamako Market Devil May Cry: The Animated Series Ore no Imōto ga Konna ni Kawaii Wake ga Nai Love Live! Seitokai Yakuindomo Prison School
8
action count
action greater
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Pretty Rhythm
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?h ) WHERE { ?l rdf:type ontology:television_series . ?g rdf:type ontology:common_name . ?l property:voice_actor ?g } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ontology:television_series . resource:Pretty_Rhythm property:voice_actor ?r } } . FILTER ( ?h > ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P30
Q2221906
USER
Which geographic locations are United States of America located in ?
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q30 property:P30 ?i . ?i rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:United_States_of_America property:continent ?i . ?i rdf:type ontology:geographic_location }
[]
geographic location
Q49 Q538
SYSTEM
North America, Oceania
Q49 Q538
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
United States of America are located in [ANSWERS]
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q30 property:P30 ?i . ?i rdf:type ontology:Q2221906 }
North America Oceania
United States of America are located in North America and Oceania
North America Oceania
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:United_States_of_America property:continent ?i . ?i rdf:type ontology:geographic_location }
[]