Simple Question (Direct)
Simple Question
Q11722
P106
Q12737077
USER
What does Rudolf Ramek do for a living ?
(Q11722,P106,c(Q12737077))
action filter_type
action find
entity Q11722
relation P106
type Q12737077
['Q11722', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q11722 property:P106 ?m }
Rudolf Ramek
action filter_type
action find
entity Rudolf Ramek
relation occupation
type occupation
['Rudolf Ramek', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Rudolf_Ramek property:occupation ?m }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q11722,P106,c(Q12737077))
action filter_type
action find
entity Q11722
relation P106
type Q12737077
[ANSWER] for a living Rudolf Ramek does
['Q11722', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q11722 property:P106 ?m }
politician
Politician for a living Rudolf Ramek does
politician
action filter_type
action find
entity Rudolf Ramek
relation occupation
type occupation
['Rudolf Ramek', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Rudolf_Ramek property:occupation ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11722
P19
Q56061
USER
Which administrative territory was Rudolf Ramek born in ?
(Q11722,P19,c(Q56061))
action filter_type
action find
entity Q11722
relation P19
type Q56061
['Q11722', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q11722 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Rudolf Ramek
action filter_type
action find
entity Rudolf Ramek
relation place of birth
type administrative territorial entity
['Rudolf Ramek', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Rudolf_Ramek property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q321197
SYSTEM
Cieszyn
Q321197
(Q11722,P19,c(Q56061))
action filter_type
action find
entity Q11722
relation P19
type Q56061
Rudolf Ramek was born in [ANSWER]
['Q11722', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q11722 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Cieszyn
Rudolf Ramek was born in Cieszyn
Cieszyn
action filter_type
action find
entity Rudolf Ramek
relation place of birth
type administrative territorial entity
['Rudolf Ramek', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Rudolf_Ramek property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q85
P180
Q56061 Q2342494 Q1792379
USER
Which administrative territories are expressed in less number of collectables or art genres than Cairo ?
(c(Q2342494)|c(Q1792379),P180,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q56061
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q85
relation P180
type Q2342494
type Q1792379
[[{'concept': 'Q2342494'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?z WHERE { VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q1792379 ) } . ?p rdf:type ?d } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:P180 resource:Q85 . { ?j rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1792379 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?e < ?y ) }
Cairo
action less
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type art genre
action count
action filter_multi_types
action find_reverse
entity Cairo
relation depicts
type collectable
type art genre
[[{'concept': 'collectable'}, {'concept': 'art genre'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?z WHERE { VALUES ( ?d ) { ( ontology:collectable ) ( ontology:art_genre ) } . ?p rdf:type ?d } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:depicts resource:Cairo . { ?j rdf:type ?q . VALUES ( ?q ) { ( ontology:art_genre ) ( ontology:collectable ) } } } } . FILTER ( ?e < ?y ) }
[]
administrative territorial entity collectable art genre
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q894252 Q11370950 Q81076 Q10084 Q5180660 Q2536016 Q103011 Q7228196 Q52437 Q2741834 Q2218481 Q2035368 Q3876885 Q319536 Q319538 Q33486 Q12443 Q9427 Q3405864 Q11093013 Q7165393 Q3615313 Q6661066 Q1889195 Q950671 Q2214216 Q10989923 Q1198413 Q322 Q151920 Q467664 Q13375 Q1656724 Q130514 Q3404679 Q787395 Q33959 Q2184880 Q23051 Q2656 Q5687 Q7259867 Q54108 Q573757 Q4810069 Q9920 Q1310876 Q1866840 Q744948 Q3401639 Q15682 Q1908075 Q82070 Q2684439 Q5776 Q1757 Q1754 Q13153 Q319710 Q329967 Q12061339 Q13644930 Q6661117 Q62289 Q1965490 Q5058788 Q13644939 Q6477 Q2233618 Q1973162 Q41843 Q178835 Q1024924 Q1025821 Q2367253 Q1616324 Q80985 Q657748 Q472667 Q7837859 Q5616341 Q3297078 Q3401919 Q10690 Q3406673 Q3437 Q47164 Q12892 Q257446 Q365 Q5836 Q5288857 Q42053 Q179815 Q624065 Q991055 Q1247496 Q319576 Q1311946 Q4996547 Q153516 Q54143 Q180294 Q8818 Q80561 Q675460 Q428829 Q854672 Q5058745 Q13129603 Q7682007 Q3401133 Q1992389 Q174054 Q2385069 Q8021998 Q1524 Q9918 Q1489 Q3398339 Q1796191 Q2020203 Q1640443 Q6661380 Q7837893 Q2467 Q49156 Q3561 Q3398830 Q3398834 Q2313777 Q139564 Q144983 Q406 Q234178 Q8678 Q8054067 Q495 Q2044 Q7525 Q179046 Q319242 Q2695104 Q1012797 Q515 Q5623909 Q3405897 Q6661275 Q54145 Q1021164 Q527467 Q54217 Q199797 Q54134 Q7162078 Q1001536 Q2273077 Q272777 Q463937 Q3399236 Q3834 Q5463763 Q22336755 Q1191195 Q102217 Q1234779 Q3403140 Q1726 Q237 Q1936328 Q12994 Q995477 Q282461 Q2653611 Q621 Q7837767 Q5173016 Q748777 Q1296 Q6661758 Q1866857 Q636188 Q3402958 Q203387 Q16548107 Q1563 Q3406382 Q170263 Q372324 Q5200191 Q1748 Q205905 Q13129631 Q6661101 Q3811275 Q87 Q690 Q1013633 Q2227185 Q2100774 Q284467 Q187346 Q42462 Q9945 Q6661589 Q1741 Q6990839 Q200311 Q2243491 Q2913827 Q6661409 Q3399377 Q3404936 Q2634 Q3812274 Q285412 Q215177 Q319672 Q16869 Q4914513 Q191687 Q6661329 Q12302777 Q172 Q270 Q7588179 Q3309484 Q1020726 Q647698 Q84 Q1235510 Q2513006 Q376866 Q1638504 Q13678 Q5116688 Q79980 Q163490 Q23311 Q6661145 Q4769524 Q3401109 Q837211 Q579854 Q6737 Q951659 Q9908 Q3309494 Q171923 Q1492 Q6225 Q1867 Q2532363 Q3551 Q1807193 Q648732 Q6729228 Q13129664 Q3398922 Q43475 Q1479 Q7837785 Q3957 Q158467 Q64004 Q18419 Q1024911 Q6661964 Q271269 Q983538 Q5566589 Q5572835 Q674950 Q548248 Q2807 Q7930989 Q783437 Q49218 Q1353 Q183303 Q1974260 Q101254 Q13498 Q13496 Q677678 Q2185491 Q1026871 Q4667051 Q220 Q340 Q6661212 Q2240740 Q26421 Q4667113 Q1964775 Q123076 Q145948 Q2316216 Q672545 Q25231 Q25230 Q6661749 Q3050619 Q617 Q642810 Q339535 Q3402179 Q634054 Q922270 Q784824 Q3398367 Q158788 Q692847 Q487315 Q184163 Q2037687 Q2963905 Q48292 Q6661527 Q8621 Q24861 Q3398962 Q1894788 Q49146 Q779813 Q2487253 Q3397661 Q3406111 Q1024903 Q178813 Q1218 Q165887 Q3405138 Q54264 Q1070 Q10866 Q3398817 Q3869 Q34404 Q8717 Q3404531 Q64 Q60 Q62 Q3403507 Q3395358 Q1824365 Q3766 Q3460719 Q781725 Q835831 Q965581 Q2771917 Q478675 Q138833 Q1144249 Q5289699 Q126148 Q4870052 Q3876767 Q876315 Q771986 Q6661879 Q3402636 Q1011600 Q1428848 Q7005760 Q46843 Q7909529 Q42810 Q216258 Q1310 Q6661173 Q647 Q641 Q616837 Q16258 Q727 Q4898676 Q649 Q669171 Q9306 Q2599413 Q2301524 Q2085995 Q3401728 Q180141 Q881062 Q15088 Q5788 Q4980850 Q578447 Q13129719 Q580 Q13126981 Q12191 Q3398853 Q34370 Q1449 Q360795 Q7678684 Q3878864 Q207639 Q2666382 Q1024935 Q7163099 Q6441 Q3817101 Q90 Q3400567 Q5642527 Q156990 Q3402457 Q914291 Q40844 Q2272941 Q14702005 Q26793 Q7838879 Q3363693 Q3397480 Q6732359 Q7592977 Q2619155 Q60956 Q2239 Q509028 Q1002793 Q5119942 Q1026572 Q7165298 Q3402425 Q535982 Q1781556 Q752762 Q3992 Q177165 Q36600 Q1883524 Q995231 Q3395924 Q3402761 Q4942645 Q3877586 Q1009261 Q1813948 Q922365 Q16033791 Q6661943 Q1229951 Q213205 Q6661088 Q332952 Q665163 Q3878353 Q138311 Q3405649 Q12116357 Q4982108 Q1085
(c(Q2342494)|c(Q1792379),P180,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q56061
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q85
relation P180
type Q2342494
type Q1792379
[ANSWERS] are expressed in less number of collectables or art genres than Cairo
[[{'concept': 'Q2342494'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?z WHERE { VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q1792379 ) } . ?p rdf:type ?d } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:P180 resource:Q85 . { ?j rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1792379 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?e < ?y ) }
Borth Kameido Zierikzee Vlissingen Craig-y-Don Crickhowell Corinth Pontfadog Murano Llanidloes Oosterbeek Tremadog Minsterley Aberdyfi Abererch Hartford Marquette Timbuktu Llandygai Cyffylliog Penybont Andaraí Llanarmon, Gwynedd Mogenstrup Porthmadog Soestdijk Llanfihangel-yng-Ngwynfa military camp Llanfairpwllgwyngyll Tiberias Butte Pisa ideal city Luxor Crumlin Llanfairfechan Nice St Pierre, Monmouthshire Swansea Palermo Jericho Pumsaint Bahía Blanca Usk Peristerona Haarlem Hokksund Llangybi, Gwynedd New Rochelle Henllan Cádiz Karrebæksminde Tyre Trefriw Bethlehem Helsinki Stockholm Ronda Abersoch Paestum Llangedwyn Llandrinio Llanboidy Rockaway Beach Laugharne Cenarth Llanrhystud Pirna Llanrwst Neath Abbey Beersheba Baalbek Llanbedrog Pwllheli Halfweg Egmond aan Zee Fes Manchester-by-the-Sea Amlwch Tregeiriog Guilsfield Sodom Nantmor Cardiff Esgairgeiliog Perugia Santa Monica Antwerp Holyhead Cologne Toledo Dolanog Isfahan Durham Molesey Milford Haven Rievaulx Abbey Aberffraw Montgomery Bull Bay, Anglesey Nuenen Melrose Jaffa Valencia Antakya Machynlleth Caernarfon Nisa Cemmaes Llanarmon Dyffryn Ceiriog Tan-y-Bwlch, Maentwrog Bagillt Beaumaris Isola Bella Duivendrecht Willington Worthenbury Athens Enkhuizen Mexico City Devil's Bridge Frederiksværk Rhyl West Wyalong Llanfoist Tregynon Nassau Gloucester Algiers Corris Llanaelhaearn Kamperveen Atlantic City Banská Bystrica Istanbul Bangor Rio de Janeiro Ynys Môn Turin Florence Sevastopol Fatehpur Sikri Caesarea Maritima Grafton, Cheshire Ostia Antica city Gwytherin Llanbadarn Fawr Llandysilio Medford Pontypool Colwyn Bay Norwalk Tacoma Newburyport Pen-y-groes, Carmarthenshire Budleigh Salterton Newcastle Emlyn Hadrian's Villa Saint Thomas Bodedern Konstanz Fløng Aston Mold Vitebsk Thornbury Llanfair-ar-y-bryn Munich Vatican City Nevern Bruges Drøbak IJmuiden Penmaenmawr Versailles Trefeglwys Corris Uchaf Tintagel Ghent Llansantffraed Llanystumdwy Rey, Iran Carno Betws-y-Coed Castle Caereinion Havana Glyndyfrdwy Chester Dawson City Cynwyl Gaeo Copenhagen Lancaster Llanfechell Llanbedr-Dyffryn-Clwyd Whittington Alexandria Delft Ruthin Felpham Point Judith, Rhode Island Vogelenzang Constantine York Laren Llangynyw Vienna Neltume Mathura Tintern Llanfwrog Llangadfan Clynnog Fawr Llanfair Talhaiarn Naples Baschurch Llithfaen Skagen Aberporth Constantinople Binsey, Oxfordshire Heliopolis Llanfaelog Baldersbrønde Toronto Warsaw St. George, Conwy Berriew Stalheim Malakoff London Dolgellau Cropthorne Santa Maria de Belém Llanberis Agrigento Church Stoke Varanasi Sidon City of London Llandderfel Annisquam Caerwys Scheveningen Gamla stan Castellammare di Stabia Claremont Bloemendaal Bronllys Bala Barcelona Coventry Taipei Presteigne Rabat Rhuddlan St Davids Maenclochog Llanllwchaiarn Y Felinheli Derby Bordeaux Trefin town Gwalior Grindelwald Brooklyn Welshpool Llechryd Åsgårdstrand Green River Llansanffraid Glan Conwy Glyn Ceiriog residential area St Asaph Madrid city Ploumanac'h Rochester Delhi Jalalabad Nefyn Newport Taranto Brindisi fortified town East Bergholt Winchelsea Aberdulais Rome Montreal Llandinam IJsselmonde Dordrecht Aberhafesp Nantlle Valley Palmyra Atoll Svolvær Chirk Barmouth Svalbard Guernsey Llansanffraid Glyndyfrdwy Holywell Padua Missolonghi Hammamet Llanfair Conwy Llanddewi Brefi Pembroke Dock Sarn Meyllteyrn Melenki Segesta Monterey Colchester Dedham Chirbury Arles Llangurig Terni Albany Garndolbenmaen Margam Abbey New London Cardigan Tregaron Llangeitho Llansawel Sloten Herculaneum Jerusalem Emmaus St Dogmaels Newport Ahmedabad Narni Aberllefenni Marburg New Orleans Seville Bangor-on-Dee Berlin New York City San Francisco Llanbrynmair Kidwelly Dodleston Damascus Old Colwyn Llangernyw Mount Vernon Cardia Abergele Riobamba Kom Ombo Lulworth Dolwyddelan Tangier Battle Harbour Bethel Taos Chepstow Llanwnnog Y Ffôr Ellesmere Port Flint New Broughton Auerbach Vale of Clwyd Le Havre Hilo Arnhem Llanddulas Rennes Venice Sarepta Maldonado Amsterdam Bettws Cedewain Moscow Newtown Eberswalde Stratford St. Mary Stege St Clears Llandre Sodom and Gomorrah Blaenau Ffestiniog Tarragona Petra Bryn Du Countryside Llwyn-y-brain Łódź Cellan Nantes Trawsfynydd Rotterdam Genoa Isawa Tal-y-llyn, Gwynedd Pontesbury Chichester Llanfair Caereinion Harlech Penmachno Montpellier Halton Paris Llanengan Halkyn Monmouth Bryncrug Newport Breda Tywyn Llanwddyn Bergen Tretower Meifod Llanymynech Magor, Monmouthshire St Donats Hillested Ashkelon Kongens Lyngby ranch Llangollen Cilgerran Llanrhaeadr-ym-Mochnant Pentrefoelas Llanuwchllyn Lystra Gärdet Merthyr Tydfil Liège Narberth, Pembrokeshire The Hague Bethesda Long Branch Llansanffraid-ym-Mechain Llandegfan Bontuchel Westbury Caerleon Prestatyn Dyffryn Ardudwy Llangwyfan, Aberffraw Llay L'Estaque San Francisco Bay Area Llanbadarn Fawr Überlingen Nahant Shrawardine Elizabeth Chwilog Chiajna Buan, Gwynedd Prague
Prague, Moscow and Madrid are expressed in less number of collectables or art genres than Cairo
Prague Moscow Madrid
action less
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type art genre
action count
action filter_multi_types
action find_reverse
entity Cairo
relation depicts
type collectable
type art genre
[[{'concept': 'collectable'}, {'concept': 'art genre'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?z WHERE { VALUES ( ?d ) { ( ontology:collectable ) ( ontology:art_genre ) } . ?p rdf:type ?d } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:depicts resource:Cairo . { ?j rdf:type ?q . VALUES ( ?q ) { ( ontology:art_genre ) ( ontology:collectable ) } } } } . FILTER ( ?e < ?y ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q321197
P21 P20
Q502895
USER
Which people have Cieszyn as the location of death and have the gender as male ?
AND((c(Q502895),P20,Q321197), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q321197
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q321197'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P20 resource:Q321197 . ?e property:P21 resource:Q6581097 }
male Cieszyn
action filter_type
action intersection
action find_reverse
entity Cieszyn
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Cieszyn'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_death resource:Cieszyn . ?e property:gender resource:male }
[]
common name
Q11754439 Q11763810 Q9342285 Q11730844 Q11814095 Q3179203 Q11736301 Q1449095 Q3370486 Q11717521
SYSTEM
Some of them are Leon Wolf, Ludwik Konarzewski-junior, Stanisław Kopczyński, Józef Londzin, Paweł Hulka-Laskowski, Józef Garbień, Karol Semik, Franciszek Śniegoń, Władysław Tajner, Jan Gawlas
Q11754470 Q1449095 Q17864555 Q690312 Q11736301 Q11711393 Q5369067 Q3370486 Q9382156 Q9342285 Q9253464 Q634170 Q4310299 Q129939 Q9323764 Q11754439 Q4759646 Q3179203 Q729791 Q11763776 Q11730844 Q3507230 Q12024545 Q18881449 Q9251317 Q312185 Q11717521 Q11763810 Q11814095 Q11684458 Q324242 Q6320451 Q1392478 Q12028200
AND((c(Q502895),P20,Q321197), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q321197
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Cieszyn as the location of death and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q321197'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P20 resource:Q321197 . ?e property:P21 resource:Q6581097 }
Leonhard Demel von Elswehr Franciszek Śniegoń Robert Fiszkal Przemyslaus I Noszak, Duke of Cieszyn Karol Semik Ignacy Świeży Emanuel Grim Władysław Tajner Władysław Olearczyk Stanisław Kopczyński Emil Chodura Paweł Stalmach Karol Miarka Andrzej Kotula Rudolf Bukowski Leon Wolf Andrzej Kusionowicz Grodyński Józef Garbień Karol Hławiczka Ludwig Hohenegger Józef Londzin Andrzej Hławiczka Jerzy Cienciała Józef Hołard Edward Świerkiewicz Edward Gierek Jan Gawlas Ludwik Konarzewski-junior Paweł Hulka-Laskowski Adolf Juzof Victor, Duke of Münsterberg Józef Buzek Michal Miloslav Hodža Karel Findinský
Leon Wolf, Ludwik Konarzewski-junior, Stanisław Kopczyński, Józef Londzin, Paweł Hulka-Laskowski, Józef Garbień, Karol Semik, Franciszek Śniegoń, Władysław Tajner and Jan Gawlas have Cieszyn as the location of death and have the gender as male
Leon Wolf Ludwik Konarzewski-junior Stanisław Kopczyński Józef Londzin Paweł Hulka-Laskowski Józef Garbień Karol Semik Franciszek Śniegoń Władysław Tajner Jan Gawlas
action filter_type
action intersection
action find_reverse
entity Cieszyn
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Cieszyn'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_death resource:Cieszyn . ?e property:gender resource:male }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11814095
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q11814095,P27,c(Q15617994))
action filter_type
action find
entity Q11814095
relation P27
type Q15617994
['Q11814095', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q11814095 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Paweł Hulka-Laskowski
action filter_type
action find
entity Paweł Hulka-Laskowski
relation country of citizenship
type designation for an administrative territorial entity
['Paweł Hulka-Laskowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Paweł_Hulka-Laskowski property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q9342285
SYSTEM
Did you mean Stanisław Kopczyński ?
Q11754439 Q11763810 Q9342285 Q11730844 Q11814095 Q3179203 Q11736301 Q1449095 Q3370486 Q11717521
(Q11754439,P27,c(Q15617994)) (Q11763810,P27,c(Q15617994)) (Q9342285,P27,c(Q15617994)) (Q11730844,P27,c(Q15617994)) (Q11814095,P27,c(Q15617994)) (Q3179203,P27,c(Q15617994)) (Q11736301,P27,c(Q15617994)) (Q1449095,P27,c(Q15617994)) (Q3370486,P27,c(Q15617994)) (Q11717521,P27,c(Q15617994))
[ANSWER]
['Q11754439', 'P27', {'concept': 'Q15617994'}] ['Q11763810', 'P27', {'concept': 'Q15617994'}] ['Q9342285', 'P27', {'concept': 'Q15617994'}] ['Q11730844', 'P27', {'concept': 'Q15617994'}] ['Q11814095', 'P27', {'concept': 'Q15617994'}] ['Q3179203', 'P27', {'concept': 'Q15617994'}] ['Q11736301', 'P27', {'concept': 'Q15617994'}] ['Q1449095', 'P27', {'concept': 'Q15617994'}] ['Q3370486', 'P27', {'concept': 'Q15617994'}] ['Q11717521', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q11814095 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Leon Wolf Ludwik Konarzewski-junior Stanisław Kopczyński Józef Londzin Paweł Hulka-Laskowski Józef Garbień Karol Semik Franciszek Śniegoń Władysław Tajner Jan Gawlas
Did you mean Stanisław Kopczyński ?
Stanisław Kopczyński
['Leon Wolf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ludwik Konarzewski-junior', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Stanisław Kopczyński', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Józef Londzin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Paweł Hulka-Laskowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Józef Garbień', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Karol Semik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Franciszek Śniegoń', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Władysław Tajner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jan Gawlas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Paweł_Hulka-Laskowski property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Paweł Hulka-Laskowski. Could you tell me the answer for that?
(Q11814095,P27,c(Q15617994))
Q11814095
['Q11814095', 'P27', {'concept': 'Q15617994'}]
['Paweł Hulka-Laskowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q36
SYSTEM
Poland
Q36
(Q11814095,P27,c(Q15617994))
action filter_type
action find
entity Q11814095
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q11814095', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q11814095 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Poland
Poland is that person a civilian of
Poland
action filter_type
action find
entity Paweł Hulka-Laskowski
relation country of citizenship
type designation for an administrative territorial entity
['Paweł Hulka-Laskowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Paweł_Hulka-Laskowski property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26444598 Q3370486
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Władysław Tajner or are Green Farmhouse situated in ?
OR((Q3370486,P27,c(Q15617994)), (Q26444598,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3370486
relation P27
action find
entity Q26444598
relation P17
type Q15617994
{'OR': [['Q3370486', 'P27', {'concept': 'Q15617994'}], ['Q26444598', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q26444598 property:P17 ?v } UNION { resource:Q3370486 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Green Farmhouse Władysław Tajner
action filter_type
action union
action find
entity Władysław Tajner
relation country of citizenship
action find
entity Green Farmhouse
relation country
type designation for an administrative territorial entity
{'OR': [['Władysław Tajner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Green Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Green_Farmhouse property:country ?v } UNION { resource:Władysław_Tajner property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q145
SYSTEM
Poland, United Kingdom
Q36 Q145
OR((Q3370486,P27,c(Q15617994)), (Q26444598,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3370486
relation P27
action find
entity Q26444598
relation P17
type Q15617994
[ANSWERS] are the native countriesof Władysław Tajner or are Green Farmhouse situated in
{'OR': [['Q3370486', 'P27', {'concept': 'Q15617994'}], ['Q26444598', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q26444598 property:P17 ?v } UNION { resource:Q3370486 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Poland United Kingdom
Poland and United Kingdom are the native countriesof Władysław Tajner or are Green Farmhouse situated in
Poland United Kingdom
action filter_type
action union
action find
entity Władysław Tajner
relation country of citizenship
action find
entity Green Farmhouse
relation country
type designation for an administrative territorial entity
{'OR': [['Władysław Tajner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Green Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Green_Farmhouse property:country ?v } UNION { resource:Władysław_Tajner property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1113813
P206
Q337567 Q15324 Q56061
USER
How many administrative territories are situated in the neighbourhood of greater number of still waterss and bodies of water than Come By Chance, Newfoundland and Labrador ?
(c(Q56061),P206,c(Q337567)|c(Q15324))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q15324
action count
action filter_multi_types
action find
entity Q1113813
relation P206
type Q337567
type Q15324
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?b WHERE { { ?b rdf:type ontology:Q56061 . ?f rdf:type ontology:Q337567 . ?b property:P206 ?f } UNION { ?b property:P206 ?f . ?b rdf:type ontology:Q56061 . ?f rdf:type ontology:Q15324 } } GROUP BY ?b } . FILTER ( ?a > ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q1113813 property:P206 ?h . { { ?h rdf:type ontology:Q337567 } UNION { ?h rdf:type ontology:Q15324 } } } } }
Come By Chance, Newfoundland and Labrador
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Come By Chance, Newfoundland and Labrador
relation located next to body of water
type still waters
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?b WHERE { { ?b rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:still_waters . ?b property:located_next_to_body_of_water ?f } UNION { ?b property:located_next_to_body_of_water ?f . ?b rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:body_of_water } } GROUP BY ?b } . FILTER ( ?a > ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Come_By_Chance,_Newfoundland_and_Labrador property:located_next_to_body_of_water ?h . { { ?h rdf:type ontology:still_waters } UNION { ?h rdf:type ontology:body_of_water } } } } }
[]
still waters body of water administrative territorial entity
SYSTEM
9
Q83178 Q1754 Q1709 Q831527 Q60 Q134620 Q18419 Q3825 Q64
(c(Q56061),P206,c(Q337567)|c(Q15324))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q15324
action count
action filter_multi_types
action find
entity Q1113813
relation P206
type Q337567
type Q15324
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?b WHERE { { ?b rdf:type ontology:Q56061 . ?f rdf:type ontology:Q337567 . ?b property:P206 ?f } UNION { ?b property:P206 ?f . ?b rdf:type ontology:Q56061 . ?f rdf:type ontology:Q15324 } } GROUP BY ?b } . FILTER ( ?a > ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q1113813 property:P206 ?h . { { ?h rdf:type ontology:Q337567 } UNION { ?h rdf:type ontology:Q15324 } } } } }
Almere Stockholm Schwerin Djurgården New York City Jyväskylä Brooklyn Libreville Berlin
9
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Come By Chance, Newfoundland and Labrador
relation located next to body of water
type still waters
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?b WHERE { { ?b rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:still_waters . ?b property:located_next_to_body_of_water ?f } UNION { ?b property:located_next_to_body_of_water ?f . ?b rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:body_of_water } } GROUP BY ?b } . FILTER ( ?a > ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Come_By_Chance,_Newfoundland_and_Labrador property:located_next_to_body_of_water ?h . { { ?h rdf:type ontology:still_waters } UNION { ?h rdf:type ontology:body_of_water } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3179203
P607
Q198
USER
What battle was Józef Garbień a part of ?
(Q3179203,P607,c(Q198))
action filter_type
action find
entity Q3179203
relation P607
type Q198
['Q3179203', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q198 . resource:Q3179203 property:P607 ?m }
Józef Garbień
action filter_type
action find
entity Józef Garbień
relation conflict
type war
['Józef Garbień', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:war . resource:Józef_Garbień property:conflict ?m }
[]
war
Q361
SYSTEM
World War I
Q361
(Q3179203,P607,c(Q198))
action filter_type
action find
entity Q3179203
relation P607
type Q198
What battle was Józef Garbień a part of
['Q3179203', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q198 . resource:Q3179203 property:P607 ?m }
World War I
What battle was Józef Garbień a part of
World War I
action filter_type
action find
entity Józef Garbień
relation conflict
type war
['Józef Garbień', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:war . resource:Józef_Garbień property:conflict ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3179203
P641
Q349
USER
Which sport was that person a part of ?
(Q361,P641,c(Q349))
action filter_type
action find
entity Q3179203
relation P641
type Q349
['Q361', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q3179203 property:P641 ?t . ?t rdf:type ontology:Q349 }
Józef Garbień
action filter_type
action find
entity Józef Garbień
relation sport
type sport
['World War I', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Józef_Garbień property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q361,P641,c(Q349))
action filter_type
action find
entity Q3179203
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q361', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q3179203 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Józef Garbień
relation sport
type sport
['World War I', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Józef_Garbień property:sport ?t . ?t rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q3158455
P641
Q502895
USER
Does Jacques Canthelou play that sport ?
(Q3158455,P641,Q2736)
action is_in
entity Q2736
action find
entity Q3158455
relation P641
['Q3158455', 'P641', 'Q2736']
ASK WHERE { resource:Q3158455 property:P641 resource:Q2736 }
association football Jacques Canthelou
action is_in
entity association football
action find
entity Jacques Canthelou
relation sport
['Jacques Canthelou', 'sport', 'association football']
ASK WHERE { resource:Jacques_Canthelou property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q3158455,P641,Q2736)
action is_in
entity Q2736
action find
entity Q3158455
relation P641
[ANSWER]
['Q3158455', 'P641', 'Q2736']
ASK WHERE { resource:Q3158455 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Jacques Canthelou
relation sport
['Jacques Canthelou', 'sport', 'association football']
ASK WHERE { resource:Jacques_Canthelou property:sport resource:association_football }
[]