Simple Question (Direct)
Simple Question
Q1510379
P39
Q12737077
USER
Which occupation was a position held by Gerd-Peter Wolf ?
(Q1510379,P39,c(Q12737077))
action filter_type
action find
entity Q1510379
relation P39
type Q12737077
['Q1510379', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1510379 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Gerd-Peter Wolf
action filter_type
action find
entity Gerd-Peter Wolf
relation position held
type occupation
['Gerd-Peter Wolf', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Gerd-Peter_Wolf property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q17781726
SYSTEM
member of the Landtag of North Rhine-Westphalia
Q17781726
(Q1510379,P39,c(Q12737077))
action filter_type
action find
entity Q1510379
relation P39
type Q12737077
A [ANSWER] was a position held by Gerd-Peter Wolf
['Q1510379', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1510379 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
member of the Landtag of North Rhine-Westphalia
A member of the Landtag of North Rhine-Westphalia was a position held by Gerd-Peter Wolf
member of the Landtag of North Rhine-Westphalia
action filter_type
action find
entity Gerd-Peter Wolf
relation position held
type occupation
['Gerd-Peter Wolf', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Gerd-Peter_Wolf property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1510379
P102
Q7278
USER
Which political party is Gerd-Peter Wolf a member of ?
(Q1510379,P102,c(Q7278))
action filter_type
action find
entity Q1510379
relation P102
type Q7278
['Q1510379', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7278 . resource:Q1510379 property:P102 ?n }
Gerd-Peter Wolf
action filter_type
action find
entity Gerd-Peter Wolf
relation member of political party
type political party
['Gerd-Peter Wolf', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_party . resource:Gerd-Peter_Wolf property:member_of_political_party ?n }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1510379,P102,c(Q7278))
action filter_type
action find
entity Q1510379
relation P102
type Q7278
Which political party is Gerd-Peter Wolf a member of
['Q1510379', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7278 . resource:Q1510379 property:P102 ?n }
Social Democratic Party of Germany
Which political party is Gerd-Peter Wolf a member of
Social Democratic Party of Germany
action filter_type
action find
entity Gerd-Peter Wolf
relation member of political party
type political party
['Gerd-Peter Wolf', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_party . resource:Gerd-Peter_Wolf property:member_of_political_party ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q49768 Q1360100
P102
Q502895
USER
Does Ernst Schmidt belong to the political party that one ?
(Q1360100,P102,Q49768)
action is_in
entity Q49768
action find
entity Q1360100
relation P102
['Q1360100', 'P102', 'Q49768']
ASK WHERE { resource:Q1360100 property:P102 resource:Q49768 }
Social Democratic Party of Germany Ernst Schmidt
action is_in
entity Social Democratic Party of Germany
action find
entity Ernst Schmidt
relation member of political party
['Ernst Schmidt', 'member of political party', 'Social Democratic Party of Germany']
ASK WHERE { resource:Ernst_Schmidt property:member_of_political_party resource:Social_Democratic_Party_of_Germany }
[]
common name
SYSTEM
YES
(Q1360100,P102,Q49768)
action is_in
entity Q49768
action find
entity Q1360100
relation P102
[ANSWER]
['Q1360100', 'P102', 'Q49768']
ASK WHERE { resource:Q1360100 property:P102 resource:Q49768 }
Yes
action is_in
entity Social Democratic Party of Germany
action find
entity Ernst Schmidt
relation member of political party
['Ernst Schmidt', 'member of political party', 'Social Democratic Party of Germany']
ASK WHERE { resource:Ernst_Schmidt property:member_of_political_party resource:Social_Democratic_Party_of_Germany }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2055003
P1142
Q1047113 Q7257 Q7278
USER
How many political parties believe in approximately the same number of special fields or ideologies as Socialists' Party of Catalonia ?
(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 Q2055003
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } GROUP BY ?g } . FILTER ( ?o = ?v ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { VALUES ( ?c ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?q rdf:type ?c } . resource:Q2055003 property:P1142 ?q } } }
Socialists' Party of Catalonia
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 Socialists' Party of Catalonia
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:special_field ) ( ontology:ideology ) } } GROUP BY ?g } . FILTER ( ?o = ?v ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { VALUES ( ?c ) { ( ontology:special_field ) ( ontology:ideology ) } . ?q rdf:type ?c } . resource:Socialists'_Party_of_Catalonia property:political_ideology ?q } } }
[]
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 Q2055003
relation P1142
type Q1047113
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } GROUP BY ?g } . FILTER ( ?o = ?v ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { VALUES ( ?c ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?q rdf:type ?c } . resource:Q2055003 property:P1142 ?q } } }
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 Socialists' Party of Catalonia
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:special_field ) ( ontology:ideology ) } } GROUP BY ?g } . FILTER ( ?o = ?v ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { VALUES ( ?c ) { ( ontology:special_field ) ( ontology:ideology ) } . ?q rdf:type ?c } . resource:Socialists'_Party_of_Catalonia property:political_ideology ?q } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2366462
P1142
Q1047113 Q7257 Q7278
USER
And also tell me about Regionalist Party of Cantabria?
(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 Q2366462
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { FILTER ( ?n = ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q2366462 property:P1142 ?c . { VALUES ( ?k ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?c rdf:type ?k } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?o WHERE { { ?o property:P1142 ?a . ?o rdf:type ontology:Q7278 . ?a rdf:type ontology:Q1047113 } UNION { ?o rdf:type ontology:Q7278 . ?a rdf:type ontology:Q7257 . ?o property:P1142 ?a } } GROUP BY ?o } }
Regionalist Party of Cantabria
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 Regionalist Party of Cantabria
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { FILTER ( ?n = ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Regionalist_Party_of_Cantabria property:political_ideology ?c . { VALUES ( ?k ) { ( ontology:special_field ) ( ontology:ideology ) } . ?c rdf:type ?k } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?o WHERE { { ?o property:political_ideology ?a . ?o rdf:type ontology:political_party . ?a rdf:type ontology:special_field } UNION { ?o rdf:type ontology:political_party . ?a rdf:type ontology:ideology . ?o property:political_ideology ?a } } GROUP BY ?o } }
[]
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 Q2366462
relation P1142
type Q1047113
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { FILTER ( ?n = ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q2366462 property:P1142 ?c . { VALUES ( ?k ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?c rdf:type ?k } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?o WHERE { { ?o property:P1142 ?a . ?o rdf:type ontology:Q7278 . ?a rdf:type ontology:Q1047113 } UNION { ?o rdf:type ontology:Q7278 . ?a rdf:type ontology:Q7257 . ?o property:P1142 ?a } } GROUP BY ?o } }
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 Regionalist Party of Cantabria
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { FILTER ( ?n = ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Regionalist_Party_of_Cantabria property:political_ideology ?c . { VALUES ( ?k ) { ( ontology:special_field ) ( ontology:ideology ) } . ?c rdf:type ?k } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?o WHERE { { ?o property:political_ideology ?a . ?o rdf:type ontology:political_party . ?a rdf:type ontology:special_field } UNION { ?o rdf:type ontology:political_party . ?a rdf:type ontology:ideology . ?o property:political_ideology ?a } } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49768
P488
Q502895
USER
Who were the chairpersons of Social Democratic Party of Germany ?
(Q49768,P488,c(Q502895))
action filter_type
action find
entity Q49768
relation P488
type Q502895
['Q49768', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q49768 property:P488 ?y . ?y rdf:type ontology:Q502895 }
Social Democratic Party of Germany
action filter_type
action find
entity Social Democratic Party of Germany
relation chairperson
type common name
['Social Democratic Party of Germany', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Social_Democratic_Party_of_Germany property:chairperson ?y . ?y rdf:type ontology:common_name }
[]
common name
Q2514 Q2530 Q160902
SYSTEM
Willy Brandt, Gerhard Schröder, Sigmar Gabriel
Q160902 Q110719 Q2530 Q58609 Q2514 Q76658 Q61321 Q57682 Q57465 Q62185 Q2551 Q62279 Q65109 Q552483
(Q49768,P488,c(Q502895))
action filter_type
action find
entity Q49768
relation P488
type Q502895
The chairpersons of Social Democratic Party of Germany were [ANSWERS]
['Q49768', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q49768 property:P488 ?y . ?y rdf:type ontology:Q502895 }
Sigmar Gabriel Oskar Lafontaine Gerhard Schröder Franz Müntefering Willy Brandt Frank-Walter Steinmeier Rudolf Scharping Matthias Platzeck Kurt Schumacher Erich Ollenhauer Johannes Rau Björn Engholm Kurt Beck Hans-Jochen Vogel
The chairpersons of Social Democratic Party of Germany were Willy Brandt, Gerhard Schröder and Sigmar Gabriel
Willy Brandt Gerhard Schröder Sigmar Gabriel
action filter_type
action find
entity Social Democratic Party of Germany
relation chairperson
type common name
['Social Democratic Party of Germany', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Social_Democratic_Party_of_Germany property:chairperson ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2514 Q2530 Q160902
P106
Q12737077
USER
Which occupations have Willy Brandt, Gerhard Schröder and Sigmar Gabriel as his/her 's career ?
(Q2514,P106,c(Q12737077)) (Q2530,P106,c(Q12737077)) (Q160902,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2514
relation P106
type Q12737077
action filter_type
action find
entity Q2530
relation P106
type Q12737077
action filter_type
action find
entity Q160902
relation P106
type Q12737077
['Q2514', 'P106', {'concept': 'Q12737077'}] ['Q2530', 'P106', {'concept': 'Q12737077'}] ['Q160902', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?k ) { ( resource:Q2514 ) ( resource:Q2530 ) } . ?k property:P106 ?m }
Willy Brandt Gerhard Schröder Sigmar Gabriel
action union
action filter_type
action find
entity Willy Brandt
relation occupation
type occupation
action filter_type
action find
entity Gerhard Schröder
relation occupation
type occupation
action filter_type
action find
entity Sigmar Gabriel
relation occupation
type occupation
['Willy Brandt', 'occupation', {'concept': 'occupation'}] ['Gerhard Schröder', 'occupation', {'concept': 'occupation'}] ['Sigmar Gabriel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?k ) { ( resource:Willy_Brandt ) ( resource:Gerhard_Schröder ) } . ?k property:occupation ?m }
[]
occupation
Q1930187 Q37226 Q15980158
SYSTEM
journalist, teacher, non-fiction writer
Q1930187 Q15980158 Q82955 Q15980158 Q82955 Q15978655 Q82955 Q37226
(Q2514,P106,c(Q12737077)) (Q2530,P106,c(Q12737077)) (Q160902,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2514
relation P106
type Q12737077
action filter_type
action find
entity Q2530
relation P106
type Q12737077
action filter_type
action find
entity Q160902
relation P106
type Q12737077
The [ANSWERS] have Willy Brandt, Gerhard Schröder and Sigmar Gabriel as his/her 's career
['Q2514', 'P106', {'concept': 'Q12737077'}] ['Q2530', 'P106', {'concept': 'Q12737077'}] ['Q160902', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?k ) { ( resource:Q2514 ) ( resource:Q2530 ) } . ?k property:P106 ?m }
journalist non-fiction writer politician non-fiction writer politician consultant politician teacher
The journalist, teacher and non-fiction writer have Willy Brandt, Gerhard Schröder and Sigmar Gabriel as his/her 's career
journalist teacher non-fiction writer
action union
action filter_type
action find
entity Willy Brandt
relation occupation
type occupation
action filter_type
action find
entity Gerhard Schröder
relation occupation
type occupation
action filter_type
action find
entity Sigmar Gabriel
relation occupation
type occupation
['Willy Brandt', 'occupation', {'concept': 'occupation'}] ['Gerhard Schröder', 'occupation', {'concept': 'occupation'}] ['Sigmar Gabriel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?k ) { ( resource:Willy_Brandt ) ( resource:Gerhard_Schröder ) } . ?k property:occupation ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37226
P101
Q15298259
USER
Who works in the domain of teacher ?
(c(Q15298259),P101,Q37226)
action filter_type
action find_reverse
entity Q37226
relation P101
type Q15298259
[{'concept': 'Q15298259'}, 'P101', 'Q37226']
SELECT DISTINCT ?r WHERE { ?r property:P101 resource:Q37226 . ?r rdf:type ontology:Q15298259 }
teacher
action filter_type
action find_reverse
entity teacher
relation field of work
type wizard in the Harry Potter universe
[{'concept': 'wizard in the Harry Potter universe'}, 'field of work', 'teacher']
SELECT DISTINCT ?r WHERE { ?r property:field_of_work resource:teacher . ?r rdf:type ontology:wizard_in_the_Harry_Potter_universe }
[]
wizard in the Harry Potter universe
Q2350043
SYSTEM
Professor Cuthbert Binns
Q2350043
(c(Q15298259),P101,Q37226)
action filter_type
action find_reverse
entity Q37226
relation P101
type Q15298259
[ANSWER] works in the domain of teacher
[{'concept': 'Q15298259'}, 'P101', 'Q37226']
SELECT DISTINCT ?r WHERE { ?r property:P101 resource:Q37226 . ?r rdf:type ontology:Q15298259 }
Professor Cuthbert Binns
Professor Cuthbert Binns works in the domain of teacher
Professor Cuthbert Binns
action filter_type
action find_reverse
entity teacher
relation field of work
type wizard in the Harry Potter universe
[{'concept': 'wizard in the Harry Potter universe'}, 'field of work', 'teacher']
SELECT DISTINCT ?r WHERE { ?r property:field_of_work resource:teacher . ?r rdf:type ontology:wizard_in_the_Harry_Potter_universe }
[]