Simple Question (Direct)
Simple Question
Q1904632
P39
Q12737077
USER
What was the position held by Martin Naef ?
(Q1904632,P39,c(Q12737077))
action filter_type
action find
entity Q1904632
relation P39
type Q12737077
['Q1904632', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1904632 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Martin Naef
action filter_type
action find
entity Martin Naef
relation position held
type occupation
['Martin Naef', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Martin_Naef property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q18510612
SYSTEM
Member of the Swiss National Council
Q18510612
(Q1904632,P39,c(Q12737077))
action filter_type
action find
entity Q1904632
relation P39
type Q12737077
The position held by Martin Naef was a [ANSWER]
['Q1904632', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1904632 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Member of the Swiss National Council
The position held by Martin Naef was a Member of the Swiss National Council
Member of the Swiss National Council
action filter_type
action find
entity Martin Naef
relation position held
type occupation
['Martin Naef', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Martin_Naef property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1904632
P488
Q43229
USER
Which organization does Martin Naef serve as a chairman for ?
(c(Q43229),P488,Q1904632)
action filter_type
action find_reverse
entity Q1904632
relation P488
type Q43229
[{'concept': 'Q43229'}, 'P488', 'Q1904632']
SELECT DISTINCT ?h WHERE { ?h property:P488 resource:Q1904632 . ?h rdf:type ontology:Q43229 }
Martin Naef
action filter_type
action find_reverse
entity Martin Naef
relation chairperson
type organization
[{'concept': 'organization'}, 'chairperson', 'Martin Naef']
SELECT DISTINCT ?h WHERE { ?h property:chairperson resource:Martin_Naef . ?h rdf:type ontology:organization }
[]
organization
Q747059
SYSTEM
European Movement Switzerland
Q747059
(c(Q43229),P488,Q1904632)
action filter_type
action find_reverse
entity Q1904632
relation P488
type Q43229
Martin Naef serves as a chairman of [ANSWER]
[{'concept': 'Q43229'}, 'P488', 'Q1904632']
SELECT DISTINCT ?h WHERE { ?h property:P488 resource:Q1904632 . ?h rdf:type ontology:Q43229 }
European Movement Switzerland
Martin Naef serves as a chairman of European Movement Switzerland
European Movement Switzerland
action filter_type
action find_reverse
entity Martin Naef
relation chairperson
type organization
[{'concept': 'organization'}, 'chairperson', 'Martin Naef']
SELECT DISTINCT ?h WHERE { ?h property:chairperson resource:Martin_Naef . ?h rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1904632
P937
Q56061
USER
Which administrative territory is the work location of Martin Naef ?
(Q1904632,P937,c(Q56061))
action filter_type
action find
entity Q1904632
relation P937
type Q56061
['Q1904632', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1904632 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Martin Naef
action filter_type
action find
entity Martin Naef
relation work location
type administrative territorial entity
['Martin Naef', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Martin_Naef property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q70
SYSTEM
Bern
Q70
(Q1904632,P937,c(Q56061))
action filter_type
action find
entity Q1904632
relation P937
type Q56061
[ANSWER] is the work location of Martin Naef
['Q1904632', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1904632 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Bern
Bern is the work location of Martin Naef
Bern
action filter_type
action find
entity Martin Naef
relation work location
type administrative territorial entity
['Martin Naef', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Martin_Naef property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q70
P159
Q7210356
USER
Which political organizations have headquarters located at that administrative territory ?
(c(Q7210356),P159,Q70)
action filter_type
action find_reverse
entity Q70
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q70']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . ?s property:P159 resource:Q70 }
Bern
action filter_type
action find_reverse
entity Bern
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Bern']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . ?s property:headquarters_location resource:Bern }
[]
political organization
Q385258 Q303745 Q659461
SYSTEM
Swiss People's Party, Social Democratic Party of Switzerland, Christian Democratic People's Party of Switzerland
Q661771 Q151768 Q385258 Q303745 Q659461 Q202638
(c(Q7210356),P159,Q70)
action filter_type
action find_reverse
entity Q70
relation P159
type Q7210356
[ANSWERS] have headquarters located at that administrative territory
[{'concept': 'Q7210356'}, 'P159', 'Q70']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . ?s property:P159 resource:Q70 }
Swiss Party of Labour Conservative Democratic Party of Switzerland Swiss People's Party Social Democratic Party of Switzerland Christian Democratic People's Party of Switzerland The Liberals
Swiss People's Party, Social Democratic Party of Switzerland and Christian Democratic People's Party of Switzerland have headquarters located at that administrative territory
Swiss People's Party Social Democratic Party of Switzerland Christian Democratic People's Party of Switzerland
action filter_type
action find_reverse
entity Bern
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Bern']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . ?s property:headquarters_location resource:Bern }
[]
Clarification
Simple Question|Single Entity|Indirect
Q385258
P1142
Q7257
USER
What do that political organization believe in ?
(Q385258,P1142,c(Q7257))
action filter_type
action find
entity Q385258
relation P1142
type Q7257
['Q385258', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7257 . resource:Q385258 property:P1142 ?j }
Swiss People's Party
action filter_type
action find
entity Swiss People's Party
relation political ideology
type ideology
["Swiss People's Party", 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:ideology . resource:Swiss_People's_Party property:political_ideology ?j }
[]
ideology
Clarification for simple ques.
Q303745
SYSTEM
Did you mean Social Democratic Party of Switzerland ?
Q385258 Q303745 Q659461
(Q385258,P1142,c(Q7257)) (Q303745,P1142,c(Q7257)) (Q659461,P1142,c(Q7257))
[ANSWER]
['Q385258', 'P1142', {'concept': 'Q7257'}] ['Q303745', 'P1142', {'concept': 'Q7257'}] ['Q659461', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7257 . resource:Q385258 property:P1142 ?j }
Swiss People's Party Social Democratic Party of Switzerland Christian Democratic People's Party of Switzerland
Did you mean Social Democratic Party of Switzerland ?
Social Democratic Party of Switzerland
["Swiss People's Party", 'political ideology', {'concept': 'ideology'}] ['Social Democratic Party of Switzerland', 'political ideology', {'concept': 'ideology'}] ["Christian Democratic People's Party of Switzerland", 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:ideology . resource:Swiss_People's_Party property:political_ideology ?j }
[]
Simple Question (Coreferenced)
USER
No, I meant Swiss People's Party. Could you tell me the answer for that?
(Q385258,P1142,c(Q7257))
Q385258
['Q385258', 'P1142', {'concept': 'Q7257'}]
["Swiss People's Party", 'political ideology', {'concept': 'ideology'}]
[]
Q436860 Q852739 Q223200
SYSTEM
right-wing populism, national conservatism, euroscepticism
Q436860 Q852739 Q223200 Q729119
(Q385258,P1142,c(Q7257))
action filter_type
action find
entity Q385258
relation P1142
type Q7257
That political organization believe in [ANSWERS]
['Q385258', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7257 . resource:Q385258 property:P1142 ?j }
right-wing populism national conservatism euroscepticism economic liberalism
That political organization believe in right-wing populism, national conservatism and euroscepticism
right-wing populism national conservatism euroscepticism
action filter_type
action find
entity Swiss People's Party
relation political ideology
type ideology
["Swiss People's Party", 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:ideology . resource:Swiss_People's_Party property:political_ideology ?j }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q385258
P1142
Q7210356
USER
Does Swiss People's Party promote those ideologies ?
(Q385258,P1142,Q436860) (Q385258,P1142,Q852739) (Q385258,P1142,Q223200)
action is_in
entity prev_answer
action find
entity Q385258
relation P1142
['Q385258', 'P1142', 'Q436860'] ['Q385258', 'P1142', 'Q852739'] ['Q385258', 'P1142', 'Q223200']
ASK WHERE { resource:Q385258 property:P1142 ?y . VALUES ( ?y ) { ( resource:Q436860 ) ( resource:Q852739 ) ( resource:Q223200 ) } }
Swiss People's Party
action is_in
entity prev_answer
action find
entity Swiss People's Party
relation political ideology
["Swiss People's Party", 'political ideology', 'right-wing populism'] ["Swiss People's Party", 'political ideology', 'national conservatism'] ["Swiss People's Party", 'political ideology', 'euroscepticism']
ASK WHERE { resource:Swiss_People's_Party property:political_ideology ?y . VALUES ( ?y ) { ( resource:right-wing_populism ) ( resource:national_conservatism ) ( resource:euroscepticism ) } }
[]
political organization
SYSTEM
YES
(Q385258,P1142,Q436860) (Q385258,P1142,Q852739) (Q385258,P1142,Q223200)
action is_in
entity prev_answer
action find
entity Q385258
relation P1142
[ANSWER]
['Q385258', 'P1142', 'Q436860'] ['Q385258', 'P1142', 'Q852739'] ['Q385258', 'P1142', 'Q223200']
ASK WHERE { resource:Q385258 property:P1142 ?y . VALUES ( ?y ) { ( resource:Q436860 ) ( resource:Q852739 ) ( resource:Q223200 ) } }
Yes
action is_in
entity prev_answer
action find
entity Swiss People's Party
relation political ideology
["Swiss People's Party", 'political ideology', 'right-wing populism'] ["Swiss People's Party", 'political ideology', 'national conservatism'] ["Swiss People's Party", 'political ideology', 'euroscepticism']
ASK WHERE { resource:Swiss_People's_Party property:political_ideology ?y . VALUES ( ?y ) { ( resource:right-wing_populism ) ( resource:national_conservatism ) ( resource:euroscepticism ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q209546
P1142
Q7257 Q7278
USER
How many political parties promote less number of ideologies than Batasuna ?
(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 Q209546
relation P1142
type Q7257
[{'concept': 'Q7278'}, 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?c ) WHERE { ?g property:P1142 ?u . ?g rdf:type ontology:Q7278 . ?u rdf:type ontology:Q7257 } GROUP BY ?g } . FILTER ( ?c < ?i ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Q209546 property:P1142 ?q . ?q rdf:type ontology:Q7257 } } }
Batasuna
action count
action less
action find_tuple_counts
relation political ideology
type political party
type ideology
action count
action filter_type
action find
entity Batasuna
relation political ideology
type ideology
[{'concept': 'political party'}, 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?c ) WHERE { ?g property:political_ideology ?u . ?g rdf:type ontology:political_party . ?u rdf:type ontology:ideology } GROUP BY ?g } . FILTER ( ?c < ?i ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Batasuna property:political_ideology ?q . ?q rdf:type ontology:ideology } } }
[]
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 Q209546
relation P1142
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?c ) WHERE { ?g property:P1142 ?u . ?g rdf:type ontology:Q7278 . ?u rdf:type ontology:Q7257 } GROUP BY ?g } . FILTER ( ?c < ?i ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Q209546 property:P1142 ?q . ?q rdf:type ontology:Q7257 } } }
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 Batasuna
relation political ideology
type ideology
[{'concept': 'political party'}, 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?c ) WHERE { ?g property:political_ideology ?u . ?g rdf:type ontology:political_party . ?u rdf:type ontology:ideology } GROUP BY ?g } . FILTER ( ?c < ?i ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Batasuna property:political_ideology ?q . ?q rdf:type ontology:ideology } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1377195
P1142
Q7257 Q7278
USER
And also tell me about European Alliance for Freedom?
(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 Q1377195
relation P1142
type Q7257
[{'concept': 'Q7278'}, 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?n ) WHERE { ?p property:P1142 ?t . ?p rdf:type ontology:Q7278 . ?t rdf:type ontology:Q7257 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:Q7257 . resource:Q1377195 property:P1142 ?d } } . FILTER ( ?n < ?c ) }
European Alliance for Freedom
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 Alliance for Freedom
relation political ideology
type ideology
[{'concept': 'political party'}, 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?n ) WHERE { ?p property:political_ideology ?t . ?p rdf:type ontology:political_party . ?t rdf:type ontology:ideology } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:ideology . resource:European_Alliance_for_Freedom property:political_ideology ?d } } . FILTER ( ?n < ?c ) }
[]
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 Q1377195
relation P1142
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?n ) WHERE { ?p property:P1142 ?t . ?p rdf:type ontology:Q7278 . ?t rdf:type ontology:Q7257 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:Q7257 . resource:Q1377195 property:P1142 ?d } } . FILTER ( ?n < ?c ) }
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 European Alliance for Freedom
relation political ideology
type ideology
[{'concept': 'political party'}, 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?n ) WHERE { ?p property:political_ideology ?t . ?p rdf:type ontology:political_party . ?t rdf:type ontology:ideology } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:ideology . resource:European_Alliance_for_Freedom property:political_ideology ?d } } . FILTER ( ?n < ?c ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q191067
USER
Which occupations were the main subjects of exactly 1 publications and articles 's work ?
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q732577 } UNION { ?p property:P921 ?k . ?p rdf:type ontology:Q191067 . ?k rdf:type ontology:Q12737077 } } GROUP BY ?k } }
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:main_subject ?k . ?k rdf:type ontology:occupation . ?p rdf:type ontology:publication } UNION { ?p property:main_subject ?k . ?p rdf:type ontology:article . ?k rdf:type ontology:occupation } } GROUP BY ?k } }
[]
occupation publication article
Q316070 Q182436 Q3809586
SYSTEM
Fletcher Christian, librarian, Wikipedian in Residence
Q172907 Q3809586 Q2094335 Q316070 Q510373 Q152002 Q15320003 Q732358 Q182436
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[ANSWERS] were the main subjects of exactly 1 publications and articles 's work
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q732577 } UNION { ?p property:P921 ?k . ?p rdf:type ontology:Q191067 . ?k rdf:type ontology:Q12737077 } } GROUP BY ?k } }
praetor Wikipedian in Residence United States Attorney Fletcher Christian Lord High Steward pastor migrant worker Nomarch librarian
Fletcher Christian, librarian and Wikipedian in Residence were the main subjects of exactly 1 publications and articles 's work
Fletcher Christian librarian Wikipedian in Residence
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:main_subject ?k . ?k rdf:type ontology:occupation . ?p rdf:type ontology:publication } UNION { ?p property:main_subject ?k . ?p rdf:type ontology:article . ?k rdf:type ontology:occupation } } GROUP BY ?k } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1142
Q7257 Q7210356 Q7278
USER
Which ideologies do around 72 political organizations and political parties believe in ?
(c(Q7210356)|c(Q7278),P1142,c(Q7257))
action approx
action union
action find_reverse_tuple_counts
relation P1142
type Q7257
type Q7210356
action find_reverse_tuple_counts
relation P1142
type Q7257
type Q7278
value 72
[[{'concept': 'Q7210356'}, {'concept': 'Q7278'}], 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?f WHERE { { ?n property:P1142 ?f . ?f rdf:type ontology:Q7257 . ?n rdf:type ontology:Q7210356 } UNION { ?n property:P1142 ?f . ?f rdf:type ontology:Q7257 . ?n rdf:type ontology:Q7278 } } GROUP BY ?f } . FILTER ( ?b = 72 ) }
action approx
action union
action find_reverse_tuple_counts
relation political ideology
type ideology
type political organization
action find_reverse_tuple_counts
relation political ideology
type ideology
type political party
value 72
[[{'concept': 'political organization'}, {'concept': 'political party'}], 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?f WHERE { { ?n property:political_ideology ?f . ?f rdf:type ontology:ideology . ?n rdf:type ontology:political_organization } UNION { ?n property:political_ideology ?f . ?f rdf:type ontology:ideology . ?n rdf:type ontology:political_party } } GROUP BY ?f } . FILTER ( ?b = 72 ) }
[]
ideology political organization political party
Q7264 Q181133 Q1043096
SYSTEM
Marxism, Trotskyism, liberal conservatism
Q1043096 Q617609 Q7310 Q2684060 Q6223 Q204886 Q223200 Q877848 Q181133 Q492050 Q1414298 Q189746 Q201712 Q7264 Q852739 Q821102
(c(Q7210356)|c(Q7278),P1142,c(Q7257))
action approx
action union
action find_reverse_tuple_counts
relation P1142
type Q7257
type Q7210356
action find_reverse_tuple_counts
relation P1142
type Q7257
type Q7278
value 72
[ANSWERS] around 72 political organizations and political parties believe in
[[{'concept': 'Q7210356'}, {'concept': 'Q7278'}], 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?f WHERE { { ?n property:P1142 ?f . ?f rdf:type ontology:Q7257 . ?n rdf:type ontology:Q7210356 } UNION { ?n property:P1142 ?f . ?f rdf:type ontology:Q7257 . ?n rdf:type ontology:Q7278 } } GROUP BY ?f } . FILTER ( ?b = 72 ) }
liberal conservatism conservative liberalism Nazism regionalism fascism federalism euroscepticism republicanism Trotskyism agrarianism social conservatism Islamism social liberalism Marxism national conservatism progressivism
Marxism, Trotskyism and liberal conservatism around 72 political organizations and political parties believe in
Marxism Trotskyism liberal conservatism
action approx
action union
action find_reverse_tuple_counts
relation political ideology
type ideology
type political organization
action find_reverse_tuple_counts
relation political ideology
type ideology
type political party
value 72
[[{'concept': 'political organization'}, {'concept': 'political party'}], 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?f WHERE { { ?n property:political_ideology ?f . ?f rdf:type ontology:ideology . ?n rdf:type ontology:political_organization } UNION { ?n property:political_ideology ?f . ?f rdf:type ontology:ideology . ?n rdf:type ontology:political_party } } GROUP BY ?f } . FILTER ( ?b = 72 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q17 Q852739
P1142 P17
Q7210356
USER
Which political organizations promote national conservatism and are present in Japan ?
AND((c(Q7210356),P1142,Q852739), (c(Q7210356),P17,Q17))
action filter_type
action intersection
action find_reverse
entity Q852739
relation P1142
action find_reverse
entity Q17
relation P17
type Q7210356
{'AND': [[{'concept': 'Q7210356'}, 'P1142', 'Q852739'], [{'concept': 'Q7210356'}, 'P17', 'Q17']]}
SELECT DISTINCT ?z WHERE { ?z property:P17 resource:Q17 . ?z property:P1142 resource:Q852739 . ?z rdf:type ontology:Q7210356 }
Japan national conservatism
action filter_type
action intersection
action find_reverse
entity national conservatism
relation political ideology
action find_reverse
entity Japan
relation country
type political organization
{'AND': [[{'concept': 'political organization'}, 'political ideology', 'national conservatism'], [{'concept': 'political organization'}, 'country', 'Japan']]}
SELECT DISTINCT ?z WHERE { ?z property:country resource:Japan . ?z property:political_ideology resource:national_conservatism . ?z rdf:type ontology:political_organization }
[]
political organization
Q15477341
SYSTEM
Yui no Tō
Q15477341
AND((c(Q7210356),P1142,Q852739), (c(Q7210356),P17,Q17))
action filter_type
action intersection
action find_reverse
entity Q852739
relation P1142
action find_reverse
entity Q17
relation P17
type Q7210356
[ANSWER] promote national conservatism and are present in Japan
{'AND': [[{'concept': 'Q7210356'}, 'P1142', 'Q852739'], [{'concept': 'Q7210356'}, 'P17', 'Q17']]}
SELECT DISTINCT ?z WHERE { ?z property:P17 resource:Q17 . ?z property:P1142 resource:Q852739 . ?z rdf:type ontology:Q7210356 }
Yui no Tō
Yui no Tō promote national conservatism and are present in Japan
Yui no Tō
action filter_type
action intersection
action find_reverse
entity national conservatism
relation political ideology
action find_reverse
entity Japan
relation country
type political organization
{'AND': [[{'concept': 'political organization'}, 'political ideology', 'national conservatism'], [{'concept': 'political organization'}, 'country', 'Japan']]}
SELECT DISTINCT ?z WHERE { ?z property:country resource:Japan . ?z property:political_ideology resource:national_conservatism . ?z rdf:type ontology:political_organization }
[]