Simple Question (Direct)
Simple Question
Q1246273
P140
Q1530022
USER
Which religious organization does Dorothea Schäfer relate to ?
(Q1246273,P140,c(Q1530022))
action filter_type
action find
entity Q1246273
relation P140
type Q1530022
['Q1246273', 'P140', {'concept': 'Q1530022'}]
SELECT DISTINCT ?z WHERE { resource:Q1246273 property:P140 ?z . ?z rdf:type ontology:Q1530022 }
Dorothea Schäfer
action filter_type
action find
entity Dorothea Schäfer
relation religion
type religious organization
['Dorothea Schäfer', 'religion', {'concept': 'religious organization'}]
SELECT DISTINCT ?z WHERE { resource:Dorothea_Schäfer property:religion ?z . ?z rdf:type ontology:religious_organization }
[]
religious organization
Q13631353
SYSTEM
Evangelic
Q13631353
(Q1246273,P140,c(Q1530022))
action filter_type
action find
entity Q1246273
relation P140
type Q1530022
Dorothea Schäfer relates the [ANSWER]
['Q1246273', 'P140', {'concept': 'Q1530022'}]
SELECT DISTINCT ?z WHERE { resource:Q1246273 property:P140 ?z . ?z rdf:type ontology:Q1530022 }
Evangelic
Dorothea Schäfer relates the Evangelic
Evangelic
action filter_type
action find
entity Dorothea Schäfer
relation religion
type religious organization
['Dorothea Schäfer', 'religion', {'concept': 'religious organization'}]
SELECT DISTINCT ?z WHERE { resource:Dorothea_Schäfer property:religion ?z . ?z rdf:type ontology:religious_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1246273
P102
Q7278
USER
Which political party is that person a member of ?
(Q13631353,P102,c(Q7278))
action filter_type
action find
entity Q1246273
relation P102
type Q7278
['Q13631353', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?d WHERE { resource:Q1246273 property:P102 ?d . ?d rdf:type ontology:Q7278 }
Dorothea Schäfer
action filter_type
action find
entity Dorothea Schäfer
relation member of political party
type political party
['Evangelic', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?d WHERE { resource:Dorothea_Schäfer property:member_of_political_party ?d . ?d rdf:type ontology:political_party }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q13631353,P102,c(Q7278))
action filter_type
action find
entity Q1246273
relation P102
type Q7278
[ANSWER] is that person a member of
['Q13631353', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?d WHERE { resource:Q1246273 property:P102 ?d . ?d rdf:type ontology:Q7278 }
Christian Democratic Union
Christian Democratic Union is that person a member of
Christian Democratic Union
action filter_type
action find
entity Dorothea Schäfer
relation member of political party
type political party
['Evangelic', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?d WHERE { resource:Dorothea_Schäfer property:member_of_political_party ?d . ?d rdf:type ontology:political_party }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3108430 Q1246273
P27
Q1048835
USER
Which political territories are the native countriesof Dorothea Schäfer or Gladstone Anderson ?
OR((Q1246273,P27,c(Q1048835)), (Q3108430,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1246273
relation P27
action find
entity Q3108430
relation P27
type Q1048835
{'OR': [['Q1246273', 'P27', {'concept': 'Q1048835'}], ['Q3108430', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { ?n property:P27 ?v . VALUES ( ?n ) { ( resource:Q1246273 ) ( resource:Q3108430 ) } } . ?v rdf:type ontology:Q1048835 }
Gladstone Anderson Dorothea Schäfer
action filter_type
action union
action find
entity Dorothea Schäfer
relation country of citizenship
action find
entity Gladstone Anderson
relation country of citizenship
type political territorial entity
{'OR': [['Dorothea Schäfer', 'country of citizenship', {'concept': 'political territorial entity'}], ['Gladstone Anderson', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?n property:country_of_citizenship ?v . VALUES ( ?n ) { ( resource:Dorothea_Schäfer ) ( resource:Gladstone_Anderson ) } } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q766 Q183
SYSTEM
Jamaica, Germany
Q766 Q183
OR((Q1246273,P27,c(Q1048835)), (Q3108430,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1246273
relation P27
action find
entity Q3108430
relation P27
type Q1048835
[ANSWERS] are the native countriesof Dorothea Schäfer or Gladstone Anderson
{'OR': [['Q1246273', 'P27', {'concept': 'Q1048835'}], ['Q3108430', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { ?n property:P27 ?v . VALUES ( ?n ) { ( resource:Q1246273 ) ( resource:Q3108430 ) } } . ?v rdf:type ontology:Q1048835 }
Jamaica Germany
Jamaica and Germany are the native countriesof Dorothea Schäfer or Gladstone Anderson
Jamaica Germany
action filter_type
action union
action find
entity Dorothea Schäfer
relation country of citizenship
action find
entity Gladstone Anderson
relation country of citizenship
type political territorial entity
{'OR': [['Dorothea Schäfer', 'country of citizenship', {'concept': 'political territorial entity'}], ['Gladstone Anderson', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?n property:country_of_citizenship ?v . VALUES ( ?n ) { ( resource:Dorothea_Schäfer ) ( resource:Gladstone_Anderson ) } } . ?v rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1142
Q7257 Q1047113 Q7278
USER
How many political parties have the ideology as atmost 2 ideologies and special fields ?
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action count
action atmost
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
value 2
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?p ) WHERE { { ?e property:P1142 ?c . ?e rdf:type ontology:Q7278 . ?c rdf:type ontology:Q1047113 } UNION { ?e property:P1142 ?c . ?c rdf:type ontology:Q7257 . ?e rdf:type ontology:Q7278 } } GROUP BY ?e } . FILTER ( ?p <= 2 ) }
action count
action atmost
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
value 2
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?p ) WHERE { { ?e property:political_ideology ?c . ?e rdf:type ontology:political_party . ?c rdf:type ontology:special_field } UNION { ?e property:political_ideology ?c . ?c rdf:type ontology:ideology . ?e rdf:type ontology:political_party } } GROUP BY ?e } . FILTER ( ?p <= 2 ) }
[]
ideology special field political party
SYSTEM
331
Q3395191 Q627213 Q8711543 Q280906 Q1164324 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 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 Q16059622 Q18761823 Q961371 Q17427 Q3395147 Q611548 Q19972534 Q12389059 Q2099347 Q280901 Q3079953 Q3366598 Q3125165 Q1268112 Q3089721 Q49756 Q965481 Q49754 Q49755 Q639383 Q3133156 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)|c(Q1047113))
action count
action atmost
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
value 2
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?p ) WHERE { { ?e property:P1142 ?c . ?e rdf:type ontology:Q7278 . ?c rdf:type ontology:Q1047113 } UNION { ?e property:P1142 ?c . ?c rdf:type ontology:Q7257 . ?e rdf:type ontology:Q7278 } } GROUP BY ?e } . FILTER ( ?p <= 2 ) }
Liberal Democratic Party (Spain) Workers' Party of Ethiopia Communist Party of Kampuchea Socialist Party of Navarra-PSOE Communist Party of Denmark 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 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 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 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
331
action count
action atmost
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
value 2
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?p ) WHERE { { ?e property:political_ideology ?c . ?e rdf:type ontology:political_party . ?c rdf:type ontology:special_field } UNION { ?e property:political_ideology ?c . ?c rdf:type ontology:ideology . ?e rdf:type ontology:political_party } } GROUP BY ?e } . FILTER ( ?p <= 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1246273
P39
Q1752346 Q12737077
USER
How many assemblies or occupations were the positions occupied by Dorothea Schäfer ?
(Q1246273,P39,c(Q1752346)) (Q1246273,P39,c(Q12737077))
action count
action union
action filter_type
action find
entity Q1246273
relation P39
type Q1752346
action filter_type
action find
entity Q1246273
relation P39
type Q12737077
['Q1246273', 'P39', {'concept': 'Q1752346'}] ['Q1246273', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { resource:Q1246273 property:P39 ?x . ?x rdf:type ontology:Q1752346 } UNION { resource:Q1246273 property:P39 ?x . ?x rdf:type ontology:Q12737077 } }
Dorothea Schäfer
action count
action union
action filter_type
action find
entity Dorothea Schäfer
relation position held
type assembly
action filter_type
action find
entity Dorothea Schäfer
relation position held
type occupation
['Dorothea Schäfer', 'position held', {'concept': 'assembly'}] ['Dorothea Schäfer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { resource:Dorothea_Schäfer property:position_held ?x . ?x rdf:type ontology:assembly } UNION { resource:Dorothea_Schäfer property:position_held ?x . ?x rdf:type ontology:occupation } }
[]
assembly occupation
SYSTEM
3
Q18618563 Q1939559 Q729730
(Q1246273,P39,c(Q1752346)) (Q1246273,P39,c(Q12737077))
action count
action union
action filter_type
action find
entity Q1246273
relation P39
type Q1752346
action filter_type
action find
entity Q1246273
relation P39
type Q12737077
[ANSWER]
['Q1246273', 'P39', {'concept': 'Q1752346'}] ['Q1246273', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { resource:Q1246273 property:P39 ?x . ?x rdf:type ontology:Q1752346 } UNION { resource:Q1246273 property:P39 ?x . ?x rdf:type ontology:Q12737077 } }
Member of Landtag of Rhineland-Palatinate Member of Landtag Kreistag
3
action count
action union
action filter_type
action find
entity Dorothea Schäfer
relation position held
type assembly
action filter_type
action find
entity Dorothea Schäfer
relation position held
type occupation
['Dorothea Schäfer', 'position held', {'concept': 'assembly'}] ['Dorothea Schäfer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { resource:Dorothea_Schäfer property:position_held ?x . ?x rdf:type ontology:assembly } UNION { resource:Dorothea_Schäfer property:position_held ?x . ?x rdf:type ontology:occupation } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q209459 Q49762
P488 P1346
Q502895
USER
Which people were the chair of Christian Democratic Union or were the winners of Golden Lion ?
OR((Q49762,P488,c(Q502895)), (Q209459,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q49762
relation P488
action find
entity Q209459
relation P1346
type Q502895
{'OR': [['Q49762', 'P488', {'concept': 'Q502895'}], ['Q209459', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q209459 property:P1346 ?i } UNION { resource:Q49762 property:P488 ?i } } . ?i rdf:type ontology:Q502895 }
Golden Lion Christian Democratic Union
action filter_type
action union
action find
entity Christian Democratic Union
relation chairperson
action find
entity Golden Lion
relation winner
type common name
{'OR': [['Christian Democratic Union', 'chairperson', {'concept': 'common name'}], ['Golden Lion', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Golden_Lion property:winner ?i } UNION { resource:Christian_Democratic_Union property:chairperson ?i } } . ?i rdf:type ontology:common_name }
[]
common name
Q55418 Q160726 Q192762 Q8006 Q60637 Q51545 Q435626 Q466320 Q3763144 Q55384
SYSTEM
Some of them are Margarethe von Trotta, Ang Lee, Darren Aronofsky, Akira Kurosawa, Alexander Kluge, Luis Buñuel, Hou Hsiao-Hsien, Mira Nair, Gianfranco Rosi, Henri-Georges Clouzot
Q978075 Q2518 Q114063 Q470285 Q16019 Q2512 Q55428 Q53041 Q55169 Q51545 Q160726 Q3763144 Q13888 Q55163 Q55165 Q294773 Q218022 Q461079 Q31637 Q466320 Q979828 Q558109 Q122425 Q703513 Q53001 Q430804 Q53003 Q229990 Q557546 Q698710 Q567 Q558481 Q8873 Q55172 Q26372 Q60637 Q853 Q55384 Q193628 Q53050 Q20968190 Q192762 Q55207 Q51127 Q435626 Q55411 Q2492 Q212990 Q55430 Q53026 Q55418 Q313190 Q2496 Q517725 Q50764 Q315756 Q51488 Q55392 Q53031 Q8006 Q960868 Q55433
OR((Q49762,P488,c(Q502895)), (Q209459,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q49762
relation P488
action find
entity Q209459
relation P1346
type Q502895
[ANSWERS] were the chair of Christian Democratic Union or were the winners of Golden Lion
{'OR': [['Q49762', 'P488', {'concept': 'Q502895'}], ['Q209459', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q209459 property:P1346 ?i } UNION { resource:Q49762 property:P488 ?i } } . ?i rdf:type ontology:Q502895 }
Renato Castellani Helmut Kohl Ermanno Olmi Rainer Barzel Wolfgang Schäuble Kurt Georg Kiesinger Neil Jordan Valerio Zurlini Krzysztof Zanussi Luis Buñuel Ang Lee Gianfranco Rosi Luchino Visconti Robert Altman Krzysztof Kieślowski Tom Stoppard Alain Resnais Jia Zhangke Jafar Panahi Mira Nair Samuel Maoz Gianni Amelio Andrey Zvyagintsev Roy Andersson Jean-Luc Godard Peter Mullan Roberto Rossellini Agnès Varda Tran Anh Hung Tsai Ming-liang Angela Merkel Milcho Manchevski Satyajit Ray Alexander Sokurov Takeshi Kitano Alexander Kluge Andrei Tarkovsky Henri-Georges Clouzot Sofia Coppola Francesco Rosi Lorenzo Vigas Darren Aronofsky Nikita Mikhalkov Carl Theodor Dreyer Hou Hsiao-Hsien Wim Wenders Konrad Adenauer Kim Ki-duk Zhang Yimou Mario Monicelli Margarethe von Trotta René Clément Ludwig Erhard André Cayatte Éric Rohmer Mike Leigh John Cassavetes Louis Malle Gillo Pontecorvo Akira Kurosawa Hiroshi Inagaki Michelangelo Antonioni
Margarethe von Trotta, Ang Lee, Darren Aronofsky, Akira Kurosawa, Alexander Kluge, Luis Buñuel, Hou Hsiao-Hsien, Mira Nair, Gianfranco Rosi and Henri-Georges Clouzot were the chair of Christian Democratic Union or were the winners of Golden Lion
Margarethe von Trotta Ang Lee Darren Aronofsky Akira Kurosawa Alexander Kluge Luis Buñuel Hou Hsiao-Hsien Mira Nair Gianfranco Rosi Henri-Georges Clouzot
action filter_type
action union
action find
entity Christian Democratic Union
relation chairperson
action find
entity Golden Lion
relation winner
type common name
{'OR': [['Christian Democratic Union', 'chairperson', {'concept': 'common name'}], ['Golden Lion', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Golden_Lion property:winner ?i } UNION { resource:Christian_Democratic_Union property:chairperson ?i } } . ?i rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1348751 Q1246273
P39
Q12737077
USER
Which occupations were a position held by Dorothea Schäfer or Karel Kašpar ?
OR((Q1246273,P39,c(Q12737077)), (Q1348751,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1246273
relation P39
action find
entity Q1348751
relation P39
type Q12737077
{'OR': [['Q1246273', 'P39', {'concept': 'Q12737077'}], ['Q1348751', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { ?t property:P39 ?l . VALUES ( ?t ) { ( resource:Q1246273 ) ( resource:Q1348751 ) } } . ?l rdf:type ontology:Q12737077 }
Karel Kašpar Dorothea Schäfer
action filter_type
action union
action find
entity Dorothea Schäfer
relation position held
action find
entity Karel Kašpar
relation position held
type occupation
{'OR': [['Dorothea Schäfer', 'position held', {'concept': 'occupation'}], ['Karel Kašpar', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { ?t property:position_held ?l . VALUES ( ?t ) { ( resource:Dorothea_Schäfer ) ( resource:Karel_Kašpar ) } } . ?l rdf:type ontology:occupation }
[]
occupation
Q18618563 Q45722 Q1939559 Q29182 Q49476
SYSTEM
Member of Landtag of Rhineland-Palatinate, cardinal, Member of Landtag, bishop, archbishop
Q18618563 Q45722 Q1939559 Q29182 Q49476
OR((Q1246273,P39,c(Q12737077)), (Q1348751,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1246273
relation P39
action find
entity Q1348751
relation P39
type Q12737077
[ANSWERS] were a position held by Dorothea Schäfer or Karel Kašpar
{'OR': [['Q1246273', 'P39', {'concept': 'Q12737077'}], ['Q1348751', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { ?t property:P39 ?l . VALUES ( ?t ) { ( resource:Q1246273 ) ( resource:Q1348751 ) } } . ?l rdf:type ontology:Q12737077 }
Member of Landtag of Rhineland-Palatinate cardinal Member of Landtag bishop archbishop
Member of Landtag of Rhineland-Palatinate, cardinal, Member of Landtag, bishop and archbishop were a position held by Dorothea Schäfer or Karel Kašpar
Member of Landtag of Rhineland-Palatinate cardinal Member of Landtag bishop archbishop
action filter_type
action union
action find
entity Dorothea Schäfer
relation position held
action find
entity Karel Kašpar
relation position held
type occupation
{'OR': [['Dorothea Schäfer', 'position held', {'concept': 'occupation'}], ['Karel Kašpar', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { ?t property:position_held ?l . VALUES ( ?t ) { ( resource:Dorothea_Schäfer ) ( resource:Karel_Kašpar ) } } . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1348751
P1412
Q34770
USER
Which language can Karel Kašpar read?
(Q18618563,P1412,c(Q34770)) (Q45722,P1412,c(Q34770)) (Q1939559,P1412,c(Q34770)) (Q29182,P1412,c(Q34770)) (Q49476,P1412,c(Q34770))
action filter_type
action find
entity Q1348751
relation P1412
type Q34770
['Q18618563', 'P1412', {'concept': 'Q34770'}] ['Q45722', 'P1412', {'concept': 'Q34770'}] ['Q1939559', 'P1412', {'concept': 'Q34770'}] ['Q29182', 'P1412', {'concept': 'Q34770'}] ['Q49476', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q1348751 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Karel Kašpar
action filter_type
action find
entity Karel Kašpar
relation languages spoken, written or signed
type language
['Member of Landtag of Rhineland-Palatinate', 'languages spoken, written or signed', {'concept': 'language'}] ['cardinal', 'languages spoken, written or signed', {'concept': 'language'}] ['Member of Landtag', 'languages spoken, written or signed', {'concept': 'language'}] ['bishop', 'languages spoken, written or signed', {'concept': 'language'}] ['archbishop', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Karel_Kašpar property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
language
Q9056
SYSTEM
Czech
Q9056
(Q18618563,P1412,c(Q34770)) (Q45722,P1412,c(Q34770)) (Q1939559,P1412,c(Q34770)) (Q29182,P1412,c(Q34770)) (Q49476,P1412,c(Q34770))
action filter_type
action find
entity Q1348751
relation P1412
type Q34770
Karel Kašpar can read in [ANSWER]
['Q18618563', 'P1412', {'concept': 'Q34770'}] ['Q45722', 'P1412', {'concept': 'Q34770'}] ['Q1939559', 'P1412', {'concept': 'Q34770'}] ['Q29182', 'P1412', {'concept': 'Q34770'}] ['Q49476', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q1348751 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Czech
Karel Kašpar can read in Czech
Czech
action filter_type
action find
entity Karel Kašpar
relation languages spoken, written or signed
type language
['Member of Landtag of Rhineland-Palatinate', 'languages spoken, written or signed', {'concept': 'language'}] ['cardinal', 'languages spoken, written or signed', {'concept': 'language'}] ['Member of Landtag', 'languages spoken, written or signed', {'concept': 'language'}] ['bishop', 'languages spoken, written or signed', {'concept': 'language'}] ['archbishop', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Karel_Kašpar property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q9056 Q38984 Q145852
P361
Q5962346
USER
Is that language a component of Terrier and West Slavic languages ?
(Q9056,P361,Q38984) (Q9056,P361,Q145852)
action is_in
entity Q9056
action intersection
action find_reverse
entity Q38984
relation P361
action find_reverse
entity Q145852
relation P361
['Q9056', 'P361', 'Q38984'] ['Q9056', 'P361', 'Q145852']
ASK WHERE { resource:Q9056 property:P361 resource:Q145852 . resource:Q9056 property:P361 resource:Q38984 }
Czech Terrier West Slavic languages
action is_in
entity Czech
action intersection
action find_reverse
entity Terrier
relation part of
action find_reverse
entity West Slavic languages
relation part of
['Czech', 'part of', 'Terrier'] ['Czech', 'part of', 'West Slavic languages']
ASK WHERE { resource:Czech property:part_of resource:West_Slavic_languages . resource:Czech property:part_of resource:Terrier }
[]
classification scheme
SYSTEM
NO and YES respectively
(Q9056,P361,Q38984) (Q9056,P361,Q145852)
action is_in
entity Q9056
action intersection
action find_reverse
entity Q38984
relation P361
action find_reverse
entity Q145852
relation P361
[ANSWER]
['Q9056', 'P361', 'Q38984'] ['Q9056', 'P361', 'Q145852']
ASK WHERE { resource:Q9056 property:P361 resource:Q145852 . resource:Q9056 property:P361 resource:Q38984 }
NO and YES respectively
action is_in
entity Czech
action intersection
action find_reverse
entity Terrier
relation part of
action find_reverse
entity West Slavic languages
relation part of
['Czech', 'part of', 'Terrier'] ['Czech', 'part of', 'West Slavic languages']
ASK WHERE { resource:Czech property:part_of resource:West_Slavic_languages . resource:Czech property:part_of resource:Terrier }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9056
P407
Q2031291
USER
Which releases are composed in Czech ?
(c(Q2031291),P407,Q9056)
action filter_type
action find_reverse
entity Q9056
relation P407
type Q2031291
[{'concept': 'Q2031291'}, 'P407', 'Q9056']
SELECT DISTINCT ?r WHERE { ?r property:P407 resource:Q9056 . ?r rdf:type ontology:Q2031291 }
Czech
action filter_type
action find_reverse
entity Czech
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', 'Czech']
SELECT DISTINCT ?r WHERE { ?r property:language_of_work_or_name resource:Czech . ?r rdf:type ontology:release }
[]
release
Q11044501 Q15119789 Q10128332
SYSTEM
Banditi di Praga, Hledá se žena, 2006
Q10296007 Q12055700 Q5629260 Q18564547 Q15119789 Q11174849 Q17626424 Q18177278 Q10860604 Q11863117 Q10128332 Q11044501 Q11773614 Q18042416 Q12029345 Q11814776 Q12018353 Q12034623 Q11773684 Q12039135 Q11751083 Q18809667 Q12034936 Q15094402 Q12036331
(c(Q2031291),P407,Q9056)
action filter_type
action find_reverse
entity Q9056
relation P407
type Q2031291
[ANSWERS] are composed in Czech
[{'concept': 'Q2031291'}, 'P407', 'Q9056']
SELECT DISTINCT ?r WHERE { ?r property:P407 resource:Q9056 . ?r rdf:type ontology:Q2031291 }
Živě! Spousta andělů HDP Mig 21 & LELEK Orchestra – Naživo Hledá se žena Čert Na Koze Jel Solitéři Laskonky a kremrole Země Plná Trpaslíků Děvky Ty To Znaj 2006 Banditi di Praga Colorado Mikrokosmos Klenot Dole V Dole Go Satane Go Líně s tebou spím Corrida Má Jí Motorovou 15 Na Radosti Maják Siluety MegaHu
Banditi di Praga, Hledá se žena and 2006 are composed in Czech
Banditi di Praga Hledá se žena 2006
action filter_type
action find_reverse
entity Czech
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', 'Czech']
SELECT DISTINCT ?r WHERE { ?r property:language_of_work_or_name resource:Czech . ?r rdf:type ontology:release }
[]