Simple Question (Direct)
Simple Question
Q924128
P750
Q334453
USER
Who is the distributor of Power Rangers Ninja Storm ?
(Q924128,P750,c(Q334453))
action filter_type
action find
entity Q924128
relation P750
type Q334453
['Q924128', 'P750', {'concept': 'Q334453'}]
SELECT DISTINCT ?z WHERE { resource:Q924128 property:P750 ?z . ?z rdf:type ontology:Q334453 }
Power Rangers Ninja Storm
action filter_type
action find
entity Power Rangers Ninja Storm
relation distributor
type division
['Power Rangers Ninja Storm', 'distributor', {'concept': 'division'}]
SELECT DISTINCT ?z WHERE { resource:Power_Rangers_Ninja_Storm property:distributor ?z . ?z rdf:type ontology:division }
[]
division
Q3277355
SYSTEM
Saban Capital Group
Q3277355
(Q924128,P750,c(Q334453))
action filter_type
action find
entity Q924128
relation P750
type Q334453
The distributor of Power Rangers Ninja Storm is the [ANSWER]
['Q924128', 'P750', {'concept': 'Q334453'}]
SELECT DISTINCT ?z WHERE { resource:Q924128 property:P750 ?z . ?z rdf:type ontology:Q334453 }
Saban Capital Group
The distributor of Power Rangers Ninja Storm is the Saban Capital Group
Saban Capital Group
action filter_type
action find
entity Power Rangers Ninja Storm
relation distributor
type division
['Power Rangers Ninja Storm', 'distributor', {'concept': 'division'}]
SELECT DISTINCT ?z WHERE { resource:Power_Rangers_Ninja_Storm property:distributor ?z . ?z rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q924128
P144
Q15416
USER
Which television program is Power Rangers Ninja Storm based on ?
(Q924128,P144,c(Q15416))
action filter_type
action find
entity Q924128
relation P144
type Q15416
['Q924128', 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?e WHERE { resource:Q924128 property:P144 ?e . ?e rdf:type ontology:Q15416 }
Power Rangers Ninja Storm
action filter_type
action find
entity Power Rangers Ninja Storm
relation based on
type television program
['Power Rangers Ninja Storm', 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?e WHERE { resource:Power_Rangers_Ninja_Storm property:based_on ?e . ?e rdf:type ontology:television_program }
[]
television program
Q591029
SYSTEM
Ninpuu Sentai Hurricaneger
Q591029
(Q924128,P144,c(Q15416))
action filter_type
action find
entity Q924128
relation P144
type Q15416
Sentai [ANSWER] is Power Rangers Ninja Storm based on
['Q924128', 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?e WHERE { resource:Q924128 property:P144 ?e . ?e rdf:type ontology:Q15416 }
Ninpuu Sentai Hurricaneger
Sentai Ninpuu Sentai Hurricaneger is Power Rangers Ninja Storm based on
Ninpuu Sentai Hurricaneger
action filter_type
action find
entity Power Rangers Ninja Storm
relation based on
type television program
['Power Rangers Ninja Storm', 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?e WHERE { resource:Power_Rangers_Ninja_Storm property:based_on ?e . ?e rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q924128
P840
Q852446
USER
Which narrative location is Power Rangers Ninja Storm set in ?
(Q924128,P840,c(Q852446))
action filter_type
action find
entity Q924128
relation P840
type Q852446
['Q924128', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?w WHERE { resource:Q924128 property:P840 ?w . ?w rdf:type ontology:Q852446 }
Power Rangers Ninja Storm
action filter_type
action find
entity Power Rangers Ninja Storm
relation narrative location
type administrative territorial entity of the United States
['Power Rangers Ninja Storm', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?w WHERE { resource:Power_Rangers_Ninja_Storm property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q99
SYSTEM
California
Q99
(Q924128,P840,c(Q852446))
action filter_type
action find
entity Q924128
relation P840
type Q852446
Power Rangers Ninja Storm is set in [ANSWER]
['Q924128', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?w WHERE { resource:Q924128 property:P840 ?w . ?w rdf:type ontology:Q852446 }
California
Power Rangers Ninja Storm is set in California
California
action filter_type
action find
entity Power Rangers Ninja Storm
relation narrative location
type administrative territorial entity of the United States
['Power Rangers Ninja Storm', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?w WHERE { resource:Power_Rangers_Ninja_Storm property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q99
P36
Q5119
USER
What is known as the capital of that US administrative territory ?
(Q99,P36,c(Q5119))
action filter_type
action find
entity Q99
relation P36
type Q5119
['Q99', 'P36', {'concept': 'Q5119'}]
SELECT DISTINCT ?h WHERE { resource:Q99 property:P36 ?h . ?h rdf:type ontology:Q5119 }
California
action filter_type
action find
entity California
relation capital
type capital
['California', 'capital', {'concept': 'capital'}]
SELECT DISTINCT ?h WHERE { resource:California property:capital ?h . ?h rdf:type ontology:capital }
[]
capital
Q18013
SYSTEM
Sacramento
Q18013
(Q99,P36,c(Q5119))
action filter_type
action find
entity Q99
relation P36
type Q5119
[ANSWER] is known as the capital of that US administrative territory
['Q99', 'P36', {'concept': 'Q5119'}]
SELECT DISTINCT ?h WHERE { resource:Q99 property:P36 ?h . ?h rdf:type ontology:Q5119 }
Sacramento
Sacramento is known as the capital of that US administrative territory
Sacramento
action filter_type
action find
entity California
relation capital
type capital
['California', 'capital', {'concept': 'capital'}]
SELECT DISTINCT ?h WHERE { resource:California property:capital ?h . ?h rdf:type ontology:capital }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18013 Q1650855
P190
Q515
USER
Is Krajková sister town of Sacramento ?
(Q18013,P190,Q1650855)
action is_in
entity Q1650855
action find
entity Q18013
relation P190
['Q18013', 'P190', 'Q1650855']
ASK WHERE { resource:Q18013 property:P190 resource:Q1650855 }
Sacramento Krajková
action is_in
entity Krajková
action find
entity Sacramento
relation sister city
['Sacramento', 'sister city', 'Krajková']
ASK WHERE { resource:Sacramento property:sister_city resource:Krajková }
[]
city
SYSTEM
NO
(Q18013,P190,Q1650855)
action is_in
entity Q1650855
action find
entity Q18013
relation P190
[ANSWER]
['Q18013', 'P190', 'Q1650855']
ASK WHERE { resource:Q18013 property:P190 resource:Q1650855 }
No
action is_in
entity Krajková
action find
entity Sacramento
relation sister city
['Sacramento', 'sister city', 'Krajková']
ASK WHERE { resource:Sacramento property:sister_city resource:Krajková }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3277355 Q6422564 Q30
P17
Q15617994
USER
Is Saban Capital Group present in Knightsmill, Cornwall and United States of America ?
(Q3277355,P17,Q6422564) (Q3277355,P17,Q30)
action is_in
entity Q3277355
action intersection
action find_reverse
entity Q6422564
relation P17
action find_reverse
entity Q30
relation P17
['Q3277355', 'P17', 'Q6422564'] ['Q3277355', 'P17', 'Q30']
ASK WHERE { resource:Q3277355 property:P17 resource:Q6422564 . resource:Q3277355 property:P17 resource:Q30 }
Saban Capital Group Knightsmill, Cornwall United States of America
action is_in
entity Saban Capital Group
action intersection
action find_reverse
entity Knightsmill, Cornwall
relation country
action find_reverse
entity United States of America
relation country
['Saban Capital Group', 'country', 'Knightsmill, Cornwall'] ['Saban Capital Group', 'country', 'United States of America']
ASK WHERE { resource:Saban_Capital_Group property:country resource:Knightsmill,_Cornwall . resource:Saban_Capital_Group property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3277355,P17,Q6422564) (Q3277355,P17,Q30)
action is_in
entity Q3277355
action intersection
action find_reverse
entity Q6422564
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q3277355', 'P17', 'Q6422564'] ['Q3277355', 'P17', 'Q30']
ASK WHERE { resource:Q3277355 property:P17 resource:Q6422564 . resource:Q3277355 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity Saban Capital Group
action intersection
action find_reverse
entity Knightsmill, Cornwall
relation country
action find_reverse
entity United States of America
relation country
['Saban Capital Group', 'country', 'Knightsmill, Cornwall'] ['Saban Capital Group', 'country', 'United States of America']
ASK WHERE { resource:Saban_Capital_Group property:country resource:Knightsmill,_Cornwall . resource:Saban_Capital_Group property:country resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q2342494 Q838948 Q15416
USER
How many television programs have approximately 1 collectables and works of art as source of inspiration ?
(c(Q15416),P941,c(Q2342494)|c(Q838948))
action count
action approx
action union
action find_tuple_counts
relation P941
type Q15416
type Q2342494
action find_tuple_counts
relation P941
type Q15416
type Q838948
value 1
[{'concept': 'Q15416'}, 'P941', [{'concept': 'Q2342494'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?a WHERE { VALUES ( ?d ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?e rdf:type ?d } GROUP BY ?a } . FILTER ( ?w = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation inspired by
type television program
type collectable
action find_tuple_counts
relation inspired by
type television program
type work of art
value 1
[{'concept': 'television program'}, 'inspired by', [{'concept': 'collectable'}, {'concept': 'work of art'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?a WHERE { VALUES ( ?d ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?e rdf:type ?d } GROUP BY ?a } . FILTER ( ?w = 1 ) }
[]
collectable work of art television program
SYSTEM
9
Q388601 Q11534520 Q3053531 Q9357747 Q15119348 Q169074 Q11534519 Q22266766 Q5466927
(c(Q15416),P941,c(Q2342494)|c(Q838948))
action count
action approx
action union
action find_tuple_counts
relation P941
type Q15416
type Q2342494
action find_tuple_counts
relation P941
type Q15416
type Q838948
value 1
[ANSWER]
[{'concept': 'Q15416'}, 'P941', [{'concept': 'Q2342494'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?a WHERE { VALUES ( ?d ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?e rdf:type ?d } GROUP BY ?a } . FILTER ( ?w = 1 ) }
Emma Yagyū Jūbei Nanaban Shōbu: Shimabara no Ran Journey to the Center of the Earth The Absent-Minded Professor The Philadelphia Experiment 10 Things I Hate About You Yagyū Jūbei Nanaban Shōbu: Saigo no Tatakai Animal Kingdom For Whom the Bell Tolls
9
action count
action approx
action union
action find_tuple_counts
relation inspired by
type television program
type collectable
action find_tuple_counts
relation inspired by
type television program
type work of art
value 1
[{'concept': 'television program'}, 'inspired by', [{'concept': 'collectable'}, {'concept': 'work of art'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?a WHERE { VALUES ( ?d ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?e rdf:type ?d } GROUP BY ?a } . FILTER ( ?w = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P194
Q11204 Q852446
USER
Which legislatures are the representative bodies for min number of US administrative territories ?
(c(Q852446),P194,Q22569956)
action argmin
action find_reverse_tuple_counts
relation P194
type Q11204
type Q852446
[{'concept': 'Q852446'}, 'P194', 'Q22569956']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?d ) { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P194 ?t . ?g rdf:type ontology:Q852446 . ?t rdf:type ontology:Q11204 } GROUP BY ?t } } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { ?q rdf:type ontology:Q11204 . ?p rdf:type ontology:Q852446 . ?p property:P194 ?q } GROUP BY ?q } }
action argmin
action find_reverse_tuple_counts
relation legislative body
type legislature
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', 'Sangguniang Bayan of Bien Unido']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?d ) { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:legislative_body ?t . ?g rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?t rdf:type ontology:legislature } GROUP BY ?t } } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { ?q rdf:type ontology:legislature . ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?p property:legislative_body ?q } GROUP BY ?q } }
[]
legislature administrative territorial entity of the United States
Q11268 Q494162 Q19208
SYSTEM
United States Congress, National Assembly, Legislative Council of Hong Kong
Q7101400 Q2518570 Q494162 Q2650715 Q3365321 Q2656777 Q6386149 Q320501 Q550133 Q5692374 Q589022 Q19208 Q3687390 Q3687397 Q4817650 Q2994027 Q3687394 Q22330280 Q1643140 Q2994248 Q1319595 Q2993961 Q5783861 Q7681292 Q5783863 Q5783866 Q1281107 Q1149644 Q715869 Q22443329 Q22443280 Q1812873 Q22443320 Q22443322 Q22443284 Q22443324 Q595411 Q22443327 Q22360043 Q2564988 Q135630 Q4902948 Q2994272 Q374152 Q19211 Q4313275 Q5261561 Q1136026 Q680806 Q19606559 Q2707406 Q11268 Q5025648 Q4345425 Q217799 Q330600 Q285714 Q1514096 Q669970 Q6518465 Q457869 Q2994267 Q2994263 Q1579497 Q2994260 Q1386962 Q22443273 Q14562584 Q22443277 Q5783847 Q5783845 Q131279 Q5783843 Q5783841 Q22443275 Q5783849 Q2994073 Q579836 Q3625554 Q2993782 Q647976 Q764201 Q3687391 Q2080399 Q5783859 Q5783851 Q5783853 Q5783856 Q3687395 Q3244416 Q22330307 Q7051064 Q5399679 Q388526 Q2386705 Q6386198 Q1484102 Q4303926 Q146138 Q775994 Q22443253 Q5783828 Q16934215 Q17017103 Q897278 Q5783824 Q5783833 Q5783826 Q5783821 Q14468380 Q6527389 Q1127198 Q5783831 Q688346 Q2741727 Q2301457 Q14562680 Q5160905 Q539149 Q274918 Q7604031 Q493517 Q1684080 Q2994252 Q2994253 Q3363019 Q2994255 Q2994239 Q2326816 Q5783839 Q5783837 Q2994234 Q2994235 Q2994237 Q700757 Q1137059 Q3462542 Q920222 Q22443256 Q16996347 Q5018721 Q3687399 Q2565909 Q2994249 Q22443317 Q2994245 Q2994244 Q3365495 Q4938196 Q2994241 Q2994240 Q2994243 Q1563736 Q920609 Q693192 Q6664413 Q7082403 Q250641 Q202384 Q4791449 Q3687389 Q2742602 Q18342090 Q876529 Q497578 Q3687386 Q3687387 Q17443556 Q129821 Q7478146 Q3658756 Q22569956
(c(Q852446),P194,Q22569956)
action argmin
action find_reverse_tuple_counts
relation P194
type Q11204
type Q852446
[ANSWERS] are the representative bodies for min number of US administrative territories
[{'concept': 'Q852446'}, 'P194', 'Q22569956']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?d ) { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P194 ?t . ?g rdf:type ontology:Q852446 . ?t rdf:type ontology:Q11204 } GROUP BY ?t } } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { ?q rdf:type ontology:Q11204 . ?p rdf:type ontology:Q852446 . ?p property:P194 ?q } GROUP BY ?q } }
Oregon Territorial Legislature Regional Council of Rhône-Alpes National Assembly General Council of Loiret Legislative Assembly of the Falkland Islands Parliament of Transnistria Lancashire County Council Landtag Legislative Assembly of Macau Legislative Council of Carabobo Regional Council of Lorraine Legislative Council of Hong Kong Regional Council of Veneto Regional Council of Sardinia Austrian Parliament Seine-Saint-Denis General Council Regional Council of Calabria Cebu Provincial Board Niue Assembly Regional Council of Languedoc-Roussillon 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 Corsican Assembly Parliament of Catalonia National Legislature Regional Council of Nord-Pas-de-Calais Seimas National People's Congress People's Assembly of the Republic of Dagestan Derbyshire County Council Congress of Guatemala National Parliament Regional Council of Auvergne-Rhône-Alpes Sicilian Regional Assembly United States Congress Cambridgeshire County Council Parliament of Fiji Islands Riigikogu National Assembly of Azerbaijan Northern Ireland Assembly People's Assembly of Abkhazia Imperial Diet Legislature of the Virgin Islands Federal Assembly of the Russian Federation Regional Council of Limousin Regional Council of Martinique Parliament of Montenegro 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 Legislative Council of Falcón Sangguniang Panlungsod of Toledo Legislative Council of Nueva Esparta Nord General Council Legislative Council of Zulia Legislative Assembly of the Cayman Islands Regional Council of the Aosta Valley Regional Council of Centre Parliament of Vanuatu Regional Council of Abruzzo Parliament of Bhutan Legislative Council of Táchira Legislative Council of Portuguesa Legislative Council of Sucre Legislative Council of Trujillo Regional Council of Lombardy East Bengal Legislative Assembly Siquijor Provincial Board Norfolk Legislative Assembly Essex County Council Estates of Sint Maarten National Assembly Leicestershire County Council House of Representatives 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 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 Congress of Deputies Grand National Assembly of Turkey States of Alderney National Assembly for Wales Jatiyo Sangshad Regional Council of Provence-Alpes-Côte d'Azur Regional Council of Poitou-Charentes Assembly of the Union Regional Council of Guadeloupe Regional Council of Basse-Normandie Estates of Curaçao Legislative Council of Delta Amacuro Legislative Council of Cojedes Regional Council of Île-de-France Regional Council of Auvergne Regional Council of Burgundy Diet of Hungary Belgian Federal Parliament Kerala Legislative Assembly National Assembly Sangguniang Bayan of Santa Fe Lincolnshire County Council National Legislature Regional Council of Tuscany Parliament of Barbados Regional Council of Picardy 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 Regional Council of Midi-Pyrénées Peterborough City Council Oklahoma Territorial Legislature Tagsatzung National Diet Arizona Territorial Legislature Regional council of Trentino-Alto Adige/Südtirol Parliament of Navarre Assembly of the Representatives of the People Imperial Diet Witenagemot Regional Council of Friuli-Venezia Giulia Regional Council of Lazio House of Representatives Oireachtas Pontifical Commission for Vatican City State San Francisco Board of Supervisors Sangguniang Bayan of Bien Unido
United States Congress, National Assembly and Legislative Council of Hong Kong are the representative bodies for min number of US administrative territories
United States Congress National Assembly Legislative Council of Hong Kong
action argmin
action find_reverse_tuple_counts
relation legislative body
type legislature
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', 'Sangguniang Bayan of Bien Unido']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?d ) { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:legislative_body ?t . ?g rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?t rdf:type ontology:legislature } GROUP BY ?t } } . FILTER ( ?i = ?d ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?i ) WHERE { ?q rdf:type ontology:legislature . ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?p property:legislative_body ?q } GROUP BY ?q } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1001
Q1048835 Q11204
USER
How many legislatures have control over the jurisdiction of approximately the same number of political territories as that legislature ?
(c(Q11204),P1001,c(Q1048835))
[{'concept': 'Q11204'}, 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P1001 ?y . ?z rdf:type ontology:Q11204 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'legislature'}, 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:applies_to_jurisdiction ?y . ?z rdf:type ontology:legislature . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity legislature
Comparative|Count over More/Less|Single entity type|Clarification
Q19208
SYSTEM
Did you mean Legislative Council of Hong Kong ?
(c(Q11204),P1001,c(Q1048835))
[ANSWER]
[{'concept': 'Q11204'}, 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P1001 ?y . ?z rdf:type ontology:Q11204 . ?y rdf:type ontology:Q1048835 }
Did you mean Legislative Council of Hong Kong ?
Legislative Council of Hong Kong
[{'concept': 'legislature'}, 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:applies_to_jurisdiction ?y . ?z rdf:type ontology:legislature . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant United States Congress. Could you tell me the answer for that?
(c(Q11204),P1001,c(Q1048835))
Q11268
[{'concept': 'Q11204'}, 'P1001', {'concept': 'Q1048835'}]
[{'concept': 'legislature'}, 'applies to jurisdiction', {'concept': 'political territorial entity'}]
[]
SYSTEM
119
Q6064424 Q7903336 Q494162 Q2656777 Q6733343 Q5692374 Q7903335 Q19208 Q1144019 Q7051064 Q1246562 Q5783861 Q5783863 Q5783866 Q1149644 Q715869 Q22443329 Q22443280 Q1812873 Q22443320 Q22443322 Q22443284 Q374152 Q595411 Q22360043 Q7101257 Q2994117 Q6879217 Q22443324 Q7058463 Q530970 Q22443327 Q1136026 Q980284 Q2867076 Q11268 Q22569956 Q217799 Q285714 Q2626571 Q1514096 Q457869 Q10566065 Q7320919 Q6518465 Q22443273 Q7450030 Q22443277 Q22443275 Q5783847 Q1812858 Q5783845 Q5783843 Q5783841 Q5783849 Q2994072 Q1516914 Q13217296 Q579836 Q2384499 Q7054573 Q3462542 Q1492249 Q7566128 Q5783859 Q3687390 Q4348725 Q5783851 Q5783853 Q5783856 Q5161534 Q3658756 Q17034697 Q5148810 Q3270268 Q775994 Q22443253 Q5783828 Q22443256 Q5783824 Q5783826 Q5783821 Q6527389 Q6518247 Q2741727 Q5160905 Q539149 Q2729213 Q7604031 Q23782077 Q493517 Q1684080 Q2994333 Q5783839 Q5783837 Q5783833 Q5783831 Q320273 Q996610 Q2993952 Q3244676 Q6386227 Q10566263 Q5261430 Q7566117 Q550133 Q6689290 Q22443317 Q1281107 Q812372 Q3687389 Q2742602 Q131279 Q3103766 Q3555619 Q19211 Q3248654 Q6518242 Q2063555
(c(Q11204),P1001,c(Q1048835))
[ANSWER]
[{'concept': 'Q11204'}, 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P1001 ?y . ?z rdf:type ontology:Q11204 . ?y rdf:type ontology:Q1048835 }
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 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 Oregon Legislative Assembly Legislative Council of New Brunswick Mississippi Legislature Sangguniang Panlungsod of Lapu-Lapu Northern Ireland Assembly 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 Northern Ireland Assembly Supreme Soviet of Russia People's Assembly of Abkhazia Federal Assembly of the Russian Federation Maryland General Assembly Rhode Island General Assembly 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 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 San Francisco Board of Supervisors Torbay Council Colorado General Assembly New York State Legislature 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 Nebraska Legislature General Council of Ille-et-Vilaine New South Wales Legislative Council Norfolk County Council North Carolina General Assembly Derby City Council 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
119
[{'concept': 'legislature'}, 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:applies_to_jurisdiction ?y . ?z rdf:type ontology:legislature . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q11204 Q7275
USER
Which states have atmost 1 legislature as their council ?
(c(Q7275),P194,c(Q11204))
action atmost
action find_tuple_counts
relation P194
type Q7275
type Q11204
value 1
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?y ) WHERE { ?c property:P194 ?u . ?c rdf:type ontology:Q7275 . ?u rdf:type ontology:Q11204 } GROUP BY ?c } . FILTER ( ?y <= 1 ) }
action atmost
action find_tuple_counts
relation legislative body
type state
type legislature
value 1
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?y ) WHERE { ?c property:legislative_body ?u . ?c rdf:type ontology:state . ?u rdf:type ontology:legislature } GROUP BY ?c } . FILTER ( ?y <= 1 ) }
[]
legislature state
Q980 Q16957 Q131964
SYSTEM
Bavaria, East Germany, Austrian Empire
Q241748 Q211853 Q774783 Q105092 Q70802 Q842931 Q476757 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q207272 Q25279 Q174193 Q965174 Q1078602 Q201038 Q233263 Q330988 Q27306 Q208545 Q533558 Q167360 Q1044536 Q21203 Q1811029 Q209062 Q204920 Q2006542 Q131964 Q133356 Q215530 Q488521 Q161885 Q328818 Q191077 Q2638486 Q903779 Q16957 Q1649871 Q55502 Q62623 Q171150 Q842794 Q71747 Q1789596 Q1423581 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q83286 Q1277557 Q330362 Q1062422 Q15864 Q212439 Q844250 Q303421 Q2396442 Q178038 Q28025 Q153015 Q386496 Q83618 Q71092 Q217230 Q170072 Q964024 Q146328 Q487829 Q58296 Q371334 Q4948 Q156038 Q824489 Q49683 Q7314513 Q2342822 Q199841 Q1140152 Q615902 Q1077630 Q12557 Q217196 Q491559 Q23541302 Q154195 Q368986 Q1775277 Q285658 Q156020 Q70972 Q497777 Q12548 Q7314469 Q26273 Q1054184 Q427941 Q487687 Q161036 Q41304 Q216173
(c(Q7275),P194,c(Q11204))
action atmost
action find_tuple_counts
relation P194
type Q7275
type Q11204
value 1
[ANSWERS] have atmost 1 legislature as their council
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?y ) WHERE { ?c property:P194 ?u . ?c rdf:type ontology:Q7275 . ?u rdf:type ontology:Q11204 } GROUP BY ?c } . FILTER ( ?y <= 1 ) }
Kingdom of Serbia Republic of Serbian Krajina Sovereign Principality of the United Netherlands Kingdom of Mercia French Third Republic East Pakistan Democratic Republic of Afghanistan Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration Second Polish Republic Curaçao United Kingdom of Great Britain and Ireland Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Second Republic of South Korea Democratic Kampuchea Kingdom of Prussia Socialist Republic of Bosnia and Herzegovina Kingdom of Croatia-Slavonia First Portuguese Republic Spain under the Restoration Aruba Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Austrian Empire Ukrainian Soviet Socialist Republic Kingdom of Ireland Fourth Republic of South Korea Kingdom of Great Britain Kingdom of Kent Kingdom of Yugoslavia Kingdom of Cambodia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Kingdom of Hungary Socialist Republic of Romania Duchy of Brittany Croatia in personal union with Hungary Italian Regency of Carnaro Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England Konbaung Dynasty United Kingdom of the Netherlands Cossack Hetmanate Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Second Spanish Republic Ryukyu Kingdom Kingdom of Saxony Kingdom of Montenegro Maratha Empire Second French Empire Empire of Brazil Dutch Republic Moldavian Democratic Republic Commonwealth of the Philippines Chagatai Khanate French Republic Second Mexican Empire Republic of Venice Duchy of Courland and Semigallia Estado Novo Grand Duchy of Lithuania Republic of South Carolina West Pakistan South Yemen Irish Republic Kingdom of Finland Septinsular Republic Mongol Empire Crown of Castile First Republic of South Korea Kaluga Soviet Republic Kingdom of Bavaria Republic of Mississippi Dominion of India First Mexican Empire State of the Teutonic Order Kingdom of France First Spanish Republic Holy Roman Empire Republic of Georgia Sint Maarten Khmer Republic Islamic Emirate of Afghanistan Third Republic of South Korea Free State of Prussia Weimar Republic Free City of Danzig
Bavaria, East Germany and Austrian Empire have atmost 1 legislature as their council
Bavaria East Germany Austrian Empire
action atmost
action find_tuple_counts
relation legislative body
type state
type legislature
value 1
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?y ) WHERE { ?c property:legislative_body ?u . ?c rdf:type ontology:state . ?u rdf:type ontology:legislature } GROUP BY ?c } . FILTER ( ?y <= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16957
P35
Q502895
USER
Who are elected as the head of state of that one ?
(Q16957,P35,c(Q502895))
action filter_type
action find
entity Q16957
relation P35
type Q502895
['Q16957', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q16957 property:P35 ?w . ?w rdf:type ontology:Q502895 }
East Germany
action filter_type
action find
entity East Germany
relation head of state
type common name
['East Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:East_Germany property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q16957
SYSTEM
Did you mean East Germany ?
Q980 Q16957 Q131964
(Q980,P35,c(Q502895)) (Q16957,P35,c(Q502895)) (Q131964,P35,c(Q502895))
[ANSWER]
['Q980', 'P35', {'concept': 'Q502895'}] ['Q16957', 'P35', {'concept': 'Q502895'}] ['Q131964', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q16957 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Bavaria East Germany Austrian Empire
Did you mean East Germany ?
East Germany
['Bavaria', 'head of state', {'concept': 'common name'}] ['East Germany', 'head of state', {'concept': 'common name'}] ['Austrian Empire', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:East_Germany property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q16957,P35,c(Q502895))
['Q16957', 'P35', {'concept': 'Q502895'}]
['East Germany', 'head of state', {'concept': 'common name'}]
[]
Q2628 Q65917 Q2607
SYSTEM
Walter Ulbricht, Wilhelm Pieck, Erich Honecker
Q65917 Q57232 Q2601 Q2602 Q2610 Q2628 Q2607
(Q16957,P35,c(Q502895))
action filter_type
action find
entity Q16957
relation P35
type Q502895
[ANSWERS] are elected as the head of state of that one
['Q16957', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q16957 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Wilhelm Pieck Sabine Bergmann-Pohl Manfred Gerlach Egon Krenz Willi Stoph Walter Ulbricht Erich Honecker
Walter Ulbricht, Wilhelm Pieck and Erich Honecker are elected as the head of state of that one
Walter Ulbricht Wilhelm Pieck Erich Honecker
action filter_type
action find
entity East Germany
relation head of state
type common name
['East Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:East_Germany property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1923401
P35
Q7275
USER
Are Zunghar Khanate headed by those people ?
(Q1923401,P35,Q2628) (Q1923401,P35,Q65917) (Q1923401,P35,Q2607)
action is_in
entity prev_answer
action find
entity Q1923401
relation P35
['Q1923401', 'P35', 'Q2628'] ['Q1923401', 'P35', 'Q65917'] ['Q1923401', 'P35', 'Q2607']
ASK WHERE { resource:Q1923401 property:P35 ?b . VALUES ( ?b ) { ( resource:Q65917 ) ( resource:Q57232 ) ( resource:Q2601 ) } }
Zunghar Khanate
action is_in
entity prev_answer
action find
entity Zunghar Khanate
relation head of state
['Zunghar Khanate', 'head of state', 'Walter Ulbricht'] ['Zunghar Khanate', 'head of state', 'Wilhelm Pieck'] ['Zunghar Khanate', 'head of state', 'Erich Honecker']
ASK WHERE { resource:Zunghar_Khanate property:head_of_state ?b . VALUES ( ?b ) { ( resource:Wilhelm_Pieck ) ( resource:Sabine_Bergmann-Pohl ) ( resource:Manfred_Gerlach ) } }
[]
state
SYSTEM
NO
(Q1923401,P35,Q2628) (Q1923401,P35,Q65917) (Q1923401,P35,Q2607)
action is_in
entity prev_answer
action find
entity Q1923401
relation P35
[ANSWER]
['Q1923401', 'P35', 'Q2628'] ['Q1923401', 'P35', 'Q65917'] ['Q1923401', 'P35', 'Q2607']
ASK WHERE { resource:Q1923401 property:P35 ?b . VALUES ( ?b ) { ( resource:Q65917 ) ( resource:Q57232 ) ( resource:Q2601 ) } }
No
action is_in
entity prev_answer
action find
entity Zunghar Khanate
relation head of state
['Zunghar Khanate', 'head of state', 'Walter Ulbricht'] ['Zunghar Khanate', 'head of state', 'Wilhelm Pieck'] ['Zunghar Khanate', 'head of state', 'Erich Honecker']
ASK WHERE { resource:Zunghar_Khanate property:head_of_state ?b . VALUES ( ?b ) { ( resource:Wilhelm_Pieck ) ( resource:Sabine_Bergmann-Pohl ) ( resource:Manfred_Gerlach ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16957
P122
Q7257
USER
Which ideology best describes the form of government of East Germany ?
(Q16957,P122,c(Q7257))
action filter_type
action find
entity Q16957
relation P122
type Q7257
['Q16957', 'P122', {'concept': 'Q7257'}]
SELECT DISTINCT ?o WHERE { resource:Q16957 property:P122 ?o . ?o rdf:type ontology:Q7257 }
East Germany
action filter_type
action find
entity East Germany
relation basic form of government
type ideology
['East Germany', 'basic form of government', {'concept': 'ideology'}]
SELECT DISTINCT ?o WHERE { resource:East_Germany property:basic_form_of_government ?o . ?o rdf:type ontology:ideology }
[]
ideology
Q211930
SYSTEM
Marxism–Leninism
Q211930
(Q16957,P122,c(Q7257))
action filter_type
action find
entity Q16957
relation P122
type Q7257
[ANSWER] best describes the form of government of East Germany
['Q16957', 'P122', {'concept': 'Q7257'}]
SELECT DISTINCT ?o WHERE { resource:Q16957 property:P122 ?o . ?o rdf:type ontology:Q7257 }
Marxism–Leninism
Marxism–Leninism best describes the form of government of East Germany
Marxism–Leninism
action filter_type
action find
entity East Germany
relation basic form of government
type ideology
['East Germany', 'basic form of government', {'concept': 'ideology'}]
SELECT DISTINCT ?o WHERE { resource:East_Germany property:basic_form_of_government ?o . ?o rdf:type ontology:ideology }
[]