Simple Question (Direct)
Simple Question
Q19301504
P1412
Q34770
USER
Which language can Pere Ignasi Fages i Mir understand ?
(Q19301504,P1412,c(Q34770))
action filter_type
action find
entity Q19301504
relation P1412
type Q34770
['Q19301504', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q19301504 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Pere Ignasi Fages i Mir
action filter_type
action find
entity Pere Ignasi Fages i Mir
relation languages spoken, written or signed
type language
['Pere Ignasi Fages i Mir', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Pere_Ignasi_Fages_i_Mir property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q19301504,P1412,c(Q34770))
action filter_type
action find
entity Q19301504
relation P1412
type Q34770
Pere Ignasi Fages i Mir can understand the [ANSWER]
['Q19301504', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q19301504 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Spanish
Pere Ignasi Fages i Mir can understand the Spanish
Spanish
action filter_type
action find
entity Pere Ignasi Fages i Mir
relation languages spoken, written or signed
type language
['Pere Ignasi Fages i Mir', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Pere_Ignasi_Fages_i_Mir property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19301504
P102
Q7278
USER
Which parties are that person affiliated with ?
(Q1321,P102,c(Q7278))
action filter_type
action find
entity Q19301504
relation P102
type Q7278
['Q1321', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?u WHERE { resource:Q19301504 property:P102 ?u . ?u rdf:type ontology:Q7278 }
Pere Ignasi Fages i Mir
action filter_type
action find
entity Pere Ignasi Fages i Mir
relation member of political party
type political party
['Spanish', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?u WHERE { resource:Pere_Ignasi_Fages_i_Mir property:member_of_political_party ?u . ?u rdf:type ontology:political_party }
[]
political party
Q2630934 Q150068
SYSTEM
Unified Socialist Party of Catalonia, Republican Left of Catalonia
Q2630934 Q150068
(Q1321,P102,c(Q7278))
action filter_type
action find
entity Q19301504
relation P102
type Q7278
That person are affiliated with [ANSWERS]
['Q1321', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?u WHERE { resource:Q19301504 property:P102 ?u . ?u rdf:type ontology:Q7278 }
Unified Socialist Party of Catalonia Republican Left of Catalonia
That person are affiliated with Unified Socialist Party of Catalonia and Republican Left of Catalonia
Unified Socialist Party of Catalonia Republican Left of Catalonia
action filter_type
action find
entity Pere Ignasi Fages i Mir
relation member of political party
type political party
['Spanish', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?u WHERE { resource:Pere_Ignasi_Fages_i_Mir property:member_of_political_party ?u . ?u rdf:type ontology:political_party }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2630934
P123
Q1002697
USER
What was released by that political party ?
(c(Q1002697),P123,Q2630934)
action filter_type
action find_reverse
entity Q2630934
relation P123
type Q1002697
[{'concept': 'Q1002697'}, 'P123', 'Q2630934']
SELECT DISTINCT ?f WHERE { ?f property:P123 resource:Q2630934 . ?f rdf:type ontology:Q1002697 }
Unified Socialist Party of Catalonia
action filter_type
action find_reverse
entity Unified Socialist Party of Catalonia
relation publisher
type periodical literature
[{'concept': 'periodical literature'}, 'publisher', 'Unified Socialist Party of Catalonia']
SELECT DISTINCT ?f WHERE { ?f property:publisher resource:Unified_Socialist_Party_of_Catalonia . ?f rdf:type ontology:periodical_literature }
[]
periodical literature
Clarification for simple ques.
Q150068
SYSTEM
Did you mean Republican Left of Catalonia ?
Q2630934 Q150068
(c(Q1002697),P123,Q2630934) (c(Q1002697),P123,Q150068)
[ANSWER]
[{'concept': 'Q1002697'}, 'P123', 'Q2630934'] [{'concept': 'Q1002697'}, 'P123', 'Q150068']
SELECT DISTINCT ?f WHERE { ?f property:P123 resource:Q2630934 . ?f rdf:type ontology:Q1002697 }
Unified Socialist Party of Catalonia Republican Left of Catalonia
Did you mean Republican Left of Catalonia ?
Republican Left of Catalonia
[{'concept': 'periodical literature'}, 'publisher', 'Unified Socialist Party of Catalonia'] [{'concept': 'periodical literature'}, 'publisher', 'Republican Left of Catalonia']
SELECT DISTINCT ?f WHERE { ?f property:publisher resource:Unified_Socialist_Party_of_Catalonia . ?f rdf:type ontology:periodical_literature }
[]
Simple Question (Coreferenced)
USER
No, I meant Unified Socialist Party of Catalonia. Could you tell me the answer for that?
(c(Q1002697),P123,Q2630934)
Q2630934
[{'concept': 'Q1002697'}, 'P123', 'Q2630934']
[{'concept': 'periodical literature'}, 'publisher', 'Unified Socialist Party of Catalonia']
[]
Q19803134
SYSTEM
Treball
Q19803134
(c(Q1002697),P123,Q2630934)
action filter_type
action find_reverse
entity Q2630934
relation P123
type Q1002697
[ANSWER] was released by that political party
[{'concept': 'Q1002697'}, 'P123', 'Q2630934']
SELECT DISTINCT ?f WHERE { ?f property:P123 resource:Q2630934 . ?f rdf:type ontology:Q1002697 }
Treball
Treball was released by that political party
Treball
action filter_type
action find_reverse
entity Unified Socialist Party of Catalonia
relation publisher
type periodical literature
[{'concept': 'periodical literature'}, 'publisher', 'Unified Socialist Party of Catalonia']
SELECT DISTINCT ?f WHERE { ?f property:publisher resource:Unified_Socialist_Party_of_Catalonia . ?f rdf:type ontology:periodical_literature }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q883
P291
Q56061 Q1002697
USER
How many administrative territories are the publication regions of approximately the same number of periodical literatures as Novosibirsk ?
(c(Q1002697),P291,c(Q56061))
action count
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_type
action find
entity Q883
relation P291
type Q56061
[{'concept': 'Q1002697'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:P291 ?m . ?m rdf:type ontology:Q56061 . ?p rdf:type ontology:Q1002697 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q883 property:P291 ?b . ?b rdf:type ontology:Q56061 } } . FILTER ( ?t = ?x ) }
Novosibirsk
action count
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_type
action find
entity Novosibirsk
relation place of publication
type administrative territorial entity
[{'concept': 'periodical literature'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:place_of_publication ?m . ?m rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:periodical_literature } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Novosibirsk property:place_of_publication ?b . ?b rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?t = ?x ) }
[]
administrative territorial entity periodical literature
SYSTEM
347
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q1022 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q84 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q64 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647 Q1085
(c(Q1002697),P291,c(Q56061))
action count
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_type
action find
entity Q883
relation P291
type Q56061
[ANSWER]
[{'concept': 'Q1002697'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:P291 ?m . ?m rdf:type ontology:Q56061 . ?p rdf:type ontology:Q1002697 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q883 property:P291 ?b . ?b rdf:type ontology:Q56061 } } . FILTER ( ?t = ?x ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Stuttgart Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Valencia Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Milan Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria London Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Huesca Erfurt Seville Bari Berlin Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg Prague
347
action count
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_type
action find
entity Novosibirsk
relation place of publication
type administrative territorial entity
[{'concept': 'periodical literature'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?t ) WHERE { ?p property:place_of_publication ?m . ?m rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:periodical_literature } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Novosibirsk property:place_of_publication ?b . ?b rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?t = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q188304
P291
Q56061 Q1002697
USER
And how about Sunderland?
(c(Q1002697),P291,c(Q56061))
action count
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_type
action find
entity Q188304
relation P291
type Q56061
[{'concept': 'Q1002697'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P291 ?i . ?i rdf:type ontology:Q56061 . ?c rdf:type ontology:Q1002697 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q188304 property:P291 ?t . ?t rdf:type ontology:Q56061 } } . FILTER ( ?f = ?o ) }
Sunderland
action count
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_type
action find
entity Sunderland
relation place of publication
type administrative territorial entity
[{'concept': 'periodical literature'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:periodical_literature } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Sunderland property:place_of_publication ?t . ?t rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?f = ?o ) }
[]
administrative territorial entity periodical literature
SYSTEM
347
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q1022 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q84 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q64 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647 Q1085
(c(Q1002697),P291,c(Q56061))
action count
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_type
action find
entity Q188304
relation P291
type Q56061
[ANSWER]
[{'concept': 'Q1002697'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P291 ?i . ?i rdf:type ontology:Q56061 . ?c rdf:type ontology:Q1002697 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q188304 property:P291 ?t . ?t rdf:type ontology:Q56061 } } . FILTER ( ?f = ?o ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Stuttgart Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Valencia Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Milan Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria London Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Huesca Erfurt Seville Bari Berlin Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg Prague
347
action count
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_type
action find
entity Sunderland
relation place of publication
type administrative territorial entity
[{'concept': 'periodical literature'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:periodical_literature } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Sunderland property:place_of_publication ?t . ?t rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?f = ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1142
Q1047113 Q7257 Q7278
USER
How many political parties believe in exactly 3 special fields or ideologies ?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action equal
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
value 3
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { FILTER ( ?k = 3 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?l WHERE { { ?l property:P1142 ?q . ?q rdf:type ontology:Q7257 . ?l rdf:type ontology:Q7278 } UNION { ?l property:P1142 ?q . ?l rdf:type ontology:Q7278 . ?q rdf:type ontology:Q1047113 } } GROUP BY ?l } }
action count
action equal
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
value 3
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { FILTER ( ?k = 3 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?l WHERE { { ?l property:political_ideology ?q . ?q rdf:type ontology:ideology . ?l rdf:type ontology:political_party } UNION { ?l property:political_ideology ?q . ?l rdf:type ontology:political_party . ?q rdf:type ontology:special_field } } GROUP BY ?l } }
[]
special field ideology political party
SYSTEM
4
Q196695 Q1628993 Q208242 Q150068
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action equal
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
value 3
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { FILTER ( ?k = 3 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?l WHERE { { ?l property:P1142 ?q . ?q rdf:type ontology:Q7257 . ?l rdf:type ontology:Q7278 } UNION { ?l property:P1142 ?q . ?l rdf:type ontology:Q7278 . ?q rdf:type ontology:Q1047113 } } GROUP BY ?l } }
Green League Democratic Union of Catalonia European People's Party Republican Left of Catalonia
4
action count
action equal
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
value 3
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { FILTER ( ?k = 3 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?l WHERE { { ?l property:political_ideology ?q . ?q rdf:type ontology:ideology . ?l rdf:type ontology:political_party } UNION { ?l property:political_ideology ?q . ?l rdf:type ontology:political_party . ?q rdf:type ontology:special_field } } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q150068
P159
Q56061
USER
Where is the headquarter of Republican Left of Catalonia located ?
(Q150068,P159,c(Q56061))
action filter_type
action find
entity Q150068
relation P159
type Q56061
['Q150068', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q150068 property:P159 ?q . ?q rdf:type ontology:Q56061 }
Republican Left of Catalonia
action filter_type
action find
entity Republican Left of Catalonia
relation headquarters location
type administrative territorial entity
['Republican Left of Catalonia', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Republican_Left_of_Catalonia property:headquarters_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q150068,P159,c(Q56061))
action filter_type
action find
entity Q150068
relation P159
type Q56061
[ANSWER] is the headquarter of Republican Left of Catalonia located
['Q150068', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q150068 property:P159 ?q . ?q rdf:type ontology:Q56061 }
Barcelona
Barcelona is the headquarter of Republican Left of Catalonia located
Barcelona
action filter_type
action find
entity Republican Left of Catalonia
relation headquarters location
type administrative territorial entity
['Republican Left of Catalonia', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Republican_Left_of_Catalonia property:headquarters_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q486972 Q20667921
USER
How many human settlements and french administrative divisions are the sister cities of that administrative territory ?
(Q1492,P190,c(Q486972)) (Q1492,P190,c(Q20667921)) (Q1492,P190,c(Q486972)) (Q1492,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q1492
relation P190
type Q486972
action filter_type
action find
entity Q1492
relation P190
type Q20667921
['Q1492', 'P190', {'concept': 'Q486972'}] ['Q1492', 'P190', {'concept': 'Q20667921'}] ['Q1492', 'P190', {'concept': 'Q486972'}] ['Q1492', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { resource:Q1492 property:P190 ?z . ?z rdf:type ontology:Q486972 } UNION { resource:Q1492 property:P190 ?z . ?z rdf:type ontology:Q20667921 } }
action count
action union
action filter_type
action find
entity Barcelona
relation sister city
type human settlement
action filter_type
action find
entity Barcelona
relation sister city
type type of french administrative division
['Barcelona', 'sister city', {'concept': 'human settlement'}] ['Barcelona', 'sister city', {'concept': 'type of french administrative division'}] ['Barcelona', 'sister city', {'concept': 'human settlement'}] ['Barcelona', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { resource:Barcelona property:sister_city ?z . ?z rdf:type ontology:human_settlement } UNION { resource:Barcelona property:sister_city ?z . ?z rdf:type ontology:type_of_french_administrative_division } }
[]
human settlement type of french administrative division
SYSTEM
1 human settlements and 1 french administrative divisions
Q1792 Q6730
(Q1492,P190,c(Q486972)) (Q1492,P190,c(Q20667921)) (Q1492,P190,c(Q486972)) (Q1492,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q1492
relation P190
type Q486972
action filter_type
action find
entity Q1492
relation P190
type Q20667921
[ANSWER]
['Q1492', 'P190', {'concept': 'Q486972'}] ['Q1492', 'P190', {'concept': 'Q20667921'}] ['Q1492', 'P190', {'concept': 'Q486972'}] ['Q1492', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { resource:Q1492 property:P190 ?z . ?z rdf:type ontology:Q486972 } UNION { resource:Q1492 property:P190 ?z . ?z rdf:type ontology:Q20667921 } }
Gdańsk Perpignan
1 human settlements and 1 french administrative divisions
action count
action union
action filter_type
action find
entity Barcelona
relation sister city
type human settlement
action filter_type
action find
entity Barcelona
relation sister city
type type of french administrative division
['Barcelona', 'sister city', {'concept': 'human settlement'}] ['Barcelona', 'sister city', {'concept': 'type of french administrative division'}] ['Barcelona', 'sister city', {'concept': 'human settlement'}] ['Barcelona', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { resource:Barcelona property:sister_city ?z . ?z rdf:type ontology:human_settlement } UNION { resource:Barcelona property:sister_city ?z . ?z rdf:type ontology:type_of_french_administrative_division } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q150068
P21 P102
Q502895
USER
Which people are members of Republican Left of Catalonia and have male as the sex ?
AND((c(Q502895),P102,Q150068), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q150068
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q150068'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P21 resource:Q6581097 . ?f property:P102 resource:Q150068 }
male Republican Left of Catalonia
action filter_type
action intersection
action find_reverse
entity Republican Left of Catalonia
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Republican Left of Catalonia'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:gender resource:male . ?f property:member_of_political_party resource:Republican_Left_of_Catalonia }
[]
common name
Q2586896 Q19300331 Q19301528 Q731289 Q23832739 Q17034029 Q5760172 Q11912368 Q19290648 Q21707984
SYSTEM
Some of them are Àngel Colom i Colom, Josep Cosconera i Carabassa, Pere Màrtir Rossell i Vilar, Josep Irla i Bosch, Andreu Bosch i Rodoreda, Carmel Mòdol i Bresolí, Celestí Boada, Carles Bassaganya Serra, Faustí Llaveries Viladomiu, Martí Jordi i Frigola
Q21787539 Q23927594 Q19290998 Q19301504 Q11912390 Q20006702 Q20006418 Q3417229 Q4892936 Q3327197 Q9013130 Q19301875 Q20005585 Q8962213 Q11922720 Q20003378 Q19716313 Q11924094 Q16181078 Q20004299 Q21479962 Q11928301 Q22076870 Q11928907 Q9012032 Q9012034 Q21480157 Q11945524 Q19301667 Q9013330 Q16051046 Q20100556 Q11912404 Q11955292 Q5940871 Q11955291 Q11941076 Q19302032 Q11691313 Q19300570 Q19299901 Q9020872 Q11955050 Q19998073 Q11927290 Q11935595 Q17205115 Q19289839 Q19289836 Q2517413 Q9073262 Q4893047 Q9011877 Q116812 Q19289626 Q11928737 Q16189679 Q2554859 Q9033514 Q11912413 Q17036852 Q19300356 Q595492 Q11905528 Q11922818 Q19300174 Q11698858 Q19300331 Q11940931 Q11944663 Q4894708 Q11928805 Q21001283 Q19299855 Q1027426 Q16943500 Q11038000 Q14087915 Q16174428 Q9009480 Q19300904 Q20005976 Q19301143 Q20003518 Q5760172 Q593330 Q14038593 Q11928881 Q19299745 Q9011965 Q9011963 Q17030473 Q560022 Q13565473 Q11926178 Q3055462 Q1806213 Q11928952 Q17029508 Q13478535 Q23832739 Q19300020 Q5800329 Q11927618 Q11927976 Q7981 Q19299683 Q3320335 Q19289104 Q6072265 Q14073973 Q11946781 Q2857084 Q11941010 Q19290697 Q4890648 Q19290116 Q11921860 Q11905503 Q21787611 Q11905976 Q11928895 Q21787544 Q11927973 Q3889644 Q950716 Q11927601 Q9092946 Q19299995 Q11922836 Q21789607 Q11940947 Q11927967 Q17047272 Q8005 Q19290886 Q2827349 Q9010544 Q4895642 Q20101678 Q15389466 Q11940925 Q17034029 Q19301153 Q8196945 Q17034676 Q11919365 Q11935254 Q9098373 Q11682494 Q19300076 Q8201070 Q20876222 Q19291144 Q17300870 Q11934946 Q19257924 Q9031301 Q11928352 Q16976913 Q451357 Q957197 Q11927304 Q9013049 Q11923824 Q11927303 Q11909334 Q11919630 Q768630 Q15531621 Q4893910 Q11939524 Q11918063 Q8201093 Q11945544 Q21707984 Q14040536 Q11927793 Q16190078 Q19997681 Q19300408 Q3080849 Q11906055 Q11928580 Q4894204 Q11928070 Q8962225 Q19301528 Q9011136 Q19289873 Q19299776 Q11928471 Q17148033 Q2586896 Q605339 Q3754732 Q19300031 Q20004651 Q11928875 Q11922913 Q19301536 Q5556251 Q17094149 Q11927941 Q11919451 Q9070058 Q11928879 Q17300759 Q16169026 Q3325328 Q14076596 Q19301814 Q16943464 Q16943467 Q19299942 Q24326860 Q19299795 Q4895294 Q19301482 Q823149 Q11917653 Q9012003 Q6752432 Q11905928 Q15614015 Q11922863 Q11928334 Q731289 Q20875705 Q19300475 Q14077096 Q11927324 Q17300811 Q9013219 Q19290648 Q19300172 Q19289974 Q950749 Q3813658 Q11928687 Q11912368 Q11905836 Q11936990 Q9058311 Q11037788 Q11935751 Q11927936 Q21001459 Q8191917 Q4892821 Q19300288 Q3032581 Q9023266 Q17301792 Q11033565 Q3041132 Q1823644 Q11933583 Q11933580 Q11922875 Q11904753 Q8263597 Q11928616 Q20876620 Q16943553 Q929954 Q19290799 Q11905230 Q21791446 Q14041185 Q11940900 Q20005111 Q11944626 Q16187977 Q9072993
AND((c(Q502895),P102,Q150068), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q150068
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are members of Republican Left of Catalonia and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q150068'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P21 resource:Q6581097 . ?f property:P102 resource:Q150068 }
Jordi Martí Deulofeu Lluís Puig Martorell Frederic Rahola i d'Espona Pere Ignasi Fages i Mir Carles Gerhard Ottenwälder Vicenç Bernades i Viusà Ramon Fontanet i Serralta Rafael Font Farran Joan Hortalà Josep Bargalló i Valls Josep Fàbrega i Pou Sergi de los Ríos i Martínez Marc Sanglas i Alcantarilla Francesc Subirà i Rocamora Francesc Canet i Coma Jaume Vives i Sobrino Joan Pons i Garlandí Gerard Coca i Toledano Cecili Buele i Ramis Jordi Cots i Domínguez Xavier Eritja i Ciuró Jordi Fornas i Prat Salvador Clarà i Pons Josep Roig i Magrinyà Joan Puig i Ferreter Joan Puig i Cordon Jordi Salvador i Duch Ricard Burballa i Campabadal Ramon Frontera i Bosch Josep Rahola i d'Espona Jusèp Loís Sans Socasau Julià Fernàndez i Olivares Carles Josep Bonet i Revés Xavier Bosch i Garcia Jaume Sallés i Figueras Xavier Casademunt i Arimany Pere Vigo i Sallent Xavier Jounou i Bajo Martí Rouret i Callol Josep Mascort i Ribot Joan Loperena i Romà Laureà Dalmau i Pla Víctor Torres i Perenya Bernat Valls i Fuster Jaume Gilabert i Torruella Marià Rubió i Tudurí Pere Cerezo i Hernáez Antoni Vilalta i Vidal Antoni Tort i Rocavert Josep Dencàs i Puigdollers Samuel Morera i Ribas Jordi Ausàs i Coll Joan Casanelles Oriol Junqueras i Vies Àngel Serra i Casals Josep Maria Puigibet Mestre Josep Companys i Jover Josep Maria Terricabras i Nogueras Miquel Santaló i Parvorell Carles Martí i Massagué Sergi Sabrià i Benito Josep Espinasa i Massaguer Pere Coromines i Montanya Andreu Revertés Francesc Ribas i Soberano Jordi Castells i Guasch Pere Comas i Calvet Josep Cosconera i Carabassa Pere Bosch i Cuenca Ramon Viñals i Soler Miquel Mayol Josep Mestre i Puig Jordi Badia i Perea Joan Ferret i Navarro Jaume Miravitlles Miquel Pueyo i París Josep Abril i Argemí Lluís Bellera i Juanmartí Joan Banyeres i Cateura Isidre Grañé i Castanera Lluís-Xavier Gonzàlez i Villaró Miquel Carrillo i Giralt Martí Pujol i Casals Joan Lladó i Binimelis Celestí Boada Jordi Carbonell i de Ballester Jordi Solé Ferrando Josep Quero i Molares Jaume Soler i Pastells Joan Manuel Tresserras i Gaju Joan Lluhí i Vallescà Xavier Garriga i Cuadras Uriel Bertran i Arrué Albert de Quintana de León Humbert Torres i Barberà Josep-Lluís Carod-Rovira Francesc Macià i Llussà Josep Tomàs i Piera Miquel Àngel Estradé i Palau Joan Font i Creixems Andreu Bosch i Rodoreda Joan Sentís i Nogués David Rodríguez González Joan Baptista Soler i Bru Joan Ventosa i Roig Lluís Companys Jaume Fernàndez i Calvet Joan Puigcercós i Boixassa Marc Aureli Vila i Comaposada Pere Puig Subinyà Alfons Quera Carré Salvador Morera i Tanyà Antoni Rovira i Virgili Pere Mestres i Albet Fèlix Figueras Aragay Jordi Portabella Carles Vega i Castellví Ferran Zulueta i Giberga Andreu Claret i Casadessús Joan Olòriz Serra Antoni Soy i Casals Josep Riera i Puntí Joaquim Ayats i Bartrina Joan Vandellós i Jardí Hèctor López Bofill Joan Casanovas Joan Balart i Armengol Bonaventura Gassol i Rovira Joan Romeu i Figueras Francesc Senyal i Ferrer Joan Margall Sastre Pere Curtiada i Ferrer Joan Ullés Bascompte Nicolau Battestini i Galup Josep Tarradellas i Joan Francesc Marcet i Artigas Agustí Cerdà i Argent Jaume Aiguader i Miró Josep Huguet i Biosca Pau Ricomà i Vallhonrat Josep Sagrera Pere Blasi i Maranges Carmel Mòdol i Bresolí Mateu Espinalt i Bajona Amadeu Aragay i Davi Jaume Oliveras i Maristany Enric Vilanova i Cortassa Marcel Coderch i Collell Ángel Samblancat Hilari Salvadó i Castell Joaquim Aleixandri i Babot Antoni Maria Sbert i Massanet Oriol Lladó i Esteller Ignasi Llorente i Briones Enric Canturri i Ramonet Manuel Cruells i Pifarré Josep Folch i Folch Melcior Marial i Mundet Jordi Ramon i Torres Jaume Rodri i Febrer Josep Sunyol Pau Padró i Cañellas Jaume Magre i Ubach Josep Andreu Gaspar Armengol i Taló Jaume Magre i Servet Biel Majoral Ernest Morató Vigorós Josep Maria Reguant Valerià Miralles i Ortolà Xavier Vendrell i Segura Oriol Amorós i March Eduard Layret i Foix Antoni Xirau i Palau Ricard Palacin i Soldevila Martí Jordi i Frigola Dionís Guiteras i Rubio Joan Lluís Pujol i Font Jaume Creus i Ventura Albert Donés i Antequera Josep Grau i Jassans Francesc Farreras i Duran Antonio Jiménez Jiménez Josep Fornas i Martínez Francesc Dalmau i Norat Joaquim Bilbeny i Bosch Francesc Vicens i Giralt Pere Màrtir Rossell i Vilar Jaume Serra i Húnter Armand Quintana i Panedas Jesús Prujà i Puig Josep Bordas de la Cuesta Agustí Espinalt i Sanllehí Àngel Colom i Colom Salvador Armendares Joan Tardà Joan Tauler i Palomeras Josep Maria Garreta i Cusidó Josep Puig i Pujades Francesc de Paula Jené i Aixalà Pere Mias i Codina August Pi i Sunyer David Minoves i Llucià Joan Selves i Carner Epifani Bellí i Castiel Roc Boronat i Font Josep Pujol i Capsada Francesc Riera i Claramunt Pere Aragonès i Garcia Alfred Bosch i Pascual Roger Torrent Ramió Salvador Castells i Mas Ramon Planes i Izabal Josep Maria Poblet i Guarro Joan Mora i Adserà Lluís Sais Puigdemont Joan Bancells i Xiberta Joan Carretero i Grau Pere Ferrer i Batlle Bernat Joan i Marí Domènec Palet i Barba Joan Pallarès-Personat Manuel Balcells i Díaz Antonio Puigvert Gorro Francesc Ferrer i Gironès Francesc Viadiu i Vendrell Jordi Morera i Cortines Josep Irla i Bosch Chakir El Homrani Lesfar Josep Maria Esquerda i Segués Pere Trias Roca Jaume Nualart i Serrats Miquel Guinart i Castellà Josep Maria Massip Faustí Llaveries Viladomiu Jordi Casas-Salat i Fossas Benet Tugues i Boliart Martí Barrera i Maresma Pere Esteve i Abad Josep Maria Espanya i Sirat Carles Bassaganya Serra Antoni Dot i Arxer Miquel dels Sants Cunillera i Rius Pere Bascompte i Carbonell Josep Andreu Domingo Marçal Casanovas i Guerri Joan Sauret i Garcia Josep Lluís Salvadó i Tenesa Agustí Alcoberro i Pericay Joan Ridao i Martín Josep Antoni Trabal i Sans Joaquim Amat-Piniella Llorenç Perramon i Playà Marc Palmés i Giró Josep Pi-Sunyer Ernest Benach i Pascual Heribert Barrera i Costa Lluís Capdevila i Vilallonga Lluís Bru i Jardí Francesc Xavier Casals i Vidal Albert Alay i Serret Carles Pi i Sunyer Josep Jové i Surroca Gabriel Rufián Josep Romeu i Bisbe Frederic Xifré i Masferrer Francesc Arnau i Cortina Amadeu Colldeforns i Margalló Àngel Canosa Fernàndez Josep Maria Freixanet i Mayans Pere Aguilera i Garriga Lluís Mestres i Capdevila Ramón Nogués Agustí Castellà Trulls Salvador Albert i Pey
Àngel Colom i Colom, Josep Cosconera i Carabassa, Pere Màrtir Rossell i Vilar, Josep Irla i Bosch, Andreu Bosch i Rodoreda, Carmel Mòdol i Bresolí, Celestí Boada, Carles Bassaganya Serra, Faustí Llaveries Viladomiu and Martí Jordi i Frigola are members of Republican Left of Catalonia and have male as the sex
Àngel Colom i Colom Josep Cosconera i Carabassa Pere Màrtir Rossell i Vilar Josep Irla i Bosch Andreu Bosch i Rodoreda Carmel Mòdol i Bresolí Celestí Boada Carles Bassaganya Serra Faustí Llaveries Viladomiu Martí Jordi i Frigola
action filter_type
action intersection
action find_reverse
entity Republican Left of Catalonia
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Republican Left of Catalonia'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:gender resource:male . ?f property:member_of_political_party resource:Republican_Left_of_Catalonia }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P102
Q7278
USER
How many political parties do that person belong to ?
(Q731289,P102,c(Q7278))
['Q731289', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q731289 property:P102 ?z . ?z rdf:type ontology:Q7278 }
['Josep Irla i Bosch', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Josep_Irla_i_Bosch property:member_of_political_party ?z . ?z rdf:type ontology:political_party }
[]
political party
Quantitative|Count|Single entity type|Clarification
Q19301528
SYSTEM
Did you mean Pere Màrtir Rossell i Vilar ?
(Q2586896,P102,c(Q7278)) (Q19300331,P102,c(Q7278)) (Q19301528,P102,c(Q7278)) (Q731289,P102,c(Q7278)) (Q23832739,P102,c(Q7278)) (Q17034029,P102,c(Q7278)) (Q5760172,P102,c(Q7278)) (Q11912368,P102,c(Q7278)) (Q19290648,P102,c(Q7278)) (Q21707984,P102,c(Q7278))
[ANSWER]
['Q2586896', 'P102', {'concept': 'Q7278'}] ['Q19300331', 'P102', {'concept': 'Q7278'}] ['Q19301528', 'P102', {'concept': 'Q7278'}] ['Q731289', 'P102', {'concept': 'Q7278'}] ['Q23832739', 'P102', {'concept': 'Q7278'}] ['Q17034029', 'P102', {'concept': 'Q7278'}] ['Q5760172', 'P102', {'concept': 'Q7278'}] ['Q11912368', 'P102', {'concept': 'Q7278'}] ['Q19290648', 'P102', {'concept': 'Q7278'}] ['Q21707984', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q731289 property:P102 ?z . ?z rdf:type ontology:Q7278 }
Did you mean Pere Màrtir Rossell i Vilar ?
Pere Màrtir Rossell i Vilar
['Àngel Colom i Colom', 'member of political party', {'concept': 'political party'}] ['Josep Cosconera i Carabassa', 'member of political party', {'concept': 'political party'}] ['Pere Màrtir Rossell i Vilar', 'member of political party', {'concept': 'political party'}] ['Josep Irla i Bosch', 'member of political party', {'concept': 'political party'}] ['Andreu Bosch i Rodoreda', 'member of political party', {'concept': 'political party'}] ['Carmel Mòdol i Bresolí', 'member of political party', {'concept': 'political party'}] ['Celestí Boada', 'member of political party', {'concept': 'political party'}] ['Carles Bassaganya Serra', 'member of political party', {'concept': 'political party'}] ['Faustí Llaveries Viladomiu', 'member of political party', {'concept': 'political party'}] ['Martí Jordi i Frigola', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Josep_Irla_i_Bosch property:member_of_political_party ?z . ?z rdf:type ontology:political_party }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Josep Irla i Bosch. Could you tell me the answer for that?
(Q731289,P102,c(Q7278))
Q731289
['Q731289', 'P102', {'concept': 'Q7278'}]
['Josep Irla i Bosch', 'member of political party', {'concept': 'political party'}]
[]
SYSTEM
1
Q150068
(Q731289,P102,c(Q7278))
[ANSWER]
['Q731289', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q731289 property:P102 ?z . ?z rdf:type ontology:Q7278 }
Republican Left of Catalonia
1
['Josep Irla i Bosch', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Josep_Irla_i_Bosch property:member_of_political_party ?z . ?z rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21707984
P551
Q1048835
USER
Where did Martí Jordi i Frigola live ?
(Q21707984,P551,c(Q1048835))
action filter_type
action find
entity Q21707984
relation P551
type Q1048835
['Q21707984', 'P551', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . resource:Q21707984 property:P551 ?x }
Martí Jordi i Frigola
action filter_type
action find
entity Martí Jordi i Frigola
relation residence
type political territorial entity
['Martí Jordi i Frigola', 'residence', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Martí_Jordi_i_Frigola property:residence ?x }
[]
political territorial entity
Q13490
SYSTEM
Palafrugell
Q13490
(Q21707984,P551,c(Q1048835))
action filter_type
action find
entity Q21707984
relation P551
type Q1048835
Martí Jordi i Frigola lived in [ANSWER]
['Q21707984', 'P551', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . resource:Q21707984 property:P551 ?x }
Palafrugell
Martí Jordi i Frigola lived in Palafrugell
Palafrugell
action filter_type
action find
entity Martí Jordi i Frigola
relation residence
type political territorial entity
['Martí Jordi i Frigola', 'residence', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Martí_Jordi_i_Frigola property:residence ?x }
[]