Simple Question (Direct)
Simple Question
Q115317
P19
Q15617994
USER
Which administrative territory was Max Sefrin born in ?
(Q115317,P19,c(Q15617994))
action filter_type
action find
entity Q115317
relation P19
type Q15617994
['Q115317', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q115317 property:P19 ?c }
Max Sefrin
action filter_type
action find
entity Max Sefrin
relation place of birth
type designation for an administrative territorial entity
['Max Sefrin', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Max_Sefrin property:place_of_birth ?c }
[]
designation for an administrative territorial entity
Q567847
SYSTEM
Contwig
Q567847
(Q115317,P19,c(Q15617994))
action filter_type
action find
entity Q115317
relation P19
type Q15617994
Max Sefrin was born in [ANSWER]
['Q115317', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q115317 property:P19 ?c }
Contwig
Max Sefrin was born in Contwig
Contwig
action filter_type
action find
entity Max Sefrin
relation place of birth
type designation for an administrative territorial entity
['Max Sefrin', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Max_Sefrin property:place_of_birth ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q115317
P102
Q7278
USER
Which political party is that person a member of ?
(Q567847,P102,c(Q7278))
action filter_type
action find
entity Q115317
relation P102
type Q7278
['Q567847', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?e WHERE { resource:Q115317 property:P102 ?e . ?e rdf:type ontology:Q7278 }
Max Sefrin
action filter_type
action find
entity Max Sefrin
relation member of political party
type political party
['Contwig', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?e WHERE { resource:Max_Sefrin property:member_of_political_party ?e . ?e rdf:type ontology:political_party }
[]
political party
Q49754
SYSTEM
Christian Democratic Union
Q49754
(Q567847,P102,c(Q7278))
action filter_type
action find
entity Q115317
relation P102
type Q7278
[ANSWER] is that person a member of
['Q567847', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?e WHERE { resource:Q115317 property:P102 ?e . ?e rdf:type ontology:Q7278 }
Christian Democratic Union
Christian Democratic Union is that person a member of
Christian Democratic Union
action filter_type
action find
entity Max Sefrin
relation member of political party
type political party
['Contwig', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?e WHERE { resource:Max_Sefrin property:member_of_political_party ?e . ?e rdf:type ontology:political_party }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P102
Q7278 Q502895
USER
Which political parties do around the same number of people belong to as that political party ?
(c(Q502895),P102,c(Q7278))
action approx
action find_reverse_tuple_counts
relation P102
type Q7278
type Q502895
action count
action filter_type
action find
entity Q49754
relation P102
type Q7278
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?i ) WHERE { ?j rdf:type ontology:Q7278 . ?w rdf:type ontology:Q502895 . ?w property:P102 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Q49754 property:P102 ?s . ?s rdf:type ontology:Q7278 } } . FILTER ( ?i = ?v ) }
action approx
action find_reverse_tuple_counts
relation member of political party
type political party
type common name
action count
action filter_type
action find
entity Christian Democratic Union
relation member of political party
type political party
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?i ) WHERE { ?j rdf:type ontology:political_party . ?w rdf:type ontology:common_name . ?w property:member_of_political_party ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Christian_Democratic_Union property:member_of_political_party ?s . ?s rdf:type ontology:political_party } } . FILTER ( ?i = ?v ) }
[]
political party common name
Q49766 Q196695 Q662502
SYSTEM
Alliance '90/The Greens, Green League, Federation of the Greens
Q3395191 Q627213 Q8711543 Q280906 Q1164324 Q196695 Q641600 Q3572851 Q3121556 Q950179 Q504000 Q781486 Q3751152 Q1470891 Q3322477 Q1359816 Q4891011 Q847914 Q2576679 Q507226 Q605468 Q1422942 Q438783 Q2575714 Q2531228 Q3122372 Q25079 Q3045391 Q2885750 Q587803 Q192406 Q385543 Q426963 Q3322686 Q43093 Q5603035 Q2031569 Q3392277 Q3366659 Q3133199 Q2395103 Q3366745 Q537850 Q49758 Q1351963 Q2366462 Q3042973 Q155820 Q1129443 Q161118 Q317952 Q76867 Q5033985 Q1104327 Q2590329 Q1125061 Q1987660 Q49766 Q173236 Q2386352 Q1574974 Q1628993 Q371402 Q1780622 Q192821 Q9056260 Q1393123 Q208602 Q3327928 Q586066 Q50572 Q2055003 Q9056182 Q4229909 Q549209 Q1672366 Q3395162 Q478811 Q2054444 Q429078 Q1437906 Q3306974 Q617603 Q3047700 Q9056341 Q537649 Q734792 Q325413 Q913567 Q256121 Q1278980 Q1069440 Q2165306 Q1122797 Q3326408 Q1252274 Q321633 Q565426 Q1339294 Q305317 Q750116 Q2257766 Q1796243 Q308714 Q1553322 Q1120586 Q463318 Q1029761 Q2118395 Q25713876 Q3176618 Q2838243 Q1325836 Q668699 Q545900 Q9056254 Q1153753 Q2203833 Q613786 Q2733414 Q592068 Q2876738 Q204911 Q1133908 Q324107 Q1073752 Q1089640 Q138198 Q3739119 Q341085 Q662502 Q617261 Q3298265 Q3813847 Q794247 Q453366 Q777074 Q487386 Q2096660 Q461886 Q3750882 Q198403 Q209546 Q659739 Q3320917 Q155000 Q9669 Q950356 Q148861 Q13129 Q1957214 Q217009 Q3326258 Q3366589 Q580690 Q3306652 Q2054574 Q581186 Q634372 Q5291 Q506537 Q742912 Q3049400 Q1778910 Q3322771 Q1445096 Q1459085 Q3330925 Q317143 Q208242 Q16059622 Q18761823 Q611548 Q1202552 Q2099347 Q280901 Q3079953 Q3366598 Q3125165 Q1268112 Q5116193 Q49756 Q965481 Q49754 Q49755 Q639383 Q150068 Q1972750 Q625556 Q1412555 Q2145399 Q606955 Q1465376 Q3322584 Q788345 Q452571 Q487129 Q321673 Q18511333 Q3347945 Q4891520 Q3134856 Q5604424 Q3328040 Q3047694 Q3571603 Q3181825 Q956240 Q499632 Q3567486 Q1780610 Q2630934 Q2597196 Q185088 Q2605592 Q3175770 Q600703 Q427325 Q8347650 Q3133165 Q130761 Q885433
(c(Q502895),P102,c(Q7278))
action approx
action find_reverse_tuple_counts
relation P102
type Q7278
type Q502895
action count
action filter_type
action find
entity Q49754
relation P102
type Q7278
[ANSWERS] around the same number of people belong to as that political party
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?i ) WHERE { ?j rdf:type ontology:Q7278 . ?w rdf:type ontology:Q502895 . ?w property:P102 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Q49754 property:P102 ?s . ?s rdf:type ontology:Q7278 } } . FILTER ( ?i = ?v ) }
Liberal Democratic Party (Spain) Workers' Party of Ethiopia Communist Party of Kampuchea Socialist Party of Navarra-PSOE Communist Party of Denmark Green League Japanese Communist Party Aragon's Socialists' Party Syndicalist Party European Green Party Communist Party of Brazil Australian Greens Democrats Convergence of Navarre Union of October 17 Party of the Communists of Catalonia Communist Party of Thailand Extremaduran Coalition Communist Party of Venezuela Communist Party of Greece (Marxist–Leninist) Riojan Party Communist Party of Poland Radical Democratic Party Democratic Alternative Green Party of Quebec Euskadiko Ezkerra Galician Socialist Party Alliance of Liberals and Democrats for Europe Party Ezker Batua – Berdeak Socialist Party of National Liberation Communist Party of Norway Communist Party of Greece Communist Party of the Netherlands Communist Party of Nepal Liberal Party Basque Nationalist Party Green Party of Prince Edward Island People's Party of Galicia People's Party (Spain, 1976) Russian Party Revolutionary Communist League Pridnestrovie Communist Party Socialist Party of Madrid-PSOE Communist Party of Belgium National Democratic Party of Germany Citizenship, Action, Participation for the 21st Century Regionalist Party of Cantabria Estat Català Constitutional Democratic Party Democratic Convergence of Catalonia Communist Party of Austria Communist Party of Chile Socialist Unity Party of West Berlin Cantonal Party Canarian Coalition Communist Party of Australia Eusko Alkartasuna Green Confederation Alliance '90/The Greens Convergence for the Isles Communist Party of the People of Spain Pirate Party UK Democratic Union of Catalonia Communist Party of Cuba Communist League French Communist Party People's Party of the Valencian Community Ciudadanos Pirate Party Anova-Nationalist Brotherhood Tunisian Communist Party Pirate Party Socialists' Party of Catalonia Christian Democratic Party Communist Party of the Russian Soviet Federative Socialist Republic Union of the Democratic Centre Iraqi Communist Party Socialist Action Party (Spain) Communist Party of Spain Communist Party of Réunion PSUC viu Asturias Forum Galician Nationalist Party-Galicianist Party Communist Workers' Party of Germany Liberal-Conservative Party Partido Socialista de los Trabajadores (Spain) Communist Party of Hungary European Democratic Party Communist Party of Belarus Communist Party of Bohemia and Moravia Romanian Communist Party Andalusian Party Pirate Party of Russia People's Alliance Communist Party of Ukraine Communist Party of the Valencian Country Independent Democratic Party Communist Party of Germany (1990) General German Workers' Association Tudeh Party of Iran South African Communist Party Party of Communists of the Republic of Moldova Spanish Communist Workers' Party Tasmanian Greens Communist Party USA Liberal Democrats Communist Party of Australia Movement of Unitarian Communists Euskal Herria Bildu Algerian Communist Party Catalan European Democratic Party Socialist Party of the Valencian Country People's Alliance Communist Party of Slovakia POUM Green Liberal Party of Switzerland People's Party of Cantabria Ecology Generation Sudanese Communist Party Europe Ecology – The Greens Socialist Party of the Basque Country – Basque Country Left Communist Party of Great Britain Democratic Left Russian Social Democratic Labour Party Pirate Party of the Netherlands Communist Party of Germany/Marxists–Leninists Hungarian Working People's Party Chunta Aragonesista Spanish Socialist Workers' Party Communist Party Czech Pirate Party Federation of the Greens Political Party of Radicals Communist Party of Pakistan Proletarian Catalan Party Partíu Asturianista Family Party of Germany Communist Party of Burma Party of Bible-abiding Christians Pirate Party Saarland Italian Communist Party Communist Party of the Basque Country Pirate Party Iceland Batasuna Green Party of Switzerland Equo Bulgarian Communist Party Green Party of England and Wales Parti Québécois German Communist Party Pirate Party Germany Syrian Communist Party Socialist Revolutionary Party Communist Party of Galicia Pirate Party (Tunisia) Union of the Russian People Galician Coalition Aragonese Party Communist Party of Albania Democratic Popular Party Pirate Party Unified Communist Party of Nepal Independent Workers' Party of Germany Carlist Party Popular Socialist Party Euskal Iraultzarako Alderdia People's Party of Catalonia Pirate Party United Extremadura Statt Party European People's Party Podemos The Greens Bildu Deutsche Friedens-Union Azerbaijan Communist Party People's Party of Aragon Pirate Party Luxembourg People's Party of Navarre Democratic Federal Republican Party League of Communists of Slovenia Communist Party of the Karelo-Finnish Soviet Socialist Republic Democratic Farmers' Party of Germany Communist Party Christian Democratic Union Liberal Democratic Party of Germany European Free Alliance Republican Left of Catalonia Peruvian Communist Party Aralar Party Communist League of West Germany Republican Party of Germany Communist Party of South Ossetia Communist Party of Lithuania Republican Left of the Valencian Country Democratic and Social Centre Amaiur Communist Party of Germany Communist Party of Luxembourg VZDOR - strana práce Socialist Unity Centre of India Socialist Party of Cantabria–PSOE Communist Party of Spain (Marxist–Leninist) Greens New South Wales National Front of Catalonia Socialist Party of Galicia Socialist Party of Aragon Revolutionary Communist Party Spanish Socialist Workers' Party of Andalusia Marxist–Leninist Party of Germany Western Block Party Communist Party of Latvia Unified Socialist Party of Catalonia Brazilian Communist Party People's Party Communist Party of Moldova Communist Party of Spain (Reconstituted) Communist Party of Sri Lanka Communist Party of Vietnam Unitarian Candidacy of Workers Workers' Party of Spain – Communist Unity Popular Unity Candidates Galician Nationalist Bloc
Alliance '90/The Greens, Green League and Federation of the Greens around the same number of people belong to as that political party
Alliance '90/The Greens Green League Federation of the Greens
action approx
action find_reverse_tuple_counts
relation member of political party
type political party
type common name
action count
action filter_type
action find
entity Christian Democratic Union
relation member of political party
type political party
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?i ) WHERE { ?j rdf:type ontology:political_party . ?w rdf:type ontology:common_name . ?w property:member_of_political_party ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Christian_Democratic_Union property:member_of_political_party ?s . ?s rdf:type ontology:political_party } } . FILTER ( ?i = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q662502
P1142
Q7257 Q1047113 Q7278
USER
How many political parties have the ideology as lesser number of ideologies and special fields than Federation of the Greens ?
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action count
action less
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action count
action filter_multi_types
action find
entity Q662502
relation P1142
type Q7257
type Q1047113
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?i WHERE { VALUES ( ?t ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } . ?a rdf:type ?t } GROUP BY ?i } . FILTER ( ?y < ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q662502 property:P1142 ?r . { { ?r rdf:type ontology:Q7257 } UNION { ?r rdf:type ontology:Q1047113 } } } } }
Federation of the Greens
action count
action less
action union
action find_tuple_counts
relation political ideology
type political party
type ideology
action find_tuple_counts
relation political ideology
type political party
type special field
action count
action filter_multi_types
action find
entity Federation of the Greens
relation political ideology
type ideology
type special field
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?i WHERE { VALUES ( ?t ) { ( ontology:ideology ) ( ontology:special_field ) } . ?a rdf:type ?t } GROUP BY ?i } . FILTER ( ?y < ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Federation_of_the_Greens property:political_ideology ?r . { { ?r rdf:type ontology:ideology } UNION { ?r rdf:type ontology:special_field } } } } }
[]
ideology special field political party
SYSTEM
166
Q627213 Q8711543 Q1164324 Q6064226 Q3572851 Q49750 Q504000 Q1470891 Q3322477 Q4891011 Q5154327 Q4229890 Q1780583 Q10862991 Q5314301 Q3331262 Q3328775 Q192406 Q3176618 Q3324147 Q426963 Q82558 Q3392277 Q6767863 Q3366745 Q537850 Q1351963 Q3042973 Q586066 Q5502807 Q161118 Q317952 Q2883859 Q6064217 Q2590329 Q4671756 Q512498 Q2386352 Q7197818 Q1574974 Q2883403 Q7197814 Q7197815 Q7197810 Q1169744 Q9056260 Q9056262 Q208602 Q5558687 Q3395162 Q50571 Q3822555 Q5154467 Q4229909 Q324107 Q1672366 Q1284257 Q2166484 Q478811 Q2054444 Q429078 Q7197806 Q7232673 Q3047700 Q9056341 Q734792 Q913567 Q2096648 Q256121 Q1069440 Q1122797 Q5154376 Q321633 Q1339294 Q305317 Q750116 Q308714 Q1120586 Q463318 Q2351908 Q3122372 Q2376287 Q1325836 Q4895562 Q695270 Q668699 Q545900 Q2203833 Q3326711 Q8778797 Q592068 Q3191174 Q204911 Q3173752 Q8195538 Q1073752 Q138198 Q3739119 Q341085 Q1136727 Q173236 Q3298265 Q3751846 Q3813847 Q198403 Q153401 Q3326695 Q1343742 Q3049400 Q8350502 Q617261 Q461886 Q7362565 Q155000 Q950356 Q148861 Q13129 Q1957214 Q4229896 Q3326258 Q3330925 Q506537 Q7197808 Q3366589 Q8206150 Q580690 Q3326681 Q5291 Q5406044 Q6064224 Q847914 Q781788 Q2575714 Q1789010 Q3573531 Q1459085 Q672479 Q1525453 Q16059622 Q961371 Q19972534 Q12389059 Q280901 Q3079953 Q1268112 Q1972750 Q168153 Q3328134 Q1328410 Q1465376 Q3322584 Q507226 Q452571 Q487129 Q321673 Q4891520 Q954933 Q3327440 Q4363281 Q943595 Q499632 Q5401616 Q2630934 Q2605592 Q10944648 Q600703
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action count
action less
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action count
action filter_multi_types
action find
entity Q662502
relation P1142
type Q7257
type Q1047113
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?i WHERE { VALUES ( ?t ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } . ?a rdf:type ?t } GROUP BY ?i } . FILTER ( ?y < ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q662502 property:P1142 ?r . { { ?r rdf:type ontology:Q7257 } UNION { ?r rdf:type ontology:Q1047113 } } } } }
Workers' Party of Ethiopia Communist Party of Kampuchea Communist Party of Denmark People's Party of Extremadura Aragon's Socialists' Party Socialist Unity Party of Germany Communist Party of Brazil Union of October 17 Party of the Communists of Catalonia Extremaduran Coalition Communist Party of Andalusia Communist Party of Australia Communist Party of Namibia Converxencia Nacionalista Galega Slovenian Pirate Party Canarian Nationalist Assembly Socialist Party of the People of Ceuta Communist Party of Greece Socialist Party of the Valencian Country Catalan Workers Bloc Communist Party of Nepal Party Against Mistreatment to Animals People's Party (Spain, 1976) Pirate Party of Turkey Socialist Party of Madrid-PSOE Communist Party of Belgium Citizenship, Action, Participation for the 21st Century Estat Català Tunisian Communist Party Frente Nacional Communist Party of Austria Communist Party of Chile Communist Party Andalusian People's Party Communist Party of Australia Communist Organization of Spain Marijuana Party of Canada Communist Party of the People of Spain Pirate Party of Ukraine Pirate Party UK Extremaduran Popular Bloc Pirate Party of Serbia Pirate Party of Poland Pirate Party of Bosnia and Herzegovina Communist Party of the Basque Homelands People's Party of the Valencian Community People's Party of the Community of Madrid Pirate Party Workers Revolutionary Party - Revolutionary Left Socialist Action Party (Spain) United States Pirate Party Cannabis Party Communist Party of the Catalan People Communist Party of the Russian Soviet Federative Socialist Republic Communist Party of Germany/Marxists–Leninists Iraqi Communist Party Pirate Party Communist People's Party of Kazakhstan Communist Party of Spain Communist Party of Réunion PSUC viu Pirate Party Portuguese Pirate Party Liberal-Conservative Party Partido Socialista de los Trabajadores (Spain) European Democratic Party Communist Party of Bohemia and Moravia Pirate Party Berlin Romanian Communist Party Pirate Party of Russia Communist Party of Ukraine Communist Party of Castile-La Mancha Communist Party of Germany (1990) Tudeh Party of Iran South African Communist Party Party of Communists of the Republic of Moldova Communist Party USA Communist Party of Australia Movement of Unitarian Communists Communist Party of Bulgaria Galician Socialist Party Communist Party of Moldova Communist Party of Slovakia Party of Labour of Spain Pirate Party of Austria POUM Green Liberal Party of Switzerland Sudanese Communist Party National Front Esquerda de Galicia Communist Party of Great Britain Pirate Party Russian Social Democratic Labour Party Slovak Pirate Party National Alliance Hungarian Working People's Party Spanish Socialist Workers' Party Communist Party Czech Pirate Party Pirate Party Belgium Convergence for the Isles Communist Party of Pakistan Humanist Party Proletarian Catalan Party Pirate Party Iceland Communist Party of Germany Workers' Party Pirate Party of Greece Carlist Party Convergència Democràtica de la Franja Political Party of Radicals Italian Communist Party Romanian Pirate Party Bulgarian Communist Party Parti Québécois German Communist Party Pirate Party Germany Syrian Communist Party Communist Party of Germany Communist Party of Galicia United Extremadura Unified Communist Party of Nepal Pirate Party Croatia Pirate Party (Tunisia) Canarian Assembly Union of the Russian People Communist Party of the Valencians Pirate Party Cangas Left Alternative People's Party of Castile and León Communist Party of Venezuela Pirate Party Green Party of Quebec Communist Party Carlist Party of Euskalherria Pirate Party Pirate Party Switzerland Communist Organization of Greece Podemos Land Party Jaén en Común Galician Workers Front People's Party of Aragon Pirate Party Luxembourg League of Communists of Slovenia Peruvian Communist Party Pirate Party Australia Revolutionary Workers' Party (Spain) Pirate Party Communist Party of Lithuania Republican Left of the Valencian Country Riojan Party Amaiur Communist Party of Germany Communist Party of Luxembourg Socialist Party of Cantabria–PSOE Popular Socialists Galician Left Pirate Party of Kazakhstan Spanish Alternative Marxist–Leninist Party of Germany Estonian Pirate Party Unified Socialist Party of Catalonia Communist Party of Moldova Valencian Left Communist Party of Sri Lanka
166
action count
action less
action union
action find_tuple_counts
relation political ideology
type political party
type ideology
action find_tuple_counts
relation political ideology
type political party
type special field
action count
action filter_multi_types
action find
entity Federation of the Greens
relation political ideology
type ideology
type special field
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?i WHERE { VALUES ( ?t ) { ( ontology:ideology ) ( ontology:special_field ) } . ?a rdf:type ?t } GROUP BY ?i } . FILTER ( ?y < ?b ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Federation_of_the_Greens property:political_ideology ?r . { { ?r rdf:type ontology:ideology } UNION { ?r rdf:type ontology:special_field } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5033985
P1142
Q7257 Q1047113 Q7278
USER
And what about Cantonal Party?
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action count
action less
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action count
action filter_multi_types
action find
entity Q5033985
relation P1142
type Q7257
type Q1047113
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?l WHERE { { ?l property:P1142 ?e . ?e rdf:type ontology:Q7257 . ?l rdf:type ontology:Q7278 } UNION { ?l property:P1142 ?e . ?l rdf:type ontology:Q7278 . ?e rdf:type ontology:Q1047113 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Q5033985 property:P1142 ?f . { { ?f rdf:type ontology:Q7257 } UNION { ?f rdf:type ontology:Q1047113 } } } } . FILTER ( ?d < ?t ) }
Cantonal Party
action count
action less
action union
action find_tuple_counts
relation political ideology
type political party
type ideology
action find_tuple_counts
relation political ideology
type political party
type special field
action count
action filter_multi_types
action find
entity Cantonal Party
relation political ideology
type ideology
type special field
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?l WHERE { { ?l property:political_ideology ?e . ?e rdf:type ontology:ideology . ?l rdf:type ontology:political_party } UNION { ?l property:political_ideology ?e . ?l rdf:type ontology:political_party . ?e rdf:type ontology:special_field } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Cantonal_Party property:political_ideology ?f . { { ?f rdf:type ontology:ideology } UNION { ?f rdf:type ontology:special_field } } } } . FILTER ( ?d < ?t ) }
[]
ideology special field political party
SYSTEM
166
Q627213 Q8711543 Q1164324 Q6064226 Q3572851 Q49750 Q504000 Q1470891 Q3322477 Q4891011 Q5154327 Q4229890 Q1780583 Q10862991 Q5314301 Q3331262 Q3328775 Q192406 Q3176618 Q3324147 Q426963 Q82558 Q3392277 Q6767863 Q3366745 Q537850 Q1351963 Q3042973 Q586066 Q5502807 Q161118 Q317952 Q2883859 Q6064217 Q2590329 Q4671756 Q512498 Q2386352 Q7197818 Q1574974 Q2883403 Q7197814 Q7197815 Q7197810 Q1169744 Q9056260 Q9056262 Q208602 Q5558687 Q3395162 Q50571 Q3822555 Q5154467 Q4229909 Q324107 Q1672366 Q1284257 Q2166484 Q478811 Q2054444 Q429078 Q7197806 Q7232673 Q3047700 Q9056341 Q734792 Q913567 Q2096648 Q256121 Q1069440 Q1122797 Q5154376 Q321633 Q1339294 Q305317 Q750116 Q308714 Q1120586 Q463318 Q2351908 Q3122372 Q2376287 Q1325836 Q4895562 Q695270 Q668699 Q545900 Q2203833 Q3326711 Q8778797 Q592068 Q3191174 Q204911 Q3173752 Q8195538 Q1073752 Q138198 Q3739119 Q341085 Q1136727 Q173236 Q3298265 Q3751846 Q3813847 Q198403 Q153401 Q3326695 Q1343742 Q3049400 Q8350502 Q617261 Q461886 Q7362565 Q155000 Q950356 Q148861 Q13129 Q1957214 Q4229896 Q3326258 Q3330925 Q506537 Q7197808 Q3366589 Q8206150 Q580690 Q3326681 Q5291 Q5406044 Q6064224 Q847914 Q781788 Q2575714 Q1789010 Q3573531 Q1459085 Q672479 Q1525453 Q16059622 Q961371 Q19972534 Q12389059 Q280901 Q3079953 Q1268112 Q1972750 Q168153 Q3328134 Q1328410 Q1465376 Q3322584 Q507226 Q452571 Q487129 Q321673 Q4891520 Q954933 Q3327440 Q4363281 Q943595 Q499632 Q5401616 Q2630934 Q2605592 Q10944648 Q600703
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action count
action less
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action count
action filter_multi_types
action find
entity Q5033985
relation P1142
type Q7257
type Q1047113
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?l WHERE { { ?l property:P1142 ?e . ?e rdf:type ontology:Q7257 . ?l rdf:type ontology:Q7278 } UNION { ?l property:P1142 ?e . ?l rdf:type ontology:Q7278 . ?e rdf:type ontology:Q1047113 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Q5033985 property:P1142 ?f . { { ?f rdf:type ontology:Q7257 } UNION { ?f rdf:type ontology:Q1047113 } } } } . FILTER ( ?d < ?t ) }
Workers' Party of Ethiopia Communist Party of Kampuchea Communist Party of Denmark People's Party of Extremadura Aragon's Socialists' Party Socialist Unity Party of Germany Communist Party of Brazil Union of October 17 Party of the Communists of Catalonia Extremaduran Coalition Communist Party of Andalusia Communist Party of Australia Communist Party of Namibia Converxencia Nacionalista Galega Slovenian Pirate Party Canarian Nationalist Assembly Socialist Party of the People of Ceuta Communist Party of Greece Socialist Party of the Valencian Country Catalan Workers Bloc Communist Party of Nepal Party Against Mistreatment to Animals People's Party (Spain, 1976) Pirate Party of Turkey Socialist Party of Madrid-PSOE Communist Party of Belgium Citizenship, Action, Participation for the 21st Century Estat Català Tunisian Communist Party Frente Nacional Communist Party of Austria Communist Party of Chile Communist Party Andalusian People's Party Communist Party of Australia Communist Organization of Spain Marijuana Party of Canada Communist Party of the People of Spain Pirate Party of Ukraine Pirate Party UK Extremaduran Popular Bloc Pirate Party of Serbia Pirate Party of Poland Pirate Party of Bosnia and Herzegovina Communist Party of the Basque Homelands People's Party of the Valencian Community People's Party of the Community of Madrid Pirate Party Workers Revolutionary Party - Revolutionary Left Socialist Action Party (Spain) United States Pirate Party Cannabis Party Communist Party of the Catalan People Communist Party of the Russian Soviet Federative Socialist Republic Communist Party of Germany/Marxists–Leninists Iraqi Communist Party Pirate Party Communist People's Party of Kazakhstan Communist Party of Spain Communist Party of Réunion PSUC viu Pirate Party Portuguese Pirate Party Liberal-Conservative Party Partido Socialista de los Trabajadores (Spain) European Democratic Party Communist Party of Bohemia and Moravia Pirate Party Berlin Romanian Communist Party Pirate Party of Russia Communist Party of Ukraine Communist Party of Castile-La Mancha Communist Party of Germany (1990) Tudeh Party of Iran South African Communist Party Party of Communists of the Republic of Moldova Communist Party USA Communist Party of Australia Movement of Unitarian Communists Communist Party of Bulgaria Galician Socialist Party Communist Party of Moldova Communist Party of Slovakia Party of Labour of Spain Pirate Party of Austria POUM Green Liberal Party of Switzerland Sudanese Communist Party National Front Esquerda de Galicia Communist Party of Great Britain Pirate Party Russian Social Democratic Labour Party Slovak Pirate Party National Alliance Hungarian Working People's Party Spanish Socialist Workers' Party Communist Party Czech Pirate Party Pirate Party Belgium Convergence for the Isles Communist Party of Pakistan Humanist Party Proletarian Catalan Party Pirate Party Iceland Communist Party of Germany Workers' Party Pirate Party of Greece Carlist Party Convergència Democràtica de la Franja Political Party of Radicals Italian Communist Party Romanian Pirate Party Bulgarian Communist Party Parti Québécois German Communist Party Pirate Party Germany Syrian Communist Party Communist Party of Germany Communist Party of Galicia United Extremadura Unified Communist Party of Nepal Pirate Party Croatia Pirate Party (Tunisia) Canarian Assembly Union of the Russian People Communist Party of the Valencians Pirate Party Cangas Left Alternative People's Party of Castile and León Communist Party of Venezuela Pirate Party Green Party of Quebec Communist Party Carlist Party of Euskalherria Pirate Party Pirate Party Switzerland Communist Organization of Greece Podemos Land Party Jaén en Común Galician Workers Front People's Party of Aragon Pirate Party Luxembourg League of Communists of Slovenia Peruvian Communist Party Pirate Party Australia Revolutionary Workers' Party (Spain) Pirate Party Communist Party of Lithuania Republican Left of the Valencian Country Riojan Party Amaiur Communist Party of Germany Communist Party of Luxembourg Socialist Party of Cantabria–PSOE Popular Socialists Galician Left Pirate Party of Kazakhstan Spanish Alternative Marxist–Leninist Party of Germany Estonian Pirate Party Unified Socialist Party of Catalonia Communist Party of Moldova Valencian Left Communist Party of Sri Lanka
166
action count
action less
action union
action find_tuple_counts
relation political ideology
type political party
type ideology
action find_tuple_counts
relation political ideology
type political party
type special field
action count
action filter_multi_types
action find
entity Cantonal Party
relation political ideology
type ideology
type special field
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?l WHERE { { ?l property:political_ideology ?e . ?e rdf:type ontology:ideology . ?l rdf:type ontology:political_party } UNION { ?l property:political_ideology ?e . ?l rdf:type ontology:political_party . ?e rdf:type ontology:special_field } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Cantonal_Party property:political_ideology ?f . { { ?f rdf:type ontology:ideology } UNION { ?f rdf:type ontology:special_field } } } } . FILTER ( ?d < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q545900
P1142
Q1047113 Q7257 Q7278
USER
How many political parties promote approximately the same number of special fields or ideologies as Green Liberal Party of Switzerland ?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_multi_types
action find
entity Q545900
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q545900 property:P1142 ?v . { { ?v rdf:type ontology:Q1047113 } UNION { ?v rdf:type ontology:Q7257 } } } } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } } GROUP BY ?k } }
Green Liberal Party of Switzerland
action count
action approx
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
action count
action filter_multi_types
action find
entity Green Liberal Party of Switzerland
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Green_Liberal_Party_of_Switzerland property:political_ideology ?v . { { ?v rdf:type ontology:special_field } UNION { ?v rdf:type ontology:ideology } } } } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:ideology ) ( ontology:special_field ) } } GROUP BY ?k } }
[]
special field ideology political party
SYSTEM
166
Q627213 Q8711543 Q1164324 Q6064226 Q3572851 Q49750 Q504000 Q1470891 Q3322477 Q4891011 Q5154327 Q4229890 Q1780583 Q10862991 Q5314301 Q3331262 Q3328775 Q192406 Q3176618 Q3324147 Q426963 Q82558 Q3392277 Q6767863 Q3366745 Q537850 Q1351963 Q3042973 Q586066 Q5502807 Q161118 Q317952 Q2883859 Q6064217 Q2590329 Q4671756 Q512498 Q2386352 Q7197818 Q1574974 Q2883403 Q7197814 Q7197815 Q7197810 Q1169744 Q9056260 Q9056262 Q208602 Q5558687 Q3395162 Q50571 Q3822555 Q5154467 Q4229909 Q324107 Q1672366 Q1284257 Q2166484 Q478811 Q2054444 Q429078 Q7197806 Q7232673 Q3047700 Q9056341 Q734792 Q913567 Q2096648 Q256121 Q1069440 Q1122797 Q5154376 Q321633 Q1339294 Q305317 Q750116 Q308714 Q1120586 Q463318 Q2351908 Q3122372 Q2376287 Q1325836 Q4895562 Q695270 Q668699 Q545900 Q2203833 Q3326711 Q8778797 Q592068 Q3191174 Q204911 Q3173752 Q8195538 Q1073752 Q138198 Q3739119 Q341085 Q1136727 Q173236 Q3298265 Q3751846 Q3813847 Q198403 Q153401 Q3326695 Q1343742 Q3049400 Q8350502 Q617261 Q461886 Q7362565 Q155000 Q950356 Q148861 Q13129 Q1957214 Q4229896 Q3326258 Q3330925 Q506537 Q7197808 Q3366589 Q8206150 Q580690 Q3326681 Q5291 Q5406044 Q6064224 Q847914 Q781788 Q2575714 Q1789010 Q3573531 Q1459085 Q672479 Q1525453 Q16059622 Q961371 Q19972534 Q12389059 Q280901 Q3079953 Q1268112 Q1972750 Q168153 Q3328134 Q1328410 Q1465376 Q3322584 Q507226 Q452571 Q487129 Q321673 Q4891520 Q954933 Q3327440 Q4363281 Q943595 Q499632 Q5401616 Q2630934 Q2605592 Q10944648 Q600703
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_multi_types
action find
entity Q545900
relation P1142
type Q1047113
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q545900 property:P1142 ?v . { { ?v rdf:type ontology:Q1047113 } UNION { ?v rdf:type ontology:Q7257 } } } } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } } GROUP BY ?k } }
Workers' Party of Ethiopia Communist Party of Kampuchea Communist Party of Denmark People's Party of Extremadura Aragon's Socialists' Party Socialist Unity Party of Germany Communist Party of Brazil Union of October 17 Party of the Communists of Catalonia Extremaduran Coalition Communist Party of Andalusia Communist Party of Australia Communist Party of Namibia Converxencia Nacionalista Galega Slovenian Pirate Party Canarian Nationalist Assembly Socialist Party of the People of Ceuta Communist Party of Greece Socialist Party of the Valencian Country Catalan Workers Bloc Communist Party of Nepal Party Against Mistreatment to Animals People's Party (Spain, 1976) Pirate Party of Turkey Socialist Party of Madrid-PSOE Communist Party of Belgium Citizenship, Action, Participation for the 21st Century Estat Català Tunisian Communist Party Frente Nacional Communist Party of Austria Communist Party of Chile Communist Party Andalusian People's Party Communist Party of Australia Communist Organization of Spain Marijuana Party of Canada Communist Party of the People of Spain Pirate Party of Ukraine Pirate Party UK Extremaduran Popular Bloc Pirate Party of Serbia Pirate Party of Poland Pirate Party of Bosnia and Herzegovina Communist Party of the Basque Homelands People's Party of the Valencian Community People's Party of the Community of Madrid Pirate Party Workers Revolutionary Party - Revolutionary Left Socialist Action Party (Spain) United States Pirate Party Cannabis Party Communist Party of the Catalan People Communist Party of the Russian Soviet Federative Socialist Republic Communist Party of Germany/Marxists–Leninists Iraqi Communist Party Pirate Party Communist People's Party of Kazakhstan Communist Party of Spain Communist Party of Réunion PSUC viu Pirate Party Portuguese Pirate Party Liberal-Conservative Party Partido Socialista de los Trabajadores (Spain) European Democratic Party Communist Party of Bohemia and Moravia Pirate Party Berlin Romanian Communist Party Pirate Party of Russia Communist Party of Ukraine Communist Party of Castile-La Mancha Communist Party of Germany (1990) Tudeh Party of Iran South African Communist Party Party of Communists of the Republic of Moldova Communist Party USA Communist Party of Australia Movement of Unitarian Communists Communist Party of Bulgaria Galician Socialist Party Communist Party of Moldova Communist Party of Slovakia Party of Labour of Spain Pirate Party of Austria POUM Green Liberal Party of Switzerland Sudanese Communist Party National Front Esquerda de Galicia Communist Party of Great Britain Pirate Party Russian Social Democratic Labour Party Slovak Pirate Party National Alliance Hungarian Working People's Party Spanish Socialist Workers' Party Communist Party Czech Pirate Party Pirate Party Belgium Convergence for the Isles Communist Party of Pakistan Humanist Party Proletarian Catalan Party Pirate Party Iceland Communist Party of Germany Workers' Party Pirate Party of Greece Carlist Party Convergència Democràtica de la Franja Political Party of Radicals Italian Communist Party Romanian Pirate Party Bulgarian Communist Party Parti Québécois German Communist Party Pirate Party Germany Syrian Communist Party Communist Party of Germany Communist Party of Galicia United Extremadura Unified Communist Party of Nepal Pirate Party Croatia Pirate Party (Tunisia) Canarian Assembly Union of the Russian People Communist Party of the Valencians Pirate Party Cangas Left Alternative People's Party of Castile and León Communist Party of Venezuela Pirate Party Green Party of Quebec Communist Party Carlist Party of Euskalherria Pirate Party Pirate Party Switzerland Communist Organization of Greece Podemos Land Party Jaén en Común Galician Workers Front People's Party of Aragon Pirate Party Luxembourg League of Communists of Slovenia Peruvian Communist Party Pirate Party Australia Revolutionary Workers' Party (Spain) Pirate Party Communist Party of Lithuania Republican Left of the Valencian Country Riojan Party Amaiur Communist Party of Germany Communist Party of Luxembourg Socialist Party of Cantabria–PSOE Popular Socialists Galician Left Pirate Party of Kazakhstan Spanish Alternative Marxist–Leninist Party of Germany Estonian Pirate Party Unified Socialist Party of Catalonia Communist Party of Moldova Valencian Left Communist Party of Sri Lanka
166
action count
action approx
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
action count
action filter_multi_types
action find
entity Green Liberal Party of Switzerland
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Green_Liberal_Party_of_Switzerland property:political_ideology ?v . { { ?v rdf:type ontology:special_field } UNION { ?v rdf:type ontology:ideology } } } } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:ideology ) ( ontology:special_field ) } } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q13129
P1142
Q1047113 Q7257 Q7278
USER
And how about Pirate Party Germany?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_multi_types
action find
entity Q13129
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?d ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?k rdf:type ?d } GROUP BY ?i } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q13129 property:P1142 ?l . { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } } } }
Pirate Party Germany
action count
action approx
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
action count
action filter_multi_types
action find
entity Pirate Party Germany
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?d ) { ( ontology:special_field ) ( ontology:ideology ) } . ?k rdf:type ?d } GROUP BY ?i } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Pirate_Party_Germany property:political_ideology ?l . { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:special_field ) ( ontology:ideology ) } } } } }
[]
special field ideology political party
SYSTEM
166
Q627213 Q8711543 Q1164324 Q6064226 Q3572851 Q49750 Q504000 Q1470891 Q3322477 Q4891011 Q5154327 Q4229890 Q1780583 Q10862991 Q5314301 Q3331262 Q3328775 Q192406 Q3176618 Q3324147 Q426963 Q82558 Q3392277 Q6767863 Q3366745 Q537850 Q1351963 Q3042973 Q586066 Q5502807 Q161118 Q317952 Q2883859 Q6064217 Q2590329 Q4671756 Q512498 Q2386352 Q7197818 Q1574974 Q2883403 Q7197814 Q7197815 Q7197810 Q1169744 Q9056260 Q9056262 Q208602 Q5558687 Q3395162 Q50571 Q3822555 Q5154467 Q4229909 Q324107 Q1672366 Q1284257 Q2166484 Q478811 Q2054444 Q429078 Q7197806 Q7232673 Q3047700 Q9056341 Q734792 Q913567 Q2096648 Q256121 Q1069440 Q1122797 Q5154376 Q321633 Q1339294 Q305317 Q750116 Q308714 Q1120586 Q463318 Q2351908 Q3122372 Q2376287 Q1325836 Q4895562 Q695270 Q668699 Q545900 Q2203833 Q3326711 Q8778797 Q592068 Q3191174 Q204911 Q3173752 Q8195538 Q1073752 Q138198 Q3739119 Q341085 Q1136727 Q173236 Q3298265 Q3751846 Q3813847 Q198403 Q153401 Q3326695 Q1343742 Q3049400 Q8350502 Q617261 Q461886 Q7362565 Q155000 Q950356 Q148861 Q13129 Q1957214 Q4229896 Q3326258 Q3330925 Q506537 Q7197808 Q3366589 Q8206150 Q580690 Q3326681 Q5291 Q5406044 Q6064224 Q847914 Q781788 Q2575714 Q1789010 Q3573531 Q1459085 Q672479 Q1525453 Q16059622 Q961371 Q19972534 Q12389059 Q280901 Q3079953 Q1268112 Q1972750 Q168153 Q3328134 Q1328410 Q1465376 Q3322584 Q507226 Q452571 Q487129 Q321673 Q4891520 Q954933 Q3327440 Q4363281 Q943595 Q499632 Q5401616 Q2630934 Q2605592 Q10944648 Q600703
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_multi_types
action find
entity Q13129
relation P1142
type Q1047113
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?d ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?k rdf:type ?d } GROUP BY ?i } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q13129 property:P1142 ?l . { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } } } }
Workers' Party of Ethiopia Communist Party of Kampuchea Communist Party of Denmark People's Party of Extremadura Aragon's Socialists' Party Socialist Unity Party of Germany Communist Party of Brazil Union of October 17 Party of the Communists of Catalonia Extremaduran Coalition Communist Party of Andalusia Communist Party of Australia Communist Party of Namibia Converxencia Nacionalista Galega Slovenian Pirate Party Canarian Nationalist Assembly Socialist Party of the People of Ceuta Communist Party of Greece Socialist Party of the Valencian Country Catalan Workers Bloc Communist Party of Nepal Party Against Mistreatment to Animals People's Party (Spain, 1976) Pirate Party of Turkey Socialist Party of Madrid-PSOE Communist Party of Belgium Citizenship, Action, Participation for the 21st Century Estat Català Tunisian Communist Party Frente Nacional Communist Party of Austria Communist Party of Chile Communist Party Andalusian People's Party Communist Party of Australia Communist Organization of Spain Marijuana Party of Canada Communist Party of the People of Spain Pirate Party of Ukraine Pirate Party UK Extremaduran Popular Bloc Pirate Party of Serbia Pirate Party of Poland Pirate Party of Bosnia and Herzegovina Communist Party of the Basque Homelands People's Party of the Valencian Community People's Party of the Community of Madrid Pirate Party Workers Revolutionary Party - Revolutionary Left Socialist Action Party (Spain) United States Pirate Party Cannabis Party Communist Party of the Catalan People Communist Party of the Russian Soviet Federative Socialist Republic Communist Party of Germany/Marxists–Leninists Iraqi Communist Party Pirate Party Communist People's Party of Kazakhstan Communist Party of Spain Communist Party of Réunion PSUC viu Pirate Party Portuguese Pirate Party Liberal-Conservative Party Partido Socialista de los Trabajadores (Spain) European Democratic Party Communist Party of Bohemia and Moravia Pirate Party Berlin Romanian Communist Party Pirate Party of Russia Communist Party of Ukraine Communist Party of Castile-La Mancha Communist Party of Germany (1990) Tudeh Party of Iran South African Communist Party Party of Communists of the Republic of Moldova Communist Party USA Communist Party of Australia Movement of Unitarian Communists Communist Party of Bulgaria Galician Socialist Party Communist Party of Moldova Communist Party of Slovakia Party of Labour of Spain Pirate Party of Austria POUM Green Liberal Party of Switzerland Sudanese Communist Party National Front Esquerda de Galicia Communist Party of Great Britain Pirate Party Russian Social Democratic Labour Party Slovak Pirate Party National Alliance Hungarian Working People's Party Spanish Socialist Workers' Party Communist Party Czech Pirate Party Pirate Party Belgium Convergence for the Isles Communist Party of Pakistan Humanist Party Proletarian Catalan Party Pirate Party Iceland Communist Party of Germany Workers' Party Pirate Party of Greece Carlist Party Convergència Democràtica de la Franja Political Party of Radicals Italian Communist Party Romanian Pirate Party Bulgarian Communist Party Parti Québécois German Communist Party Pirate Party Germany Syrian Communist Party Communist Party of Germany Communist Party of Galicia United Extremadura Unified Communist Party of Nepal Pirate Party Croatia Pirate Party (Tunisia) Canarian Assembly Union of the Russian People Communist Party of the Valencians Pirate Party Cangas Left Alternative People's Party of Castile and León Communist Party of Venezuela Pirate Party Green Party of Quebec Communist Party Carlist Party of Euskalherria Pirate Party Pirate Party Switzerland Communist Organization of Greece Podemos Land Party Jaén en Común Galician Workers Front People's Party of Aragon Pirate Party Luxembourg League of Communists of Slovenia Peruvian Communist Party Pirate Party Australia Revolutionary Workers' Party (Spain) Pirate Party Communist Party of Lithuania Republican Left of the Valencian Country Riojan Party Amaiur Communist Party of Germany Communist Party of Luxembourg Socialist Party of Cantabria–PSOE Popular Socialists Galician Left Pirate Party of Kazakhstan Spanish Alternative Marxist–Leninist Party of Germany Estonian Pirate Party Unified Socialist Party of Catalonia Communist Party of Moldova Valencian Left Communist Party of Sri Lanka
166
action count
action approx
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
action count
action filter_multi_types
action find
entity Pirate Party Germany
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?d ) { ( ontology:special_field ) ( ontology:ideology ) } . ?k rdf:type ?d } GROUP BY ?i } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Pirate_Party_Germany property:political_ideology ?l . { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:special_field ) ( ontology:ideology ) } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q49766
P488
Q502895
USER
How many people chaired Alliance '90/The Greens ?
(Q49766,P488,c(Q502895))
action count
action filter_type
action find
entity Q49766
relation P488
type Q502895
['Q49766', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q49766 property:P488 ?z . ?z rdf:type ontology:Q502895 }
Alliance '90/The Greens
action count
action filter_type
action find
entity Alliance '90/The Greens
relation chairperson
type common name
["Alliance '90/The Greens", 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Alliance_'90/The_Greens property:chairperson ?z . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
13
Q31236 Q12839 Q78408 Q1243855 Q77525 Q1662598 Q75791 Q109979 Q11762 Q65128 Q102662 Q1789128 Q243081
(Q49766,P488,c(Q502895))
action count
action filter_type
action find
entity Q49766
relation P488
type Q502895
[ANSWER]
['Q49766', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q49766 property:P488 ?z . ?z rdf:type ontology:Q502895 }
Reinhard Bütikofer Cem Özdemir Fritz Kuhn Gunda Röstel Angelika Beer Ludger Volmer Claudia Roth Simone Peter Jürgen Trittin Renate Künast Antje Radcke Krista Sager Marianne Birthler
13
action count
action filter_type
action find
entity Alliance '90/The Greens
relation chairperson
type common name
["Alliance '90/The Greens", 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Alliance_'90/The_Greens property:chairperson ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q563335
Q502895
USER
And how about German Mathematical Society?
(Q563335,P488,c(Q502895))
action count
action filter_type
action find
entity Q563335
relation P488
type Q502895
['Q563335', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q563335 property:P488 ?s . ?s rdf:type ontology:Q502895 }
German Mathematical Society
action count
action filter_type
action find
entity German Mathematical Society
relation chairperson
type common name
['German Mathematical Society', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:German_Mathematical_Society property:chairperson ?s . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
75
(Q563335,P488,c(Q502895))
action count
action filter_type
action find
entity Q563335
relation P488
type Q502895
[ANSWER]
['Q563335', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q563335 property:P488 ?s . ?s rdf:type ontology:Q502895 }
75
action count
action filter_type
action find
entity German Mathematical Society
relation chairperson
type common name
['German Mathematical Society', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:German_Mathematical_Society property:chairperson ?s . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1086361 Q13129
P1383 P159
Q56061
USER
Which administrative territories are the head offices of Pirate Party Germany or are in Ștefan cel Mare ?
OR((Q13129,P159,c(Q56061)), (Q1086361,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q13129
relation P159
action find
entity Q1086361
relation P1383
type Q56061
{'OR': [['Q13129', 'P159', {'concept': 'Q56061'}], ['Q1086361', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q13129 property:P159 ?d } UNION { resource:Q1086361 property:P1383 ?d } } . ?d rdf:type ontology:Q56061 }
Ștefan cel Mare Pirate Party Germany
action filter_type
action union
action find
entity Pirate Party Germany
relation headquarters location
action find
entity Ștefan cel Mare
relation contains settlement
type administrative territorial entity
{'OR': [['Pirate Party Germany', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Ștefan cel Mare', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Pirate_Party_Germany property:headquarters_location ?d } UNION { resource:Ștefan_cel_Mare property:contains_settlement ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15885851 Q12147340 Q12133120 Q64 Q12093641 Q12098628 Q833287
SYSTEM
Ștefan cel Mare, Rădeana, Negoiești, Berlin, Viișoara, Gutinaș, Bogdana
Q15885851 Q12147340 Q12133120 Q64 Q12093641 Q12098628 Q833287
OR((Q13129,P159,c(Q56061)), (Q1086361,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q13129
relation P159
action find
entity Q1086361
relation P1383
type Q56061
[ANSWERS] are the head offices of Pirate Party Germany or are in Ștefan cel Mare
{'OR': [['Q13129', 'P159', {'concept': 'Q56061'}], ['Q1086361', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q13129 property:P159 ?d } UNION { resource:Q1086361 property:P1383 ?d } } . ?d rdf:type ontology:Q56061 }
Ștefan cel Mare Rădeana Negoiești Berlin Viișoara Gutinaș Bogdana
Ștefan cel Mare, Rădeana, Negoiești, Berlin, Viișoara, Gutinaș and Bogdana are the head offices of Pirate Party Germany or are in Ștefan cel Mare
Ștefan cel Mare Rădeana Negoiești Berlin Viișoara Gutinaș Bogdana
action filter_type
action union
action find
entity Pirate Party Germany
relation headquarters location
action find
entity Ștefan cel Mare
relation contains settlement
type administrative territorial entity
{'OR': [['Pirate Party Germany', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Ștefan cel Mare', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Pirate_Party_Germany property:headquarters_location ?d } UNION { resource:Ștefan_cel_Mare property:contains_settlement ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12133120
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q12133120,P17,c(Q15617994))
action filter_type
action find
entity Q12133120
relation P17
type Q15617994
['Q12133120', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q12133120 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Negoiești
action filter_type
action find
entity Negoiești
relation country
type designation for an administrative territorial entity
['Negoiești', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Negoiești property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q12098628
SYSTEM
Did you mean Gutinaș ?
Q15885851 Q12147340 Q12133120 Q64 Q12093641 Q12098628 Q833287
(Q15885851,P17,c(Q15617994)) (Q12147340,P17,c(Q15617994)) (Q12133120,P17,c(Q15617994)) (Q64,P17,c(Q15617994)) (Q12093641,P17,c(Q15617994)) (Q12098628,P17,c(Q15617994)) (Q833287,P17,c(Q15617994))
[ANSWER]
['Q15885851', 'P17', {'concept': 'Q15617994'}] ['Q12147340', 'P17', {'concept': 'Q15617994'}] ['Q12133120', 'P17', {'concept': 'Q15617994'}] ['Q64', 'P17', {'concept': 'Q15617994'}] ['Q12093641', 'P17', {'concept': 'Q15617994'}] ['Q12098628', 'P17', {'concept': 'Q15617994'}] ['Q833287', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q12133120 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Ștefan cel Mare Rădeana Negoiești Berlin Viișoara Gutinaș Bogdana
Did you mean Gutinaș ?
Gutinaș
['Ștefan cel Mare', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Rădeana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Negoiești', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Berlin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Viișoara', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gutinaș', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bogdana', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Negoiești property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Negoiești. Could you tell me the answer for that?
(Q12133120,P17,c(Q15617994))
Q12133120
['Q12133120', 'P17', {'concept': 'Q15617994'}]
['Negoiești', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q218
SYSTEM
Romania
Q218
(Q12133120,P17,c(Q15617994))
action filter_type
action find
entity Q12133120
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q12133120', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q12133120 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Romania
That administrative territory belongs to Romania
Romania
action filter_type
action find
entity Negoiești
relation country
type designation for an administrative territorial entity
['Negoiești', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Negoiești property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]