Simple Question (Direct)
Simple Question
Q15998345
P937
Q56061
USER
What is the location where Henry E. Bothfeld worked ?
(Q15998345,P937,c(Q56061))
action filter_type
action find
entity Q15998345
relation P937
type Q56061
['Q15998345', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q15998345 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Henry E. Bothfeld
action filter_type
action find
entity Henry E. Bothfeld
relation work location
type administrative territorial entity
['Henry E. Bothfeld', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Henry_E._Bothfeld property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q15998345,P937,c(Q56061))
action filter_type
action find
entity Q15998345
relation P937
type Q56061
The location Henry E. Bothfeld worked is in [ANSWER]
['Q15998345', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q15998345 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Boston
The location Henry E. Bothfeld worked is in Boston
Boston
action filter_type
action find
entity Henry E. Bothfeld
relation work location
type administrative territorial entity
['Henry E. Bothfeld', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Henry_E._Bothfeld property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15998345
P21
Q290
USER
What is the sex of Henry E. Bothfeld ?
(Q15998345,P21,c(Q290))
action filter_type
action find
entity Q15998345
relation P21
type Q290
['Q15998345', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q15998345 property:P21 ?n }
Henry E. Bothfeld
action filter_type
action find
entity Henry E. Bothfeld
relation gender
type sex
['Henry E. Bothfeld', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Henry_E._Bothfeld property:gender ?n }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15998345,P21,c(Q290))
action filter_type
action find
entity Q15998345
relation P21
type Q290
The sex of Henry E . Bothfeld is the [ANSWER]
['Q15998345', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q15998345 property:P21 ?n }
male
The sex of Henry E . Bothfeld is the male
male
action filter_type
action find
entity Henry E. Bothfeld
relation gender
type sex
['Henry E. Bothfeld', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Henry_E._Bothfeld property:gender ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15998345
P1412
Q34770
USER
Which language can Henry E. Bothfeld read ?
(Q15998345,P1412,c(Q34770))
action filter_type
action find
entity Q15998345
relation P1412
type Q34770
['Q15998345', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q15998345 property:P1412 ?b }
Henry E. Bothfeld
action filter_type
action find
entity Henry E. Bothfeld
relation languages spoken, written or signed
type language
['Henry E. Bothfeld', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:Henry_E._Bothfeld property:languages_spoken,_written_or_signed ?b }
[]
language
Q1860
SYSTEM
English
Q1860
(Q15998345,P1412,c(Q34770))
action filter_type
action find
entity Q15998345
relation P1412
type Q34770
Henry E. Bothfeld can read in [ANSWER]
['Q15998345', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q15998345 property:P1412 ?b }
English
Henry E. Bothfeld can read in English
English
action filter_type
action find
entity Henry E. Bothfeld
relation languages spoken, written or signed
type language
['Henry E. Bothfeld', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:Henry_E._Bothfeld property:languages_spoken,_written_or_signed ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15998345
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q1860,P102,c(Q7210356))
action filter_type
action find
entity Q15998345
relation P102
type Q7210356
['Q1860', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q15998345 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Henry E. Bothfeld
action filter_type
action find
entity Henry E. Bothfeld
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Henry_E._Bothfeld property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q1860,P102,c(Q7210356))
action filter_type
action find
entity Q15998345
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q1860', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q15998345 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Republican Party
That person is affiliated with Republican Party
Republican Party
action filter_type
action find
entity Henry E. Bothfeld
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Henry_E._Bothfeld property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q56061 Q838948 Q3305213
USER
Which administrative territories are demonstrated in min number of works of art and paintings ?
(c(Q838948)|c(Q3305213),P180,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?v WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?u WHERE { { ?z property:P180 ?u . ?z rdf:type ontology:Q838948 . ?u rdf:type ontology:Q56061 } UNION { ?z property:P180 ?u . ?z rdf:type ontology:Q3305213 . ?u rdf:type ontology:Q56061 } } GROUP BY ?u } . FILTER ( ?h = ?d ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?v WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:painting ) ( ontology:work_of_art ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?u WHERE { { ?z property:depicts ?u . ?z rdf:type ontology:work_of_art . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?z property:depicts ?u . ?z rdf:type ontology:painting . ?u rdf:type ontology:administrative_territorial_entity } } GROUP BY ?u } . FILTER ( ?h = ?d ) }
[]
administrative territorial entity work of art painting
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 Q2184880 Q23051 Q2656 Q5687 Q7259867 Q54108 Q573757 Q4810069 Q9920 Q1310876 Q1866840 Q744948 Q3401639 Q1908075 Q82070 Q2684439 Q5776 Q1757 Q1754 Q13153 Q319710 Q12061339 Q13644930 Q6661117 Q1965490 Q5058788 Q13644939 Q6477 Q2233618 Q1973162 Q41843 Q1024924 Q1025821 Q2367253 Q1616324 Q80985 Q657748 Q472667 Q7837859 Q5616341 Q3297078 Q3401919 Q10690 Q3406673 Q3437 Q47164 Q257446 Q365 Q5836 Q5288857 Q42053 Q179815 Q624065 Q991055 Q319576 Q1311946 Q4996547 Q153516 Q54143 Q180294 Q8818 Q80561 Q675460 Q428829 Q854672 Q5058745 Q13129603 Q7682007 Q3401133 Q1992389 Q2385069 Q8021998 Q9918 Q1489 Q3398339 Q1796191 Q2020203 Q1640443 Q6661380 Q7837893 Q2467 Q49156 Q3398830 Q3398834 Q2313777 Q144983 Q406 Q234178 Q8678 Q8054067 Q495 Q2044 Q7525 Q179046 Q319242 Q2695104 Q5623909 Q3405897 Q6661275 Q54145 Q1021164 Q527467 Q54217 Q199797 Q54134 Q7162078 Q1001536 Q2273077 Q272777 Q463937 Q3399236 Q5463763 Q22336755 Q1191195 Q102217 Q1234779 Q3403140 Q1726 Q237 Q1936328 Q12994 Q995477 Q282461 Q2653611 Q621 Q7837767 Q5173016 Q1296 Q6661758 Q1866857 Q636188 Q3402958 Q203387 Q16548107 Q3406382 Q170263 Q5200191 Q1748 Q205905 Q13129631 Q6661101 Q3811275 Q87 Q690 Q1013633 Q2227185 Q284467 Q187346 Q42462 Q9945 Q6661589 Q1741 Q6990839 Q200311 Q2243491 Q2913827 Q6661409 Q3399377 Q3404936 Q2634 Q3812274 Q285412 Q215177 Q319672 Q16869 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 Q7837785 Q3957 Q158467 Q64004 Q18419 Q1024911 Q6661964 Q271269 Q983538 Q5566589 Q5572835 Q674950 Q548248 Q2807 Q7930989 Q783437 Q49218 Q1353 Q183303 Q1974260 Q13498 Q13496 Q677678 Q2185491 Q1026871 Q4667051 Q6661212 Q2240740 Q26421 Q4667113 Q1964775 Q123076 Q145948 Q2316216 Q672545 Q25231 Q25230 Q6661749 Q3050619 Q617 Q642810 Q339535 Q3402179 Q922270 Q784824 Q3398367 Q158788 Q692847 Q487315 Q184163 Q2037687 Q2963905 Q48292 Q6661527 Q8621 Q24861 Q3398962 Q1894788 Q779813 Q2487253 Q3397661 Q3406111 Q1024903 Q178813 Q1218 Q3405138 Q1070 Q10866 Q3398817 Q3869 Q34404 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 Q616837 Q16258 Q727 Q4898676 Q649 Q669171 Q9306 Q2599413 Q2301524 Q2085995 Q3401728 Q881062 Q15088 Q5788 Q4980850 Q578447 Q13129719 Q580 Q13126981 Q3398853 Q34370 Q1449 Q360795 Q7678684 Q3878864 Q207639 Q2666382 Q1024935 Q7163099 Q3817101 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 Q1883524 Q995231 Q3395924 Q3402761 Q4942645 Q3877586 Q1009261 Q1813948 Q922365 Q16033791 Q6661943 Q1229951 Q213205 Q6661088 Q332952 Q665163 Q3878353 Q138311 Q3405649 Q12116357 Q4982108 Q1085
(c(Q838948)|c(Q3305213),P180,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
[ANSWERS] are demonstrated in min number of works of art and paintings
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?v WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?u WHERE { { ?z property:P180 ?u . ?z rdf:type ontology:Q838948 . ?u rdf:type ontology:Q56061 } UNION { ?z property:P180 ?u . ?z rdf:type ontology:Q3305213 . ?u rdf:type ontology:Q56061 } } GROUP BY ?u } . FILTER ( ?h = ?d ) }
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 St Pierre, Monmouthshire Swansea Palermo Jericho Pumsaint Bahía Blanca Usk Peristerona Haarlem Hokksund Llangybi, Gwynedd New Rochelle Henllan Karrebæksminde Tyre Trefriw Bethlehem Helsinki Stockholm Ronda Abersoch Llangedwyn Llandrinio Llanboidy Laugharne Cenarth Llanrhystud Pirna Llanrwst Neath Abbey Beersheba Llanbedrog Pwllheli Halfweg Egmond aan Zee Fes Manchester-by-the-Sea Amlwch Tregeiriog Guilsfield Sodom Nantmor Cardiff Esgairgeiliog Perugia Santa Monica Holyhead Cologne Toledo Dolanog Isfahan Durham Molesey Milford Haven Aberffraw Montgomery Bull Bay, Anglesey Nuenen Melrose Jaffa Valencia Antakya Machynlleth Caernarfon Nisa Cemmaes Llanarmon Dyffryn Ceiriog Tan-y-Bwlch, Maentwrog Bagillt Beaumaris Duivendrecht Willington Worthenbury Enkhuizen Mexico City Devil's Bridge Frederiksværk Rhyl West Wyalong Llanfoist Tregynon Nassau Gloucester Corris Llanaelhaearn Kamperveen Banská Bystrica Istanbul Bangor Rio de Janeiro Ynys Môn Turin Florence Sevastopol Fatehpur Sikri Caesarea Maritima Grafton, Cheshire 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 Fløng Aston Mold Vitebsk Thornbury Llanfair-ar-y-bryn Munich Vatican City Nevern Bruges Drøbak IJmuiden Penmaenmawr Versailles Trefeglwys Corris Uchaf Ghent Llansantffraed Llanystumdwy Rey, Iran Carno Betws-y-Coed Castle Caereinion Glyndyfrdwy Chester Cynwyl Gaeo Copenhagen Lancaster Llanfechell Llanbedr-Dyffryn-Clwyd Whittington Alexandria Delft Ruthin Felpham Vogelenzang Constantine York Laren Llangynyw Vienna Neltume Mathura Tintern Llanfwrog Llangadfan Clynnog Fawr Llanfair Talhaiarn Naples Baschurch Llithfaen Skagen Aberporth Constantinople 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 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 Taranto Brindisi fortified town East Bergholt Winchelsea Aberdulais Llandinam IJsselmonde Dordrecht Aberhafesp Nantlle Valley Palmyra Atoll Svolvær Chirk Barmouth Svalbard Guernsey Llansanffraid Glyndyfrdwy Holywell Padua Missolonghi Hammamet Llanfair Llanddewi Brefi Pembroke Dock Sarn Meyllteyrn Melenki Segesta Monterey Colchester Dedham Chirbury Arles Llangurig Terni Albany Garndolbenmaen Margam Abbey Cardigan Tregaron Llangeitho Llansawel Sloten Herculaneum Jerusalem St Dogmaels Ahmedabad Narni Aberllefenni Marburg New Orleans 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 Sarepta Maldonado Amsterdam Bettws Cedewain Moscow Newtown Eberswalde Stratford St. Mary Stege St Clears Llandre Blaenau Ffestiniog Tarragona Petra Bryn Du Countryside Llwyn-y-brain Łódź Cellan Trawsfynydd Rotterdam Genoa Isawa Tal-y-llyn, Gwynedd Pontesbury Chichester Llanfair Caereinion Harlech Penmachno Halton 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 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 demonstrated in min number of works of art and paintings
Prague Moscow Madrid
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?v WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:painting ) ( ontology:work_of_art ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?u WHERE { { ?z property:depicts ?u . ?z rdf:type ontology:work_of_art . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?z property:depicts ?u . ?z rdf:type ontology:painting . ?u rdf:type ontology:administrative_territorial_entity } } GROUP BY ?u } . FILTER ( ?h = ?d ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1085 Q649 Q2807
P190
Q13220204
USER
Which administrative country subdivisions are partner town of Prague, Moscow and Madrid ?
(c(Q13220204),P190,Q1085) (c(Q13220204),P190,Q649) (c(Q13220204),P190,Q2807)
action union
action filter_type
action find
entity Q1085
relation P190
type Q13220204
action filter_type
action find
entity Q649
relation P190
type Q13220204
action filter_type
action find
entity Q2807
relation P190
type Q13220204
[{'concept': 'Q13220204'}, 'P190', 'Q1085'] [{'concept': 'Q13220204'}, 'P190', 'Q649'] [{'concept': 'Q13220204'}, 'P190', 'Q2807']
SELECT DISTINCT ?x WHERE { VALUES ( ?j ) { ( resource:Q1085 ) ( resource:Q649 ) } . ?j property:P190 ?x }
Prague Moscow Madrid
action union
action filter_type
action find
entity Prague
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Moscow
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Madrid
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Prague'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Moscow'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Madrid']
SELECT DISTINCT ?x WHERE { VALUES ( ?j ) { ( resource:Prague ) ( resource:Moscow ) } . ?j property:sister_city ?x }
[]
second-level administrative country subdivision
Q9899 Q9899 Q2933
SYSTEM
Asunción for 3rd, Amsterdam for 1st, 2nd
Q9899 Q9899 Q156711 Q2933 Q2841
(c(Q13220204),P190,Q1085) (c(Q13220204),P190,Q649) (c(Q13220204),P190,Q2807)
action union
action filter_type
action find
entity Q1085
relation P190
type Q13220204
action filter_type
action find
entity Q649
relation P190
type Q13220204
action filter_type
action find
entity Q2807
relation P190
type Q13220204
[ANSWERS]
[{'concept': 'Q13220204'}, 'P190', 'Q1085'] [{'concept': 'Q13220204'}, 'P190', 'Q649'] [{'concept': 'Q13220204'}, 'P190', 'Q2807']
SELECT DISTINCT ?x WHERE { VALUES ( ?j ) { ( resource:Q1085 ) ( resource:Q649 ) } . ?j property:P190 ?x }
Amsterdam Amsterdam Uzhhorod Asunción Bogotá
Amsterdam, Amsterdam and Asunción are partner town of Prague, Moscow and Madrid
Amsterdam Amsterdam Asunción
action union
action filter_type
action find
entity Prague
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Moscow
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Madrid
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Prague'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Moscow'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Madrid']
SELECT DISTINCT ?x WHERE { VALUES ( ?j ) { ( resource:Prague ) ( resource:Moscow ) } . ?j property:sister_city ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P417
Q502895
USER
Which person is the patron saint of Moscow ?
(Q649,P417,c(Q502895))
action filter_type
action find
entity Q649
relation P417
type Q502895
['Q649', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q649 property:P417 ?p . ?p rdf:type ontology:Q502895 }
Moscow
action filter_type
action find
entity Moscow
relation patron saint
type common name
['Moscow', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Moscow property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
common name
Q48438
SYSTEM
Saint George
Q48438
(Q649,P417,c(Q502895))
action filter_type
action find
entity Q649
relation P417
type Q502895
[ANSWER] is the patron saint of Moscow
['Q649', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q649 property:P417 ?p . ?p rdf:type ontology:Q502895 }
Saint George
Saint George is the patron saint of Moscow
Saint George
action filter_type
action find
entity Moscow
relation patron saint
type common name
['Moscow', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Moscow property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q42298
Q502895
USER
And what about Codogno?
(Q42298,P417,c(Q502895))
action filter_type
action find
entity Q42298
relation P417
type Q502895
['Q42298', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q42298 property:P417 ?s . ?s rdf:type ontology:Q502895 }
Codogno
action filter_type
action find
entity Codogno
relation patron saint
type common name
['Codogno', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Codogno property:patron_saint ?s . ?s rdf:type ontology:common_name }
[]
common name
Q151967
SYSTEM
Saint Blaise
Q151967
(Q42298,P417,c(Q502895))
action filter_type
action find
entity Q42298
relation P417
type Q502895
[ANSWER]
['Q42298', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q42298 property:P417 ?s . ?s rdf:type ontology:Q502895 }
Saint Blaise
Saint Blaise
action filter_type
action find
entity Codogno
relation patron saint
type common name
['Codogno', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Codogno property:patron_saint ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q151967
P20
Q515
USER
How many cities did Saint Blaise expire ?
(Q151967,P20,c(Q515))
action count
action filter_type
action find
entity Q151967
relation P20
type Q515
['Q151967', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q151967 property:P20 ?b . ?b rdf:type ontology:Q515 }
Saint Blaise
action count
action filter_type
action find
entity Saint Blaise
relation place of death
type city
['Saint Blaise', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Saint_Blaise property:place_of_death ?b . ?b rdf:type ontology:city }
[]
city
SYSTEM
1
Q107401
(Q151967,P20,c(Q515))
action count
action filter_type
action find
entity Q151967
relation P20
type Q515
[ANSWER]
['Q151967', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q151967 property:P20 ?b . ?b rdf:type ontology:Q515 }
Sivas
1
action count
action filter_type
action find
entity Saint Blaise
relation place of death
type city
['Saint Blaise', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Saint_Blaise property:place_of_death ?b . ?b rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1336349
Q515
USER
And what about Emil Kießling?
(Q1336349,P20,c(Q515))
action count
action filter_type
action find
entity Q1336349
relation P20
type Q515
['Q1336349', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q1336349 property:P20 ?y . ?y rdf:type ontology:Q515 }
Emil Kießling
action count
action filter_type
action find
entity Emil Kießling
relation place of death
type city
['Emil Kießling', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Emil_Kießling property:place_of_death ?y . ?y rdf:type ontology:city }
[]
city
SYSTEM
1
(Q1336349,P20,c(Q515))
action count
action filter_type
action find
entity Q1336349
relation P20
type Q515
[ANSWER]
['Q1336349', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q1336349 property:P20 ?y . ?y rdf:type ontology:Q515 }
1
action count
action filter_type
action find
entity Emil Kießling
relation place of death
type city
['Emil Kießling', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Emil_Kießling property:place_of_death ?y . ?y rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1336349
P734
Q82799
USER
Who is associated with that person ?
action filter_type
action find
entity Q1336349
relation P734
type Q82799
SELECT DISTINCT ?o WHERE { resource:Q1336349 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Emil Kießling
action filter_type
action find
entity Emil Kießling
relation family name
type name
SELECT DISTINCT ?o WHERE { resource:Emil_Kießling property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q23638539
SYSTEM
Kießling
Q23638539
action filter_type
action find
entity Q1336349
relation P734
type Q82799
Person [ANSWER] is associated with that person
SELECT DISTINCT ?o WHERE { resource:Q1336349 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Kießling
Person Kießling is associated with that person
Kießling
action filter_type
action find
entity Emil Kießling
relation family name
type name
SELECT DISTINCT ?o WHERE { resource:Emil_Kießling property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1336349
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q23638539,P19,c(Q56061))
action filter_type
action find
entity Q1336349
relation P19
type Q56061
['Q23638539', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1336349 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Emil Kießling
action filter_type
action find
entity Emil Kießling
relation place of birth
type administrative territorial entity
['Kießling', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Emil_Kießling property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q23638539,P19,c(Q56061))
action filter_type
action find
entity Q1336349
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q23638539', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1336349 property:P19 ?u . ?u rdf:type ontology:Q56061 }
London
London is the place of birth of that person
London
action filter_type
action find
entity Emil Kießling
relation place of birth
type administrative territorial entity
['Kießling', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Emil_Kießling property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P20
Q1329623 Q16979650
USER
How many cultural centers or sibling groups expired at that administrative territory ?
(c(Q1329623),P20,Q84) (c(Q16979650),P20,Q84) (c(Q1329623),P20,Q84) (c(Q16979650),P20,Q84)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P20
type Q1329623
action filter_type
action find_reverse
entity Q84
relation P20
type Q16979650
[{'concept': 'Q1329623'}, 'P20', 'Q84'] [{'concept': 'Q16979650'}, 'P20', 'Q84'] [{'concept': 'Q1329623'}, 'P20', 'Q84'] [{'concept': 'Q16979650'}, 'P20', 'Q84']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { ?g rdf:type ontology:Q16979650 . ?g property:P20 resource:Q84 } UNION { ?g property:P20 resource:Q84 . ?g rdf:type ontology:Q1329623 } }
action count
action union
action filter_type
action find_reverse
entity London
relation place of death
type cultural center
action filter_type
action find_reverse
entity London
relation place of death
type sibling group
[{'concept': 'cultural center'}, 'place of death', 'London'] [{'concept': 'sibling group'}, 'place of death', 'London'] [{'concept': 'cultural center'}, 'place of death', 'London'] [{'concept': 'sibling group'}, 'place of death', 'London']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { ?g rdf:type ontology:sibling_group . ?g property:place_of_death resource:London } UNION { ?g property:place_of_death resource:London . ?g rdf:type ontology:cultural_center } }
[]
cultural center sibling group
SYSTEM
2
Q26397273 Q3791677
(c(Q1329623),P20,Q84) (c(Q16979650),P20,Q84) (c(Q1329623),P20,Q84) (c(Q16979650),P20,Q84)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P20
type Q1329623
action filter_type
action find_reverse
entity Q84
relation P20
type Q16979650
[ANSWER]
[{'concept': 'Q1329623'}, 'P20', 'Q84'] [{'concept': 'Q16979650'}, 'P20', 'Q84'] [{'concept': 'Q1329623'}, 'P20', 'Q84'] [{'concept': 'Q16979650'}, 'P20', 'Q84']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { ?g rdf:type ontology:Q16979650 . ?g property:P20 resource:Q84 } UNION { ?g property:P20 resource:Q84 . ?g rdf:type ontology:Q1329623 } }
Ali Rıza Şencan John and James Woolf
2
action count
action union
action filter_type
action find_reverse
entity London
relation place of death
type cultural center
action filter_type
action find_reverse
entity London
relation place of death
type sibling group
[{'concept': 'cultural center'}, 'place of death', 'London'] [{'concept': 'sibling group'}, 'place of death', 'London'] [{'concept': 'cultural center'}, 'place of death', 'London'] [{'concept': 'sibling group'}, 'place of death', 'London']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { ?g rdf:type ontology:sibling_group . ?g property:place_of_death resource:London } UNION { ?g property:place_of_death resource:London . ?g rdf:type ontology:cultural_center } }
[]