Simple Question (Direct)
Simple Question
Q498230
P39
Q12737077
USER
Which occupation was a position for which Andreas Hähnel was appointed ?
(Q498230,P39,c(Q12737077))
action filter_type
action find
entity Q498230
relation P39
type Q12737077
['Q498230', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q498230 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Andreas Hähnel
action filter_type
action find
entity Andreas Hähnel
relation position held
type occupation
['Andreas Hähnel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Andreas_Hähnel property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q17334379
SYSTEM
Member of the Landtag of Saxony
Q17334379
(Q498230,P39,c(Q12737077))
action filter_type
action find
entity Q498230
relation P39
type Q12737077
[ANSWER] was a position for which Andreas Hähnel was appointed
['Q498230', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q498230 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Member of the Landtag of Saxony
Member of the Landtag of Saxony was a position for which Andreas Hähnel was appointed
Member of the Landtag of Saxony
action filter_type
action find
entity Andreas Hähnel
relation position held
type occupation
['Andreas Hähnel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Andreas_Hähnel property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q498230
P102
Q7278
USER
Which political party is Andreas Hähnel a member of ?
(Q498230,P102,c(Q7278))
action filter_type
action find
entity Q498230
relation P102
type Q7278
['Q498230', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q7278 . resource:Q498230 property:P102 ?i }
Andreas Hähnel
action filter_type
action find
entity Andreas Hähnel
relation member of political party
type political party
['Andreas Hähnel', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_party . resource:Andreas_Hähnel property:member_of_political_party ?i }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q498230,P102,c(Q7278))
action filter_type
action find
entity Q498230
relation P102
type Q7278
Party [ANSWER] is Andreas Hähnel a member of
['Q498230', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q7278 . resource:Q498230 property:P102 ?i }
Christian Democratic Union
Party Christian Democratic Union is Andreas Hähnel a member of
Christian Democratic Union
action filter_type
action find
entity Andreas Hähnel
relation member of political party
type political party
['Andreas Hähnel', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_party . resource:Andreas_Hähnel property:member_of_political_party ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15810190
Q7278
USER
And also tell me about Franz Arczynski?
(Q15810190,P102,c(Q7278))
action filter_type
action find
entity Q15810190
relation P102
type Q7278
['Q15810190', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?z WHERE { resource:Q15810190 property:P102 ?z . ?z rdf:type ontology:Q7278 }
Franz Arczynski
action filter_type
action find
entity Franz Arczynski
relation member of political party
type political party
['Franz Arczynski', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?z WHERE { resource:Franz_Arczynski property:member_of_political_party ?z . ?z rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q15810190,P102,c(Q7278))
action filter_type
action find
entity Q15810190
relation P102
type Q7278
[ANSWER]
['Q15810190', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?z WHERE { resource:Q15810190 property:P102 ?z . ?z rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Social Democratic Party of Germany
action filter_type
action find
entity Franz Arczynski
relation member of political party
type political party
['Franz Arczynski', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?z WHERE { resource:Franz_Arczynski property:member_of_political_party ?z . ?z rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15810190
P106
Q151885
USER
Which concept is the profession of that person ?
(Q49768,P106,c(Q151885))
action filter_type
action find
entity Q15810190
relation P106
type Q151885
['Q49768', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q15810190 property:P106 ?w . ?w rdf:type ontology:Q151885 }
Franz Arczynski
action filter_type
action find
entity Franz Arczynski
relation occupation
type concept
['Social Democratic Party of Germany', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:Franz_Arczynski property:occupation ?w . ?w rdf:type ontology:concept }
[]
concept
Q15627169
SYSTEM
trade unionist
Q15627169
(Q49768,P106,c(Q151885))
action filter_type
action find
entity Q15810190
relation P106
type Q151885
The [ANSWER] is the profession of that person
['Q49768', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q15810190 property:P106 ?w . ?w rdf:type ontology:Q151885 }
trade unionist
The trade unionist is the profession of that person
trade unionist
action filter_type
action find
entity Franz Arczynski
relation occupation
type concept
['Social Democratic Party of Germany', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:Franz_Arczynski property:occupation ?w . ?w rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15810190 Q26756803
P27
Q15617994
USER
How many administrative territories are Franz Arczynski or Carlos Greykey a civilian of ?
(Q15810190,P27,c(Q15617994)) (Q26756803,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q15810190
relation P27
type Q15617994
action filter_type
action find
entity Q26756803
relation P27
type Q15617994
['Q15810190', 'P27', {'concept': 'Q15617994'}] ['Q26756803', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { resource:Q15810190 property:P27 ?u . ?u rdf:type ontology:Q15617994 } UNION { resource:Q26756803 property:P27 ?u . ?u rdf:type ontology:Q15617994 } }
Franz Arczynski Carlos Greykey
action count
action union
action filter_type
action find
entity Franz Arczynski
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Carlos Greykey
relation country of citizenship
type designation for an administrative territorial entity
['Franz Arczynski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carlos Greykey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { resource:Franz_Arczynski property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Carlos_Greykey property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q29
(Q15810190,P27,c(Q15617994)) (Q26756803,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q15810190
relation P27
type Q15617994
action filter_type
action find
entity Q26756803
relation P27
type Q15617994
[ANSWER]
['Q15810190', 'P27', {'concept': 'Q15617994'}] ['Q26756803', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { resource:Q15810190 property:P27 ?u . ?u rdf:type ontology:Q15617994 } UNION { resource:Q26756803 property:P27 ?u . ?u rdf:type ontology:Q15617994 } }
France Spain
2
action count
action union
action filter_type
action find
entity Franz Arczynski
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Carlos Greykey
relation country of citizenship
type designation for an administrative territorial entity
['Franz Arczynski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carlos Greykey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { resource:Franz_Arczynski property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Carlos_Greykey property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20873497
P136
Q151885
USER
What can be considered as category for Marlon Williams ?
(Q20873497,P136,c(Q151885))
action filter_type
action find
entity Q20873497
relation P136
type Q151885
['Q20873497', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { resource:Q20873497 property:P136 ?e . ?e rdf:type ontology:Q151885 }
Marlon Williams
action filter_type
action find
entity Marlon Williams
relation genre
type concept
['Marlon Williams', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { resource:Marlon_Williams property:genre ?e . ?e rdf:type ontology:concept }
[]
concept
Q438476
SYSTEM
alternative country
Q438476
(Q20873497,P136,c(Q151885))
action filter_type
action find
entity Q20873497
relation P136
type Q151885
[ANSWER] can be considered as category for Marlon Williams
['Q20873497', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { resource:Q20873497 property:P136 ?e . ?e rdf:type ontology:Q151885 }
alternative country
Alternative country can be considered as category for Marlon Williams
alternative country
action filter_type
action find
entity Marlon Williams
relation genre
type concept
['Marlon Williams', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { resource:Marlon_Williams property:genre ?e . ?e rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8960633
P1142
Q7257 Q1047113 Q7278
USER
How many political parties have greater number of ideologies or special fields as their political ideology than Ezker Anitza ?
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action count
action greater
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 Q8960633
relation P1142
type Q7257
type Q1047113
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } . ?t rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Q8960633 property:P1142 ?u . { { ?u rdf:type ontology:Q7257 } UNION { ?u rdf:type ontology:Q1047113 } } } } . FILTER ( ?i > ?g ) }
Ezker Anitza
action count
action greater
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 Ezker Anitza
relation political ideology
type ideology
type special field
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?l WHERE { VALUES ( ?h ) { ( ontology:ideology ) ( ontology:special_field ) } . ?t rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Ezker_Anitza property:political_ideology ?u . { { ?u rdf:type ontology:ideology } UNION { ?u rdf:type ontology:special_field } } } } . FILTER ( ?i > ?g ) }
[]
ideology special field political party
SYSTEM
16
Q196695 Q1129443 Q49768 Q49762 Q653566 Q1628993 Q192821 Q49766 Q25713876 Q613786 Q5398117 Q1393123 Q208242 Q150068 Q18511333 Q130761
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action count
action greater
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 Q8960633
relation P1142
type Q7257
type Q1047113
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } . ?t rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Q8960633 property:P1142 ?u . { { ?u rdf:type ontology:Q7257 } UNION { ?u rdf:type ontology:Q1047113 } } } } . FILTER ( ?i > ?g ) }
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
16
action count
action greater
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 Ezker Anitza
relation political ideology
type ideology
type special field
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?l WHERE { VALUES ( ?h ) { ( ontology:ideology ) ( ontology:special_field ) } . ?t rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Ezker_Anitza property:political_ideology ?u . { { ?u rdf:type ontology:ideology } UNION { ?u rdf:type ontology:special_field } } } } . FILTER ( ?i > ?g ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8960633
P17
Q15617994
USER
Which administrative territory is that political party present in ?
action filter_type
action find
entity Q8960633
relation P17
type Q15617994
SELECT DISTINCT ?c WHERE { resource:Q8960633 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Ezker Anitza
action filter_type
action find
entity Ezker Anitza
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?c WHERE { resource:Ezker_Anitza property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
action filter_type
action find
entity Q8960633
relation P17
type Q15617994
That political party is in [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q8960633 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Spain
That political party is in Spain
Spain
action filter_type
action find
entity Ezker Anitza
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?c WHERE { resource:Ezker_Anitza property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q584040
P1142
Q1047113 Q7257 Q7278
USER
Which political parties promote less number of special fields or ideologies than España 2000 ?
(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 Q584040
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?z WHERE { { ?z property:P1142 ?t . ?z rdf:type ontology:Q7278 . ?t rdf:type ontology:Q7257 } UNION { ?z property:P1142 ?t . ?z rdf:type ontology:Q7278 . ?t rdf:type ontology:Q1047113 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q584040 property:P1142 ?g . { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } } } . FILTER ( ?d < ?k ) }
España 2000
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 España 2000
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?z WHERE { { ?z property:political_ideology ?t . ?z rdf:type ontology:political_party . ?t rdf:type ontology:ideology } UNION { ?z property:political_ideology ?t . ?z rdf:type ontology:political_party . ?t rdf:type ontology:special_field } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:España_2000 property:political_ideology ?g . { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:special_field ) ( ontology:ideology ) } } } } . FILTER ( ?d < ?k ) }
[]
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 Q584040
relation P1142
type Q1047113
type Q7257
[ANSWERS] promote less number of special fields or ideologies than España 2000
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?z WHERE { { ?z property:P1142 ?t . ?z rdf:type ontology:Q7278 . ?t rdf:type ontology:Q7257 } UNION { ?z property:P1142 ?t . ?z rdf:type ontology:Q7278 . ?t rdf:type ontology:Q1047113 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:Q584040 property:P1142 ?g . { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } } } . FILTER ( ?d < ?k ) }
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 promote less number of special fields or ideologies than España 2000
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 España 2000
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?z WHERE { { ?z property:political_ideology ?t . ?z rdf:type ontology:political_party . ?t rdf:type ontology:ideology } UNION { ?z property:political_ideology ?t . ?z rdf:type ontology:political_party . ?t rdf:type ontology:special_field } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { resource:España_2000 property:political_ideology ?g . { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:special_field ) ( ontology:ideology ) } } } } . FILTER ( ?d < ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3028838
P1142
Q1047113 Q7257 Q7278
USER
And how about Social Democratic Party?
(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 Q3028838
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Q3028838 property:P1142 ?m . { VALUES ( ?k ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?m rdf:type ?k } } } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?s ) WHERE { { ?q property:P1142 ?r . ?r rdf:type ontology:Q1047113 . ?q rdf:type ontology:Q7278 } UNION { ?q property:P1142 ?r . ?q rdf:type ontology:Q7278 . ?r rdf:type ontology:Q7257 } } GROUP BY ?q } }
Social Democratic Party
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 Social Democratic Party
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Social_Democratic_Party property:political_ideology ?m . { VALUES ( ?k ) { ( ontology:special_field ) ( ontology:ideology ) } . ?m rdf:type ?k } } } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?s ) WHERE { { ?q property:political_ideology ?r . ?r rdf:type ontology:special_field . ?q rdf:type ontology:political_party } UNION { ?q property:political_ideology ?r . ?q rdf:type ontology:political_party . ?r rdf:type ontology:ideology } } GROUP BY ?q } }
[]
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 Q3028838
relation P1142
type Q1047113
type Q7257
[ANSWERS]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Q3028838 property:P1142 ?m . { VALUES ( ?k ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?m rdf:type ?k } } } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?s ) WHERE { { ?q property:P1142 ?r . ?r rdf:type ontology:Q1047113 . ?q rdf:type ontology:Q7278 } UNION { ?q property:P1142 ?r . ?q rdf:type ontology:Q7278 . ?r rdf:type ontology:Q7257 } } GROUP BY ?q } }
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 Social Democratic Party
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Social_Democratic_Party property:political_ideology ?m . { VALUES ( ?k ) { ( ontology:special_field ) ( ontology:ideology ) } . ?m rdf:type ?k } } } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?s ) WHERE { { ?q property:political_ideology ?r . ?r rdf:type ontology:special_field . ?q rdf:type ontology:political_party } UNION { ?q property:political_ideology ?r . ?q rdf:type ontology:political_party . ?r rdf:type ontology:ideology } } GROUP BY ?q } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49750
P159
Q486972
USER
Where is the head office for that political party located ?
(Q49750,P159,c(Q486972))
action filter_type
action find
entity Q49750
relation P159
type Q486972
['Q49750', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { resource:Q49750 property:P159 ?a . ?a rdf:type ontology:Q486972 }
Socialist Unity Party of Germany
action filter_type
action find
entity Socialist Unity Party of Germany
relation headquarters location
type human settlement
['Socialist Unity Party of Germany', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { resource:Socialist_Unity_Party_of_Germany property:headquarters_location ?a . ?a rdf:type ontology:human_settlement }
[]
human settlement
Clarification for simple ques.
Q13129
SYSTEM
Did you mean Pirate Party Germany ?
Q16059622 Q13129 Q49750
(Q16059622,P159,c(Q486972)) (Q13129,P159,c(Q486972)) (Q49750,P159,c(Q486972))
[ANSWER]
['Q16059622', 'P159', {'concept': 'Q486972'}] ['Q13129', 'P159', {'concept': 'Q486972'}] ['Q49750', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { resource:Q49750 property:P159 ?a . ?a rdf:type ontology:Q486972 }
Podemos Pirate Party Germany Socialist Unity Party of Germany
Did you mean Pirate Party Germany ?
Pirate Party Germany
['Podemos', 'headquarters location', {'concept': 'human settlement'}] ['Pirate Party Germany', 'headquarters location', {'concept': 'human settlement'}] ['Socialist Unity Party of Germany', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { resource:Socialist_Unity_Party_of_Germany property:headquarters_location ?a . ?a rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
USER
No, I meant Socialist Unity Party of Germany. Could you tell me the answer for that?
(Q49750,P159,c(Q486972))
Q49750
['Q49750', 'P159', {'concept': 'Q486972'}]
['Socialist Unity Party of Germany', 'headquarters location', {'concept': 'human settlement'}]
[]
Q56037
SYSTEM
East Berlin
Q56037
(Q49750,P159,c(Q486972))
action filter_type
action find
entity Q49750
relation P159
type Q486972
The head office for that political party is located in [ANSWER]
['Q49750', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { resource:Q49750 property:P159 ?a . ?a rdf:type ontology:Q486972 }
East Berlin
The head office for that political party is located in East Berlin
East Berlin
action filter_type
action find
entity Socialist Unity Party of Germany
relation headquarters location
type human settlement
['Socialist Unity Party of Germany', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { resource:Socialist_Unity_Party_of_Germany property:headquarters_location ?a . ?a rdf:type ontology:human_settlement }
[]