Simple Question (Direct)
Simple Question
Q25733
P144
Q234460
USER
Which text does Barbie in the Nutcracker extend upon ?
(Q25733,P144,c(Q234460))
action filter_type
action find
entity Q25733
relation P144
type Q234460
['Q25733', 'P144', {'concept': 'Q234460'}]
SELECT DISTINCT ?g WHERE { resource:Q25733 property:P144 ?g . ?g rdf:type ontology:Q234460 }
Barbie in the Nutcracker
action filter_type
action find
entity Barbie in the Nutcracker
relation based on
type text
['Barbie in the Nutcracker', 'based on', {'concept': 'text'}]
SELECT DISTINCT ?g WHERE { resource:Barbie_in_the_Nutcracker property:based_on ?g . ?g rdf:type ontology:text }
[]
text
Q744557
SYSTEM
The Nutcracker and the Mouse King
Q744557
(Q25733,P144,c(Q234460))
action filter_type
action find
entity Q25733
relation P144
type Q234460
Barbie in the Nutcracker extends to [ANSWER]
['Q25733', 'P144', {'concept': 'Q234460'}]
SELECT DISTINCT ?g WHERE { resource:Q25733 property:P144 ?g . ?g rdf:type ontology:Q234460 }
The Nutcracker and the Mouse King
Barbie in the Nutcracker extends to The Nutcracker and the Mouse King
The Nutcracker and the Mouse King
action filter_type
action find
entity Barbie in the Nutcracker
relation based on
type text
['Barbie in the Nutcracker', 'based on', {'concept': 'text'}]
SELECT DISTINCT ?g WHERE { resource:Barbie_in_the_Nutcracker property:based_on ?g . ?g rdf:type ontology:text }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q744557
P136
Q1792379
USER
What can be considered as category for that text ?
(Q744557,P136,c(Q1792379))
action filter_type
action find
entity Q744557
relation P136
type Q1792379
['Q744557', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1792379 . resource:Q744557 property:P136 ?l }
The Nutcracker and the Mouse King
action filter_type
action find
entity The Nutcracker and the Mouse King
relation genre
type art genre
['The Nutcracker and the Mouse King', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:art_genre . resource:The_Nutcracker_and_the_Mouse_King property:genre ?l }
[]
art genre
Q20730955
SYSTEM
tale
Q20730955
(Q744557,P136,c(Q1792379))
action filter_type
action find
entity Q744557
relation P136
type Q1792379
A [ANSWER] can be considered as category for that text
['Q744557', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1792379 . resource:Q744557 property:P136 ?l }
tale
A tale can be considered as category for that text
tale
action filter_type
action find
entity The Nutcracker and the Mouse King
relation genre
type art genre
['The Nutcracker and the Mouse King', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:art_genre . resource:The_Nutcracker_and_the_Mouse_King property:genre ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q744557
P800
Q502895
USER
Who has The Nutcracker and the Mouse King as their notable work ?
(c(Q502895),P800,Q744557)
action filter_type
action find_reverse
entity Q744557
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q744557']
SELECT DISTINCT ?h WHERE { ?h property:P800 resource:Q744557 . ?h rdf:type ontology:Q502895 }
The Nutcracker and the Mouse King
action filter_type
action find_reverse
entity The Nutcracker and the Mouse King
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Nutcracker and the Mouse King']
SELECT DISTINCT ?h WHERE { ?h property:notable_work resource:The_Nutcracker_and_the_Mouse_King . ?h rdf:type ontology:common_name }
[]
common name
Q150471
SYSTEM
E. T. A. Hoffmann
Q150471
(c(Q502895),P800,Q744557)
action filter_type
action find_reverse
entity Q744557
relation P800
type Q502895
[ANSWER] has The Nutcracker and the Mouse King as their notable work
[{'concept': 'Q502895'}, 'P800', 'Q744557']
SELECT DISTINCT ?h WHERE { ?h property:P800 resource:Q744557 . ?h rdf:type ontology:Q502895 }
E. T. A. Hoffmann
E. T. A. Hoffmann has The Nutcracker and the Mouse King as their notable work
E. T. A. Hoffmann
action filter_type
action find_reverse
entity The Nutcracker and the Mouse King
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Nutcracker and the Mouse King']
SELECT DISTINCT ?h WHERE { ?h property:notable_work resource:The_Nutcracker_and_the_Mouse_King . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q744557
P50
Q502895
USER
Who was the writer of The Nutcracker and the Mouse King ?
(Q744557,P50,c(Q502895))
action filter_type
action find
entity Q744557
relation P50
type Q502895
['Q744557', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q744557 property:P50 ?v . ?v rdf:type ontology:Q502895 }
The Nutcracker and the Mouse King
action filter_type
action find
entity The Nutcracker and the Mouse King
relation author
type common name
['The Nutcracker and the Mouse King', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Nutcracker_and_the_Mouse_King property:author ?v . ?v rdf:type ontology:common_name }
[]
common name
Q150471
SYSTEM
E. T. A. Hoffmann
Q150471
(Q744557,P50,c(Q502895))
action filter_type
action find
entity Q744557
relation P50
type Q502895
The writer of The Nutcracker and the Mouse King was by [ANSWER]
['Q744557', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q744557 property:P50 ?v . ?v rdf:type ontology:Q502895 }
E. T. A. Hoffmann
The writer of The Nutcracker and the Mouse King was by E. T. A. Hoffmann
E. T. A. Hoffmann
action filter_type
action find
entity The Nutcracker and the Mouse King
relation author
type common name
['The Nutcracker and the Mouse King', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Nutcracker_and_the_Mouse_King property:author ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q150471
P737
Q502895
USER
Which people were influenced by that one ?
(c(Q502895),P737,Q150471)
action filter_type
action find_reverse
entity Q150471
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q150471']
SELECT DISTINCT ?w WHERE { ?w property:P737 resource:Q150471 . ?w rdf:type ontology:Q502895 }
E. T. A. Hoffmann
action filter_type
action find_reverse
entity E. T. A. Hoffmann
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'E. T. A. Hoffmann']
SELECT DISTINCT ?w WHERE { ?w property:influenced_by resource:E._T._A._Hoffmann . ?w rdf:type ontology:common_name }
[]
common name
Q43718 Q27645
SYSTEM
Nikolai Gogol, Mikhail Bakunin
Q43718 Q27645
(c(Q502895),P737,Q150471)
action filter_type
action find_reverse
entity Q150471
relation P737
type Q502895
And [ANSWERS] were influenced by that one
[{'concept': 'Q502895'}, 'P737', 'Q150471']
SELECT DISTINCT ?w WHERE { ?w property:P737 resource:Q150471 . ?w rdf:type ontology:Q502895 }
Nikolai Gogol Mikhail Bakunin
And Nikolai Gogol and Mikhail Bakunin were influenced by that one
Nikolai Gogol Mikhail Bakunin
action filter_type
action find_reverse
entity E. T. A. Hoffmann
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'E. T. A. Hoffmann']
SELECT DISTINCT ?w WHERE { ?w property:influenced_by resource:E._T._A._Hoffmann . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q43718 Q27645
P921
Q191067
USER
Which articles were primarily based on those people ?
(c(Q191067),P921,Q43718) (c(Q191067),P921,Q27645)
action filter_type
action find_reverse
entity prev_answer
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q43718'] [{'concept': 'Q191067'}, 'P921', 'Q27645']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q191067 . VALUES ( ?f ) { ( resource:Q43718 ) ( resource:Q27645 ) } . ?k property:P921 ?f }
Nikolai Gogol Mikhail Bakunin
action filter_type
action find_reverse
entity prev_answer
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Nikolai Gogol'] [{'concept': 'article'}, 'main subject', 'Mikhail Bakunin']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:article . VALUES ( ?f ) { ( resource:Nikolai_Gogol ) ( resource:Mikhail_Bakunin ) } . ?k property:main_subject ?f }
[]
article
Q20646156 Q20646281
SYSTEM
EB-11 / Gogol, Nikolai Vasilievich, EB-11 / Bakunin, Mikhail
Q20646156 Q20646281
(c(Q191067),P921,Q43718) (c(Q191067),P921,Q27645)
action filter_type
action find_reverse
entity prev_answer
relation P921
type Q191067
[ANSWERS]
[{'concept': 'Q191067'}, 'P921', 'Q43718'] [{'concept': 'Q191067'}, 'P921', 'Q27645']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q191067 . VALUES ( ?f ) { ( resource:Q43718 ) ( resource:Q27645 ) } . ?k property:P921 ?f }
EB-11 / Gogol, Nikolai Vasilievich EB-11 / Bakunin, Mikhail
EB-11 / Gogol, Nikolai Vasilievich and EB-11 / Bakunin, Mikhail were primarily based on those people
EB-11 / Gogol, Nikolai Vasilievich EB-11 / Bakunin, Mikhail
action filter_type
action find_reverse
entity prev_answer
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Nikolai Gogol'] [{'concept': 'article'}, 'main subject', 'Mikhail Bakunin']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:article . VALUES ( ?f ) { ( resource:Nikolai_Gogol ) ( resource:Mikhail_Bakunin ) } . ?k property:main_subject ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27645
P135
Q2712963
USER
Which abstract noun was Mikhail Bakunin linked with ?
(Q27645,P135,c(Q2712963))
action filter_type
action find
entity Q27645
relation P135
type Q2712963
['Q27645', 'P135', {'concept': 'Q2712963'}]
SELECT DISTINCT ?j WHERE { resource:Q27645 property:P135 ?j . ?j rdf:type ontology:Q2712963 }
Mikhail Bakunin
action filter_type
action find
entity Mikhail Bakunin
relation movement
type abstract noun
['Mikhail Bakunin', 'movement', {'concept': 'abstract noun'}]
SELECT DISTINCT ?j WHERE { resource:Mikhail_Bakunin property:movement ?j . ?j rdf:type ontology:abstract_noun }
[]
abstract noun
Q7066
SYSTEM
atheism
Q7066
(Q27645,P135,c(Q2712963))
action filter_type
action find
entity Q27645
relation P135
type Q2712963
Mikhail Bakunin was linked to [ANSWER]
['Q27645', 'P135', {'concept': 'Q2712963'}]
SELECT DISTINCT ?j WHERE { resource:Q27645 property:P135 ?j . ?j rdf:type ontology:Q2712963 }
atheism
Mikhail Bakunin was linked to atheism
atheism
action filter_type
action find
entity Mikhail Bakunin
relation movement
type abstract noun
['Mikhail Bakunin', 'movement', {'concept': 'abstract noun'}]
SELECT DISTINCT ?j WHERE { resource:Mikhail_Bakunin property:movement ?j . ?j rdf:type ontology:abstract_noun }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q27645
Q7257
USER
And which ideology?
(Q27645,P135,c(Q7257))
action filter_type
action find
entity Q27645
relation P135
type Q7257
['Q27645', 'P135', {'concept': 'Q7257'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7257 . resource:Q27645 property:P135 ?o }
Mikhail Bakunin
action filter_type
action find
entity Mikhail Bakunin
relation movement
type ideology
['Mikhail Bakunin', 'movement', {'concept': 'ideology'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:ideology . resource:Mikhail_Bakunin property:movement ?o }
[]
ideology
Q6199
SYSTEM
anarchism
Q6199
(Q27645,P135,c(Q7257))
action filter_type
action find
entity Q27645
relation P135
type Q7257
[ANSWER]
['Q27645', 'P135', {'concept': 'Q7257'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7257 . resource:Q27645 property:P135 ?o }
anarchism
anarchism
action filter_type
action find
entity Mikhail Bakunin
relation movement
type ideology
['Mikhail Bakunin', 'movement', {'concept': 'ideology'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:ideology . resource:Mikhail_Bakunin property:movement ?o }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q653566
P1142
Q7257 Q7278
USER
How many political parties believe in lesser number of ideologies than European National Front ?
(c(Q7278),P1142,c(Q7257))
action count
action less
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_type
action find
entity Q653566
relation P1142
type Q7257
[{'concept': 'Q7278'}, 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?s ) WHERE { ?c property:P1142 ?i . ?c rdf:type ontology:Q7278 . ?i rdf:type ontology:Q7257 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q653566 property:P1142 ?h . ?h rdf:type ontology:Q7257 } } . FILTER ( ?s < ?e ) }
European National Front
action count
action less
action find_tuple_counts
relation political ideology
type political party
type ideology
action count
action filter_type
action find
entity European National Front
relation political ideology
type ideology
[{'concept': 'political party'}, 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?s ) WHERE { ?c property:political_ideology ?i . ?c rdf:type ontology:political_party . ?i rdf:type ontology:ideology } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:European_National_Front property:political_ideology ?h . ?h rdf:type ontology:ideology } } . FILTER ( ?s < ?e ) }
[]
ideology political party
SYSTEM
335
Q3395191 Q627213 Q8711543 Q280906 Q1164324 Q196695 Q6064226 Q3572851 Q3121556 Q49750 Q950179 Q504000 Q781486 Q3751152 Q5154286 Q852329 Q1470891 Q8960633 Q3322477 Q1778910 Q4891011 Q5154327 Q3499324 Q2576679 Q4229890 Q1780583 Q605468 Q3395560 Q10862991 Q1422942 Q438783 Q5314301 Q6063944 Q1445096 Q2531228 Q3331262 Q25079 Q3328775 Q2885750 Q587803 Q192406 Q385543 Q3176618 Q3324147 Q426963 Q3322686 Q43093 Q82558 Q2031569 Q3392277 Q3366659 Q3133199 Q1104327 Q368067 Q980471 Q3573249 Q2395103 Q3306235 Q6767863 Q3366745 Q537850 Q49758 Q1351963 Q2366462 Q3042973 Q3307042 Q2395467 Q586066 Q155820 Q1129443 Q5502807 Q161118 Q317952 Q1278980 Q2883859 Q6064217 Q5033985 Q79854 Q49768 Q2590329 Q49762 Q4671756 Q1987660 Q512498 Q3296785 Q2386352 Q3324157 Q2866675 Q7197818 Q1574974 Q2883403 Q7197814 Q7197815 Q1628993 Q7197810 Q371402 Q641600 Q1169744 Q192821 Q3045391 Q1276239 Q9056260 Q9056262 Q208602 Q5558687 Q3395162 Q49621 Q50571 Q3822555 Q5154467 Q9056182 Q3327144 Q4229909 Q549209 Q4894568 Q3313706 Q324107 Q713302 Q1672366 Q1284257 Q2166484 Q478811 Q2054444 Q429078 Q7197806 Q1437906 Q3306974 Q7232673 Q617603 Q3047700 Q9056341 Q537649 Q734792 Q185088 Q325413 Q913567 Q2096648 Q256121 Q1069440 Q202649 Q584040 Q1122797 Q5154376 Q1737170 Q3328003 Q321633 Q1339294 Q305317 Q750116 Q1125061 Q2257766 Q217009 Q308714 Q1120586 Q463318 Q49766 Q2118395 Q25713876 Q2351908 Q3313721 Q3122372 Q1377195 Q2376287 Q2838243 Q1325836 Q4895562 Q695270 Q668699 Q545900 Q9056254 Q1153753 Q3326408 Q3327113 Q2203833 Q3326711 Q7309255 Q613786 Q8778797 Q2749535 Q2733414 Q592068 Q1786349 Q3191174 Q2876738 Q204911 Q9056440 Q3173752 Q8195538 Q1073752 Q1089640 Q138198 Q3322790 Q3739119 Q341085 Q1136727 Q5398117 Q1577483 Q6064176 Q4753534 Q662502 Q173236 Q3298265 Q3751846 Q3813847 Q576518 Q198403 Q794247 Q3751189 Q153401 Q3326695 Q220945 Q1343742 Q777074 Q2165306 Q3049400 Q8350502 Q617261 Q461886 Q3750882 Q7362565 Q209546 Q659739 Q3320917 Q155000 Q9669 Q950356 Q148861 Q13129 Q1957214 Q4229896 Q5154414 Q883448 Q3326258 Q3330925 Q506537 Q7197808 Q4345980 Q3366589 Q8206150 Q580690 Q3306652 Q2054574 Q581186 Q2055003 Q3326681 Q634372 Q5291 Q5406044 Q6064224 Q847914 Q781788 Q1393123 Q2575714 Q3322771 Q3028838 Q11698116 Q1789010 Q3573531 Q1459085 Q3328052 Q3327928 Q672479 Q1029761 Q1525453 Q1359816 Q208242 Q16059622 Q18761823 Q961371 Q17427 Q3395147 Q611548 Q19972534 Q12389059 Q2099347 Q280901 Q3079953 Q3366598 Q3125165 Q1268112 Q3089721 Q49756 Q965481 Q49754 Q49755 Q639383 Q3133156 Q150068 Q1972750 Q168153 Q625556 Q6063925 Q1412555 Q3328134 Q606955 Q1328410 Q1465376 Q3322584 Q788345 Q507226 Q452571 Q487129 Q321673 Q18511333 Q4891520 Q3306992 Q3780661 Q3134856 Q5604424 Q3328040 Q3047694 Q954933 Q3327440 Q4363281 Q3327447 Q3571603 Q943595 Q3181825 Q956240 Q499632 Q5401616 Q1780610 Q2630934 Q2597196 Q937365 Q2605592 Q3175770 Q10944648 Q6063953 Q600703 Q427325 Q8347650 Q3133165 Q8350511 Q885433
(c(Q7278),P1142,c(Q7257))
action count
action less
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_type
action find
entity Q653566
relation P1142
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?s ) WHERE { ?c property:P1142 ?i . ?c rdf:type ontology:Q7278 . ?i rdf:type ontology:Q7257 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q653566 property:P1142 ?h . ?h rdf:type ontology:Q7257 } } . FILTER ( ?s < ?e ) }
Liberal Democratic Party (Spain) Workers' Party of Ethiopia Communist Party of Kampuchea Socialist Party of Navarra-PSOE Communist Party of Denmark Green League People's Party of Extremadura Aragon's Socialists' Party Syndicalist Party Socialist Unity Party of Germany European Green Party Communist Party of Brazil Australian Greens Democrats Convergence of Navarre Communist Initiative Movement for a Europe of Liberties and Democracy Union of October 17 Ezker Anitza Party of the Communists of Catalonia Popular Socialist Party Extremaduran Coalition Communist Party of Andalusia Green Party Communist Party of Greece (Marxist–Leninist) Communist Party of Australia Communist Party of Namibia Communist Party of Poland Partido Galeguista Demócrata Converxencia Nacionalista Galega Radical Democratic Party Democratic Alternative Slovenian Pirate Party Revolutionary Communist Party People's Party of Catalonia Euskadiko Ezkerra Canarian Nationalist Assembly Alliance of Liberals and Democrats for Europe Party Socialist Party of the People of Ceuta Socialist Party of National Liberation Communist Party of Norway Communist Party of Greece Communist Party of the Netherlands Socialist Party of the Valencian Country Catalan Workers Bloc Communist Party of Nepal Liberal Party Basque Nationalist Party Party Against Mistreatment to Animals People's Party of Galicia People's Party (Spain, 1976) Russian Party Revolutionary Communist League Canarian Coalition Alliance of European National Movements Regional Action Communist Party of Aragon Pridnestrovie Communist Party Partido Galeguista Pirate Party of Turkey Socialist Party of Madrid-PSOE Communist Party of Belgium National Democratic Party of Germany Citizenship, Action, Participation for the 21st Century Regionalist Party of Cantabria Estat Català Communist Party of National Liberation Communist Party of West Belarus Tunisian Communist Party Constitutional Democratic Party Democratic Convergence of Catalonia Frente Nacional Communist Party of Austria Communist Party of Chile Andalusian Party Communist Party Andalusian People's Party Cantonal Party Communist Party of the Soviet Union Social Democratic Party of Germany Communist Party of Australia Christian Democratic Union Communist Organization of Spain Green Confederation Marijuana Party of Canada Galician Socialist Party-Galician Left Communist Party of the People of Spain Galician Party of the Proletariat Askatasuna Pirate Party of Ukraine Pirate Party UK Extremaduran Popular Bloc Pirate Party of Serbia Pirate Party of Poland Democratic Union of Catalonia Pirate Party of Bosnia and Herzegovina Communist Party of Cuba Japanese Communist Party Communist Party of the Basque Homelands French Communist Party Ezker Batua – Berdeak EUDemocrats 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) Workers Party of South Korea United States Pirate Party Cannabis Party Communist Party of the Catalan People Christian Democratic Party Liberal Democratic Centre Communist Party of the Russian Soviet Federative Socialist Republic Union of the Democratic Centre Communist Party of Asturias Assembleia do Povo Unido Communist Party of Germany/Marxists–Leninists Green Party Taiwan Iraqi Communist Party Pirate Party Communist People's Party of Kazakhstan Communist Party of Spain Communist Party of Réunion PSUC viu Pirate Party Asturias Forum Galician Nationalist Party-Galicianist Party Portuguese Pirate Party Communist Workers' Party of Germany Liberal-Conservative Party Partido Socialista de los Trabajadores (Spain) Communist Party of Hungary European Democratic Party People's Party Communist Party of Belarus Communist Party of Bohemia and Moravia Pirate Party Berlin Romanian Communist Party Pirate Party of Russia Party of the European Left España 2000 Communist Party of Ukraine Communist Party of Castile-La Mancha Italian Pirate Party Nationalist Left Communist Party of Germany (1990) Tudeh Party of Iran South African Communist Party Party of Communists of the Republic of Moldova Eusko Alkartasuna Spanish Communist Workers' Party Socialist Revolutionary Party Communist Party USA Communist Party of Australia Movement of Unitarian Communists Alliance '90/The Greens Algerian Communist Party Catalan European Democratic Party Communist Party of Bulgaria Catalunya Lliure Galician Socialist Party European Alliance for Freedom Communist Party of Moldova People's Alliance Communist Party of Slovakia Party of Labour of Spain Pirate Party of Austria POUM Green Liberal Party of Switzerland People's Party of Cantabria Ecology Generation Communist Party of the Valencian Country Communist Party of Spain Sudanese Communist Party National Front Regionalist Party of Guadalajara Europe Ecology – The Greens Esquerda de Galicia Galician Left Alternative Socialist Party of the Basque Country – Basque Country Left Communist Party of Great Britain Spanish Communist Workers' Party Pirate Party Democratic Left Russian Social Democratic Labour Party Nationalist Party of the Valencian Country Slovak Pirate Party National Alliance Hungarian Working People's Party Chunta Aragonesista Spanish Socialist Workers' Party Euskal Ezkerra Communist Party Czech Pirate Party Pirate Party Belgium Canarian Nationalist Alternative Alliance of European Conservatives and Reformists Nationalist Party of Cantabria Andalusian Social Liberal Party Federation of the Greens Convergence for the Isles Communist Party of Pakistan Humanist Party Proletarian Catalan Party Communist Party of Aragon Pirate Party Iceland Partíu Asturianista Alternativa Popular Canaria Communist Party of Germany Workers' Party Party of European Socialists Pirate Party of Greece Communist Party of Burma People's Alliance Carlist Party Convergència Democràtica de la Franja Political Party of Radicals Italian Communist Party Communist Party of the Basque Country Romanian Pirate Party Batasuna Green Party of Switzerland Equo Bulgarian Communist Party Green Party of England and Wales Parti Québécois German Communist Party Pirate Party Germany Syrian Communist Party Communist Party of Germany Communist Party of Madrid Association for Solidarity Perspectives Communist Party of Galicia United Extremadura Unified Communist Party of Nepal Pirate Party Croatia Party of Democratic Reform Pirate Party (Tunisia) Canarian Assembly Union of the Russian People Galician Coalition Aragonese Party Communist Party of Albania Socialists' Party of Catalonia Communist Party of the Valencians Democratic Popular Party Pirate Party Cangas Left Alternative People's Party of Castile and León Communist Party of Venezuela Pirate Party Ciudadanos Green Party of Quebec Euskal Iraultzarako Alderdia Social Democratic Party Unified Socialist Party of Andalusia Communist Party Carlist Party of Euskalherria Pirate Party Partido Galeguista Anova-Nationalist Brotherhood Pirate Party Switzerland Euskal Herria Bildu Communist Organization of Greece Communist Party of Thailand European People's Party Podemos The Greens Land Party Communist Party of China Democratic Reformist Party Bildu Jaén en Común Galician Workers Front Azerbaijan Communist Party People's Party of Aragon Pirate Party Luxembourg People's Party of Navarre Democratic Federal Republican Party League of Communists of Slovenia Workers' Communist Party Democratic Farmers' Party of Germany Communist Party Christian Democratic Union Liberal Democratic Party of Germany European Free Alliance Unified Communist Party of Spain Republican Left of Catalonia Peruvian Communist Party Pirate Party Australia Aralar Party Castilian Party Communist League of West Germany Revolutionary Workers' Party (Spain) Communist Party of South Ossetia Pirate Party Communist Party of Lithuania Republican Left of the Valencian Country Democratic and Social Centre Riojan Party Amaiur Communist Party of Germany Communist Party of Luxembourg VZDOR - strana práce Socialist Party of Cantabria–PSOE 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 Popular Socialists Galician Left Pirate Party of Kazakhstan United Left Socialist Party of Aragon Spanish Alternative Revolutionary Communist Party Spanish Socialist Workers' Party of Andalusia Marxist–Leninist Party of Germany Estonian Pirate Party Communist Party of Latvia Unified Socialist Party of Catalonia Brazilian Communist Party PSM-Nationalist Agreement Communist Party of Moldova Communist Party of Spain (Reconstituted) Valencian Left Partido Comunista de Galicia Communist Party of Sri Lanka Communist Party of Vietnam Unitarian Candidacy of Workers Workers' Party of Spain – Communist Unity Galician Convergence Galician Nationalist Bloc
335
action count
action less
action find_tuple_counts
relation political ideology
type political party
type ideology
action count
action filter_type
action find
entity European National Front
relation political ideology
type ideology
[{'concept': 'political party'}, 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?s ) WHERE { ?c property:political_ideology ?i . ?c rdf:type ontology:political_party . ?i rdf:type ontology:ideology } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:European_National_Front property:political_ideology ?h . ?h rdf:type ontology:ideology } } . FILTER ( ?s < ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3571603
P1142
Q7257 Q7278
USER
And what about Socialist Party of Aragon?
(c(Q7278),P1142,c(Q7257))
action count
action less
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_type
action find
entity Q3571603
relation P1142
type Q7257
[{'concept': 'Q7278'}, 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q3571603 property:P1142 ?g . ?g rdf:type ontology:Q7257 } } . FILTER ( ?o < ?y ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?o ) WHERE { ?m property:P1142 ?j . ?m rdf:type ontology:Q7278 . ?j rdf:type ontology:Q7257 } GROUP BY ?m } }
Socialist Party of Aragon
action count
action less
action find_tuple_counts
relation political ideology
type political party
type ideology
action count
action filter_type
action find
entity Socialist Party of Aragon
relation political ideology
type ideology
[{'concept': 'political party'}, 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Socialist_Party_of_Aragon property:political_ideology ?g . ?g rdf:type ontology:ideology } } . FILTER ( ?o < ?y ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?o ) WHERE { ?m property:political_ideology ?j . ?m rdf:type ontology:political_party . ?j rdf:type ontology:ideology } GROUP BY ?m } }
[]
ideology political party
SYSTEM
192
Q3395191 Q627213 Q8711543 Q1164324 Q6064226 Q3572851 Q49750 Q950179 Q504000 Q781486 Q1470891 Q3322477 Q4891011 Q5154327 Q3499324 Q4229890 Q1780583 Q10862991 Q438783 Q5314301 Q3331262 Q25079 Q3328775 Q192406 Q3176618 Q3324147 Q426963 Q82558 Q2031569 Q3392277 Q1104327 Q6767863 Q3366745 Q537850 Q49758 Q1351963 Q3042973 Q586066 Q5502807 Q161118 Q317952 Q2883859 Q6064217 Q2590329 Q4671756 Q1987660 Q512498 Q2386352 Q7197818 Q1574974 Q2883403 Q7197814 Q7197815 Q7197810 Q1169744 Q9056260 Q9056262 Q208602 Q5558687 Q3395162 Q50571 Q3822555 Q5154467 Q3327144 Q4229909 Q324107 Q713302 Q1672366 Q1284257 Q2166484 Q478811 Q2054444 Q429078 Q7197806 Q1437906 Q7232673 Q3047700 Q9056341 Q734792 Q913567 Q2096648 Q256121 Q1069440 Q1122797 Q5154376 Q321633 Q1339294 Q305317 Q750116 Q308714 Q1120586 Q463318 Q2351908 Q3122372 Q2376287 Q2838243 Q1325836 Q4895562 Q695270 Q668699 Q545900 Q9056254 Q1153753 Q2203833 Q3326711 Q8778797 Q592068 Q3191174 Q204911 Q3173752 Q8195538 Q1073752 Q138198 Q3739119 Q341085 Q1136727 Q1577483 Q662502 Q173236 Q3298265 Q3751846 Q3813847 Q198403 Q153401 Q3326695 Q1343742 Q3049400 Q8350502 Q617261 Q461886 Q7362565 Q659739 Q3320917 Q155000 Q9669 Q950356 Q148861 Q13129 Q1957214 Q4229896 Q3326258 Q3330925 Q506537 Q7197808 Q4345980 Q3366589 Q8206150 Q580690 Q3326681 Q5291 Q5406044 Q6064224 Q847914 Q781788 Q2575714 Q1789010 Q3573531 Q1459085 Q672479 Q1525453 Q16059622 Q18761823 Q961371 Q19972534 Q12389059 Q280901 Q3079953 Q3366598 Q1268112 Q49755 Q1972750 Q168153 Q3328134 Q1328410 Q1465376 Q3322584 Q507226 Q452571 Q487129 Q321673 Q4891520 Q5604424 Q954933 Q3327440 Q4363281 Q943595 Q499632 Q5401616 Q2630934 Q2605592 Q10944648 Q600703
(c(Q7278),P1142,c(Q7257))
action count
action less
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_type
action find
entity Q3571603
relation P1142
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q3571603 property:P1142 ?g . ?g rdf:type ontology:Q7257 } } . FILTER ( ?o < ?y ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?o ) WHERE { ?m property:P1142 ?j . ?m rdf:type ontology:Q7278 . ?j rdf:type ontology:Q7257 } GROUP BY ?m } }
Liberal Democratic Party (Spain) 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 European Green Party Communist Party of Brazil Australian Greens Union of October 17 Party of the Communists of Catalonia Extremaduran Coalition Communist Party of Andalusia Green Party Communist Party of Australia Communist Party of Namibia Converxencia Nacionalista Galega Democratic Alternative Slovenian Pirate Party Canarian Nationalist Assembly Alliance of Liberals and Democrats for Europe Party 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 of Galicia People's Party (Spain, 1976) Canarian Coalition Pirate Party of Turkey Socialist Party of Madrid-PSOE Communist Party of Belgium National Democratic Party of Germany 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 Green Confederation 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 Liberal Democratic Centre Communist Party of the Russian Soviet Federative Socialist Republic Communist Party of Germany/Marxists–Leninists Green Party Taiwan Iraqi Communist Party Pirate Party Communist People's Party of Kazakhstan Communist Party of Spain Communist Party of Réunion PSUC viu Pirate Party Asturias Forum 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 People's Alliance Communist Party of Slovakia Party of Labour of Spain Pirate Party of Austria POUM Green Liberal Party of Switzerland People's Party of Cantabria Ecology Generation 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 Alliance of European Conservatives and Reformists Federation of the Greens 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 Green Party of Switzerland Equo Bulgarian Communist Party Green Party of England and Wales 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 Party of Democratic Reform 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 The Greens Land Party Jaén en Común Galician Workers Front People's Party of Aragon Pirate Party Luxembourg People's Party of Navarre League of Communists of Slovenia Liberal Democratic Party of Germany 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 Greens New South Wales 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
192
action count
action less
action find_tuple_counts
relation political ideology
type political party
type ideology
action count
action filter_type
action find
entity Socialist Party of Aragon
relation political ideology
type ideology
[{'concept': 'political party'}, 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Socialist_Party_of_Aragon property:political_ideology ?g . ?g rdf:type ontology:ideology } } . FILTER ( ?o < ?y ) . { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?o ) WHERE { ?m property:political_ideology ?j . ?m rdf:type ontology:political_party . ?j rdf:type ontology:ideology } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18564757
P58
Q502895
USER
Which person wrote the script for US 2 ?
(Q18564757,P58,c(Q502895))
action filter_type
action find
entity Q18564757
relation P58
type Q502895
['Q18564757', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q18564757 property:P58 ?a . ?a rdf:type ontology:Q502895 }
US 2
action filter_type
action find
entity US 2
relation screenwriter
type common name
['US 2', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:US_2 property:screenwriter ?a . ?a rdf:type ontology:common_name }
[]
common name
Q523952
SYSTEM
Radka Denemarková
Q523952
(Q18564757,P58,c(Q502895))
action filter_type
action find
entity Q18564757
relation P58
type Q502895
[ANSWER] wrote the script for US 2
['Q18564757', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q18564757 property:P58 ?a . ?a rdf:type ontology:Q502895 }
Radka Denemarková
Radka Denemarková wrote the script for US 2
Radka Denemarková
action filter_type
action find
entity US 2
relation screenwriter
type common name
['US 2', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:US_2 property:screenwriter ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q523952
P937
Q56061
USER
Where did that person work ?
(Q523952,P937,c(Q56061))
action filter_type
action find
entity Q523952
relation P937
type Q56061
['Q523952', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q523952 property:P937 ?f . ?f rdf:type ontology:Q56061 }
Radka Denemarková
action filter_type
action find
entity Radka Denemarková
relation work location
type administrative territorial entity
['Radka Denemarková', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Radka_Denemarková property:work_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q523952,P937,c(Q56061))
action filter_type
action find
entity Q523952
relation P937
type Q56061
That person worked in [ANSWER]
['Q523952', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q523952 property:P937 ?f . ?f rdf:type ontology:Q56061 }
Prague
That person worked in Prague
Prague
action filter_type
action find
entity Radka Denemarková
relation work location
type administrative territorial entity
['Radka Denemarková', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Radka_Denemarková property:work_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12021873 Q523952
P19 P937
Q56061
USER
Which administrative territories are the work locations of Radka Denemarková or were István Bajnok born ?
OR((Q523952,P937,c(Q56061)), (Q12021873,P19,c(Q56061)))
action filter_type
action union
action find
entity Q523952
relation P937
action find
entity Q12021873
relation P19
type Q56061
{'OR': [['Q523952', 'P937', {'concept': 'Q56061'}], ['Q12021873', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . { { resource:Q12021873 property:P19 ?u } UNION { resource:Q523952 property:P937 ?u } } }
István Bajnok Radka Denemarková
action filter_type
action union
action find
entity Radka Denemarková
relation work location
action find
entity István Bajnok
relation place of birth
type administrative territorial entity
{'OR': [['Radka Denemarková', 'work location', {'concept': 'administrative territorial entity'}], ['István Bajnok', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . { { resource:István_Bajnok property:place_of_birth ?u } UNION { resource:Radka_Denemarková property:work_location ?u } } }
[]
administrative territorial entity
Q390946 Q1085
SYSTEM
Šahy, Prague
Q390946 Q1085
OR((Q523952,P937,c(Q56061)), (Q12021873,P19,c(Q56061)))
action filter_type
action union
action find
entity Q523952
relation P937
action find
entity Q12021873
relation P19
type Q56061
[ANSWERS] are the work locations of Radka Denemarková or were István Bajnok born
{'OR': [['Q523952', 'P937', {'concept': 'Q56061'}], ['Q12021873', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . { { resource:Q12021873 property:P19 ?u } UNION { resource:Q523952 property:P937 ?u } } }
Šahy Prague
Šahy and Prague are the work locations of Radka Denemarková or were István Bajnok born
Šahy Prague
action filter_type
action union
action find
entity Radka Denemarková
relation work location
action find
entity István Bajnok
relation place of birth
type administrative territorial entity
{'OR': [['Radka Denemarková', 'work location', {'concept': 'administrative territorial entity'}], ['István Bajnok', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . { { resource:István_Bajnok property:place_of_birth ?u } UNION { resource:Radka_Denemarková property:work_location ?u } } }
[]