Simple Question (Direct)
Simple Question
Q20751359
P19
Q56061
USER
Where was Estrella Puente born ?
(Q20751359,P19,c(Q56061))
action filter_type
action find
entity Q20751359
relation P19
type Q56061
['Q20751359', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q20751359 property:P19 ?k }
Estrella Puente
action filter_type
action find
entity Estrella Puente
relation place of birth
type administrative territorial entity
['Estrella Puente', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Estrella_Puente property:place_of_birth ?k }
[]
administrative territorial entity
Q1335
SYSTEM
Montevideo
Q1335
(Q20751359,P19,c(Q56061))
action filter_type
action find
entity Q20751359
relation P19
type Q56061
Estrella Puente was born en [ANSWER]
['Q20751359', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q20751359 property:P19 ?k }
Montevideo
Estrella Puente was born en Montevideo
Montevideo
action filter_type
action find
entity Estrella Puente
relation place of birth
type administrative territorial entity
['Estrella Puente', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Estrella_Puente property:place_of_birth ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20751359
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q1335,P27,c(Q15617994))
action filter_type
action find
entity Q20751359
relation P27
type Q15617994
['Q1335', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q20751359 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Estrella Puente
action filter_type
action find
entity Estrella Puente
relation country of citizenship
type designation for an administrative territorial entity
['Montevideo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Estrella_Puente property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q77
SYSTEM
Uruguay
Q77
(Q1335,P27,c(Q15617994))
action filter_type
action find
entity Q20751359
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q1335', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q20751359 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Uruguay
That person belongs to the Uruguay
Uruguay
action filter_type
action find
entity Estrella Puente
relation country of citizenship
type designation for an administrative territorial entity
['Montevideo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Estrella_Puente property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q77 Q1142566
P921
Q838948
USER
How many works of art are Uruguay or The National a main subject of ?
(c(Q838948),P921,Q77) (c(Q838948),P921,Q1142566)
action count
action union
action filter_type
action find_reverse
entity Q77
relation P921
type Q838948
action filter_type
action find_reverse
entity Q1142566
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q77'] [{'concept': 'Q838948'}, 'P921', 'Q1142566']
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:P921 resource:Q77 . ?q rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q838948 . ?q property:P921 resource:Q1142566 } }
Uruguay The National
action count
action union
action filter_type
action find_reverse
entity Uruguay
relation main subject
type work of art
action filter_type
action find_reverse
entity The National
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Uruguay'] [{'concept': 'work of art'}, 'main subject', 'The National']
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:main_subject resource:Uruguay . ?q rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:work_of_art . ?q property:main_subject resource:The_National } }
[]
work of art
SYSTEM
2
Q23000024 Q16154865
(c(Q838948),P921,Q77) (c(Q838948),P921,Q1142566)
action count
action union
action filter_type
action find_reverse
entity Q77
relation P921
type Q838948
action filter_type
action find_reverse
entity Q1142566
relation P921
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q77'] [{'concept': 'Q838948'}, 'P921', 'Q1142566']
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:P921 resource:Q77 . ?q rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q838948 . ?q property:P921 resource:Q1142566 } }
Mistaken for Strangers A Skin, A Night
2
action count
action union
action filter_type
action find_reverse
entity Uruguay
relation main subject
type work of art
action filter_type
action find_reverse
entity The National
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Uruguay'] [{'concept': 'work of art'}, 'main subject', 'The National']
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { ?q property:main_subject resource:Uruguay . ?q rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:work_of_art . ?q property:main_subject resource:The_National } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q64004
P180
Q56061 Q3305213 Q2342494
USER
Which administrative territories are demonstrated in around the same number of paintings and collectables as Grindelwald ?
(c(Q3305213)|c(Q2342494),P180,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q64004
relation P180
type Q3305213
type Q2342494
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?g ) WHERE { { ?s rdf:type ontology:Q56061 . ?v rdf:type ontology:Q3305213 . ?v property:P180 ?s } UNION { ?v property:P180 ?s . ?v rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q56061 } } GROUP BY ?s } . FILTER ( ?g = ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P180 resource:Q64004 . { VALUES ( ?y ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?i rdf:type ?y } } } }
Grindelwald
action approx
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Grindelwald
relation depicts
type painting
type collectable
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?g ) WHERE { { ?s rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:painting . ?v property:depicts ?s } UNION { ?v property:depicts ?s . ?v rdf:type ontology:collectable . ?s rdf:type ontology:administrative_territorial_entity } } GROUP BY ?s } . FILTER ( ?g = ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:depicts resource:Grindelwald . { VALUES ( ?y ) { ( ontology:painting ) ( ontology:collectable ) } . ?i rdf:type ?y } } } }
[]
administrative territorial entity painting collectable
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q894252 Q11370950 Q81076 Q10084 Q5180660 Q2536016 Q103011 Q7228196 Q52437 Q2741834 Q2218481 Q2035368 Q3876885 Q319536 Q319538 Q33486 Q12443 Q3405864 Q11093013 Q7165393 Q3615313 Q6661066 Q1889195 Q950671 Q2214216 Q10989923 Q1198413 Q322 Q151920 Q13375 Q1656724 Q130514 Q3404679 Q787395 Q2184880 Q23051 Q2656 Q5687 Q7259867 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 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 Q1563 Q3406382 Q170263 Q372324 Q5200191 Q1748 Q205905 Q13129631 Q6661101 Q3811275 Q87 Q690 Q1013633 Q2227185 Q284467 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 Q1479 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 Q340 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 Q165887 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 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(Q3305213)|c(Q2342494),P180,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q64004
relation P180
type Q3305213
type Q2342494
[ANSWERS] are demonstrated in around the same number of paintings and collectables as Grindelwald
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?g ) WHERE { { ?s rdf:type ontology:Q56061 . ?v rdf:type ontology:Q3305213 . ?v property:P180 ?s } UNION { ?v property:P180 ?s . ?v rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q56061 } } GROUP BY ?s } . FILTER ( ?g = ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P180 resource:Q64004 . { VALUES ( ?y ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?i rdf:type ?y } } } }
Borth Kameido Zierikzee Vlissingen Craig-y-Don Crickhowell Corinth Pontfadog Murano Llanidloes Oosterbeek Tremadog Minsterley Aberdyfi Abererch Hartford Marquette Llandygai Cyffylliog Penybont Andaraí Llanarmon, Gwynedd Mogenstrup Porthmadog Soestdijk Llanfihangel-yng-Ngwynfa military camp Llanfairpwllgwyngyll Tiberias Pisa ideal city Luxor Crumlin Llanfairfechan St Pierre, Monmouthshire Swansea Palermo Jericho Pumsaint 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 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 Havana Glyndyfrdwy Chester Dawson City Cynwyl Gaeo Copenhagen Lancaster Llanfechell Llanbedr-Dyffryn-Clwyd Whittington Alexandria Delft Ruthin Felpham Vogelenzang 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 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 Taranto Brindisi fortified town East Bergholt Winchelsea Aberdulais Montreal 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 Emmaus 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 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 around the same number of paintings and collectables as Grindelwald
Prague Moscow Madrid
action approx
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Grindelwald
relation depicts
type painting
type collectable
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?g ) WHERE { { ?s rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:painting . ?v property:depicts ?s } UNION { ?v property:depicts ?s . ?v rdf:type ontology:collectable . ?s rdf:type ontology:administrative_territorial_entity } } GROUP BY ?s } . FILTER ( ?g = ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:depicts resource:Grindelwald . { VALUES ( ?y ) { ( ontology:painting ) ( ontology:collectable ) } . ?i rdf:type ?y } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q47164
P180
Q56061 Q3305213 Q2342494
USER
And what about Santa Monica?
(c(Q3305213)|c(Q2342494),P180,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q47164
relation P180
type Q3305213
type Q2342494
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P180 resource:Q47164 . { VALUES ( ?q ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?o rdf:type ?q } } } . FILTER ( ?t = ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:P180 ?y . ?y rdf:type ontology:Q56061 . ?x rdf:type ontology:Q3305213 } UNION { ?x property:P180 ?y . ?y rdf:type ontology:Q56061 . ?x rdf:type ontology:Q2342494 } } GROUP BY ?y } }
Santa Monica
action approx
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Santa Monica
relation depicts
type painting
type collectable
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:depicts resource:Santa_Monica . { VALUES ( ?q ) { ( ontology:painting ) ( ontology:collectable ) } . ?o rdf:type ?q } } } . FILTER ( ?t = ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:depicts ?y . ?y rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:painting } UNION { ?x property:depicts ?y . ?y rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:collectable } } GROUP BY ?y } }
[]
administrative territorial entity painting collectable
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q894252 Q11370950 Q81076 Q10084 Q5180660 Q2536016 Q103011 Q7228196 Q52437 Q2741834 Q2218481 Q2035368 Q3876885 Q319536 Q319538 Q33486 Q12443 Q3405864 Q11093013 Q7165393 Q3615313 Q6661066 Q1889195 Q950671 Q2214216 Q10989923 Q1198413 Q322 Q151920 Q13375 Q1656724 Q130514 Q3404679 Q787395 Q2184880 Q23051 Q2656 Q5687 Q7259867 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 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 Q1563 Q3406382 Q170263 Q372324 Q5200191 Q1748 Q205905 Q13129631 Q6661101 Q3811275 Q87 Q690 Q1013633 Q2227185 Q284467 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 Q1479 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 Q340 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 Q165887 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 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(Q3305213)|c(Q2342494),P180,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q56061
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q47164
relation P180
type Q3305213
type Q2342494
[ANSWERS]
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P180 resource:Q47164 . { VALUES ( ?q ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?o rdf:type ?q } } } . FILTER ( ?t = ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:P180 ?y . ?y rdf:type ontology:Q56061 . ?x rdf:type ontology:Q3305213 } UNION { ?x property:P180 ?y . ?y rdf:type ontology:Q56061 . ?x rdf:type ontology:Q2342494 } } GROUP BY ?y } }
Borth Kameido Zierikzee Vlissingen Craig-y-Don Crickhowell Corinth Pontfadog Murano Llanidloes Oosterbeek Tremadog Minsterley Aberdyfi Abererch Hartford Marquette Llandygai Cyffylliog Penybont Andaraí Llanarmon, Gwynedd Mogenstrup Porthmadog Soestdijk Llanfihangel-yng-Ngwynfa military camp Llanfairpwllgwyngyll Tiberias Pisa ideal city Luxor Crumlin Llanfairfechan St Pierre, Monmouthshire Swansea Palermo Jericho Pumsaint 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 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 Havana Glyndyfrdwy Chester Dawson City Cynwyl Gaeo Copenhagen Lancaster Llanfechell Llanbedr-Dyffryn-Clwyd Whittington Alexandria Delft Ruthin Felpham Vogelenzang 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 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 Taranto Brindisi fortified town East Bergholt Winchelsea Aberdulais Montreal 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 Emmaus 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 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 Madrid
action approx
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Santa Monica
relation depicts
type painting
type collectable
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:depicts resource:Santa_Monica . { VALUES ( ?q ) { ( ontology:painting ) ( ontology:collectable ) } . ?o rdf:type ?q } } } . FILTER ( ?t = ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:depicts ?y . ?y rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:painting } UNION { ?x property:depicts ?y . ?y rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:collectable } } GROUP BY ?y } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3866
P190
Q515
USER
Are Dodoma partner town of those administrative territories ?
(Q3866,P190,Q1085) (Q3866,P190,Q649) (Q3866,P190,Q2807)
action is_in
entity prev_answer
action find
entity Q3866
relation P190
['Q3866', 'P190', 'Q1085'] ['Q3866', 'P190', 'Q649'] ['Q3866', 'P190', 'Q2807']
ASK WHERE { resource:Q3866 property:P190 ?y . VALUES ( ?y ) { ( resource:Q894252 ) ( resource:Q11370950 ) ( resource:Q81076 ) } }
Dodoma
action is_in
entity prev_answer
action find
entity Dodoma
relation sister city
['Dodoma', 'sister city', 'Prague'] ['Dodoma', 'sister city', 'Moscow'] ['Dodoma', 'sister city', 'Madrid']
ASK WHERE { resource:Dodoma property:sister_city ?y . VALUES ( ?y ) { ( resource:Borth ) ( resource:Kameido ) ( resource:Zierikzee ) } }
[]
city
SYSTEM
NO
(Q3866,P190,Q1085) (Q3866,P190,Q649) (Q3866,P190,Q2807)
action is_in
entity prev_answer
action find
entity Q3866
relation P190
[ANSWER]
['Q3866', 'P190', 'Q1085'] ['Q3866', 'P190', 'Q649'] ['Q3866', 'P190', 'Q2807']
ASK WHERE { resource:Q3866 property:P190 ?y . VALUES ( ?y ) { ( resource:Q894252 ) ( resource:Q11370950 ) ( resource:Q81076 ) } }
No
action is_in
entity prev_answer
action find
entity Dodoma
relation sister city
['Dodoma', 'sister city', 'Prague'] ['Dodoma', 'sister city', 'Moscow'] ['Dodoma', 'sister city', 'Madrid']
ASK WHERE { resource:Dodoma property:sister_city ?y . VALUES ( ?y ) { ( resource:Borth ) ( resource:Kameido ) ( resource:Zierikzee ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q649 Q3561 Q4829280
P190
Q56061
USER
Is Moscow twin city of Algiers and Bereket ?
(Q649,P190,Q3561) (Q649,P190,Q4829280)
action is_in
entity Q649
action intersection
action find_reverse
entity Q3561
relation P190
action find_reverse
entity Q4829280
relation P190
['Q649', 'P190', 'Q3561'] ['Q649', 'P190', 'Q4829280']
ASK WHERE { resource:Q649 property:P190 resource:Q3561 . resource:Q649 property:P190 resource:Q4829280 }
Moscow Algiers Bereket
action is_in
entity Moscow
action intersection
action find_reverse
entity Algiers
relation sister city
action find_reverse
entity Bereket
relation sister city
['Moscow', 'sister city', 'Algiers'] ['Moscow', 'sister city', 'Bereket']
ASK WHERE { resource:Moscow property:sister_city resource:Algiers . resource:Moscow property:sister_city resource:Bereket }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q649,P190,Q3561) (Q649,P190,Q4829280)
action is_in
entity Q649
action intersection
action find_reverse
entity Q3561
relation P190
action find_reverse
entity Q4829280
relation P190
[ANSWER]
['Q649', 'P190', 'Q3561'] ['Q649', 'P190', 'Q4829280']
ASK WHERE { resource:Q649 property:P190 resource:Q3561 . resource:Q649 property:P190 resource:Q4829280 }
YES and NO respectively
action is_in
entity Moscow
action intersection
action find_reverse
entity Algiers
relation sister city
action find_reverse
entity Bereket
relation sister city
['Moscow', 'sister city', 'Algiers'] ['Moscow', 'sister city', 'Bereket']
ASK WHERE { resource:Moscow property:sister_city resource:Algiers . resource:Moscow property:sister_city resource:Bereket }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q77 Q38 Q155
P530
Q15617994
USER
Is Uruguay known to have diplomatic connections with Italy and Brazil ?
(Q77,P530,Q38) (Q77,P530,Q155)
action is_in
entity Q77
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q155
relation P530
['Q77', 'P530', 'Q38'] ['Q77', 'P530', 'Q155']
ASK WHERE { resource:Q77 property:P530 resource:Q38 . resource:Q77 property:P530 resource:Q155 }
Uruguay Italy Brazil
action is_in
entity Uruguay
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['Uruguay', 'diplomatic relation', 'Italy'] ['Uruguay', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Uruguay property:diplomatic_relation resource:Italy . resource:Uruguay property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q77,P530,Q38) (Q77,P530,Q155)
action is_in
entity Q77
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q155
relation P530
[ANSWER]
['Q77', 'P530', 'Q38'] ['Q77', 'P530', 'Q155']
ASK WHERE { resource:Q77 property:P530 resource:Q38 . resource:Q77 property:P530 resource:Q155 }
Yes
action is_in
entity Uruguay
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['Uruguay', 'diplomatic relation', 'Italy'] ['Uruguay', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Uruguay property:diplomatic_relation resource:Italy . resource:Uruguay property:diplomatic_relation resource:Brazil }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1335 Q12890600
P190
Q56061
USER
Is Felicidad partner town of Montevideo ?
(Q1335,P190,Q12890600)
action is_in
entity Q12890600
action find
entity Q1335
relation P190
['Q1335', 'P190', 'Q12890600']
ASK WHERE { resource:Q1335 property:P190 resource:Q12890600 }
Montevideo Felicidad
action is_in
entity Felicidad
action find
entity Montevideo
relation sister city
['Montevideo', 'sister city', 'Felicidad']
ASK WHERE { resource:Montevideo property:sister_city resource:Felicidad }
[]
administrative territorial entity
SYSTEM
NO
(Q1335,P190,Q12890600)
action is_in
entity Q12890600
action find
entity Q1335
relation P190
[ANSWER]
['Q1335', 'P190', 'Q12890600']
ASK WHERE { resource:Q1335 property:P190 resource:Q12890600 }
No
action is_in
entity Felicidad
action find
entity Montevideo
relation sister city
['Montevideo', 'sister city', 'Felicidad']
ASK WHERE { resource:Montevideo property:sister_city resource:Felicidad }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1335
P17
Q15617994
USER
Which administrative territory is Montevideo a part of ?
action filter_type
action find
entity Q1335
relation P17
type Q15617994
SELECT DISTINCT ?p WHERE { resource:Q1335 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Montevideo
action filter_type
action find
entity Montevideo
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?p WHERE { resource:Montevideo property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q77
SYSTEM
Uruguay
Q77
action filter_type
action find
entity Q1335
relation P17
type Q15617994
Which administrative territory is Montevideo a part of
SELECT DISTINCT ?p WHERE { resource:Q1335 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Uruguay
Which administrative territory is Montevideo a part of
Uruguay
action filter_type
action find
entity Montevideo
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?p WHERE { resource:Montevideo property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with atleast 2 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 2
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?v ) WHERE { ?c property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?v ) WHERE { ?c property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 2
[ANSWERS] have diplomatic associations with atleast 2 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?v ) WHERE { ?c property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
Italy, Brazil and United States of America have diplomatic associations with atleast 2 administrative territories
Italy Brazil United States of America
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?v ) WHERE { ?c property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q30
P463
Q484652
USER
What international organizations were Italy, Brazil and United States of America a member of ?
(Q38,P463,c(Q484652)) (Q155,P463,c(Q484652)) (Q30,P463,c(Q484652))
action union
action filter_type
action find
entity Q38
relation P463
type Q484652
action filter_type
action find
entity Q155
relation P463
type Q484652
action filter_type
action find
entity Q30
relation P463
type Q484652
['Q38', 'P463', {'concept': 'Q484652'}] ['Q155', 'P463', {'concept': 'Q484652'}] ['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?e WHERE { { resource:Q38 property:P463 ?e . ?e rdf:type ontology:Q484652 } UNION { resource:Q155 property:P463 ?e . ?e rdf:type ontology:Q484652 } }
Italy Brazil United States of America
action union
action filter_type
action find
entity Italy
relation member of
type international organization
action filter_type
action find
entity Brazil
relation member of
type international organization
action filter_type
action find
entity United States of America
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}] ['Brazil', 'member of', {'concept': 'international organization'}] ['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?e WHERE { { resource:Italy property:member_of ?e . ?e rdf:type ontology:international_organization } UNION { resource:Brazil property:member_of ?e . ?e rdf:type ontology:international_organization } }
[]
international organization
Q81299 Q81299 Q19771
SYSTEM
Organization for Security and Co-operation in Europe for 1st, 2nd, G20 for 3rd
Q81299 Q1065 Q826700 Q605326 Q47488 Q7184 Q42262 Q1045198 Q472311 Q8475 Q1480793 Q188822 Q170424 Q201054 Q7804 Q842490 Q19771 Q54129 Q1411881 Q17495 Q192177 Q37143 Q176815 Q182000 Q233611 Q1043527 Q471690 Q1065 Q838116 Q47488 Q8475 Q19771 Q17495 Q4230 Q1043527 Q81299 Q1043527 Q1065 Q37143 Q188822 Q674182 Q842490 Q19771 Q7184
(Q38,P463,c(Q484652)) (Q155,P463,c(Q484652)) (Q30,P463,c(Q484652))
action union
action filter_type
action find
entity Q38
relation P463
type Q484652
action filter_type
action find
entity Q155
relation P463
type Q484652
action filter_type
action find
entity Q30
relation P463
type Q484652
[ANSWERS]
['Q38', 'P463', {'concept': 'Q484652'}] ['Q155', 'P463', {'concept': 'Q484652'}] ['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?e WHERE { { resource:Q38 property:P463 ?e . ?e rdf:type ontology:Q484652 } UNION { resource:Q155 property:P463 ?e . ?e rdf:type ontology:Q484652 } }
Organization for Security and Co-operation in Europe United Nations International Energy Agency World Customs Organization International Criminal Court North Atlantic Treaty Organisation European Space Agency Permanent Court of Arbitration International Organization for Migration Interpol Nuclear Suppliers Group Asian Development Bank World Meteorological Organization International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons G20 International Labour Organization Group of Ten Universal Postal Union Union for the Mediterranean G8 Inter-Parliamentary Union United Nations Conference on Trade and Development International Hydrographic Organization Multilateral Investment Guarantee Agency Andean Community of Nations United Nations G4 nations International Criminal Court Interpol G20 Universal Postal Union Union of South American Nations Multilateral Investment Guarantee Agency Organization for Security and Co-operation in Europe Multilateral Investment Guarantee Agency United Nations G8 Asian Development Bank Arctic Council Organisation for the Prohibition of Chemical Weapons G20 North Atlantic Treaty Organisation
Were Italy , Brazil and United States of America a member of the Organization for Security and Co-operation in Europe, Organization for Security and Co-operation in Europe and G20
Organization for Security and Co-operation in Europe Organization for Security and Co-operation in Europe G20
action union
action filter_type
action find
entity Italy
relation member of
type international organization
action filter_type
action find
entity Brazil
relation member of
type international organization
action filter_type
action find
entity United States of America
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}] ['Brazil', 'member of', {'concept': 'international organization'}] ['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?e WHERE { { resource:Italy property:member_of ?e . ?e rdf:type ontology:international_organization } UNION { resource:Brazil property:member_of ?e . ?e rdf:type ontology:international_organization } }
[]