Simple Question (Direct)
Simple Question
Q15042104
P102
Q7278
USER
Which political party is Annie Hervé a member of ?
(Q15042104,P102,c(Q7278))
action filter_type
action find
entity Q15042104
relation P102
type Q7278
['Q15042104', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?h WHERE { resource:Q15042104 property:P102 ?h . ?h rdf:type ontology:Q7278 }
Annie Hervé
action filter_type
action find
entity Annie Hervé
relation member of political party
type political party
['Annie Hervé', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?h WHERE { resource:Annie_Hervé property:member_of_political_party ?h . ?h rdf:type ontology:political_party }
[]
political party
Q192821
SYSTEM
French Communist Party
Q192821
(Q15042104,P102,c(Q7278))
action filter_type
action find
entity Q15042104
relation P102
type Q7278
The [ANSWER] is Annie Hervé a member of
['Q15042104', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?h WHERE { resource:Q15042104 property:P102 ?h . ?h rdf:type ontology:Q7278 }
French Communist Party
The French Communist Party is Annie Hervé a member of
French Communist Party
action filter_type
action find
entity Annie Hervé
relation member of political party
type political party
['Annie Hervé', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?h WHERE { resource:Annie_Hervé property:member_of_political_party ?h . ?h rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15042104
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q192821)
action filter_type
action find
entity Q15042104
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q192821']
SELECT DISTINCT ?z WHERE { resource:Q15042104 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Annie Hervé
action filter_type
action find
entity Annie Hervé
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'French Communist Party']
SELECT DISTINCT ?z WHERE { resource:Annie_Hervé property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Q3385450
SYSTEM
Pierre Hervé
Q3385450
(c(Q502895),P26,Q192821)
action filter_type
action find
entity Q15042104
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q192821']
SELECT DISTINCT ?z WHERE { resource:Q15042104 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Pierre Hervé
Pierre Hervé has that one as spouse
Pierre Hervé
action filter_type
action find
entity Annie Hervé
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'French Communist Party']
SELECT DISTINCT ?z WHERE { resource:Annie_Hervé property:spouse ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P26
Q502895
USER
How many people are the life partner of that person ?
(c(Q502895),P26,Q3385450)
action count
action filter_type
action find_reverse
entity Q3385450
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3385450']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:P26 resource:Q3385450 . ?o rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Pierre Hervé
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Pierre Hervé']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:spouse resource:Pierre_Hervé . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q15042104
(c(Q502895),P26,Q3385450)
action count
action filter_type
action find_reverse
entity Q3385450
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q3385450']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:P26 resource:Q3385450 . ?o rdf:type ontology:Q502895 }
Annie Hervé
1
action count
action filter_type
action find_reverse
entity Pierre Hervé
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Pierre Hervé']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:spouse resource:Pierre_Hervé . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15042104
P734
Q82799
USER
Which name is associated with Annie Hervé ?
(Q15042104,P734,c(Q82799))
action filter_type
action find
entity Q15042104
relation P734
type Q82799
['Q15042104', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q15042104 property:P734 ?r }
Annie Hervé
action filter_type
action find
entity Annie Hervé
relation family name
type name
['Annie Hervé', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Annie_Hervé property:family_name ?r }
[]
name
Q23833609
SYSTEM
Hervé
Q23833609
(Q15042104,P734,c(Q82799))
action filter_type
action find
entity Q15042104
relation P734
type Q82799
Guillaume [ANSWER] is associated with Annie [ANSWER]
['Q15042104', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q15042104 property:P734 ?r }
Hervé
Guillaume Hervé is associated with Annie Hervé
Hervé
action filter_type
action find
entity Annie Hervé
relation family name
type name
['Annie Hervé', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Annie_Hervé property:family_name ?r }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3181825
P1142
Q1047113 Q7257 Q7278
USER
How many political parties have the ideology as approximately the same number of special fields and ideologies as Revolutionary Communist Party ?
(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 Q3181825
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?k ) WHERE { { ?u property:P1142 ?y . ?u rdf:type ontology:Q7278 . ?y rdf:type ontology:Q1047113 } UNION { ?u property:P1142 ?y . ?u rdf:type ontology:Q7278 . ?y rdf:type ontology:Q7257 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q3181825 property:P1142 ?n . { { ?n rdf:type ontology:Q1047113 } UNION { ?n rdf:type ontology:Q7257 } } } } . FILTER ( ?k = ?j ) }
Revolutionary Communist Party
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 Revolutionary Communist Party
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?k ) WHERE { { ?u property:political_ideology ?y . ?u rdf:type ontology:political_party . ?y rdf:type ontology:special_field } UNION { ?u property:political_ideology ?y . ?u rdf:type ontology:political_party . ?y rdf:type ontology:ideology } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Revolutionary_Communist_Party property:political_ideology ?n . { { ?n rdf:type ontology:special_field } UNION { ?n rdf:type ontology:ideology } } } } . FILTER ( ?k = ?j ) }
[]
special field ideology political party
SYSTEM
155
Q3395191 Q280906 Q3121556 Q950179 Q781486 Q3751152 Q5154286 Q852329 Q8960633 Q1778910 Q3499324 Q2576679 Q605468 Q3395560 Q1422942 Q438783 Q6063944 Q1445096 Q2531228 Q25079 Q2885750 Q587803 Q385543 Q3322686 Q43093 Q2031569 Q3366659 Q3133199 Q1104327 Q368067 Q980471 Q3573249 Q2395103 Q3306235 Q49758 Q2366462 Q3307042 Q2395467 Q155820 Q1278980 Q5033985 Q79854 Q1987660 Q3296785 Q3324157 Q2866675 Q371402 Q641600 Q3045391 Q1276239 Q49621 Q9056182 Q3327144 Q549209 Q4894568 Q3313706 Q713302 Q1437906 Q3306974 Q617603 Q537649 Q185088 Q325413 Q202649 Q584040 Q1737170 Q3328003 Q1125061 Q2257766 Q217009 Q2118395 Q3313721 Q1377195 Q2838243 Q9056254 Q1153753 Q3326408 Q3327113 Q7309255 Q2749535 Q2733414 Q1786349 Q2876738 Q9056440 Q1089640 Q3322790 Q1577483 Q6064176 Q4753534 Q662502 Q576518 Q794247 Q3751189 Q220945 Q777074 Q2165306 Q3750882 Q209546 Q659739 Q3320917 Q9669 Q5154414 Q883448 Q4345980 Q3306652 Q2054574 Q581186 Q2055003 Q634372 Q3322771 Q3028838 Q11698116 Q3328052 Q3327928 Q1029761 Q1359816 Q18761823 Q17427 Q3395147 Q611548 Q2099347 Q3366598 Q3125165 Q3089721 Q49756 Q965481 Q49754 Q49755 Q639383 Q3133156 Q625556 Q6063925 Q1412555 Q606955 Q788345 Q3306992 Q3780661 Q3134856 Q5604424 Q3328040 Q3047694 Q3327447 Q3571603 Q3181825 Q956240 Q1780610 Q2597196 Q937365 Q3175770 Q6063953 Q427325 Q8347650 Q3133165 Q8350511 Q885433
(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 Q3181825
relation P1142
type Q1047113
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?k ) WHERE { { ?u property:P1142 ?y . ?u rdf:type ontology:Q7278 . ?y rdf:type ontology:Q1047113 } UNION { ?u property:P1142 ?y . ?u rdf:type ontology:Q7278 . ?y rdf:type ontology:Q7257 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q3181825 property:P1142 ?n . { { ?n rdf:type ontology:Q1047113 } UNION { ?n rdf:type ontology:Q7257 } } } } . FILTER ( ?k = ?j ) }
Liberal Democratic Party (Spain) Socialist Party of Navarra-PSOE Syndicalist Party European Green Party Australian Greens Democrats Convergence of Navarre Communist Initiative Movement for a Europe of Liberties and Democracy Ezker Anitza Popular Socialist Party Green Party Communist Party of Greece (Marxist–Leninist) Communist Party of Poland Partido Galeguista Demócrata Radical Democratic Party Democratic Alternative Revolutionary Communist Party People's Party of Catalonia Euskadiko Ezkerra Alliance of Liberals and Democrats for Europe Party Socialist Party of National Liberation Communist Party of Norway Communist Party of the Netherlands Liberal Party Basque Nationalist Party People's Party of Galicia Russian Party Revolutionary Communist League Canarian Coalition Alliance of European National Movements Regional Action Communist Party of Aragon Pridnestrovie Communist Party Partido Galeguista National Democratic Party of Germany Regionalist Party of Cantabria Communist Party of National Liberation Communist Party of West Belarus Constitutional Democratic Party Andalusian Party Cantonal Party Communist Party of the Soviet Union Green Confederation Galician Socialist Party-Galician Left Galician Party of the Proletariat Askatasuna Communist Party of Cuba Japanese Communist Party Ezker Batua – Berdeak EUDemocrats Workers Party of South Korea Christian Democratic Party Liberal Democratic Centre Union of the Democratic Centre Communist Party of Asturias Assembleia do Povo Unido Green Party Taiwan Asturias Forum Galician Nationalist Party-Galicianist Party Communist Workers' Party of Germany Communist Party of Hungary People's Party Communist Party of Belarus Party of the European Left España 2000 Italian Pirate Party Nationalist Left Eusko Alkartasuna Spanish Communist Workers' Party Socialist Revolutionary Party Algerian Communist Party Catalunya Lliure European Alliance for Freedom People's Alliance People's Party of Cantabria Ecology Generation Communist Party of the Valencian Country Communist Party of Spain Regionalist Party of Guadalajara Galician Left Alternative Socialist Party of the Basque Country – Basque Country Left Spanish Communist Workers' Party Democratic Left Nationalist Party of the Valencian Country Chunta Aragonesista Euskal Ezkerra Alliance of European Conservatives and Reformists Nationalist Party of Cantabria Andalusian Social Liberal Party Federation of the Greens Communist Party of Aragon Partíu Asturianista Alternativa Popular Canaria Party of European Socialists Communist Party of Burma People's Alliance Communist Party of the Basque Country Batasuna Green Party of Switzerland Equo Green Party of England and Wales Communist Party of Madrid Association for Solidarity Perspectives Party of Democratic Reform Galician Coalition Aragonese Party Communist Party of Albania Socialists' Party of Catalonia Democratic Popular Party Euskal Iraultzarako Alderdia Social Democratic Party Unified Socialist Party of Andalusia Partido Galeguista Anova-Nationalist Brotherhood Euskal Herria Bildu Communist Party of Thailand The Greens Communist Party of China Democratic Reformist Party Bildu Azerbaijan Communist Party People's Party of Navarre Democratic Federal Republican Party Workers' Communist Party Democratic Farmers' Party of Germany Communist Party Christian Democratic Union Liberal Democratic Party of Germany European Free Alliance Unified Communist Party of Spain Aralar Party Castilian Party Communist League of West Germany Communist Party of South Ossetia Democratic and Social Centre Galician Workers Party Communist Party of the Canaries Communist Party of Spain (Marxist–Leninist) Greens New South Wales National Front of Catalonia Socialist Party of Galicia United Left Socialist Party of Aragon Revolutionary Communist Party Spanish Socialist Workers' Party of Andalusia Communist Party of Latvia Brazilian Communist Party PSM-Nationalist Agreement Communist Party of Spain (Reconstituted) Partido Comunista de Galicia Communist Party of Vietnam Unitarian Candidacy of Workers Workers' Party of Spain – Communist Unity Galician Convergence Galician Nationalist Bloc
155
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 Revolutionary Communist Party
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?k ) WHERE { { ?u property:political_ideology ?y . ?u rdf:type ontology:political_party . ?y rdf:type ontology:special_field } UNION { ?u property:political_ideology ?y . ?u rdf:type ontology:political_party . ?y rdf:type ontology:ideology } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Revolutionary_Communist_Party property:political_ideology ?n . { { ?n rdf:type ontology:special_field } UNION { ?n rdf:type ontology:ideology } } } } . FILTER ( ?k = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1351963
P1142
Q1047113 Q7257 Q7278
USER
And also tell me about Citizenship, Action, Participation for the 21st Century?
(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 Q1351963
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:Q1351963 property:P1142 ?v . { { ?v rdf:type ontology:Q1047113 } UNION { ?v rdf:type ontology:Q7257 } } } } . FILTER ( ?o = ?e ) }
Citizenship, Action, Participation for the 21st Century
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 Citizenship, Action, Participation for the 21st Century
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:special_field ) ( ontology:ideology ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:Citizenship,_Action,_Participation_for_the_21st_Century property:political_ideology ?v . { { ?v rdf:type ontology:special_field } UNION { ?v rdf:type ontology:ideology } } } } . FILTER ( ?o = ?e ) }
[]
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 Q1351963
relation P1142
type Q1047113
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:Q1351963 property:P1142 ?v . { { ?v rdf:type ontology:Q1047113 } UNION { ?v rdf:type ontology:Q7257 } } } } . FILTER ( ?o = ?e ) }
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 Citizenship, Action, Participation for the 21st Century
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:special_field ) ( ontology:ideology ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:Citizenship,_Action,_Participation_for_the_21st_Century property:political_ideology ?v . { { ?v rdf:type ontology:special_field } UNION { ?v rdf:type ontology:ideology } } } } . FILTER ( ?o = ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2031569
P1142
Q1047113 Q7257 Q7278
USER
Which political parties promote around the same number of special fields and ideologies as People's Party of Galicia ?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
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 Q2031569
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?o ) WHERE { { ?c property:P1142 ?g . ?c rdf:type ontology:Q7278 . ?g rdf:type ontology:Q1047113 } UNION { ?c property:P1142 ?g . ?g rdf:type ontology:Q7257 . ?c rdf:type ontology:Q7278 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { { ?m rdf:type ontology:Q1047113 } UNION { ?m rdf:type ontology:Q7257 } } . resource:Q2031569 property:P1142 ?m } } . FILTER ( ?o = ?d ) }
People's Party of Galicia
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 People's Party of Galicia
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?o ) WHERE { { ?c property:political_ideology ?g . ?c rdf:type ontology:political_party . ?g rdf:type ontology:special_field } UNION { ?c property:political_ideology ?g . ?g rdf:type ontology:ideology . ?c rdf:type ontology:political_party } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { { ?m rdf:type ontology:special_field } UNION { ?m rdf:type ontology:ideology } } . resource:People's_Party_of_Galicia property:political_ideology ?m } } . FILTER ( ?o = ?d ) }
[]
special field ideology political party
Q662502 Q17427 Q185088
SYSTEM
Federation of the Greens, Communist Party of China, People's Party
Q3395191 Q280906 Q3121556 Q950179 Q781486 Q3751152 Q5154286 Q852329 Q8960633 Q1778910 Q3499324 Q2576679 Q605468 Q3395560 Q1422942 Q438783 Q6063944 Q1445096 Q2531228 Q25079 Q2885750 Q587803 Q385543 Q3322686 Q43093 Q2031569 Q3366659 Q3133199 Q1104327 Q368067 Q980471 Q3573249 Q2395103 Q3306235 Q49758 Q2366462 Q3307042 Q2395467 Q155820 Q1278980 Q5033985 Q79854 Q1987660 Q3296785 Q3324157 Q2866675 Q371402 Q641600 Q3045391 Q1276239 Q49621 Q9056182 Q3327144 Q549209 Q4894568 Q3313706 Q713302 Q1437906 Q3306974 Q617603 Q537649 Q185088 Q325413 Q202649 Q584040 Q1737170 Q3328003 Q1125061 Q2257766 Q217009 Q2118395 Q3313721 Q1377195 Q2838243 Q9056254 Q1153753 Q3326408 Q3327113 Q7309255 Q2749535 Q2733414 Q1786349 Q2876738 Q9056440 Q1089640 Q3322790 Q1577483 Q6064176 Q4753534 Q662502 Q576518 Q794247 Q3751189 Q220945 Q777074 Q2165306 Q3750882 Q209546 Q659739 Q3320917 Q9669 Q5154414 Q883448 Q4345980 Q3306652 Q2054574 Q581186 Q2055003 Q634372 Q3322771 Q3028838 Q11698116 Q3328052 Q3327928 Q1029761 Q1359816 Q18761823 Q17427 Q3395147 Q611548 Q2099347 Q3366598 Q3125165 Q3089721 Q49756 Q965481 Q49754 Q49755 Q639383 Q3133156 Q625556 Q6063925 Q1412555 Q606955 Q788345 Q3306992 Q3780661 Q3134856 Q5604424 Q3328040 Q3047694 Q3327447 Q3571603 Q3181825 Q956240 Q1780610 Q2597196 Q937365 Q3175770 Q6063953 Q427325 Q8347650 Q3133165 Q8350511 Q885433
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
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 Q2031569
relation P1142
type Q1047113
type Q7257
[ANSWERS] promote around the same number of special fields and ideologies as People's Party of Galicia
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?o ) WHERE { { ?c property:P1142 ?g . ?c rdf:type ontology:Q7278 . ?g rdf:type ontology:Q1047113 } UNION { ?c property:P1142 ?g . ?g rdf:type ontology:Q7257 . ?c rdf:type ontology:Q7278 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { { ?m rdf:type ontology:Q1047113 } UNION { ?m rdf:type ontology:Q7257 } } . resource:Q2031569 property:P1142 ?m } } . FILTER ( ?o = ?d ) }
Liberal Democratic Party (Spain) Socialist Party of Navarra-PSOE Syndicalist Party European Green Party Australian Greens Democrats Convergence of Navarre Communist Initiative Movement for a Europe of Liberties and Democracy Ezker Anitza Popular Socialist Party Green Party Communist Party of Greece (Marxist–Leninist) Communist Party of Poland Partido Galeguista Demócrata Radical Democratic Party Democratic Alternative Revolutionary Communist Party People's Party of Catalonia Euskadiko Ezkerra Alliance of Liberals and Democrats for Europe Party Socialist Party of National Liberation Communist Party of Norway Communist Party of the Netherlands Liberal Party Basque Nationalist Party People's Party of Galicia Russian Party Revolutionary Communist League Canarian Coalition Alliance of European National Movements Regional Action Communist Party of Aragon Pridnestrovie Communist Party Partido Galeguista National Democratic Party of Germany Regionalist Party of Cantabria Communist Party of National Liberation Communist Party of West Belarus Constitutional Democratic Party Andalusian Party Cantonal Party Communist Party of the Soviet Union Green Confederation Galician Socialist Party-Galician Left Galician Party of the Proletariat Askatasuna Communist Party of Cuba Japanese Communist Party Ezker Batua – Berdeak EUDemocrats Workers Party of South Korea Christian Democratic Party Liberal Democratic Centre Union of the Democratic Centre Communist Party of Asturias Assembleia do Povo Unido Green Party Taiwan Asturias Forum Galician Nationalist Party-Galicianist Party Communist Workers' Party of Germany Communist Party of Hungary People's Party Communist Party of Belarus Party of the European Left España 2000 Italian Pirate Party Nationalist Left Eusko Alkartasuna Spanish Communist Workers' Party Socialist Revolutionary Party Algerian Communist Party Catalunya Lliure European Alliance for Freedom People's Alliance People's Party of Cantabria Ecology Generation Communist Party of the Valencian Country Communist Party of Spain Regionalist Party of Guadalajara Galician Left Alternative Socialist Party of the Basque Country – Basque Country Left Spanish Communist Workers' Party Democratic Left Nationalist Party of the Valencian Country Chunta Aragonesista Euskal Ezkerra Alliance of European Conservatives and Reformists Nationalist Party of Cantabria Andalusian Social Liberal Party Federation of the Greens Communist Party of Aragon Partíu Asturianista Alternativa Popular Canaria Party of European Socialists Communist Party of Burma People's Alliance Communist Party of the Basque Country Batasuna Green Party of Switzerland Equo Green Party of England and Wales Communist Party of Madrid Association for Solidarity Perspectives Party of Democratic Reform Galician Coalition Aragonese Party Communist Party of Albania Socialists' Party of Catalonia Democratic Popular Party Euskal Iraultzarako Alderdia Social Democratic Party Unified Socialist Party of Andalusia Partido Galeguista Anova-Nationalist Brotherhood Euskal Herria Bildu Communist Party of Thailand The Greens Communist Party of China Democratic Reformist Party Bildu Azerbaijan Communist Party People's Party of Navarre Democratic Federal Republican Party Workers' Communist Party Democratic Farmers' Party of Germany Communist Party Christian Democratic Union Liberal Democratic Party of Germany European Free Alliance Unified Communist Party of Spain Aralar Party Castilian Party Communist League of West Germany Communist Party of South Ossetia Democratic and Social Centre Galician Workers Party Communist Party of the Canaries Communist Party of Spain (Marxist–Leninist) Greens New South Wales National Front of Catalonia Socialist Party of Galicia United Left Socialist Party of Aragon Revolutionary Communist Party Spanish Socialist Workers' Party of Andalusia Communist Party of Latvia Brazilian Communist Party PSM-Nationalist Agreement Communist Party of Spain (Reconstituted) Partido Comunista de Galicia Communist Party of Vietnam Unitarian Candidacy of Workers Workers' Party of Spain – Communist Unity Galician Convergence Galician Nationalist Bloc
Federation of the Greens, Communist Party of China and People's Party promote around the same number of special fields and ideologies as People's Party of Galicia
Federation of the Greens Communist Party of China People's Party
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 People's Party of Galicia
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?o ) WHERE { { ?c property:political_ideology ?g . ?c rdf:type ontology:political_party . ?g rdf:type ontology:special_field } UNION { ?c property:political_ideology ?g . ?g rdf:type ontology:ideology . ?c rdf:type ontology:political_party } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { { ?m rdf:type ontology:special_field } UNION { ?m rdf:type ontology:ideology } } . resource:People's_Party_of_Galicia property:political_ideology ?m } } . FILTER ( ?o = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3079953
P1142
Q1047113 Q7257 Q7278
USER
And also tell me about Pirate Party Luxembourg?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
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 Q3079953
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?i WHERE { ?y rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q3079953 property:P1142 ?t . { VALUES ( ?b ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } . ?t rdf:type ?b } } } . FILTER ( ?m = ?e ) }
Pirate Party Luxembourg
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 Luxembourg
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?i WHERE { ?y rdf:type ?w . VALUES ( ?w ) { ( ontology:special_field ) ( ontology:ideology ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Pirate_Party_Luxembourg property:political_ideology ?t . { VALUES ( ?b ) { ( ontology:ideology ) ( ontology:special_field ) } . ?t rdf:type ?b } } } . FILTER ( ?m = ?e ) }
[]
special field ideology political party
Q16059622 Q13129 Q49750
SYSTEM
Podemos, Pirate Party Germany, Socialist Unity Party of Germany
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 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 Q3079953
relation P1142
type Q1047113
type Q7257
[ANSWERS]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?i WHERE { ?y rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q3079953 property:P1142 ?t . { VALUES ( ?b ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } . ?t rdf:type ?b } } } . FILTER ( ?m = ?e ) }
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
Podemos Pirate Party Germany Socialist Unity Party of Germany
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 Luxembourg
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?i WHERE { ?y rdf:type ?w . VALUES ( ?w ) { ( ontology:special_field ) ( ontology:ideology ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Pirate_Party_Luxembourg property:political_ideology ?t . { VALUES ( ?b ) { ( ontology:ideology ) ( ontology:special_field ) } . ?t rdf:type ?b } } } . FILTER ( ?m = ?e ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q82955 Q1351963
P106 P102
Q502895
USER
Which people are the members of Citizenship, Action, Participation for the 21st Century and have the profession of politician ?
AND((c(Q502895),P102,Q1351963), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q1351963
relation P102
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q1351963'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?f WHERE { ?f property:P102 resource:Q1351963 . ?f property:P106 resource:Q82955 . ?f rdf:type ontology:Q502895 }
politician Citizenship, Action, Participation for the 21st Century
action filter_type
action intersection
action find_reverse
entity Citizenship, Action, Participation for the 21st Century
relation member of political party
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Citizenship, Action, Participation for the 21st Century'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?f WHERE { ?f property:member_of_political_party resource:Citizenship,_Action,_Participation_for_the_21st_Century . ?f property:occupation resource:politician . ?f rdf:type ontology:common_name }
[]
common name
Q291341
SYSTEM
Corinne Lepage
Q291341
AND((c(Q502895),P102,Q1351963), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q1351963
relation P102
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWER] is the members of Citizenship, Action, Participation for the 21st Century and have the profession of politician
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q1351963'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?f WHERE { ?f property:P102 resource:Q1351963 . ?f property:P106 resource:Q82955 . ?f rdf:type ontology:Q502895 }
Corinne Lepage
Corinne Lepage is the members of Citizenship, Action, Participation for the 21st Century and have the profession of politician
Corinne Lepage
action filter_type
action intersection
action find_reverse
entity Citizenship, Action, Participation for the 21st Century
relation member of political party
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Citizenship, Action, Participation for the 21st Century'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?f WHERE { ?f property:member_of_political_party resource:Citizenship,_Action,_Participation_for_the_21st_Century . ?f property:occupation resource:politician . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are that person an inhabitant of ?
(Q291341,P27,c(Q15617994))
action count
action filter_type
action find
entity Q291341
relation P27
type Q15617994
['Q291341', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Q291341 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Corinne Lepage
relation country of citizenship
type designation for an administrative territorial entity
['Corinne Lepage', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Corinne_Lepage property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q291341,P27,c(Q15617994))
action count
action filter_type
action find
entity Q291341
relation P27
type Q15617994
[ANSWER]
['Q291341', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Q291341 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Corinne Lepage
relation country of citizenship
type designation for an administrative territorial entity
['Corinne Lepage', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Corinne_Lepage property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
How many works of art have been dubbed by atmost 4 people ?
(c(Q838948),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 4
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?n ) WHERE { ?x property:P725 ?z . ?x rdf:type ontology:Q838948 . ?z rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?n <= 4 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type work of art
type common name
value 4
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?n ) WHERE { ?x property:voice_actor ?z . ?x rdf:type ontology:work_of_art . ?z rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?n <= 4 ) }
[]
common name work of art
SYSTEM
72
Q4346544 Q13091172 Q127367 Q3458494 Q8024145 Q15139235 Q21428001 Q890656 Q834799 Q82579 Q3139297 Q212792 Q190145 Q909318 Q6675708 Q5901134 Q19948770 Q1325217 Q286868 Q1315185 Q1583966 Q390341 Q25218391 Q777739 Q4942936 Q1572709 Q3282491 Q640695 Q14540226 Q18407657 Q868048 Q615813 Q4367569 Q180098 Q4158396 Q1100231 Q4503243 Q1368693 Q19776571 Q1185099 Q4646903 Q18786473 Q4305149 Q176198 Q25167044 Q567884 Q1196712 Q19776435 Q15627005 Q5237953 Q1309592 Q890665 Q207659 Q1519753 Q641315 Q729809 Q888131 Q23034444 Q1702819 Q4468674 Q318975 Q4204793 Q587921 Q1810461 Q5694508 Q741883 Q18167809 Q7767682 Q18200409 Q18857408 Q16998034 Q179411
(c(Q838948),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 4
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?n ) WHERE { ?x property:P725 ?z . ?x rdf:type ontology:Q838948 . ?z rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?n <= 4 ) }
Passport Big Hero 6 The Lord of the Rings: The Fellowship of the Ring A Tree of Palme Windfall Nobunaga the Fool Riley's First Date? Pokémon Heroes Pokémon: The First Movie: Mewtwo Strikes Back Pokémon 4Ever Hold the Lion, Please Bolt Spider-Man 2 Keroro Gunso the Super Movie 3: Keroro vs. Keroro Great Sky Duel Looney Tunes Super Stars' Foghorn Leghorn & Friends: Barnyard Bigmouth Ant-Man From Caligari to Hitler: German Cinema in the Age of the Masses Flubber Noah Steamboy Underdog Beverly Hills Chihuahua Exile Ivan Vasilievich: Back to the Future Book Girl Pretty Cure All Stars Trigun: Badlands Rumble Metropolis Celestial Wives of the Meadow Mari Captain America: Civil War Pokémon: The Movie 2000: The Power of One Pokémon the Movie: Black—Victini and Reshiram and White—Victini and Zekrom The Witches Cave Ben-Hur Radio Day Hayate the Combat Butler! Heaven Is a Place on Earth The Tsar's Bride GeGeGe no Kitarō N - The Madness of Reason Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon Mozart and Salieri The Last Unicorn Wreck-It Ralph 2 Another Detective Conan: The Phantom of Baker Street Szenario Fair Play Inazuma Eleven GO vs. Danbōru Senki W Doraemon: Nobita and the Wind Wizard Pokémon 3: The Movie: Spell of the Unown Space Jam Mimino Spirit: Stallion of the Cimarron Bodacious Space Pirates The Wind Rises Ghost in the Shell 2.0 Secret of the Wings To Kill a Dragon Atlantis: The Lost Empire History of the Arkanar Massacre Garfield: A Tail of Two Kitties Springtime with Roo Heaven's Lost Property the Movie: The Angeloid of Clockwork Heaven's Lost Property The Prophet The Swing School A Monster Calls Thou-Vou falakros praktor Monkey Kingdom A Very Merry Pooh Year
72
action count
action atmost
action find_tuple_counts
relation voice actor
type work of art
type common name
value 4
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?n ) WHERE { ?x property:voice_actor ?z . ?x rdf:type ontology:work_of_art . ?z rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?n <= 4 ) }
[]