Simple Question (Direct)
Simple Question
Q709597
P21
Q290
USER
Which sex does Arthur Grunewald have ?
(Q709597,P21,c(Q290))
action filter_type
action find
entity Q709597
relation P21
type Q290
['Q709597', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q709597 property:P21 ?k . ?k rdf:type ontology:Q290 }
Arthur Grunewald
action filter_type
action find
entity Arthur Grunewald
relation gender
type sex
['Arthur Grunewald', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Arthur_Grunewald property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q709597,P21,c(Q290))
action filter_type
action find
entity Q709597
relation P21
type Q290
Arthur Grunewald has a [ANSWER]
['Q709597', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q709597 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Arthur Grunewald has a male
male
action filter_type
action find
entity Arthur Grunewald
relation gender
type sex
['Arthur Grunewald', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Arthur_Grunewald property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q709597
P102
Q7278
USER
Which political party is Arthur Grunewald a member of ?
(Q709597,P102,c(Q7278))
action filter_type
action find
entity Q709597
relation P102
type Q7278
['Q709597', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q709597 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Arthur Grunewald
action filter_type
action find
entity Arthur Grunewald
relation member of political party
type political party
['Arthur Grunewald', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Arthur_Grunewald property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q709597,P102,c(Q7278))
action filter_type
action find
entity Q709597
relation P102
type Q7278
Party [ANSWER] is Arthur Grunewald a member of
['Q709597', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q709597 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Arthur Grunewald a member of
Social Democratic Party of Germany
action filter_type
action find
entity Arthur Grunewald
relation member of political party
type political party
['Arthur Grunewald', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Arthur_Grunewald property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P102
Q7278 Q502895
USER
How many political parties do more number of people belong to than that political party ?
(c(Q502895),P102,c(Q7278))
action count
action greater
action find_tuple_counts
relation P102
type Q7278
type Q502895
action count
action filter_type
action find
entity Q49768
relation P102
type Q7278
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?f ) WHERE { ?t property:P102 ?c . ?c rdf:type ontology:Q502895 . ?t rdf:type ontology:Q7278 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ontology:Q7278 . resource:Q49768 property:P102 ?w } } . FILTER ( ?f > ?d ) }
action count
action greater
action find_tuple_counts
relation member of political party
type political party
type common name
action count
action filter_type
action find
entity Social Democratic Party of Germany
relation member of political party
type political party
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?f ) WHERE { ?t property:member_of_political_party ?c . ?c rdf:type ontology:common_name . ?t rdf:type ontology:political_party } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ontology:political_party . resource:Social_Democratic_Party_of_Germany property:member_of_political_party ?w } } . FILTER ( ?f > ?d ) }
[]
political party common name
SYSTEM
0
(c(Q502895),P102,c(Q7278))
action count
action greater
action find_tuple_counts
relation P102
type Q7278
type Q502895
action count
action filter_type
action find
entity Q49768
relation P102
type Q7278
[ANSWER]
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?f ) WHERE { ?t property:P102 ?c . ?c rdf:type ontology:Q502895 . ?t rdf:type ontology:Q7278 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ontology:Q7278 . resource:Q49768 property:P102 ?w } } . FILTER ( ?f > ?d ) }
0
action count
action greater
action find_tuple_counts
relation member of political party
type political party
type common name
action count
action filter_type
action find
entity Social Democratic Party of Germany
relation member of political party
type political party
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?f ) WHERE { ?t property:member_of_political_party ?c . ?c rdf:type ontology:common_name . ?t rdf:type ontology:political_party } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ontology:political_party . resource:Social_Democratic_Party_of_Germany property:member_of_political_party ?w } } . FILTER ( ?f > ?d ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49768
P462
Q1075
USER
Which color is that political party associated with ?
action filter_type
action find
entity Q49768
relation P462
type Q1075
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1075 . resource:Q49768 property:P462 ?u }
Social Democratic Party of Germany
action filter_type
action find
entity Social Democratic Party of Germany
relation color
type color
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:color . resource:Social_Democratic_Party_of_Germany property:color ?u }
[]
color
Q3142
SYSTEM
red
Q3142
action filter_type
action find
entity Q49768
relation P462
type Q1075
That political party is associated with [ANSWER]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1075 . resource:Q49768 property:P462 ?u }
red
That political party is associated with red
red
action filter_type
action find
entity Social Democratic Party of Germany
relation color
type color
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:color . resource:Social_Democratic_Party_of_Germany property:color ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3142 Q6906934
P462
Q838948
USER
Is Monumentalment IV that one in color ?
(Q6906934,P462,Q3142)
action is_in
entity Q3142
action find
entity Q6906934
relation P462
['Q6906934', 'P462', 'Q3142']
ASK WHERE { resource:Q6906934 property:P462 resource:Q3142 }
red Monumentalment IV
action is_in
entity red
action find
entity Monumentalment IV
relation color
['Monumentalment IV', 'color', 'red']
ASK WHERE { resource:Monumentalment_IV property:color resource:red }
[]
work of art
SYSTEM
YES
(Q6906934,P462,Q3142)
action is_in
entity Q3142
action find
entity Q6906934
relation P462
[ANSWER]
['Q6906934', 'P462', 'Q3142']
ASK WHERE { resource:Q6906934 property:P462 resource:Q3142 }
Yes
action is_in
entity red
action find
entity Monumentalment IV
relation color
['Monumentalment IV', 'color', 'red']
ASK WHERE { resource:Monumentalment_IV property:color resource:red }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q280906
P1142
Q1047113 Q7257 Q7278
USER
Which political parties have less number of special fields and ideologies as their political ideology than Socialist Party of Navarra-PSOE ?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action less
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 Q280906
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?e ) WHERE { { ?x property:P1142 ?s . ?x rdf:type ontology:Q7278 . ?s rdf:type ontology:Q1047113 } UNION { ?x rdf:type ontology:Q7278 . ?s rdf:type ontology:Q7257 . ?x property:P1142 ?s } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q280906 property:P1142 ?l . { ?l rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } } } . FILTER ( ?e < ?p ) }
Socialist Party of Navarra-PSOE
action less
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 Socialist Party of Navarra-PSOE
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?e ) WHERE { { ?x property:political_ideology ?s . ?x rdf:type ontology:political_party . ?s rdf:type ontology:special_field } UNION { ?x rdf:type ontology:political_party . ?s rdf:type ontology:ideology . ?x property:political_ideology ?s } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Socialist_Party_of_Navarra-PSOE property:political_ideology ?l . { ?l rdf:type ?a . VALUES ( ?a ) { ( ontology:special_field ) ( ontology:ideology ) } } } } . FILTER ( ?e < ?p ) }
[]
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 less
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 Q280906
relation P1142
type Q1047113
type Q7257
[ANSWERS] have less number of special fields and ideologies as their political ideology than Socialist Party of Navarra-PSOE
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?e ) WHERE { { ?x property:P1142 ?s . ?x rdf:type ontology:Q7278 . ?s rdf:type ontology:Q1047113 } UNION { ?x rdf:type ontology:Q7278 . ?s rdf:type ontology:Q7257 . ?x property:P1142 ?s } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q280906 property:P1142 ?l . { ?l rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } } } . FILTER ( ?e < ?p ) }
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 and Socialist Unity Party of Germany have less number of special fields and ideologies as their political ideology than Socialist Party of Navarra-PSOE
Podemos Pirate Party Germany Socialist Unity Party of Germany
action less
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 Socialist Party of Navarra-PSOE
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?e ) WHERE { { ?x property:political_ideology ?s . ?x rdf:type ontology:political_party . ?s rdf:type ontology:special_field } UNION { ?x rdf:type ontology:political_party . ?s rdf:type ontology:ideology . ?x property:political_ideology ?s } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Socialist_Party_of_Navarra-PSOE property:political_ideology ?l . { ?l rdf:type ?a . VALUES ( ?a ) { ( ontology:special_field ) ( ontology:ideology ) } } } } . FILTER ( ?e < ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3751189
P1142
Q1047113 Q7257 Q7278
USER
And also tell me about Alternativa Popular Canaria?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action less
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 Q3751189
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?r ) WHERE { VALUES ( ?s ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?z rdf:type ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { { ?k rdf:type ontology:Q1047113 } UNION { ?k rdf:type ontology:Q7257 } } . resource:Q3751189 property:P1142 ?k } } . FILTER ( ?r < ?p ) }
Alternativa Popular Canaria
action less
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 Alternativa Popular Canaria
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?r ) WHERE { VALUES ( ?s ) { ( ontology:special_field ) ( ontology:ideology ) } . ?z rdf:type ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { { ?k rdf:type ontology:special_field } UNION { ?k rdf:type ontology:ideology } } . resource:Alternativa_Popular_Canaria property:political_ideology ?k } } . FILTER ( ?r < ?p ) }
[]
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 less
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 Q3751189
relation P1142
type Q1047113
type Q7257
[ANSWERS]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?r ) WHERE { VALUES ( ?s ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?z rdf:type ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { { ?k rdf:type ontology:Q1047113 } UNION { ?k rdf:type ontology:Q7257 } } . resource:Q3751189 property:P1142 ?k } } . FILTER ( ?r < ?p ) }
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 less
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 Alternativa Popular Canaria
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?r ) WHERE { VALUES ( ?s ) { ( ontology:special_field ) ( ontology:ideology ) } . ?z rdf:type ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { { ?k rdf:type ontology:special_field } UNION { ?k rdf:type ontology:ideology } } . resource:Alternativa_Popular_Canaria property:political_ideology ?k } } . FILTER ( ?r < ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q709597
P20
Q515
USER
Where did the demise of Arthur Grunewald occur ?
(Q709597,P20,c(Q515))
action filter_type
action find
entity Q709597
relation P20
type Q515
['Q709597', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q709597 property:P20 ?w }
Arthur Grunewald
action filter_type
action find
entity Arthur Grunewald
relation place of death
type city
['Arthur Grunewald', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Arthur_Grunewald property:place_of_death ?w }
[]
city
Q3857
SYSTEM
Wilhelmshaven
Q3857
(Q709597,P20,c(Q515))
action filter_type
action find
entity Q709597
relation P20
type Q515
The demise of Arthur Grunewald occurred in [ANSWER]
['Q709597', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q709597 property:P20 ?w }
Wilhelmshaven
The demise of Arthur Grunewald occurred in Wilhelmshaven
Wilhelmshaven
action filter_type
action find
entity Arthur Grunewald
relation place of death
type city
['Arthur Grunewald', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Arthur_Grunewald property:place_of_death ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q709597
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q3857,P39,c(Q12737077))
action filter_type
action find
entity Q709597
relation P39
type Q12737077
['Q3857', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q709597 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Arthur Grunewald
action filter_type
action find
entity Arthur Grunewald
relation position held
type occupation
['Wilhelmshaven', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Arthur_Grunewald property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q3857,P39,c(Q12737077))
action filter_type
action find
entity Q709597
relation P39
type Q12737077
The [ANSWER] was a position for which that person was appointed
['Q3857', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q709597 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
mayor
The mayor was a position for which that person was appointed
mayor
action filter_type
action find
entity Arthur Grunewald
relation position held
type occupation
['Wilhelmshaven', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Arthur_Grunewald property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30185
P361
Q15617994
USER
Which administrative territory is that occupation a part of ?
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q30185 property:P361 ?g . ?g rdf:type ontology:Q15617994 }
mayor
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:mayor property:part_of ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q15284
SYSTEM
municipality
Q15284
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
[ANSWER] is that occupation a part of
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q30185 property:P361 ?g . ?g rdf:type ontology:Q15617994 }
municipality
Municipality is that occupation a part of
municipality
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:mayor property:part_of ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]