Simple Question (Direct)
Simple Question
Q16327315
P21
Q290
USER
Which sex does Dimitrios Kaloudis have ?
(Q16327315,P21,c(Q290))
action filter_type
action find
entity Q16327315
relation P21
type Q290
['Q16327315', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q16327315 property:P21 ?x . ?x rdf:type ontology:Q290 }
Dimitrios Kaloudis
action filter_type
action find
entity Dimitrios Kaloudis
relation gender
type sex
['Dimitrios Kaloudis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Dimitrios_Kaloudis property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16327315,P21,c(Q290))
action filter_type
action find
entity Q16327315
relation P21
type Q290
Dimitrios Kaloudis has a [ANSWER]
['Q16327315', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q16327315 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
Dimitrios Kaloudis has a male
male
action filter_type
action find
entity Dimitrios Kaloudis
relation gender
type sex
['Dimitrios Kaloudis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Dimitrios_Kaloudis property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16327315
P102
Q7210356
USER
Which party does Dimitrios Kaloudis belong to ?
(Q16327315,P102,c(Q7210356))
action filter_type
action find
entity Q16327315
relation P102
type Q7210356
['Q16327315', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q16327315 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Dimitrios Kaloudis
action filter_type
action find
entity Dimitrios Kaloudis
relation member of political party
type political organization
['Dimitrios Kaloudis', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Dimitrios_Kaloudis property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q223153
SYSTEM
New Democracy
Q223153
(Q16327315,P102,c(Q7210356))
action filter_type
action find
entity Q16327315
relation P102
type Q7210356
Dimitrios Kaloudis belongs to [ANSWER]
['Q16327315', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q16327315 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
New Democracy
Dimitrios Kaloudis belongs to New Democracy
New Democracy
action filter_type
action find
entity Dimitrios Kaloudis
relation member of political party
type political organization
['Dimitrios Kaloudis', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Dimitrios_Kaloudis property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q223153
P463
Q7278
USER
Which organization was that political organization a member of ?
(Q223153,P463,c(Q7278))
action filter_type
action find
entity Q223153
relation P463
type Q7278
['Q223153', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { resource:Q223153 property:P463 ?s . ?s rdf:type ontology:Q7278 }
New Democracy
action filter_type
action find
entity New Democracy
relation member of
type political party
['New Democracy', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { resource:New_Democracy property:member_of ?s . ?s rdf:type ontology:political_party }
[]
political party
Q208242
SYSTEM
European People's Party
Q208242
(Q223153,P463,c(Q7278))
action filter_type
action find
entity Q223153
relation P463
type Q7278
[ANSWER] was that political organization a member of
['Q223153', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { resource:Q223153 property:P463 ?s . ?s rdf:type ontology:Q7278 }
European People's Party
European People's Party was that political organization a member of
European People's Party
action filter_type
action find
entity New Democracy
relation member of
type political party
['New Democracy', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { resource:New_Democracy property:member_of ?s . ?s rdf:type ontology:political_party }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P102
Q7278 Q502895
USER
Which political parties are around the same number of people a member of 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 Q208242
relation P102
type Q7278
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Q208242 property:P102 ?h . ?h rdf:type ontology:Q7278 } } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:P102 ?l . ?f rdf:type ontology:Q502895 . ?l rdf:type ontology:Q7278 } GROUP BY ?l } }
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 European People's Party
relation member of political party
type political party
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:European_People's_Party property:member_of_political_party ?h . ?h rdf:type ontology:political_party } } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:member_of_political_party ?l . ?f rdf:type ontology:common_name . ?l rdf:type ontology:political_party } GROUP BY ?l } }
[]
political party common name
Q196695 Q662502 Q25713876
SYSTEM
Green League, Federation of the Greens, Catalan European Democratic Party
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 Q173236 Q2386352 Q1574974 Q1628993 Q371402 Q1780622 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 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 Q208242
relation P102
type Q7278
[ANSWERS] are around the same number of people a member of as that political party
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Q208242 property:P102 ?h . ?h rdf:type ontology:Q7278 } } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:P102 ?l . ?f rdf:type ontology:Q502895 . ?l rdf:type ontology:Q7278 } GROUP BY ?l } }
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 Convergence for the Isles Communist Party of the People of Spain Pirate Party UK Democratic Union of Catalonia Communist Party of Cuba Communist League 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 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
Green League, Federation of the Greens and Catalan European Democratic Party are around the same number of people a member of as that political party
Green League Federation of the Greens Catalan European Democratic Party
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 European People's Party
relation member of political party
type political party
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:European_People's_Party property:member_of_political_party ?h . ?h rdf:type ontology:political_party } } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:member_of_political_party ?l . ?f rdf:type ontology:common_name . ?l rdf:type ontology:political_party } GROUP BY ?l } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P102
Q7278 Q502895
USER
How many political parties are around the same number of people a member of as that political party ?
(c(Q502895),P102,c(Q7278))
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P102 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q7278 }
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:member_of_political_party ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_party }
[]
political party common name
Comparative|Count over More/Less|Single entity type|Clarification
Q25713876
SYSTEM
Did you mean Catalan European Democratic Party ?
(c(Q502895),P102,c(Q7278))
[ANSWER]
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P102 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q7278 }
Did you mean Catalan European Democratic Party ?
Catalan European Democratic Party
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:member_of_political_party ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_party }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P102,c(Q7278))
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
[]
SYSTEM
219
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 Q173236 Q2386352 Q1574974 Q1628993 Q371402 Q1780622 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 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))
[ANSWER]
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P102 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q7278 }
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 Convergence for the Isles Communist Party of the People of Spain Pirate Party UK Democratic Union of Catalonia Communist Party of Cuba Communist League 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 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
219
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:member_of_political_party ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_party }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q25713876 Q190044
P102
Q502895
USER
How many people are the members of Catalan European Democratic Party or technocracy ?
(c(Q502895),P102,Q25713876) (c(Q502895),P102,Q190044)
action count
action union
action filter_type
action find_reverse
entity Q25713876
relation P102
type Q502895
action filter_type
action find_reverse
entity Q190044
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q25713876'] [{'concept': 'Q502895'}, 'P102', 'Q190044']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { ?y property:P102 resource:Q25713876 . ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q502895 . ?y property:P102 resource:Q190044 } }
Catalan European Democratic Party technocracy
action count
action union
action filter_type
action find_reverse
entity Catalan European Democratic Party
relation member of political party
type common name
action filter_type
action find_reverse
entity technocracy
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Catalan European Democratic Party'] [{'concept': 'common name'}, 'member of political party', 'technocracy']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { ?y property:member_of_political_party resource:Catalan_European_Democratic_Party . ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:common_name . ?y property:member_of_political_party resource:technocracy } }
[]
common name
SYSTEM
29
Q20100417 Q26087473 Q14122133 Q11922769 Q20875467 Q6694437 Q605162 Q1392535 Q19301949 Q21001100 Q19301093 Q17036721 Q3218480 Q11928276 Q4740163 Q2171878 Q19301177 Q11936572 Q15731273 Q11938637 Q8015 Q24013874 Q11936552 Q14087605 Q16190254 Q24042274 Q25847824 Q25849947 Q21001436
(c(Q502895),P102,Q25713876) (c(Q502895),P102,Q190044)
action count
action union
action filter_type
action find_reverse
entity Q25713876
relation P102
type Q502895
action filter_type
action find_reverse
entity Q190044
relation P102
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P102', 'Q25713876'] [{'concept': 'Q502895'}, 'P102', 'Q190044']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { ?y property:P102 resource:Q25713876 . ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q502895 . ?y property:P102 resource:Q190044 } }
Lourdes Ciuró i Buldó Montserrat Grané Alsina Josep M. Cruset Domenech Francesc Homs Molist David Bonvehí i Torras Carles Campuzano Miquel Calçada Mohammed Karim Lamrani Toni Postius Terrado Ferran Bel i Accensi Maria Senserrich i Guitart Josep Rull i Andreu Latifa Labida Jordi Baiget i Cantons Carles Puigdemont i Casamajó Ramon Tremosa Mercè Homs i Molist Meritxell Ruiz i Isern Santi Vila i Vicente Neus Munte Fernandez Artur Mas Sílvia Requena i Martínez Mercè Conesa i Pagès Ramon Royes Guàrdia Jordi Cuminal i Roquet Jordi Monrós i Ibáñez Elsa Artadi i Vila Clara Tarrida i Felip Maria Teresa Rivero i Segalàs
29
action count
action union
action filter_type
action find_reverse
entity Catalan European Democratic Party
relation member of political party
type common name
action filter_type
action find_reverse
entity technocracy
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Catalan European Democratic Party'] [{'concept': 'common name'}, 'member of political party', 'technocracy']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { ?y property:member_of_political_party resource:Catalan_European_Democratic_Party . ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:common_name . ?y property:member_of_political_party resource:technocracy } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q208242 Q17156793
P361
Q12737077
USER
How many occupations are a portion of European People's Party or American football team ?
(c(Q12737077),P361,Q208242) (c(Q12737077),P361,Q17156793)
action count
action union
action filter_type
action find_reverse
entity Q208242
relation P361
type Q12737077
action filter_type
action find_reverse
entity Q17156793
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q208242'] [{'concept': 'Q12737077'}, 'P361', 'Q17156793']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P361 ?u . VALUES ( ?u ) { ( resource:Q208242 ) ( resource:Q17156793 ) } }
European People's Party American football team
action count
action union
action filter_type
action find_reverse
entity European People's Party
relation part of
type occupation
action filter_type
action find_reverse
entity American football team
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', "European People's Party"] [{'concept': 'occupation'}, 'part of', 'American football team']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:part_of ?u . VALUES ( ?u ) { ( resource:European_People's_Party ) ( resource:American_football_team ) } }
[]
occupation
SYSTEM
2
Q19204627 Q5532362
(c(Q12737077),P361,Q208242) (c(Q12737077),P361,Q17156793)
action count
action union
action filter_type
action find_reverse
entity Q208242
relation P361
type Q12737077
action filter_type
action find_reverse
entity Q17156793
relation P361
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P361', 'Q208242'] [{'concept': 'Q12737077'}, 'P361', 'Q17156793']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:P361 ?u . VALUES ( ?u ) { ( resource:Q208242 ) ( resource:Q17156793 ) } }
American football player General manager
2
action count
action union
action filter_type
action find_reverse
entity European People's Party
relation part of
type occupation
action filter_type
action find_reverse
entity American football team
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', "European People's Party"] [{'concept': 'occupation'}, 'part of', 'American football team']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { ?v property:part_of ?u . VALUES ( ?u ) { ( resource:European_People's_Party ) ( resource:American_football_team ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q208242
P1142
Q1047113
USER
Which special field is the political ideology of European People's Party ?
(Q208242,P1142,c(Q1047113))
action filter_type
action find
entity Q208242
relation P1142
type Q1047113
['Q208242', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?q WHERE { resource:Q208242 property:P1142 ?q . ?q rdf:type ontology:Q1047113 }
European People's Party
action filter_type
action find
entity European People's Party
relation political ideology
type special field
["European People's Party", 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?q WHERE { resource:European_People's_Party property:political_ideology ?q . ?q rdf:type ontology:special_field }
[]
special field
Q7169
SYSTEM
conservatism
Q7169
(Q208242,P1142,c(Q1047113))
action filter_type
action find
entity Q208242
relation P1142
type Q1047113
Party [ANSWER] is the political ideology of European People's Party
['Q208242', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?q WHERE { resource:Q208242 property:P1142 ?q . ?q rdf:type ontology:Q1047113 }
conservatism
Party conservatism is the political ideology of European People's Party
conservatism
action filter_type
action find
entity European People's Party
relation political ideology
type special field
["European People's Party", 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?q WHERE { resource:European_People's_Party property:political_ideology ?q . ?q rdf:type ontology:special_field }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q208242
P488
Q502895
USER
Which person was the chairperson of European People's Party ?
(Q208242,P488,c(Q502895))
action filter_type
action find
entity Q208242
relation P488
type Q502895
['Q208242', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q208242 property:P488 ?t . ?t rdf:type ontology:Q502895 }
European People's Party
action filter_type
action find
entity European People's Party
relation chairperson
type common name
["European People's Party", 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:European_People's_Party property:chairperson ?t . ?t rdf:type ontology:common_name }
[]
common name
Q696028
SYSTEM
Joseph Daul
Q696028
(Q208242,P488,c(Q502895))
action filter_type
action find
entity Q208242
relation P488
type Q502895
[ANSWER] was the chairperson of European People's Party
['Q208242', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q208242 property:P488 ?t . ?t rdf:type ontology:Q502895 }
Joseph Daul
Joseph Daul was the chairperson of European People's Party
Joseph Daul
action filter_type
action find
entity European People's Party
relation chairperson
type common name
["European People's Party", 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:European_People's_Party property:chairperson ?t . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q696028 Q1073752
P488
Q7278
USER
Does Hungarian Working People's Party have that person as its chairperson ?
(Q1073752,P488,Q696028)
action is_in
entity Q1073752
action find
entity Q696028
relation P488
['Q1073752', 'P488', 'Q696028']
ASK WHERE { resource:Q696028 property:P488 resource:Q1073752 }
Joseph Daul Hungarian Working People's Party
action is_in
entity Hungarian Working People's Party
action find
entity Joseph Daul
relation chairperson
["Hungarian Working People's Party", 'chairperson', 'Joseph Daul']
ASK WHERE { resource:Joseph_Daul property:chairperson resource:Hungarian_Working_People's_Party }
[]
political party
SYSTEM
NO
(Q1073752,P488,Q696028)
action is_in
entity Q1073752
action find
entity Q696028
relation P488
[ANSWER]
['Q1073752', 'P488', 'Q696028']
ASK WHERE { resource:Q696028 property:P488 resource:Q1073752 }
No
action is_in
entity Hungarian Working People's Party
action find
entity Joseph Daul
relation chairperson
["Hungarian Working People's Party", 'chairperson', 'Joseph Daul']
ASK WHERE { resource:Joseph_Daul property:chairperson resource:Hungarian_Working_People's_Party }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3937851 Q16327315
P27
Q15617994
USER
Which administrative territories are Dimitrios Kaloudis or Rival Capone an inhabitant of ?
OR((Q16327315,P27,c(Q15617994)), (Q3937851,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16327315
relation P27
action find
entity Q3937851
relation P27
type Q15617994
{'OR': [['Q16327315', 'P27', {'concept': 'Q15617994'}], ['Q3937851', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q16327315 property:P27 ?o } UNION { resource:Q3937851 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
Rival Capone Dimitrios Kaloudis
action filter_type
action union
action find
entity Dimitrios Kaloudis
relation country of citizenship
action find
entity Rival Capone
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Dimitrios Kaloudis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rival Capone', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Dimitrios_Kaloudis property:country_of_citizenship ?o } UNION { resource:Rival_Capone property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q41
SYSTEM
Belgium, Greece
Q31 Q41
OR((Q16327315,P27,c(Q15617994)), (Q3937851,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16327315
relation P27
action find
entity Q3937851
relation P27
type Q15617994
[ANSWERS] are Dimitrios Kaloudis or Rival Capone an inhabitant of
{'OR': [['Q16327315', 'P27', {'concept': 'Q15617994'}], ['Q3937851', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q16327315 property:P27 ?o } UNION { resource:Q3937851 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
Belgium Greece
Belgium and Greece are Dimitrios Kaloudis or Rival Capone an inhabitant of
Belgium Greece
action filter_type
action union
action find
entity Dimitrios Kaloudis
relation country of citizenship
action find
entity Rival Capone
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Dimitrios Kaloudis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rival Capone', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Dimitrios_Kaloudis property:country_of_citizenship ?o } UNION { resource:Rival_Capone property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P276
Q34442 Q8065
USER
How many roads or natural disasters have their location as that administrative territory ?
(c(Q34442),P276,Q31) (c(Q8065),P276,Q31) (c(Q34442),P276,Q31) (c(Q8065),P276,Q31) (c(Q34442),P276,Q41) (c(Q8065),P276,Q41)
[{'concept': 'Q34442'}, 'P276', 'Q31'] [{'concept': 'Q8065'}, 'P276', 'Q31'] [{'concept': 'Q34442'}, 'P276', 'Q31'] [{'concept': 'Q8065'}, 'P276', 'Q31'] [{'concept': 'Q34442'}, 'P276', 'Q41'] [{'concept': 'Q8065'}, 'P276', 'Q41']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q19072874 } UNION { ?y property:Q17334923 resource:Q19072874 } UNION { ?z property:Q17334923 resource:Q19072874 } UNION { ?y property:Q17334923 resource:Q19072874 } UNION { ?z property:Q17334923 resource:Q2610369 } UNION { ?y property:Q17334923 resource:Q2610369 } } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q8065 }
[{'concept': 'road'}, 'location', 'Belgium'] [{'concept': 'natural disaster'}, 'location', 'Belgium'] [{'concept': 'road'}, 'location', 'Belgium'] [{'concept': 'natural disaster'}, 'location', 'Belgium'] [{'concept': 'road'}, 'location', 'Greece'] [{'concept': 'natural disaster'}, 'location', 'Greece']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Belgium } UNION { ?y property:location resource:Belgium } UNION { ?z property:location resource:Belgium } UNION { ?y property:location resource:Belgium } UNION { ?z property:location resource:Greece } UNION { ?y property:location resource:Greece } } . ?z rdf:type ontology:road . ?y rdf:type ontology:natural_disaster }
[]
road natural disaster
Quantitative|Count|Mult. entity type|Clarification
Q31
SYSTEM
Did you mean Belgium ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q19072874 } UNION { ?y property:Q17334923 resource:Q19072874 } UNION { ?z property:Q17334923 resource:Q19072874 } UNION { ?y property:Q17334923 resource:Q19072874 } UNION { ?z property:Q17334923 resource:Q2610369 } UNION { ?y property:Q17334923 resource:Q2610369 } } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q8065 }
Did you mean Belgium ?
Belgium
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Belgium } UNION { ?y property:location resource:Belgium } UNION { ?z property:location resource:Belgium } UNION { ?y property:location resource:Belgium } UNION { ?z property:location resource:Greece } UNION { ?y property:location resource:Greece } } . ?z rdf:type ontology:road . ?y rdf:type ontology:natural_disaster }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q34442),P276,Q31) (c(Q8065),P276,Q31) (c(Q34442),P276,Q31) (c(Q8065),P276,Q31) (c(Q34442),P276,Q41) (c(Q8065),P276,Q41)
[{'concept': 'Q34442'}, 'P276', 'Q31'] [{'concept': 'Q8065'}, 'P276', 'Q31'] [{'concept': 'Q34442'}, 'P276', 'Q31'] [{'concept': 'Q8065'}, 'P276', 'Q31'] [{'concept': 'Q34442'}, 'P276', 'Q41'] [{'concept': 'Q8065'}, 'P276', 'Q41']
[{'concept': 'road'}, 'location', 'Belgium'] [{'concept': 'natural disaster'}, 'location', 'Belgium'] [{'concept': 'road'}, 'location', 'Belgium'] [{'concept': 'natural disaster'}, 'location', 'Belgium'] [{'concept': 'road'}, 'location', 'Greece'] [{'concept': 'natural disaster'}, 'location', 'Greece']
[]
SYSTEM
3
Q24287229 Q17708756 Q17708812
(c(Q34442),P276,Q31) (c(Q8065),P276,Q31) (c(Q34442),P276,Q31) (c(Q8065),P276,Q31) (c(Q34442),P276,Q41) (c(Q8065),P276,Q41)
[ANSWER]
[{'concept': 'Q34442'}, 'P276', 'Q31'] [{'concept': 'Q8065'}, 'P276', 'Q31'] [{'concept': 'Q34442'}, 'P276', 'Q31'] [{'concept': 'Q8065'}, 'P276', 'Q31'] [{'concept': 'Q34442'}, 'P276', 'Q41'] [{'concept': 'Q8065'}, 'P276', 'Q41']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q19072874 } UNION { ?y property:Q17334923 resource:Q19072874 } UNION { ?z property:Q17334923 resource:Q19072874 } UNION { ?y property:Q17334923 resource:Q19072874 } UNION { ?z property:Q17334923 resource:Q2610369 } UNION { ?y property:Q17334923 resource:Q2610369 } } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q8065 }
2016 European floods Van Cortbeemdelei Albert bevernagelei
3
[{'concept': 'road'}, 'location', 'Belgium'] [{'concept': 'natural disaster'}, 'location', 'Belgium'] [{'concept': 'road'}, 'location', 'Belgium'] [{'concept': 'natural disaster'}, 'location', 'Belgium'] [{'concept': 'road'}, 'location', 'Greece'] [{'concept': 'natural disaster'}, 'location', 'Greece']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Belgium } UNION { ?y property:location resource:Belgium } UNION { ?z property:location resource:Belgium } UNION { ?y property:location resource:Belgium } UNION { ?z property:location resource:Greece } UNION { ?y property:location resource:Greece } } . ?z rdf:type ontology:road . ?y rdf:type ontology:natural_disaster }
[]