Simple Question (Direct)
Simple Question
Q1687329
P102
Q7278
USER
Which political party is Jens Peter Petersen a member of ?
(Q1687329,P102,c(Q7278))
action filter_type
action find
entity Q1687329
relation P102
type Q7278
['Q1687329', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7278 . resource:Q1687329 property:P102 ?s }
Jens Peter Petersen
action filter_type
action find
entity Jens Peter Petersen
relation member of political party
type political party
['Jens Peter Petersen', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_party . resource:Jens_Peter_Petersen property:member_of_political_party ?s }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1687329,P102,c(Q7278))
action filter_type
action find
entity Q1687329
relation P102
type Q7278
Party [ANSWER] is Jens Peter Petersen a member of
['Q1687329', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7278 . resource:Q1687329 property:P102 ?s }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Jens Peter Petersen a member of
Social Democratic Party of Germany
action filter_type
action find
entity Jens Peter Petersen
relation member of political party
type political party
['Jens Peter Petersen', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_party . resource:Jens_Peter_Petersen property:member_of_political_party ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1687329
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q49768,P106,c(Q12737077))
action filter_type
action find
entity Q1687329
relation P106
type Q12737077
['Q49768', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q1687329 property:P106 ?g }
Jens Peter Petersen
action filter_type
action find
entity Jens Peter Petersen
relation occupation
type occupation
['Social Democratic Party of Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Jens_Peter_Petersen property:occupation ?g }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q49768,P106,c(Q12737077))
action filter_type
action find
entity Q1687329
relation P106
type Q12737077
A [ANSWER] has that person as his/her 's career
['Q49768', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q1687329 property:P106 ?g }
politician
A politician has that person as his/her 's career
politician
action filter_type
action find
entity Jens Peter Petersen
relation occupation
type occupation
['Social Democratic Party of Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Jens_Peter_Petersen property:occupation ?g }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q101539
P921
Q12737077 Q838948 Q732577
USER
How many occupations were lesser number of works of art or publications mainly about than flight attendant ?
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q101539
relation P921
type Q838948
type Q732577
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?g ) WHERE { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q732577 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P921 resource:Q101539 . { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } } } . FILTER ( ?g < ?o ) }
flight attendant
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity flight attendant
relation main subject
type work of art
type publication
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?g ) WHERE { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:publication ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:main_subject resource:flight_attendant . { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:publication ) ( ontology:work_of_art ) } } } } . FILTER ( ?g < ?o ) }
[]
occupation work of art publication
SYSTEM
92
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16707842
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q101539
relation P921
type Q838948
type Q732577
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?g ) WHERE { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q732577 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P921 resource:Q101539 . { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q732577 ) ( ontology:Q838948 ) } } } } . FILTER ( ?g < ?o ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire Member of Parliament in the United Kingdom
92
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity flight attendant
relation main subject
type work of art
type publication
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?g ) WHERE { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:publication ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:main_subject resource:flight_attendant . { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:publication ) ( ontology:work_of_art ) } } } } . FILTER ( ?g < ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1674312
P921
Q12737077 Q838948 Q732577
USER
And also tell me about rag-and-bone man?
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q1674312
relation P921
type Q838948
type Q732577
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P921 resource:Q1674312 . { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:Q838948 ) ( ontology:Q732577 ) } } } } . FILTER ( ?n < ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?z WHERE { { ?t property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q732577 } UNION { ?t rdf:type ontology:Q838948 . ?z rdf:type ontology:Q12737077 . ?t property:P921 ?z } } GROUP BY ?z } }
rag-and-bone man
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity rag-and-bone man
relation main subject
type work of art
type publication
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:main_subject resource:rag-and-bone_man . { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:work_of_art ) ( ontology:publication ) } } } } . FILTER ( ?n < ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?z WHERE { { ?t property:main_subject ?z . ?z rdf:type ontology:occupation . ?t rdf:type ontology:publication } UNION { ?t rdf:type ontology:work_of_art . ?z rdf:type ontology:occupation . ?t property:main_subject ?z } } GROUP BY ?z } }
[]
occupation work of art publication
SYSTEM
76
Q172907 Q9045502 Q2666591 Q5185440 Q765778 Q774306 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q131512 Q1708232 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q43845 Q14128148 Q814356 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q372436 Q1238570 Q182436 Q2259532 Q361593 Q1856798 Q16707842
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q1674312
relation P921
type Q838948
type Q732577
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P921 resource:Q1674312 . { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:Q838948 ) ( ontology:Q732577 ) } } } } . FILTER ( ?n < ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?z WHERE { { ?t property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q732577 } UNION { ?t rdf:type ontology:Q838948 . ?z rdf:type ontology:Q12737077 . ?t property:P921 ?z } } GROUP BY ?z } }
praetor member of the Parliament of Norway Chair of the Federal Reserve Crime scene cleanup organist surgeon Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives farmer medallist politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate businessperson gridiron football player call girl political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly caricaturist painter American football player legal profession composer rabbi völva conductor peasant missionary United States federal judge musician Nomarch poet medical examiner police officer statesman political scientist librarian cleric police officer baseball umpire Member of Parliament in the United Kingdom
76
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity rag-and-bone man
relation main subject
type work of art
type publication
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:main_subject resource:rag-and-bone_man . { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:work_of_art ) ( ontology:publication ) } } } } . FILTER ( ?n < ?j ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?z WHERE { { ?t property:main_subject ?z . ?z rdf:type ontology:occupation . ?t rdf:type ontology:publication } UNION { ?t rdf:type ontology:work_of_art . ?z rdf:type ontology:occupation . ?t property:main_subject ?z } } GROUP BY ?z } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1142
Q7257 Q1047113 Q7278
USER
Which political parties promote approximately 1 ideologies or special fields ?
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
value 1
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } . ?w rdf:type ?f } GROUP BY ?y } . FILTER ( ?o = 1 ) }
action approx
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 1
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:ideology ) ( ontology:special_field ) } . ?w rdf:type ?f } GROUP BY ?y } . FILTER ( ?o = 1 ) }
[]
ideology special field political party
Q662502 Q17427 Q185088
SYSTEM
Federation of the Greens, Communist Party of China, People's Party
Q3395191 Q280906 Q3121556 Q950179 Q781486 Q3751152 Q5154286 Q852329 Q8960633 Q1778910 Q3499324 Q2576679 Q605468 Q3395560 Q1422942 Q438783 Q6063944 Q1445096 Q2531228 Q25079 Q2885750 Q587803 Q385543 Q3322686 Q43093 Q2031569 Q3366659 Q3133199 Q1104327 Q368067 Q980471 Q3573249 Q2395103 Q3306235 Q49758 Q2366462 Q3307042 Q2395467 Q155820 Q1278980 Q5033985 Q79854 Q1987660 Q3296785 Q3324157 Q2866675 Q371402 Q641600 Q3045391 Q1276239 Q49621 Q9056182 Q3327144 Q549209 Q4894568 Q3313706 Q713302 Q1437906 Q3306974 Q617603 Q537649 Q185088 Q325413 Q202649 Q584040 Q1737170 Q3328003 Q1125061 Q2257766 Q217009 Q2118395 Q3313721 Q1377195 Q2838243 Q9056254 Q1153753 Q3326408 Q3327113 Q7309255 Q2749535 Q2733414 Q1786349 Q2876738 Q9056440 Q1089640 Q3322790 Q1577483 Q6064176 Q4753534 Q662502 Q576518 Q794247 Q3751189 Q220945 Q777074 Q2165306 Q3750882 Q209546 Q659739 Q3320917 Q9669 Q5154414 Q883448 Q4345980 Q3306652 Q2054574 Q581186 Q2055003 Q634372 Q3322771 Q3028838 Q11698116 Q3328052 Q3327928 Q1029761 Q1359816 Q18761823 Q17427 Q3395147 Q611548 Q2099347 Q3366598 Q3125165 Q3089721 Q49756 Q965481 Q49754 Q49755 Q639383 Q3133156 Q625556 Q6063925 Q1412555 Q606955 Q788345 Q3306992 Q3780661 Q3134856 Q5604424 Q3328040 Q3047694 Q3327447 Q3571603 Q3181825 Q956240 Q1780610 Q2597196 Q937365 Q3175770 Q6063953 Q427325 Q8347650 Q3133165 Q8350511 Q885433
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
value 1
[ANSWERS] promote approximately 1 ideologies or special fields
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:Q7257 ) ( ontology:Q1047113 ) } . ?w rdf:type ?f } GROUP BY ?y } . FILTER ( ?o = 1 ) }
Liberal Democratic Party (Spain) Socialist Party of Navarra-PSOE Syndicalist Party European Green Party Australian Greens Democrats Convergence of Navarre Communist Initiative Movement for a Europe of Liberties and Democracy Ezker Anitza Popular Socialist Party Green Party Communist Party of Greece (Marxist–Leninist) Communist Party of Poland Partido Galeguista Demócrata Radical Democratic Party Democratic Alternative Revolutionary Communist Party People's Party of Catalonia Euskadiko Ezkerra Alliance of Liberals and Democrats for Europe Party Socialist Party of National Liberation Communist Party of Norway Communist Party of the Netherlands Liberal Party Basque Nationalist Party People's Party of Galicia Russian Party Revolutionary Communist League Canarian Coalition Alliance of European National Movements Regional Action Communist Party of Aragon Pridnestrovie Communist Party Partido Galeguista National Democratic Party of Germany Regionalist Party of Cantabria Communist Party of National Liberation Communist Party of West Belarus Constitutional Democratic Party Andalusian Party Cantonal Party Communist Party of the Soviet Union Green Confederation Galician Socialist Party-Galician Left Galician Party of the Proletariat Askatasuna Communist Party of Cuba Japanese Communist Party Ezker Batua – Berdeak EUDemocrats Workers Party of South Korea Christian Democratic Party Liberal Democratic Centre Union of the Democratic Centre Communist Party of Asturias Assembleia do Povo Unido Green Party Taiwan Asturias Forum Galician Nationalist Party-Galicianist Party Communist Workers' Party of Germany Communist Party of Hungary People's Party Communist Party of Belarus Party of the European Left España 2000 Italian Pirate Party Nationalist Left Eusko Alkartasuna Spanish Communist Workers' Party Socialist Revolutionary Party Algerian Communist Party Catalunya Lliure European Alliance for Freedom People's Alliance People's Party of Cantabria Ecology Generation Communist Party of the Valencian Country Communist Party of Spain Regionalist Party of Guadalajara Galician Left Alternative Socialist Party of the Basque Country – Basque Country Left Spanish Communist Workers' Party Democratic Left Nationalist Party of the Valencian Country Chunta Aragonesista Euskal Ezkerra Alliance of European Conservatives and Reformists Nationalist Party of Cantabria Andalusian Social Liberal Party Federation of the Greens Communist Party of Aragon Partíu Asturianista Alternativa Popular Canaria Party of European Socialists Communist Party of Burma People's Alliance Communist Party of the Basque Country Batasuna Green Party of Switzerland Equo Green Party of England and Wales Communist Party of Madrid Association for Solidarity Perspectives Party of Democratic Reform Galician Coalition Aragonese Party Communist Party of Albania Socialists' Party of Catalonia Democratic Popular Party Euskal Iraultzarako Alderdia Social Democratic Party Unified Socialist Party of Andalusia Partido Galeguista Anova-Nationalist Brotherhood Euskal Herria Bildu Communist Party of Thailand The Greens Communist Party of China Democratic Reformist Party Bildu Azerbaijan Communist Party People's Party of Navarre Democratic Federal Republican Party 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 Aralar Party Castilian Party Communist League of West Germany Communist Party of South Ossetia Democratic and Social Centre 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 United Left Socialist Party of Aragon Revolutionary Communist Party Spanish Socialist Workers' Party of Andalusia Communist Party of Latvia Brazilian Communist Party PSM-Nationalist Agreement Communist Party of Spain (Reconstituted) Partido Comunista de Galicia Communist Party of Vietnam Unitarian Candidacy of Workers Workers' Party of Spain – Communist Unity Galician Convergence Galician Nationalist Bloc
Federation of the Greens, Communist Party of China and People's Party promote approximately 1 ideologies or special fields
Federation of the Greens Communist Party of China People's Party
action approx
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 1
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:ideology ) ( ontology:special_field ) } . ?w rdf:type ?f } GROUP BY ?y } . FILTER ( ?o = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2374149 Q82955
P106
Q502895
USER
Which people have the profession as politician and botanist ?
AND((c(Q502895),P106,Q82955), (c(Q502895),P106,Q2374149))
action filter_type
action intersection
action find_reverse
entity Q82955
relation P106
action find_reverse
entity Q2374149
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q82955'], [{'concept': 'Q502895'}, 'P106', 'Q2374149']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P106 resource:Q82955 . ?h property:P106 resource:Q2374149 }
botanist politician
action filter_type
action intersection
action find_reverse
entity politician
relation occupation
action find_reverse
entity botanist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'politician'], [{'concept': 'common name'}, 'occupation', 'botanist']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:occupation resource:politician . ?h property:occupation resource:botanist }
[]
common name
Q945098 Q2621687 Q16027651 Q4237210 Q3102266 Q125724 Q1345319 Q25690 Q4521658 Q3087987
SYSTEM
Some of them are Oswald de Kerchove de Denterghem, Jean-Emmanuel Gilibert, Napoléon Doumet-Adanson, Stanisław Kulczyński, Georges Becker, Eduard August Rübel, Jean Baptiste Bory de Saint-Vincent, John Russell, 6th Duke of Bedford, Otto Karl Anton Schwarz, Gaspard Thémistocle Lestiboudois
Q2981591 Q1620034 Q5312459 Q919406 Q316571 Q3592366 Q62938 Q1338357 Q8007604 Q1345319 Q2635090 Q70471 Q2978257 Q5490688 Q1109649 Q3121176 Q123225 Q1583166 Q957519 Q3680451 Q1634164 Q3340463 Q3352322 Q8072235 Q1219227 Q3060015 Q4069879 Q327915 Q5325972 Q3121969 Q4521658 Q5879 Q2624463 Q4154201 Q3884907 Q3087987 Q25690 Q3619721 Q723956 Q1063661 Q2833381 Q319444 Q2853965 Q2086812 Q263505 Q3821587 Q2332382 Q125724 Q5042006 Q4133320 Q3262960 Q3579829 Q6437103 Q8777407 Q84579 Q116119 Q3237886 Q1991032 Q4237210 Q3184192 Q16027651 Q682230 Q984420 Q1684677 Q780105 Q3604361 Q2010726 Q169011 Q770417 Q2778378 Q2656605 Q6135478 Q3102691 Q901202 Q945098 Q3102266 Q3780721 Q978054 Q645606 Q5725740 Q2959381 Q2621687 Q19939052 Q712566 Q1673469 Q8772263 Q116935 Q5995915 Q202106 Q766920 Q318372 Q294651 Q4348381 Q438932 Q1149854 Q282329 Q765542 Q1385980 Q345654 Q4579325 Q1354117 Q2959456 Q706466 Q1252447 Q2073003 Q640494 Q2983280 Q3157992 Q118178 Q130327 Q115901 Q881135 Q954928
AND((c(Q502895),P106,Q82955), (c(Q502895),P106,Q2374149))
action filter_type
action intersection
action find_reverse
entity Q82955
relation P106
action find_reverse
entity Q2374149
relation P106
type Q502895
[ANSWERS] have the profession as politician and botanist
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q82955'], [{'concept': 'Q502895'}, 'P106', 'Q2374149']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P106 resource:Q82955 . ?h property:P106 resource:Q2374149 }
Philippe-Isidore Picot de Lapeyrouse Hippolyte François Jaubert Dugald Louis Poppelwell Justin Pierre Marie Macquart Barthélemy Charles Joseph Dumortier Étienne Soulange-Bodin Joseph zu Salm-Reifferscheidt-Dyck Emmanuel Liais William Darlington Jean Baptiste Bory de Saint-Vincent William Roscoe Henry Nicholas Bolander Claude Victor de Boissieu Francisco de las Barras de Aragón Karel Domin Gustave Dutailly Albrecht von Haller Hans Schack John Ball Clemente Grimaldi Charles Carmichael Lacaita Nicolas Joseph Marie Le Gall Jørgen Brunchorst Zina Pitcher Giacomo Doria Eugène Louis Melchior Patrin Johan Arrhenius Joachim Christian Timm Earl Lemley Core Nordal Wille Otto Karl Anton Schwarz Johann Wolfgang von Goethe William Colenso Eilif Dahl Orazio Comes Gaspard Thémistocle Lestiboudois John Russell, 6th Duke of Bedford Antonio Jatta Joel Roberts Poinsett Charles Baring, 2nd Baron Howick of Glendale Alexandre-Pierre Odart Aimo Cajander Antoine François Passy Philipp Hepp Justin Girod-Chantrans Mariano de la Paz Graëlls y de la Aguera Hipólito Unanue Eduard August Rübel Carlos E. Chardón Palacios Ronald Campbell Gunn Louis Proust Édouard Ernest Prillieux Frederick Nylander Ernesto Viéitez Cortizo Anton Rehmann Paul Usteri Libor Ambrozek Nikolai Wassiljewitsch Zizin Stanisław Kulczyński Joseph-Auguste Desrousseaux Napoléon Doumet-Adanson François-Vincent Raspail Pierre Marie Arthur Morelet Jean-Baptiste Payer William H. Emory Achille De Zigno Julius Mac Leod John C. Frémont Michael Foster Engbert Drenth José Correia da Serra James Hammond Trumbull Georges Eugène Charles Beauvisage William S. Clark Oswald de Kerchove de Denterghem Georges Becker Algernon Freeman-Mitford, 1st Baron Redesdale Thomas Potts Jean Marie Antoine de Lanessan Henry McLaren, 2nd Baron Aberconway Charles Howard-Bury Jean-Emmanuel Gilibert Jacques Paul Fronton Duplantier Theodoros Georgios Orphanides Isaac de l'Ostal de Saint-Martin Eduardo Chao Fernández Edmond Davall Marcelo Rivas Mateos Mutius von Tommasini Auguste Pomel Joseph Paxton John Stuart, 3rd Earl of Bute Oswald Kairamo Lewis Weston Dillwyn Addison Brown George W. Clinton Charles-François Brisseau de Mirbel Jules Paul Benjamin Delessert Carl Adolph Agardh Olav Gjærevoll Pierre Marie Auguste Broussonet Charles Jean Louis Delastre Giovanni Battista Grassi Gottfried Keller Louis van Houtte Louis Ramond de Carbonnières Simón de Roxas Clemente y Rubio Jacques-Louis Hénon Hans Hürlimann Stamford Raffles Konrad H. Christ Julius Sterling Morton William Herbert
Oswald de Kerchove de Denterghem, Jean-Emmanuel Gilibert, Napoléon Doumet-Adanson, Stanisław Kulczyński, Georges Becker, Eduard August Rübel, Jean Baptiste Bory de Saint-Vincent, John Russell, 6th Duke of Bedford, Otto Karl Anton Schwarz and Gaspard Thémistocle Lestiboudois have the profession as politician and botanist
Oswald de Kerchove de Denterghem Jean-Emmanuel Gilibert Napoléon Doumet-Adanson Stanisław Kulczyński Georges Becker Eduard August Rübel Jean Baptiste Bory de Saint-Vincent John Russell, 6th Duke of Bedford Otto Karl Anton Schwarz Gaspard Thémistocle Lestiboudois
action filter_type
action intersection
action find_reverse
entity politician
relation occupation
action find_reverse
entity botanist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'politician'], [{'concept': 'common name'}, 'occupation', 'botanist']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:occupation resource:politician . ?h property:occupation resource:botanist }
[]