Simple Question (Direct)
Simple Question
Q1283172
P102
Q7278
USER
Which parties do Peter Wolter belong to ?
(Q1283172,P102,c(Q7278))
action filter_type
action find
entity Q1283172
relation P102
type Q7278
['Q1283172', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?v WHERE { resource:Q1283172 property:P102 ?v . ?v rdf:type ontology:Q7278 }
Peter Wolter
action filter_type
action find
entity Peter Wolter
relation member of political party
type political party
['Peter Wolter', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?v WHERE { resource:Peter_Wolter property:member_of_political_party ?v . ?v rdf:type ontology:political_party }
[]
political party
Q49750 Q76867 Q148861
SYSTEM
Socialist Unity Party of Germany, Socialist Unity Party of West Berlin, German Communist Party
Q49750 Q76867 Q148861
(Q1283172,P102,c(Q7278))
action filter_type
action find
entity Q1283172
relation P102
type Q7278
Peter Wolter belong to [ANSWERS]
['Q1283172', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?v WHERE { resource:Q1283172 property:P102 ?v . ?v rdf:type ontology:Q7278 }
Socialist Unity Party of Germany Socialist Unity Party of West Berlin German Communist Party
Peter Wolter belong to Socialist Unity Party of Germany, Socialist Unity Party of West Berlin and German Communist Party
Socialist Unity Party of Germany Socialist Unity Party of West Berlin German Communist Party
action filter_type
action find
entity Peter Wolter
relation member of political party
type political party
['Peter Wolter', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?v WHERE { resource:Peter_Wolter property:member_of_political_party ?v . ?v rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1283172
P21
Q290
USER
What is the sex of Peter Wolter ?
(Q1283172,P21,c(Q290))
action filter_type
action find
entity Q1283172
relation P21
type Q290
['Q1283172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1283172 property:P21 ?i . ?i rdf:type ontology:Q290 }
Peter Wolter
action filter_type
action find
entity Peter Wolter
relation gender
type sex
['Peter Wolter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Peter_Wolter property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1283172,P21,c(Q290))
action filter_type
action find
entity Q1283172
relation P21
type Q290
The sex of Peter Wolter is the [ANSWER]
['Q1283172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1283172 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Peter Wolter is the male
male
action filter_type
action find
entity Peter Wolter
relation gender
type sex
['Peter Wolter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Peter_Wolter property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24284285
Q290
USER
And how about Judit Hidasi?
(Q24284285,P21,c(Q290))
action filter_type
action find
entity Q24284285
relation P21
type Q290
['Q24284285', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q24284285 property:P21 ?v . ?v rdf:type ontology:Q290 }
Judit Hidasi
action filter_type
action find
entity Judit Hidasi
relation gender
type sex
['Judit Hidasi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Judit_Hidasi property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q24284285,P21,c(Q290))
action filter_type
action find
entity Q24284285
relation P21
type Q290
[ANSWER]
['Q24284285', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q24284285 property:P21 ?v . ?v rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Judit Hidasi
relation gender
type sex
['Judit Hidasi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Judit_Hidasi property:gender ?v . ?v rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q155820
P1142
Q7257 Q1047113 Q7278
USER
Which political parties promote approximately the same number of ideologies or special fields as Constitutional Democratic Party ?
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action count
action filter_multi_types
action find
entity Q155820
relation P1142
type Q7257
type Q1047113
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?g WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } . resource:Q155820 property:P1142 ?v } } . FILTER ( ?x = ?i ) }
Constitutional Democratic Party
action approx
action union
action find_tuple_counts
relation political ideology
type political party
type ideology
action find_tuple_counts
relation political ideology
type political party
type special field
action count
action filter_multi_types
action find
entity Constitutional Democratic Party
relation political ideology
type ideology
type special field
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?g WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:ideology ) ( ontology:special_field ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?d . VALUES ( ?d ) { ( ontology:special_field ) ( ontology:ideology ) } } . resource:Constitutional_Democratic_Party property:political_ideology ?v } } . FILTER ( ?x = ?i ) }
[]
ideology special field 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(Q7257)|c(Q1047113))
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action count
action filter_multi_types
action find
entity Q155820
relation P1142
type Q7257
type Q1047113
[ANSWERS] promote approximately the same number of ideologies or special fields as Constitutional Democratic Party
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?g WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } . resource:Q155820 property:P1142 ?v } } . FILTER ( ?x = ?i ) }
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 approximately the same number of ideologies or special fields as Constitutional Democratic Party
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 ideology
action find_tuple_counts
relation political ideology
type political party
type special field
action count
action filter_multi_types
action find
entity Constitutional Democratic Party
relation political ideology
type ideology
type special field
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?g WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:ideology ) ( ontology:special_field ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?d . VALUES ( ?d ) { ( ontology:special_field ) ( ontology:ideology ) } } . resource:Constitutional_Democratic_Party property:political_ideology ?v } } . FILTER ( ?x = ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1987660
P1142
Q7257 Q1047113 Q7278
USER
And what about Green Confederation?
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action count
action filter_multi_types
action find
entity Q1987660
relation P1142
type Q7257
type Q1047113
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } GROUP BY ?e } . FILTER ( ?i = ?l ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q1987660 property:P1142 ?w . { { ?w rdf:type ontology:Q7257 } UNION { ?w rdf:type ontology:Q1047113 } } } } }
Green Confederation
action approx
action union
action find_tuple_counts
relation political ideology
type political party
type ideology
action find_tuple_counts
relation political ideology
type political party
type special field
action count
action filter_multi_types
action find
entity Green Confederation
relation political ideology
type ideology
type special field
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:special_field ) ( ontology:ideology ) } } GROUP BY ?e } . FILTER ( ?i = ?l ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Green_Confederation property:political_ideology ?w . { { ?w rdf:type ontology:ideology } UNION { ?w rdf:type ontology:special_field } } } } }
[]
ideology special field 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(Q7257)|c(Q1047113))
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action count
action filter_multi_types
action find
entity Q1987660
relation P1142
type Q7257
type Q1047113
[ANSWERS]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } GROUP BY ?e } . FILTER ( ?i = ?l ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q1987660 property:P1142 ?w . { { ?w rdf:type ontology:Q7257 } UNION { ?w rdf:type ontology:Q1047113 } } } } }
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 People's Party
action approx
action union
action find_tuple_counts
relation political ideology
type political party
type ideology
action find_tuple_counts
relation political ideology
type political party
type special field
action count
action filter_multi_types
action find
entity Green Confederation
relation political ideology
type ideology
type special field
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:special_field ) ( ontology:ideology ) } } GROUP BY ?e } . FILTER ( ?i = ?l ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Green_Confederation property:political_ideology ?w . { { ?w rdf:type ontology:ideology } UNION { ?w rdf:type ontology:special_field } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q810755 Q1283172
P47 P27
Q1048835
USER
Which political territories are Peter Wolter an inhabitant of or share border with Batea, Tarragona ?
OR((Q1283172,P27,c(Q1048835)), (Q810755,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1283172
relation P27
action find
entity Q810755
relation P47
type Q1048835
{'OR': [['Q1283172', 'P27', {'concept': 'Q1048835'}], ['Q810755', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1283172 property:P27 ?g } UNION { resource:Q810755 property:P47 ?g } } . ?g rdf:type ontology:Q1048835 }
Batea, Tarragona Peter Wolter
action filter_type
action union
action find
entity Peter Wolter
relation country of citizenship
action find
entity Batea, Tarragona
relation shares border with
type political territorial entity
{'OR': [['Peter Wolter', 'country of citizenship', {'concept': 'political territorial entity'}], ['Batea, Tarragona', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Peter_Wolter property:country_of_citizenship ?g } UNION { resource:Batea,_Tarragona property:shares_border_with ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q771963 Q773369 Q676746 Q183 Q589488 Q1233513 Q956524 Q1628416 Q956450
SYSTEM
Caseres, Gandesa, Vilalba dels Arcs, Germany, Bot, Tarragona, La Pobla de Massaluca, Maella, Nonaspe, Fabara
Q771963 Q773369 Q676746 Q183 Q589488 Q1233513 Q956524 Q1628416 Q956450
OR((Q1283172,P27,c(Q1048835)), (Q810755,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1283172
relation P27
action find
entity Q810755
relation P47
type Q1048835
[ANSWERS] are Peter Wolter an inhabitant of or share border with Batea, Tarragona
{'OR': [['Q1283172', 'P27', {'concept': 'Q1048835'}], ['Q810755', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1283172 property:P27 ?g } UNION { resource:Q810755 property:P47 ?g } } . ?g rdf:type ontology:Q1048835 }
Caseres Gandesa Vilalba dels Arcs Germany Bot, Tarragona La Pobla de Massaluca Maella Nonaspe Fabara
Caseres, Gandesa, Vilalba dels Arcs, Germany, Bot, Tarragona, La Pobla de Massaluca, Maella, Nonaspe and Fabara are Peter Wolter an inhabitant of or share border with Batea, Tarragona
Caseres Gandesa Vilalba dels Arcs Germany Bot, Tarragona La Pobla de Massaluca Maella Nonaspe Fabara
action filter_type
action union
action find
entity Peter Wolter
relation country of citizenship
action find
entity Batea, Tarragona
relation shares border with
type political territorial entity
{'OR': [['Peter Wolter', 'country of citizenship', {'concept': 'political territorial entity'}], ['Batea, Tarragona', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Peter_Wolter property:country_of_citizenship ?g } UNION { resource:Batea,_Tarragona property:shares_border_with ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q1048835
USER
Which political territories have tactful political relations with atmost 96 administrative territories and political territories ?
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action atmost
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 96
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?p <= 96 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?p ) WHERE { { ?c rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q1048835 . ?c property:P530 ?o } UNION { ?c property:P530 ?o . ?c rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?c } }
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 96
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?p <= 96 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?p ) WHERE { { ?c rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?o } UNION { ?c property:diplomatic_relation ?o . ?c rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } }
[]
designation for an administrative territorial entity political territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action atmost
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 96
[ANSWERS] have tactful political relations with atmost 96 administrative territories and political territories
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?p <= 96 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?p ) WHERE { { ?c rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q1048835 . ?c property:P530 ?o } UNION { ?c property:P530 ?o . ?c rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?c } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have tactful political relations with atmost 96 administrative territories and political territories
Denmark Canada Austria
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 96
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?p <= 96 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?p ) WHERE { { ?c rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?o } UNION { ?c property:diplomatic_relation ?o . ?c rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2395103
P1142
Q1047113 Q7257 Q7278
USER
Which political parties promote greater number of special fields and ideologies than Pridnestrovie Communist Party ?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action greater
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 Q2395103
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q2395103 property:P1142 ?f . { VALUES ( ?c ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } . ?f rdf:type ?c } } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?o ) WHERE { { ?d property:P1142 ?p . ?p rdf:type ontology:Q1047113 . ?d rdf:type ontology:Q7278 } UNION { ?d property:P1142 ?p . ?d rdf:type ontology:Q7278 . ?p rdf:type ontology:Q7257 } } GROUP BY ?d } }
Pridnestrovie Communist Party
action greater
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 Pridnestrovie Communist Party
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Pridnestrovie_Communist_Party property:political_ideology ?f . { VALUES ( ?c ) { ( ontology:ideology ) ( ontology:special_field ) } . ?f rdf:type ?c } } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?o ) WHERE { { ?d property:political_ideology ?p . ?p rdf:type ontology:special_field . ?d rdf:type ontology:political_party } UNION { ?d property:political_ideology ?p . ?d rdf:type ontology:political_party . ?p rdf:type ontology:ideology } } GROUP BY ?d } }
[]
special field ideology political party
Q49766 Q196695 Q49768
SYSTEM
Alliance '90/The Greens, Green League, Social Democratic Party of Germany
Q196695 Q1129443 Q49768 Q49762 Q653566 Q1628993 Q192821 Q49766 Q25713876 Q613786 Q5398117 Q1393123 Q208242 Q150068 Q18511333 Q130761
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action greater
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 Q2395103
relation P1142
type Q1047113
type Q7257
[ANSWERS] promote greater number of special fields and ideologies than Pridnestrovie Communist Party
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q2395103 property:P1142 ?f . { VALUES ( ?c ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } . ?f rdf:type ?c } } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?o ) WHERE { { ?d property:P1142 ?p . ?p rdf:type ontology:Q1047113 . ?d rdf:type ontology:Q7278 } UNION { ?d property:P1142 ?p . ?d rdf:type ontology:Q7278 . ?p rdf:type ontology:Q7257 } } GROUP BY ?d } }
Green League Democratic Convergence of Catalonia Social Democratic Party of Germany Christian Democratic Union European National Front Democratic Union of Catalonia French Communist Party Alliance '90/The Greens Catalan European Democratic Party Europe Ecology – The Greens Canarian Nationalist Alternative Ciudadanos European People's Party Republican Left of Catalonia VZDOR - strana práce Popular Unity Candidates
Alliance '90/The Greens, Green League and Social Democratic Party of Germany promote greater number of special fields and ideologies than Pridnestrovie Communist Party
Alliance '90/The Greens Green League Social Democratic Party of Germany
action greater
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 Pridnestrovie Communist Party
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Pridnestrovie_Communist_Party property:political_ideology ?f . { VALUES ( ?c ) { ( ontology:ideology ) ( ontology:special_field ) } . ?f rdf:type ?c } } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?o ) WHERE { { ?d property:political_ideology ?p . ?p rdf:type ontology:special_field . ?d rdf:type ontology:political_party } UNION { ?d property:political_ideology ?p . ?d rdf:type ontology:political_party . ?p rdf:type ontology:ideology } } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q512498
P1142
Q1047113 Q7257 Q7278
USER
And also tell me about Marijuana Party of Canada?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action greater
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 Q512498
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q512498 property:P1142 ?j . { { ?j rdf:type ontology:Q1047113 } UNION { ?j rdf:type ontology:Q7257 } } } } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { { ?t property:P1142 ?a . ?a rdf:type ontology:Q1047113 . ?t rdf:type ontology:Q7278 } UNION { ?t property:P1142 ?a . ?a rdf:type ontology:Q7257 . ?t rdf:type ontology:Q7278 } } GROUP BY ?t } }
Marijuana Party of Canada
action greater
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 Marijuana Party of Canada
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Marijuana_Party_of_Canada property:political_ideology ?j . { { ?j rdf:type ontology:special_field } UNION { ?j rdf:type ontology:ideology } } } } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { { ?t property:political_ideology ?a . ?a rdf:type ontology:special_field . ?t rdf:type ontology:political_party } UNION { ?t property:political_ideology ?a . ?a rdf:type ontology:ideology . ?t rdf:type ontology:political_party } } GROUP BY ?t } }
[]
special field ideology political party
Q49766 Q196695 Q49768
SYSTEM
Alliance '90/The Greens, Green League, Social Democratic Party of Germany
Q3395191 Q280906 Q196695 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 Q1129443 Q1278980 Q5033985 Q79854 Q49768 Q49762 Q1987660 Q3296785 Q653566 Q3324157 Q2866675 Q1628993 Q371402 Q641600 Q192821 Q3045391 Q1276239 Q49621 Q9056182 Q3327144 Q549209 Q4894568 Q3313706 Q713302 Q1437906 Q3306974 Q617603 Q537649 Q185088 Q325413 Q202649 Q584040 Q1737170 Q3328003 Q1125061 Q2257766 Q217009 Q49766 Q2118395 Q25713876 Q3313721 Q1377195 Q2838243 Q9056254 Q1153753 Q3326408 Q3327113 Q7309255 Q613786 Q2749535 Q2733414 Q1786349 Q2876738 Q9056440 Q1089640 Q3322790 Q5398117 Q1577483 Q6064176 Q4753534 Q662502 Q576518 Q794247 Q3751189 Q220945 Q777074 Q2165306 Q3750882 Q209546 Q659739 Q3320917 Q9669 Q5154414 Q883448 Q4345980 Q3306652 Q2054574 Q581186 Q2055003 Q634372 Q1393123 Q3322771 Q3028838 Q11698116 Q3328052 Q3327928 Q1029761 Q1359816 Q208242 Q18761823 Q17427 Q3395147 Q611548 Q2099347 Q3366598 Q3125165 Q3089721 Q49756 Q965481 Q49754 Q49755 Q639383 Q3133156 Q150068 Q625556 Q6063925 Q1412555 Q606955 Q788345 Q18511333 Q3306992 Q3780661 Q3134856 Q5604424 Q3328040 Q3047694 Q3327447 Q3571603 Q3181825 Q956240 Q1780610 Q2597196 Q937365 Q3175770 Q6063953 Q427325 Q8347650 Q3133165 Q8350511 Q130761 Q885433
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action greater
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 Q512498
relation P1142
type Q1047113
type Q7257
[ANSWERS]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q512498 property:P1142 ?j . { { ?j rdf:type ontology:Q1047113 } UNION { ?j rdf:type ontology:Q7257 } } } } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { { ?t property:P1142 ?a . ?a rdf:type ontology:Q1047113 . ?t rdf:type ontology:Q7278 } UNION { ?t property:P1142 ?a . ?a rdf:type ontology:Q7257 . ?t rdf:type ontology:Q7278 } } GROUP BY ?t } }
Liberal Democratic Party (Spain) Socialist Party of Navarra-PSOE Green League 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 Democratic Convergence of Catalonia Andalusian Party Cantonal Party Communist Party of the Soviet Union Social Democratic Party of Germany Christian Democratic Union Green Confederation Galician Socialist Party-Galician Left European National Front Galician Party of the Proletariat Askatasuna Democratic Union of Catalonia Communist Party of Cuba Japanese Communist Party French 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 Alliance '90/The Greens Algerian Communist Party Catalan European Democratic 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 Europe Ecology – The Greens 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 Canarian Nationalist Alternative 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 Ciudadanos Euskal Iraultzarako Alderdia Social Democratic Party Unified Socialist Party of Andalusia Partido Galeguista Anova-Nationalist Brotherhood Euskal Herria Bildu Communist Party of Thailand European People's Party 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 Republican Left of Catalonia Aralar Party Castilian Party Communist League of West Germany Communist Party of South Ossetia Democratic and Social Centre VZDOR - strana práce 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 Popular Unity Candidates Galician Nationalist Bloc
Alliance '90/The Greens Green League Social Democratic Party of Germany
action greater
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 Marijuana Party of Canada
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Marijuana_Party_of_Canada property:political_ideology ?j . { { ?j rdf:type ontology:special_field } UNION { ?j rdf:type ontology:ideology } } } } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?c ) WHERE { { ?t property:political_ideology ?a . ?a rdf:type ontology:special_field . ?t rdf:type ontology:political_party } UNION { ?t property:political_ideology ?a . ?a rdf:type ontology:ideology . ?t rdf:type ontology:political_party } } GROUP BY ?t } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q49766 Q196695 Q49768
P1142
Q7257
USER
Which ideologies are the political ideologies of those ones ?
(Q49766,P1142,c(Q7257)) (Q196695,P1142,c(Q7257)) (Q49768,P1142,c(Q7257))
action filter_type
action find
entity prev_answer
relation P1142
type Q7257
['Q49766', 'P1142', {'concept': 'Q7257'}] ['Q196695', 'P1142', {'concept': 'Q7257'}] ['Q49768', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7257 . ?o property:P1142 ?k . VALUES ( ?o ) { ( resource:Q3395191 ) ( resource:Q280906 ) ( resource:Q196695 ) } }
Alliance '90/The Greens Green League Social Democratic Party of Germany
action filter_type
action find
entity prev_answer
relation political ideology
type ideology
["Alliance '90/The Greens", 'political ideology', {'concept': 'ideology'}] ['Green League', 'political ideology', {'concept': 'ideology'}] ['Social Democratic Party of Germany', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:ideology . ?o property:political_ideology ?k . VALUES ( ?o ) { ( resource:Liberal_Democratic_Party_(Spain) ) ( resource:Socialist_Party_of_Navarra-PSOE ) ( resource:Green_League ) } }
[]
ideology
Q201712 Q201712 Q3781399
SYSTEM
social liberalism for 1st, 2nd, Pro-Europeanism for 3rd
Q201712 Q201712 Q3781399 Q189280 Q121254
(Q49766,P1142,c(Q7257)) (Q196695,P1142,c(Q7257)) (Q49768,P1142,c(Q7257))
action filter_type
action find
entity prev_answer
relation P1142
type Q7257
[ANSWERS]
['Q49766', 'P1142', {'concept': 'Q7257'}] ['Q196695', 'P1142', {'concept': 'Q7257'}] ['Q49768', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7257 . ?o property:P1142 ?k . VALUES ( ?o ) { ( resource:Q3395191 ) ( resource:Q280906 ) ( resource:Q196695 ) } }
social liberalism social liberalism Pro-Europeanism democratic socialism social democracy
Social liberalism, social liberalism and Pro-Europeanism are the political ideologies of those ones
social liberalism social liberalism Pro-Europeanism
action filter_type
action find
entity prev_answer
relation political ideology
type ideology
["Alliance '90/The Greens", 'political ideology', {'concept': 'ideology'}] ['Green League', 'political ideology', {'concept': 'ideology'}] ['Social Democratic Party of Germany', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:ideology . ?o property:political_ideology ?k . VALUES ( ?o ) { ( resource:Liberal_Democratic_Party_(Spain) ) ( resource:Socialist_Party_of_Navarra-PSOE ) ( resource:Green_League ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49766
P361
Q15911314
USER
Which associations are parts of that political party ?
(c(Q15911314),P361,Q49766)
action filter_type
action find_reverse
entity Q49766
relation P361
type Q15911314
[{'concept': 'Q15911314'}, 'P361', 'Q49766']
SELECT DISTINCT ?t WHERE { ?t property:P361 resource:Q49766 . ?t rdf:type ontology:Q15911314 }
Alliance '90/The Greens
action filter_type
action find_reverse
entity Alliance '90/The Greens
relation part of
type association
[{'concept': 'association'}, 'part of', "Alliance '90/The Greens"]
SELECT DISTINCT ?t WHERE { ?t property:part_of resource:Alliance_'90/The_Greens . ?t rdf:type ontology:association }
[]
association
Clarification for simple ques.
Q49766
SYSTEM
Did you mean Alliance '90/The Greens ?
Q201712 Q201712 Q3781399
(c(Q15911314),P361,Q201712) (c(Q15911314),P361,Q201712) (c(Q15911314),P361,Q3781399)
[ANSWER]
[{'concept': 'Q15911314'}, 'P361', 'Q201712'] [{'concept': 'Q15911314'}, 'P361', 'Q201712'] [{'concept': 'Q15911314'}, 'P361', 'Q3781399']
SELECT DISTINCT ?t WHERE { ?t property:P361 resource:Q49766 . ?t rdf:type ontology:Q15911314 }
social liberalism social liberalism Pro-Europeanism
Did you mean Alliance '90/The Greens ?
Alliance '90/The Greens
[{'concept': 'association'}, 'part of', 'social liberalism'] [{'concept': 'association'}, 'part of', 'social liberalism'] [{'concept': 'association'}, 'part of', 'Pro-Europeanism']
SELECT DISTINCT ?t WHERE { ?t property:part_of resource:Alliance_'90/The_Greens . ?t rdf:type ontology:association }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15911314),P361,Q49766)
[{'concept': 'Q15911314'}, 'P361', 'Q49766']
[{'concept': 'association'}, 'part of', "Alliance '90/The Greens"]
[]
Q1020844 Q1020852
SYSTEM
Alliance '90/The Greens Hamburg, Bündnis 90/Die Grünen Sachsen
Q1020844 Q1020852
(c(Q15911314),P361,Q49766)
action filter_type
action find_reverse
entity Q49766
relation P361
type Q15911314
[ANSWERS] are parts of that political party
[{'concept': 'Q15911314'}, 'P361', 'Q49766']
SELECT DISTINCT ?t WHERE { ?t property:P361 resource:Q49766 . ?t rdf:type ontology:Q15911314 }
Alliance '90/The Greens Hamburg Bündnis 90/Die Grünen Sachsen
Alliance '90/The Greens Hamburg and Bündnis 90/Die Grünen Sachsen are parts of that political party
Alliance '90/The Greens Hamburg Bündnis 90/Die Grünen Sachsen
action filter_type
action find_reverse
entity Alliance '90/The Greens
relation part of
type association
[{'concept': 'association'}, 'part of', "Alliance '90/The Greens"]
SELECT DISTINCT ?t WHERE { ?t property:part_of resource:Alliance_'90/The_Greens . ?t rdf:type ontology:association }
[]