Simple Question (Direct)
Simple Question
Q3311419
P21
Q290
USER
Which sex does Michelle Demessine have ?
(Q3311419,P21,c(Q290))
action filter_type
action find
entity Q3311419
relation P21
type Q290
['Q3311419', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q3311419 property:P21 ?g . ?g rdf:type ontology:Q290 }
Michelle Demessine
action filter_type
action find
entity Michelle Demessine
relation gender
type sex
['Michelle Demessine', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Michelle_Demessine property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3311419,P21,c(Q290))
action filter_type
action find
entity Q3311419
relation P21
type Q290
Michelle Demessine has a [ANSWER]
['Q3311419', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q3311419 property:P21 ?g . ?g rdf:type ontology:Q290 }
female
Michelle Demessine has a female
female
action filter_type
action find
entity Michelle Demessine
relation gender
type sex
['Michelle Demessine', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Michelle_Demessine property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3311419
P937
Q56061
USER
What is the work location of Michelle Demessine ?
(Q3311419,P937,c(Q56061))
action filter_type
action find
entity Q3311419
relation P937
type Q56061
['Q3311419', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q3311419 property:P937 ?l }
Michelle Demessine
action filter_type
action find
entity Michelle Demessine
relation work location
type administrative territorial entity
['Michelle Demessine', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Michelle_Demessine property:work_location ?l }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3311419,P937,c(Q56061))
action filter_type
action find
entity Q3311419
relation P937
type Q56061
The work location of Michelle Demessine is in [ANSWER]
['Q3311419', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q3311419 property:P937 ?l }
Paris
The work location of Michelle Demessine is in Paris
Paris
action filter_type
action find
entity Michelle Demessine
relation work location
type administrative territorial entity
['Michelle Demessine', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Michelle_Demessine property:work_location ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3311419
P106
Q12737077
USER
What does that person do for a living ?
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q3311419
relation P106
type Q12737077
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3311419 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Michelle Demessine
action filter_type
action find
entity Michelle Demessine
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Michelle_Demessine property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q3311419
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3311419 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
politician
Politician that person does for a living
politician
action filter_type
action find
entity Michelle Demessine
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Michelle_Demessine property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q500550 Q3311419
P102
Q7278
USER
Which political parties do Michelle Demessine or Andreas Schramm belong to ?
OR((Q3311419,P102,c(Q7278)), (Q500550,P102,c(Q7278)))
action filter_type
action union
action find
entity Q3311419
relation P102
action find
entity Q500550
relation P102
type Q7278
{'OR': [['Q3311419', 'P102', {'concept': 'Q7278'}], ['Q500550', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7278 . { { resource:Q3311419 property:P102 ?n } UNION { resource:Q500550 property:P102 ?n } } }
Andreas Schramm Michelle Demessine
action filter_type
action union
action find
entity Michelle Demessine
relation member of political party
action find
entity Andreas Schramm
relation member of political party
type political party
{'OR': [['Michelle Demessine', 'member of political party', {'concept': 'political party'}], ['Andreas Schramm', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_party . { { resource:Michelle_Demessine property:member_of_political_party ?n } UNION { resource:Andreas_Schramm property:member_of_political_party ?n } } }
[]
political party
Q192821 Q49754 Q49762
SYSTEM
French Communist Party, Christian Democratic Union, Christian Democratic Union
Q192821 Q49754 Q49762
OR((Q3311419,P102,c(Q7278)), (Q500550,P102,c(Q7278)))
action filter_type
action union
action find
entity Q3311419
relation P102
action find
entity Q500550
relation P102
type Q7278
Michelle Demessine or Andreas Schramm belong to the [ANSWERS]
{'OR': [['Q3311419', 'P102', {'concept': 'Q7278'}], ['Q500550', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7278 . { { resource:Q3311419 property:P102 ?n } UNION { resource:Q500550 property:P102 ?n } } }
French Communist Party Christian Democratic Union Christian Democratic Union
Michelle Demessine or Andreas Schramm belong to the French Communist Party, Christian Democratic Union and Christian Democratic Union
French Communist Party Christian Democratic Union Christian Democratic Union
action filter_type
action union
action find
entity Michelle Demessine
relation member of political party
action find
entity Andreas Schramm
relation member of political party
type political party
{'OR': [['Michelle Demessine', 'member of political party', {'concept': 'political party'}], ['Andreas Schramm', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_party . { { resource:Michelle_Demessine property:member_of_political_party ?n } UNION { resource:Andreas_Schramm property:member_of_political_party ?n } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P291
Q56061 Q21114848 Q571
USER
Which administrative territories were min number of magazine genres and books published ?
(c(Q21114848)|c(Q571),P291,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
[[{'concept': 'Q21114848'}, {'concept': 'Q571'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?l WHERE { { ?r property:P291 ?l . ?r rdf:type ontology:Q21114848 . ?l rdf:type ontology:Q56061 } UNION { ?l rdf:type ontology:Q56061 . ?r rdf:type ontology:Q571 . ?r property:P291 ?l } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?y WHERE { { ?a property:P291 ?y . ?y rdf:type ontology:Q56061 . ?a rdf:type ontology:Q21114848 } UNION { ?a property:P291 ?y . ?a rdf:type ontology:Q571 . ?y rdf:type ontology:Q56061 } } GROUP BY ?y } . FILTER ( ?x = ?j ) }
action argmin
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
[[{'concept': 'magazine genre'}, {'concept': 'book'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?l WHERE { { ?r property:place_of_publication ?l . ?r rdf:type ontology:magazine_genre . ?l rdf:type ontology:administrative_territorial_entity } UNION { ?l rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:book . ?r property:place_of_publication ?l } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?y WHERE { { ?a property:place_of_publication ?y . ?y rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:magazine_genre } UNION { ?a property:place_of_publication ?y . ?a rdf:type ontology:book . ?y rdf:type ontology:administrative_territorial_entity } } GROUP BY ?y } . FILTER ( ?x = ?j ) }
[]
administrative territorial entity magazine genre book
Q406 Q1524 Q1867
SYSTEM
Istanbul, Athens, Taipei
Q807 Q2536016 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q484678 Q151920 Q13375 Q36378 Q4093 Q2560090 Q3404679 Q987 Q8692 Q23051 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q41876 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q81046 Q5831 Q22889 Q12892 Q132572 Q6157 Q12411 Q1718 Q43631 Q11125 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q2020203 Q406 Q234178 Q15468 Q6346 Q887 Q576165 Q5465 Q2141 Q54217 Q1679567 Q2814 Q15093 Q162279 Q17151 Q1490 Q1191195 Q102217 Q237 Q239 Q16559 Q16555 Q16557 Q486306 Q1296 Q1563 Q170263 Q35381 Q87 Q2081145 Q1024911 Q193478 Q191133 Q11959 Q35493 Q538915 Q78 Q286048 Q1235510 Q15678 Q49241 Q3183 Q172157 Q582121 Q14318 Q15090 Q134620 Q15095 Q15098 Q8745 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q327022 Q12225 Q23154 Q340 Q342 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q6576 Q28249 Q13666 Q9580 Q569661 Q8356 Q49179 Q735583 Q1724 Q11967 Q1729 Q159232 Q207891 Q3395358 Q683512 Q3889 Q9125 Q5818 Q1867 Q204382 Q269 Q27393 Q126148 Q771986 Q49229 Q33405 Q79990 Q493794 Q6537 Q6106 Q2391194 Q10313 Q1295 Q59169 Q669171 Q204720 Q206988 Q3012 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q15088 Q3366952 Q203263 Q213898 Q193180 Q8757 Q47048 Q178277 Q192155 Q883 Q41262 Q6441 Q125080 Q12303 Q156990 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q646620 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q21114848)|c(Q571),P291,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
[ANSWERS] were min number of magazine genres and books published
[[{'concept': 'Q21114848'}, {'concept': 'Q571'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?l WHERE { { ?r property:P291 ?l . ?r rdf:type ontology:Q21114848 . ?l rdf:type ontology:Q56061 } UNION { ?l rdf:type ontology:Q56061 . ?r rdf:type ontology:Q571 . ?r property:P291 ?l } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?y WHERE { { ?a property:P291 ?y . ?y rdf:type ontology:Q56061 . ?a rdf:type ontology:Q21114848 } UNION { ?a property:P291 ?y . ?a rdf:type ontology:Q571 . ?y rdf:type ontology:Q56061 } } GROUP BY ?y } . FILTER ( ?x = ?j ) }
Lausanne Crickhowell Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Berkeley Tiberias Pisa Fribourg Glasgow Athol Crumlin New Delhi Bilbao Swansea Palermo Grenoble Straume Málaga Cardiff Gävle Ávila Soria Nampula Cádiz Segovia Gloucester Reims Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Charleroi Melilla Bath Antwerp Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Lugo Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Rhyl Istanbul Bangor Badalona Indianapolis Yekaterinburg Warsaw Cape Town Halifax Norwalk Jakobstad Halle (Saale) Ciudad Real Kuopio Thessaloniki Tokyo Mold Vitebsk Vatican City Brussels Austin Houston Dallas Pensacola Ghent Havana Chester Colombo Alexandria Milborne Port Welshpool Buda Fátima Alicante Almaty Mjölby Basel New Glasgow, Nova Scotia Dolgellau Cáceres Lexington Perth Winchester Bradenton Vitoria-Gasteiz Lleida Jyväskylä Albacete Cuenca Vigo Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Rockville Murcia Bristol Montreal Quimper Sereď Barmouth Sunderland Padua Conwy Sofia Irkutsk Concord Messina Burgos Königstein im Taunus Valladolid Worcester Ylivieska Saarbrücken Huesca Erfurt Santa Cruz Kokkola Kidwelly Savonlinna Maputo Winterthur Córdoba Taipei Kouvola Tashkent Herning Tangier Chepstow Durham Little Rock Christchurch Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Dortmund Mo i Rana Newtown Hereford Cheltenham Ulm León Ferrol Zamora Salamanca The Dalles Saint Paul Tarragona Alta Athens Preveza Kajaani A Coruña Oulu Montvale Kotka Novosibirsk Nottingham Montpellier Vaasa Jerez de la Frontera Monmouth Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Estella-Lizarra Kanhangad Tartu Jaffna Palma Galway Greenwich Canterbury Spangenberg Bletchley Teruel Johannesburg
Istanbul, Athens and Taipei were min number of magazine genres and books published
Istanbul Athens Taipei
action argmin
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
[[{'concept': 'magazine genre'}, {'concept': 'book'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?l WHERE { { ?r property:place_of_publication ?l . ?r rdf:type ontology:magazine_genre . ?l rdf:type ontology:administrative_territorial_entity } UNION { ?l rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:book . ?r property:place_of_publication ?l } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?y WHERE { { ?a property:place_of_publication ?y . ?y rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:magazine_genre } UNION { ?a property:place_of_publication ?y . ?a rdf:type ontology:book . ?y rdf:type ontology:administrative_territorial_entity } } GROUP BY ?y } . FILTER ( ?x = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q617603
P1142
Q1047113 Q7257 Q7278
USER
How many political parties have lesser number of special fields or ideologies as their political ideology than Communist Workers' Party of Germany ?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action less
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_multi_types
action find
entity Q617603
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?d WHERE { VALUES ( ?g ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?i rdf:type ?g } GROUP BY ?d } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q617603 property:P1142 ?k . { { ?k rdf:type ontology:Q1047113 } UNION { ?k rdf:type ontology:Q7257 } } } } }
Communist Workers' Party of Germany
action count
action less
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
action count
action filter_multi_types
action find
entity Communist Workers' Party of Germany
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?d WHERE { VALUES ( ?g ) { ( ontology:special_field ) ( ontology:ideology ) } . ?i rdf:type ?g } GROUP BY ?d } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Communist_Workers'_Party_of_Germany property:political_ideology ?k . { { ?k rdf:type ontology:special_field } UNION { ?k rdf:type ontology:ideology } } } } }
[]
special field ideology political party
SYSTEM
166
Q627213 Q8711543 Q1164324 Q6064226 Q3572851 Q49750 Q504000 Q1470891 Q3322477 Q4891011 Q5154327 Q4229890 Q1780583 Q10862991 Q5314301 Q3331262 Q3328775 Q192406 Q3176618 Q3324147 Q426963 Q82558 Q3392277 Q6767863 Q3366745 Q537850 Q1351963 Q3042973 Q586066 Q5502807 Q161118 Q317952 Q2883859 Q6064217 Q2590329 Q4671756 Q512498 Q2386352 Q7197818 Q1574974 Q2883403 Q7197814 Q7197815 Q7197810 Q1169744 Q9056260 Q9056262 Q208602 Q5558687 Q3395162 Q50571 Q3822555 Q5154467 Q4229909 Q324107 Q1672366 Q1284257 Q2166484 Q478811 Q2054444 Q429078 Q7197806 Q7232673 Q3047700 Q9056341 Q734792 Q913567 Q2096648 Q256121 Q1069440 Q1122797 Q5154376 Q321633 Q1339294 Q305317 Q750116 Q308714 Q1120586 Q463318 Q2351908 Q3122372 Q2376287 Q1325836 Q4895562 Q695270 Q668699 Q545900 Q2203833 Q3326711 Q8778797 Q592068 Q3191174 Q204911 Q3173752 Q8195538 Q1073752 Q138198 Q3739119 Q341085 Q1136727 Q173236 Q3298265 Q3751846 Q3813847 Q198403 Q153401 Q3326695 Q1343742 Q3049400 Q8350502 Q617261 Q461886 Q7362565 Q155000 Q950356 Q148861 Q13129 Q1957214 Q4229896 Q3326258 Q3330925 Q506537 Q7197808 Q3366589 Q8206150 Q580690 Q3326681 Q5291 Q5406044 Q6064224 Q847914 Q781788 Q2575714 Q1789010 Q3573531 Q1459085 Q672479 Q1525453 Q16059622 Q961371 Q19972534 Q12389059 Q280901 Q3079953 Q1268112 Q1972750 Q168153 Q3328134 Q1328410 Q1465376 Q3322584 Q507226 Q452571 Q487129 Q321673 Q4891520 Q954933 Q3327440 Q4363281 Q943595 Q499632 Q5401616 Q2630934 Q2605592 Q10944648 Q600703
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action less
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_multi_types
action find
entity Q617603
relation P1142
type Q1047113
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?d WHERE { VALUES ( ?g ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?i rdf:type ?g } GROUP BY ?d } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q617603 property:P1142 ?k . { { ?k rdf:type ontology:Q1047113 } UNION { ?k rdf:type ontology:Q7257 } } } } }
Workers' Party of Ethiopia Communist Party of Kampuchea Communist Party of Denmark People's Party of Extremadura Aragon's Socialists' Party Socialist Unity Party of Germany Communist Party of Brazil Union of October 17 Party of the Communists of Catalonia Extremaduran Coalition Communist Party of Andalusia Communist Party of Australia Communist Party of Namibia Converxencia Nacionalista Galega Slovenian Pirate Party Canarian Nationalist Assembly Socialist Party of the People of Ceuta Communist Party of Greece Socialist Party of the Valencian Country Catalan Workers Bloc Communist Party of Nepal Party Against Mistreatment to Animals People's Party (Spain, 1976) Pirate Party of Turkey Socialist Party of Madrid-PSOE Communist Party of Belgium Citizenship, Action, Participation for the 21st Century Estat Català Tunisian Communist Party Frente Nacional Communist Party of Austria Communist Party of Chile Communist Party Andalusian People's Party Communist Party of Australia Communist Organization of Spain Marijuana Party of Canada Communist Party of the People of Spain Pirate Party of Ukraine Pirate Party UK Extremaduran Popular Bloc Pirate Party of Serbia Pirate Party of Poland Pirate Party of Bosnia and Herzegovina Communist Party of the Basque Homelands People's Party of the Valencian Community People's Party of the Community of Madrid Pirate Party Workers Revolutionary Party - Revolutionary Left Socialist Action Party (Spain) United States Pirate Party Cannabis Party Communist Party of the Catalan People Communist Party of the Russian Soviet Federative Socialist Republic Communist Party of Germany/Marxists–Leninists Iraqi Communist Party Pirate Party Communist People's Party of Kazakhstan Communist Party of Spain Communist Party of Réunion PSUC viu Pirate Party Portuguese Pirate Party Liberal-Conservative Party Partido Socialista de los Trabajadores (Spain) European Democratic Party Communist Party of Bohemia and Moravia Pirate Party Berlin Romanian Communist Party Pirate Party of Russia Communist Party of Ukraine Communist Party of Castile-La Mancha Communist Party of Germany (1990) Tudeh Party of Iran South African Communist Party Party of Communists of the Republic of Moldova Communist Party USA Communist Party of Australia Movement of Unitarian Communists Communist Party of Bulgaria Galician Socialist Party Communist Party of Moldova Communist Party of Slovakia Party of Labour of Spain Pirate Party of Austria POUM Green Liberal Party of Switzerland Sudanese Communist Party National Front Esquerda de Galicia Communist Party of Great Britain Pirate Party Russian Social Democratic Labour Party Slovak Pirate Party National Alliance Hungarian Working People's Party Spanish Socialist Workers' Party Communist Party Czech Pirate Party Pirate Party Belgium Convergence for the Isles Communist Party of Pakistan Humanist Party Proletarian Catalan Party Pirate Party Iceland Communist Party of Germany Workers' Party Pirate Party of Greece Carlist Party Convergència Democràtica de la Franja Political Party of Radicals Italian Communist Party Romanian Pirate Party Bulgarian Communist Party Parti Québécois German Communist Party Pirate Party Germany Syrian Communist Party Communist Party of Germany Communist Party of Galicia United Extremadura Unified Communist Party of Nepal Pirate Party Croatia Pirate Party (Tunisia) Canarian Assembly Union of the Russian People Communist Party of the Valencians Pirate Party Cangas Left Alternative People's Party of Castile and León Communist Party of Venezuela Pirate Party Green Party of Quebec Communist Party Carlist Party of Euskalherria Pirate Party Pirate Party Switzerland Communist Organization of Greece Podemos Land Party Jaén en Común Galician Workers Front People's Party of Aragon Pirate Party Luxembourg League of Communists of Slovenia Peruvian Communist Party Pirate Party Australia Revolutionary Workers' Party (Spain) Pirate Party Communist Party of Lithuania Republican Left of the Valencian Country Riojan Party Amaiur Communist Party of Germany Communist Party of Luxembourg Socialist Party of Cantabria–PSOE Popular Socialists Galician Left Pirate Party of Kazakhstan Spanish Alternative Marxist–Leninist Party of Germany Estonian Pirate Party Unified Socialist Party of Catalonia Communist Party of Moldova Valencian Left Communist Party of Sri Lanka
166
action count
action less
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
action count
action filter_multi_types
action find
entity Communist Workers' Party of Germany
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?d WHERE { VALUES ( ?g ) { ( ontology:special_field ) ( ontology:ideology ) } . ?i rdf:type ?g } GROUP BY ?d } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Communist_Workers'_Party_of_Germany property:political_ideology ?k . { { ?k rdf:type ontology:special_field } UNION { ?k rdf:type ontology:ideology } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3573249
P1142
Q1047113 Q7257 Q7278
USER
And also tell me about Communist Party of Aragon?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action less
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_multi_types
action find
entity Q3573249
relation P1142
type Q1047113
type Q7257
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?p WHERE { VALUES ( ?m ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?d rdf:type ?m } GROUP BY ?p } . FILTER ( ?t < ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Q3573249 property:P1142 ?u . { { ?u rdf:type ontology:Q1047113 } UNION { ?u rdf:type ontology:Q7257 } } } } }
Communist Party of Aragon
action count
action less
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
action count
action filter_multi_types
action find
entity Communist Party of Aragon
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?p WHERE { VALUES ( ?m ) { ( ontology:special_field ) ( ontology:ideology ) } . ?d rdf:type ?m } GROUP BY ?p } . FILTER ( ?t < ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Communist_Party_of_Aragon property:political_ideology ?u . { { ?u rdf:type ontology:special_field } UNION { ?u rdf:type ontology:ideology } } } } }
[]
special field ideology political party
SYSTEM
166
Q627213 Q8711543 Q1164324 Q6064226 Q3572851 Q49750 Q504000 Q1470891 Q3322477 Q4891011 Q5154327 Q4229890 Q1780583 Q10862991 Q5314301 Q3331262 Q3328775 Q192406 Q3176618 Q3324147 Q426963 Q82558 Q3392277 Q6767863 Q3366745 Q537850 Q1351963 Q3042973 Q586066 Q5502807 Q161118 Q317952 Q2883859 Q6064217 Q2590329 Q4671756 Q512498 Q2386352 Q7197818 Q1574974 Q2883403 Q7197814 Q7197815 Q7197810 Q1169744 Q9056260 Q9056262 Q208602 Q5558687 Q3395162 Q50571 Q3822555 Q5154467 Q4229909 Q324107 Q1672366 Q1284257 Q2166484 Q478811 Q2054444 Q429078 Q7197806 Q7232673 Q3047700 Q9056341 Q734792 Q913567 Q2096648 Q256121 Q1069440 Q1122797 Q5154376 Q321633 Q1339294 Q305317 Q750116 Q308714 Q1120586 Q463318 Q2351908 Q3122372 Q2376287 Q1325836 Q4895562 Q695270 Q668699 Q545900 Q2203833 Q3326711 Q8778797 Q592068 Q3191174 Q204911 Q3173752 Q8195538 Q1073752 Q138198 Q3739119 Q341085 Q1136727 Q173236 Q3298265 Q3751846 Q3813847 Q198403 Q153401 Q3326695 Q1343742 Q3049400 Q8350502 Q617261 Q461886 Q7362565 Q155000 Q950356 Q148861 Q13129 Q1957214 Q4229896 Q3326258 Q3330925 Q506537 Q7197808 Q3366589 Q8206150 Q580690 Q3326681 Q5291 Q5406044 Q6064224 Q847914 Q781788 Q2575714 Q1789010 Q3573531 Q1459085 Q672479 Q1525453 Q16059622 Q961371 Q19972534 Q12389059 Q280901 Q3079953 Q1268112 Q1972750 Q168153 Q3328134 Q1328410 Q1465376 Q3322584 Q507226 Q452571 Q487129 Q321673 Q4891520 Q954933 Q3327440 Q4363281 Q943595 Q499632 Q5401616 Q2630934 Q2605592 Q10944648 Q600703
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action less
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action count
action filter_multi_types
action find
entity Q3573249
relation P1142
type Q1047113
type Q7257
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?p WHERE { VALUES ( ?m ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } . ?d rdf:type ?m } GROUP BY ?p } . FILTER ( ?t < ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Q3573249 property:P1142 ?u . { { ?u rdf:type ontology:Q1047113 } UNION { ?u rdf:type ontology:Q7257 } } } } }
Workers' Party of Ethiopia Communist Party of Kampuchea Communist Party of Denmark People's Party of Extremadura Aragon's Socialists' Party Socialist Unity Party of Germany Communist Party of Brazil Union of October 17 Party of the Communists of Catalonia Extremaduran Coalition Communist Party of Andalusia Communist Party of Australia Communist Party of Namibia Converxencia Nacionalista Galega Slovenian Pirate Party Canarian Nationalist Assembly Socialist Party of the People of Ceuta Communist Party of Greece Socialist Party of the Valencian Country Catalan Workers Bloc Communist Party of Nepal Party Against Mistreatment to Animals People's Party (Spain, 1976) Pirate Party of Turkey Socialist Party of Madrid-PSOE Communist Party of Belgium Citizenship, Action, Participation for the 21st Century Estat Català Tunisian Communist Party Frente Nacional Communist Party of Austria Communist Party of Chile Communist Party Andalusian People's Party Communist Party of Australia Communist Organization of Spain Marijuana Party of Canada Communist Party of the People of Spain Pirate Party of Ukraine Pirate Party UK Extremaduran Popular Bloc Pirate Party of Serbia Pirate Party of Poland Pirate Party of Bosnia and Herzegovina Communist Party of the Basque Homelands People's Party of the Valencian Community People's Party of the Community of Madrid Pirate Party Workers Revolutionary Party - Revolutionary Left Socialist Action Party (Spain) United States Pirate Party Cannabis Party Communist Party of the Catalan People Communist Party of the Russian Soviet Federative Socialist Republic Communist Party of Germany/Marxists–Leninists Iraqi Communist Party Pirate Party Communist People's Party of Kazakhstan Communist Party of Spain Communist Party of Réunion PSUC viu Pirate Party Portuguese Pirate Party Liberal-Conservative Party Partido Socialista de los Trabajadores (Spain) European Democratic Party Communist Party of Bohemia and Moravia Pirate Party Berlin Romanian Communist Party Pirate Party of Russia Communist Party of Ukraine Communist Party of Castile-La Mancha Communist Party of Germany (1990) Tudeh Party of Iran South African Communist Party Party of Communists of the Republic of Moldova Communist Party USA Communist Party of Australia Movement of Unitarian Communists Communist Party of Bulgaria Galician Socialist Party Communist Party of Moldova Communist Party of Slovakia Party of Labour of Spain Pirate Party of Austria POUM Green Liberal Party of Switzerland Sudanese Communist Party National Front Esquerda de Galicia Communist Party of Great Britain Pirate Party Russian Social Democratic Labour Party Slovak Pirate Party National Alliance Hungarian Working People's Party Spanish Socialist Workers' Party Communist Party Czech Pirate Party Pirate Party Belgium Convergence for the Isles Communist Party of Pakistan Humanist Party Proletarian Catalan Party Pirate Party Iceland Communist Party of Germany Workers' Party Pirate Party of Greece Carlist Party Convergència Democràtica de la Franja Political Party of Radicals Italian Communist Party Romanian Pirate Party Bulgarian Communist Party Parti Québécois German Communist Party Pirate Party Germany Syrian Communist Party Communist Party of Germany Communist Party of Galicia United Extremadura Unified Communist Party of Nepal Pirate Party Croatia Pirate Party (Tunisia) Canarian Assembly Union of the Russian People Communist Party of the Valencians Pirate Party Cangas Left Alternative People's Party of Castile and León Communist Party of Venezuela Pirate Party Green Party of Quebec Communist Party Carlist Party of Euskalherria Pirate Party Pirate Party Switzerland Communist Organization of Greece Podemos Land Party Jaén en Común Galician Workers Front People's Party of Aragon Pirate Party Luxembourg League of Communists of Slovenia Peruvian Communist Party Pirate Party Australia Revolutionary Workers' Party (Spain) Pirate Party Communist Party of Lithuania Republican Left of the Valencian Country Riojan Party Amaiur Communist Party of Germany Communist Party of Luxembourg Socialist Party of Cantabria–PSOE Popular Socialists Galician Left Pirate Party of Kazakhstan Spanish Alternative Marxist–Leninist Party of Germany Estonian Pirate Party Unified Socialist Party of Catalonia Communist Party of Moldova Valencian Left Communist Party of Sri Lanka
166
action count
action less
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
action count
action filter_multi_types
action find
entity Communist Party of Aragon
relation political ideology
type special field
type ideology
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?p WHERE { VALUES ( ?m ) { ( ontology:special_field ) ( ontology:ideology ) } . ?d rdf:type ?m } GROUP BY ?p } . FILTER ( ?t < ?r ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Communist_Party_of_Aragon property:political_ideology ?u . { { ?u rdf:type ontology:special_field } UNION { ?u rdf:type ontology:ideology } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17044876
P19
Q56061
USER
Which administrative territory was Jordi Montanya i Mías born at ?
(Q17044876,P19,c(Q56061))
action filter_type
action find
entity Q17044876
relation P19
type Q56061
['Q17044876', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q17044876 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Jordi Montanya i Mías
action filter_type
action find
entity Jordi Montanya i Mías
relation place of birth
type administrative territorial entity
['Jordi Montanya i Mías', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jordi_Montanya_i_Mías property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15090
SYSTEM
Lleida
Q15090
(Q17044876,P19,c(Q56061))
action filter_type
action find
entity Q17044876
relation P19
type Q56061
Jordi Montanya i Mías was born in [ANSWER]
['Q17044876', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q17044876 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Lleida
Jordi Montanya i Mías was born in Lleida
Lleida
action filter_type
action find
entity Jordi Montanya i Mías
relation place of birth
type administrative territorial entity
['Jordi Montanya i Mías', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jordi_Montanya_i_Mías property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15090
P237
Q17335294
USER
Which coat of arms serves as the ensign for that administrative territory ?
(Q15090,P237,c(Q17335294))
action filter_type
action find
entity Q15090
relation P237
type Q17335294
['Q15090', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?h WHERE { resource:Q15090 property:P237 ?h . ?h rdf:type ontology:Q17335294 }
Lleida
action filter_type
action find
entity Lleida
relation coat of arms
type flag or coat of arms
['Lleida', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?h WHERE { resource:Lleida property:coat_of_arms ?h . ?h rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q5138473
SYSTEM
Coat of arms of Lleida
Q5138473
(Q15090,P237,c(Q17335294))
action filter_type
action find
entity Q15090
relation P237
type Q17335294
[ANSWER] serves as the ensign for that administrative territory
['Q15090', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?h WHERE { resource:Q15090 property:P237 ?h . ?h rdf:type ontology:Q17335294 }
Coat of arms of Lleida
Coat of arms of Lleida serves as the ensign for that administrative territory
Coat of arms of Lleida
action filter_type
action find
entity Lleida
relation coat of arms
type flag or coat of arms
['Lleida', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?h WHERE { resource:Lleida property:coat_of_arms ?h . ?h rdf:type ontology:flag_or_coat_of_arms }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2096012 Q15090
P237
Q17335294
USER
Or Ritthem?
OR((Q15090,P237,c(Q17335294)), (Q2096012,P237,c(Q17335294)))
action filter_type
action union
action find
entity Q15090
relation P237
action find
entity Q2096012
relation P237
type Q17335294
{'OR': [['Q15090', 'P237', {'concept': 'Q17335294'}], ['Q2096012', 'P237', {'concept': 'Q17335294'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q15090 property:P237 ?q } UNION { resource:Q2096012 property:P237 ?q } } . ?q rdf:type ontology:Q17335294 }
Ritthem Lleida
action filter_type
action union
action find
entity Lleida
relation coat of arms
action find
entity Ritthem
relation coat of arms
type flag or coat of arms
{'OR': [['Lleida', 'coat of arms', {'concept': 'flag or coat of arms'}], ['Ritthem', 'coat of arms', {'concept': 'flag or coat of arms'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Lleida property:coat_of_arms ?q } UNION { resource:Ritthem property:coat_of_arms ?q } } . ?q rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q5138473 Q20812738
SYSTEM
Coat of arms of Lleida, coat of arms of Ritthem
Q5138473 Q20812738
OR((Q15090,P237,c(Q17335294)), (Q2096012,P237,c(Q17335294)))
action filter_type
action union
action find
entity Q15090
relation P237
action find
entity Q2096012
relation P237
type Q17335294
[ANSWERS]
{'OR': [['Q15090', 'P237', {'concept': 'Q17335294'}], ['Q2096012', 'P237', {'concept': 'Q17335294'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q15090 property:P237 ?q } UNION { resource:Q2096012 property:P237 ?q } } . ?q rdf:type ontology:Q17335294 }
Coat of arms of Lleida coat of arms of Ritthem
Coat of arms of Lleida coat of arms of Ritthem
action filter_type
action union
action find
entity Lleida
relation coat of arms
action find
entity Ritthem
relation coat of arms
type flag or coat of arms
{'OR': [['Lleida', 'coat of arms', {'concept': 'flag or coat of arms'}], ['Ritthem', 'coat of arms', {'concept': 'flag or coat of arms'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Lleida property:coat_of_arms ?q } UNION { resource:Ritthem property:coat_of_arms ?q } } . ?q rdf:type ontology:flag_or_coat_of_arms }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q27606974 Q49762
P710 P488
Q502895
USER
Which people were the chair of Christian Democratic Union or were participants of 1935 Dutch Open Badminton Championships – Men's doubles ?
OR((Q49762,P488,c(Q502895)), (Q27606974,P710,c(Q502895)))
action filter_type
action union
action find
entity Q49762
relation P488
action find
entity Q27606974
relation P710
type Q502895
{'OR': [['Q49762', 'P488', {'concept': 'Q502895'}], ['Q27606974', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q49762 property:P488 ?n } UNION { resource:Q27606974 property:P710 ?n } } . ?n rdf:type ontology:Q502895 }
1935 Dutch Open Badminton Championships – Men's doubles Christian Democratic Union
action filter_type
action union
action find
entity Christian Democratic Union
relation chairperson
action find
entity 1935 Dutch Open Badminton Championships – Men's doubles
relation participant
type common name
{'OR': [['Christian Democratic Union', 'chairperson', {'concept': 'common name'}], ["1935 Dutch Open Badminton Championships – Men's doubles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Christian_Democratic_Union property:chairperson ?n } UNION { resource:1935_Dutch_Open_Badminton_Championships_–_Men's_doubles property:participant ?n } } . ?n rdf:type ontology:common_name }
[]
common name
Q2496 Q2512 Q1528964 Q27679578 Q27679577 Q27685577 Q470285 Q2518 Q26976044 Q27672162
SYSTEM
Some of them are Ludwig Erhard, Kurt Georg Kiesinger, Sven Strømann, Ir. G. Schoorel, W. Karsten, O. C. Koch, Rainer Barzel, Helmut Kohl, Edward H. den Hoed, K. Sandvad
Q27679578 Q27672162 Q2518 Q2496 Q470285 Q16019 Q2512 Q26976044 Q2492 Q27679577 Q27679576 Q27685577 Q1528964 Q27685566 Q567
OR((Q49762,P488,c(Q502895)), (Q27606974,P710,c(Q502895)))
action filter_type
action union
action find
entity Q49762
relation P488
action find
entity Q27606974
relation P710
type Q502895
[ANSWERS] were the chair of Christian Democratic Union or were participants of 1935 Dutch Open Badminton Championships – Men's doubles
{'OR': [['Q49762', 'P488', {'concept': 'Q502895'}], ['Q27606974', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q49762 property:P488 ?n } UNION { resource:Q27606974 property:P710 ?n } } . ?n rdf:type ontology:Q502895 }
Ir. G. Schoorel K. Sandvad Helmut Kohl Ludwig Erhard Rainer Barzel Wolfgang Schäuble Kurt Georg Kiesinger Edward H. den Hoed Konrad Adenauer W. Karsten A. Kempers O. C. Koch Sven Strømann J. P. H. Woltman Angela Merkel
Ludwig Erhard, Kurt Georg Kiesinger, Sven Strømann, Ir. G. Schoorel, W. Karsten, O. C. Koch, Rainer Barzel, Helmut Kohl, Edward H. den Hoed and K. Sandvad were the chair of Christian Democratic Union or were participants of 1935 Dutch Open Badminton Championships – Men's doubles
Ludwig Erhard Kurt Georg Kiesinger Sven Strømann Ir. G. Schoorel W. Karsten O. C. Koch Rainer Barzel Helmut Kohl Edward H. den Hoed K. Sandvad
action filter_type
action union
action find
entity Christian Democratic Union
relation chairperson
action find
entity 1935 Dutch Open Badminton Championships – Men's doubles
relation participant
type common name
{'OR': [['Christian Democratic Union', 'chairperson', {'concept': 'common name'}], ["1935 Dutch Open Badminton Championships – Men's doubles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Christian_Democratic_Union property:chairperson ?n } UNION { resource:1935_Dutch_Open_Badminton_Championships_–_Men's_doubles property:participant ?n } } . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2518
P25
Q502895
USER
Who was the mother of Helmut Kohl ?
(Q2518,P25,c(Q502895))
action filter_type
action find
entity Q2518
relation P25
type Q502895
['Q2518', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2518 property:P25 ?o . ?o rdf:type ontology:Q502895 }
Helmut Kohl
action filter_type
action find
entity Helmut Kohl
relation mother
type common name
['Helmut Kohl', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Helmut_Kohl property:mother ?o . ?o rdf:type ontology:common_name }
[]
common name
Q15979458
SYSTEM
Cäcilie Kohl
Q15979458
(Q2518,P25,c(Q502895))
action filter_type
action find
entity Q2518
relation P25
type Q502895
The mother of Helmut Kohl was Christiane [ANSWER]
['Q2518', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2518 property:P25 ?o . ?o rdf:type ontology:Q502895 }
Cäcilie Kohl
The mother of Helmut Kohl was Christiane Cäcilie Kohl
Cäcilie Kohl
action filter_type
action find
entity Helmut Kohl
relation mother
type common name
['Helmut Kohl', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Helmut_Kohl property:mother ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2496
P748
Q12737077
USER
Who was the occupation appointed by Ludwig Erhard ?
(c(Q12737077),P748,Q2496)
action filter_type
action find_reverse
entity Q2496
relation P748
type Q12737077
[{'concept': 'Q12737077'}, 'P748', 'Q2496']
SELECT DISTINCT ?b WHERE { ?b property:P748 resource:Q2496 . ?b rdf:type ontology:Q12737077 }
Ludwig Erhard
action filter_type
action find_reverse
entity Ludwig Erhard
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Ludwig Erhard']
SELECT DISTINCT ?b WHERE { ?b property:appointed_by resource:Ludwig_Erhard . ?b rdf:type ontology:occupation }
[]
occupation
Q4970706
SYSTEM
Federal Chancellor of Germany
Q4970706
(c(Q12737077),P748,Q2496)
action filter_type
action find_reverse
entity Q2496
relation P748
type Q12737077
The [ANSWER] was the occupation appointed by Ludwig Erhard
[{'concept': 'Q12737077'}, 'P748', 'Q2496']
SELECT DISTINCT ?b WHERE { ?b property:P748 resource:Q2496 . ?b rdf:type ontology:Q12737077 }
Federal Chancellor of Germany
The Federal Chancellor of Germany was the occupation appointed by Ludwig Erhard
Federal Chancellor of Germany
action filter_type
action find_reverse
entity Ludwig Erhard
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Ludwig Erhard']
SELECT DISTINCT ?b WHERE { ?b property:appointed_by resource:Ludwig_Erhard . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2496
P26
Q502895
USER
Who is the spouse of Ludwig Erhard ?
(c(Q502895),P26,Q2496)
action filter_type
action find
entity Q2496
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2496']
SELECT DISTINCT ?u WHERE { resource:Q2496 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Ludwig Erhard
action filter_type
action find
entity Ludwig Erhard
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ludwig Erhard']
SELECT DISTINCT ?u WHERE { resource:Ludwig_Erhard property:spouse ?u . ?u rdf:type ontology:common_name }
[]
common name
Q109961
SYSTEM
Luise Erhard
Q109961
(c(Q502895),P26,Q2496)
action filter_type
action find
entity Q2496
relation P26
type Q502895
The spouse of Ludwig Erhard is Princess [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q2496']
SELECT DISTINCT ?u WHERE { resource:Q2496 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Luise Erhard
The spouse of Ludwig Erhard is Princess Luise Erhard
Luise Erhard
action filter_type
action find
entity Ludwig Erhard
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ludwig Erhard']
SELECT DISTINCT ?u WHERE { resource:Ludwig_Erhard property:spouse ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q109961
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q109961,P27,c(Q1048835))
action filter_type
action find
entity Q109961
relation P27
type Q1048835
['Q109961', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q109961 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Luise Erhard
action filter_type
action find
entity Luise Erhard
relation country of citizenship
type political territorial entity
['Luise Erhard', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Luise_Erhard property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q109961,P27,c(Q1048835))
action filter_type
action find
entity Q109961
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q109961', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q109961 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Germany
Germany is that person a civilian of
Germany
action filter_type
action find
entity Luise Erhard
relation country of citizenship
type political territorial entity
['Luise Erhard', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Luise_Erhard property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]