Simple Question (Direct)
Simple Question
Q497025
P734
Q82799
USER
Who has the surname Andreas Enkelmann ?
(Q497025,P734,c(Q82799))
action filter_type
action find
entity Q497025
relation P734
type Q82799
['Q497025', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q497025 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Andreas Enkelmann
action filter_type
action find
entity Andreas Enkelmann
relation family name
type name
['Andreas Enkelmann', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Andreas_Enkelmann property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q23599664
SYSTEM
Enkelmann
Q23599664
(Q497025,P734,c(Q82799))
action filter_type
action find
entity Q497025
relation P734
type Q82799
[ANSWER] has the surname Andreas [ANSWER]
['Q497025', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q497025 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Enkelmann
Enkelmann has the surname Andreas Enkelmann
Enkelmann
action filter_type
action find
entity Andreas Enkelmann
relation family name
type name
['Andreas Enkelmann', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Andreas_Enkelmann property:family_name ?q . ?q rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q497025
P937
Q56061
USER
Which is the work location of Andreas Enkelmann ?
(Q497025,P937,c(Q56061))
action filter_type
action find
entity Q497025
relation P937
type Q56061
['Q497025', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q497025 property:P937 ?b }
Andreas Enkelmann
action filter_type
action find
entity Andreas Enkelmann
relation work location
type administrative territorial entity
['Andreas Enkelmann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Andreas_Enkelmann property:work_location ?b }
[]
administrative territorial entity
Q1729
SYSTEM
Erfurt
Q1729
(Q497025,P937,c(Q56061))
action filter_type
action find
entity Q497025
relation P937
type Q56061
[ANSWER] is the work location of Andreas Enkelmann
['Q497025', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q497025 property:P937 ?b }
Erfurt
Erfurt is the work location of Andreas Enkelmann
Erfurt
action filter_type
action find
entity Andreas Enkelmann
relation work location
type administrative territorial entity
['Andreas Enkelmann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Andreas_Enkelmann property:work_location ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1729
P291
Q2342494
USER
What was published in that administrative territory ?
(c(Q2342494),P291,Q1729)
action filter_type
action find_reverse
entity Q1729
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q1729']
SELECT DISTINCT ?j WHERE { ?j property:P291 resource:Q1729 . ?j rdf:type ontology:Q2342494 }
Erfurt
action filter_type
action find_reverse
entity Erfurt
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Erfurt']
SELECT DISTINCT ?j WHERE { ?j property:place_of_publication resource:Erfurt . ?j rdf:type ontology:collectable }
[]
collectable
Q26791926
SYSTEM
Geschichten aus der Goldenen Aue
Q26791926
(c(Q2342494),P291,Q1729)
action filter_type
action find_reverse
entity Q1729
relation P291
type Q2342494
Was [ANSWER] was published in that administrative territory
[{'concept': 'Q2342494'}, 'P291', 'Q1729']
SELECT DISTINCT ?j WHERE { ?j property:P291 resource:Q1729 . ?j rdf:type ontology:Q2342494 }
Geschichten aus der Goldenen Aue
Was Geschichten aus der Goldenen Aue was published in that administrative territory
Geschichten aus der Goldenen Aue
action filter_type
action find_reverse
entity Erfurt
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Erfurt']
SELECT DISTINCT ?j WHERE { ?j property:place_of_publication resource:Erfurt . ?j rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q26791926 Q6412890
P291
Q56061
USER
Is Khuriabad, Kurdistan the location of publication of that collectable ?
(Q26791926,P291,Q6412890)
action is_in
entity Q6412890
action find
entity Q26791926
relation P291
['Q26791926', 'P291', 'Q6412890']
ASK WHERE { resource:Q26791926 property:P291 resource:Q6412890 }
Geschichten aus der Goldenen Aue Khuriabad, Kurdistan
action is_in
entity Khuriabad, Kurdistan
action find
entity Geschichten aus der Goldenen Aue
relation place of publication
['Geschichten aus der Goldenen Aue', 'place of publication', 'Khuriabad, Kurdistan']
ASK WHERE { resource:Geschichten_aus_der_Goldenen_Aue property:place_of_publication resource:Khuriabad,_Kurdistan }
[]
administrative territorial entity
SYSTEM
NO
(Q26791926,P291,Q6412890)
action is_in
entity Q6412890
action find
entity Q26791926
relation P291
[ANSWER]
['Q26791926', 'P291', 'Q6412890']
ASK WHERE { resource:Q26791926 property:P291 resource:Q6412890 }
No
action is_in
entity Khuriabad, Kurdistan
action find
entity Geschichten aus der Goldenen Aue
relation place of publication
['Geschichten aus der Goldenen Aue', 'place of publication', 'Khuriabad, Kurdistan']
ASK WHERE { resource:Geschichten_aus_der_Goldenen_Aue property:place_of_publication resource:Khuriabad,_Kurdistan }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1416206 Q497025
P102
Q7278
USER
Which political parties are Andreas Enkelmann and Karl Schwinke affiliated with ?
AND((Q497025,P102,c(Q7278)), (Q1416206,P102,c(Q7278)))
action filter_type
action intersection
action find
entity Q497025
relation P102
action find
entity Q1416206
relation P102
type Q7278
{'AND': [['Q497025', 'P102', {'concept': 'Q7278'}], ['Q1416206', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?e WHERE { resource:Q497025 property:P102 ?e . resource:Q1416206 property:P102 ?e . ?e rdf:type ontology:Q7278 }
Karl Schwinke Andreas Enkelmann
action filter_type
action intersection
action find
entity Andreas Enkelmann
relation member of political party
action find
entity Karl Schwinke
relation member of political party
type political party
{'AND': [['Andreas Enkelmann', 'member of political party', {'concept': 'political party'}], ['Karl Schwinke', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?e WHERE { resource:Andreas_Enkelmann property:member_of_political_party ?e . resource:Karl_Schwinke property:member_of_political_party ?e . ?e rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
AND((Q497025,P102,c(Q7278)), (Q1416206,P102,c(Q7278)))
action filter_type
action intersection
action find
entity Q497025
relation P102
action find
entity Q1416206
relation P102
type Q7278
Andreas Enkelmann and Karl Schwinke are affiliated with [ANSWER]
{'AND': [['Q497025', 'P102', {'concept': 'Q7278'}], ['Q1416206', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?e WHERE { resource:Q497025 property:P102 ?e . resource:Q1416206 property:P102 ?e . ?e rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Andreas Enkelmann and Karl Schwinke are affiliated with Social Democratic Party of Germany
Social Democratic Party of Germany
action filter_type
action intersection
action find
entity Andreas Enkelmann
relation member of political party
action find
entity Karl Schwinke
relation member of political party
type political party
{'AND': [['Andreas Enkelmann', 'member of political party', {'concept': 'political party'}], ['Karl Schwinke', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?e WHERE { resource:Andreas_Enkelmann property:member_of_political_party ?e . resource:Karl_Schwinke property:member_of_political_party ?e . ?e rdf:type ontology:political_party }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P488
Q502895
USER
How many people served as the chairperson of that political party ?
(Q49768,P488,c(Q502895))
action count
action filter_type
action find
entity Q49768
relation P488
type Q502895
['Q49768', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q49768 property:P488 ?j . ?j rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Social Democratic Party of Germany
relation chairperson
type common name
['Social Democratic Party of Germany', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Social_Democratic_Party_of_Germany property:chairperson ?j . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
14
Q160902 Q110719 Q2530 Q58609 Q2514 Q76658 Q61321 Q57682 Q57465 Q62185 Q2551 Q62279 Q65109 Q552483
(Q49768,P488,c(Q502895))
action count
action filter_type
action find
entity Q49768
relation P488
type Q502895
[ANSWER]
['Q49768', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q49768 property:P488 ?j . ?j rdf:type ontology:Q502895 }
Sigmar Gabriel Oskar Lafontaine Gerhard Schröder Franz Müntefering Willy Brandt Frank-Walter Steinmeier Rudolf Scharping Matthias Platzeck Kurt Schumacher Erich Ollenhauer Johannes Rau Björn Engholm Kurt Beck Hans-Jochen Vogel
14
action count
action filter_type
action find
entity Social Democratic Party of Germany
relation chairperson
type common name
['Social Democratic Party of Germany', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Social_Democratic_Party_of_Germany property:chairperson ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q56061 Q83620 Q34442
USER
Which administrative territories are the destinations of around 1 thoroughfares and roads ?
(c(Q83620)|c(Q34442),P609,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 1
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?t WHERE { VALUES ( ?z ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?h rdf:type ?z } GROUP BY ?t } . FILTER ( ?f = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 1
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?t WHERE { VALUES ( ?z ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?h rdf:type ?z } GROUP BY ?t } . FILTER ( ?f = 1 ) }
[]
administrative territorial entity thoroughfare road
Q649 Q1781 Q64
SYSTEM
Moscow, Budapest, Berlin
Q1159408 Q1866725 Q81076 Q2588702 Q10084 Q746718 Q3112494 Q886915 Q81177 Q2218481 Q2305106 Q2779809 Q238510 Q780923 Q957593 Q2635319 Q180139 Q23311 Q11885222 Q581785 Q942842 Q2207185 Q2688228 Q83178 Q1781774 Q1027049 Q2376652 Q1022954 Q851041 Q6772133 Q1784816 Q490595 Q185216 Q153745 Q611919 Q1018448 Q1019462 Q2002936 Q599201 Q1774840 Q846242 Q1026676 Q499174 Q1784987 Q2223679 Q1950380 Q6506 Q1309 Q984437 Q4093 Q16568 Q832938 Q269980 Q23337 Q7017057 Q488924 Q2656 Q748747 Q2684131 Q33264 Q13415826 Q1425428 Q9920 Q746096 Q143782 Q2233872 Q883862 Q12912978 Q754868 Q494631 Q985268 Q131335 Q4507706 Q219656 Q36989 Q1026371 Q4076763 Q923799 Q1527123 Q988590 Q960454 Q49244 Q4357016 Q3315792 Q90 Q1022789 Q149787 Q2606846 Q2372373 Q4357626 Q3020221 Q675049 Q2161723 Q904462 Q6931019 Q2227172 Q212686 Q2132 Q6816 Q1890499 Q2669870 Q982854 Q282729 Q3475289 Q3204894 Q937679 Q3532 Q5529922 Q1020419 Q430316 Q5259257 Q3240318 Q2374507 Q12892 Q49274 Q257446 Q1011062 Q988761 Q945084 Q3907766 Q971223 Q79889 Q212826 Q3030085 Q2124272 Q1012006 Q2060859 Q6903267 Q10025 Q1108196 Q1948672 Q3394752 Q43631 Q478036 Q2566692 Q6430673 Q502312 Q1042366 Q1812494 Q10661123 Q34739 Q1615894 Q2668887 Q1978857 Q103717 Q1004397 Q783210 Q2618803 Q262483 Q842477 Q4733779 Q5168 Q2121249 Q156080 Q1615972 Q953583 Q5083 Q1043381 Q952097 Q9911 Q8336 Q6383632 Q2055138 Q2376829 Q5336994 Q28218 Q81086 Q1026976 Q51697 Q51694 Q7306457 Q2008706 Q798 Q2297876 Q1983451 Q793 Q298489 Q545457 Q1344696 Q883 Q1615386 Q932008 Q7291165 Q2473978 Q2026781 Q1840 Q776965 Q3322237 Q2525207 Q5367550 Q9909 Q797512 Q611065 Q3776352 Q60444 Q2247076 Q5316449 Q828753 Q374501 Q1726 Q1924946 Q6373375 Q2345413 Q26430 Q920932 Q192896 Q2432500 Q239 Q12994 Q1023246 Q486472 Q49940 Q16556 Q2579355 Q2279962 Q1233089 Q3026315 Q844908 Q9898 Q3138 Q1639484 Q237692 Q973864 Q483000 Q756103 Q1737120 Q79783 Q2266985 Q1912125 Q131491 Q170263 Q985524 Q1907250 Q1748 Q891359 Q2480177 Q26881 Q3110254 Q84 Q1022447 Q3312626 Q5039616 Q1589316 Q16977290 Q579722 Q5182964 Q2523431 Q488545 Q992371 Q472 Q2403755 Q1009668 Q740149 Q755393 Q34863 Q806903 Q970792 Q1946253 Q831527 Q200036 Q780785 Q83407 Q3030738 Q934511 Q954194 Q470380 Q3355046 Q482976 Q2096849 Q2360370 Q2056925 Q1934815 Q1007168 Q780532 Q988156 Q2853591 Q184587 Q664060 Q858607 Q4412622 Q862684 Q1828035 Q959585 Q1615562 Q2893665 Q1781266 Q40738 Q740852 Q15054735 Q579854 Q249022 Q2598092 Q1490 Q5326549 Q203889 Q2118905 Q1010422 Q5016557 Q1962451 Q2342197 Q983790 Q1770 Q2235855 Q753830 Q425786 Q3511360 Q1927386 Q279000 Q1781 Q986664 Q2873143 Q2738845 Q168279 Q2318330 Q15156199 Q202158 Q826048 Q1613459 Q772940 Q12013510 Q244327 Q2551418 Q605318 Q179224 Q156974 Q20203420 Q1890680 Q191914 Q695417 Q3646335 Q4006479 Q2856996 Q201002 Q2577946 Q26345 Q1025055 Q220 Q26421 Q525880 Q10041 Q208262 Q160493 Q5881488 Q3261960 Q3330170 Q2738898 Q14935506 Q517423 Q631666 Q2023889 Q5858099 Q868869 Q1538358 Q1616642 Q134902 Q9783 Q118958 Q3243599 Q755569 Q1492862 Q58900 Q616877 Q1755020 Q2157144 Q2750562 Q743632 Q1043368 Q2543653 Q9871 Q989288 Q2233170 Q5327973 Q1863836 Q2511595 Q134121 Q2388026 Q1110140 Q592438 Q833668 Q4830086 Q1004085 Q3432009 Q64 Q65 Q84125 Q255781 Q2499899 Q736131 Q5062158 Q386862 Q14657 Q506745 Q1867 Q2194010 Q690062 Q634481 Q83065 Q2906589 Q755748 Q931778 Q177861 Q1027111 Q2805272 Q995911 Q504803 Q2115537 Q3126359 Q49225 Q2732640 Q2756084 Q166065 Q2549819 Q937736 Q841979 Q2278965 Q1782644 Q8385 Q1007176 Q18681973 Q868637 Q1241302 Q611722 Q1232203 Q49255 Q1025080 Q2192403 Q2563265 Q1025089 Q5604964 Q649 Q3205403 Q2900922 Q77056 Q989919 Q1996607 Q577960 Q1258901 Q24826 Q9934 Q3091189 Q79842 Q203000 Q2225613 Q213325 Q2774284 Q2496189 Q887 Q813431 Q2181173 Q28237 Q24454 Q889888 Q47164 Q576149 Q75967 Q384544 Q2188667 Q2277323 Q2199102 Q40844 Q2282115 Q1020364 Q1210428 Q1299618 Q60705 Q10686 Q1617033 Q143334 Q888491 Q49267 Q2289322 Q369947 Q986634 Q448970 Q1781568 Q755773 Q803903 Q1013540 Q4411341 Q1781556 Q2281208 Q1950746 Q726635 Q2361780 Q230406 Q615732 Q537120 Q975 Q183551 Q2294176 Q146351 Q129610 Q1782100 Q3025598 Q4411580 Q2659606 Q2860067 Q2152099 Q985549 Q1190876 Q974325 Q971130 Q505601 Q83813 Q1887976 Q2415663 Q1916586 Q179385 Q946361 Q10037 Q2433994 Q743236 Q3354991
(c(Q83620)|c(Q34442),P609,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
value 1
[ANSWERS] are the destinations of around 1 thoroughfares and roads
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?t WHERE { VALUES ( ?z ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?h rdf:type ?z } GROUP BY ?t } . FILTER ( ?f = 1 ) }
Dandenong Groenekan Zierikzee Shankill Vlissingen Birkenhead Poeldijk Blythe Leersum Oosterbeek White Kats Etten Wallasey Den Oever Menominee Hradec Králové City of London Ojakylä Lepelstraat Smíchov Terneuzen Toronto Almere Ulvsunda Irkeshtam Ludborough St. Clair Shores Glendora Marmion Korsør Daytona Beach Grapevine Beuel Shannon, County Clare Washington Natalia Ironwood Hayti Hugo Nieuw-Lekkerland Norrmalm Barstow Aspudden Uithuizen Mount Barker Varna Maastricht Hoogkerk Glasgow Jacksonville Bodegraven Newry Salt Lake City Newbridge, Edinburgh Oceanside Palermo New Buffalo De Punt Las Cruces De Bilt Newcastle upon Tyne Haarlem North Shields North Las Vegas Ontario Blerick Oosterhout Cumberland Sassnitz Inver Grove Heights Sioux Falls Dongen Macon Pardubice Kinnegad Ballymascanlan Santee Girton Pruszcz Gdański Holyport Santa Ana Ulvsunda industriområde Sätra Paris Munising Hendon Norwich Kootwijk Farstanäset De Meern Flandreau Ludington Riddarholmen Muchea Sunfish Lake Aigio Victoria Ulan-Ude Manjimup Kilcullen Leon Valley Ouderkerk aan de Amstel Schaijk Newcastle Bunnik Hemel Hempstead Geestdorp Madison National City Dennyloanhead Sapulpa Redfield Antwerp Garland Holyhead Maldon Denham Elko Strensham Buxton Casa Grande West Bromwich Wieringerwerf Maasdam Cruden Bay Nieuw-Beijerland Roosendaal Wierden Coleshill Carlin Catthorpe Leiden Schoonhoven Crookhaven Koondoola Maasdijk Lilla Essingen Rijswijk Sandarna Dayton Cheadle New Lenox Forest Lake Rovaniemi Coldwater Bracknell Colome Deadwood Oosterzele Almere Poort Makhachkala Stainforth Opava Wateringen Littleton Seattle Reimersholme Muskegon Den Helder Hockenheim Huvudsta Heavener Swifterbant Edenfield Baton Rouge Sas van Gent Sale McKinney Grand Prairie Redwick Elkhart Assen Chevening Platte Zwolle Östermalm Nieuw-Vennep Enterprise Novosibirsk Sassenheim Maarssen Rancho Peñasquitos Ede Poelkapelle Veenendaal Klaipėda Venlo Ochten Elsham, North Lincolnshire Bussum Baarle Farington Downings Drachten Barger-Compascuum Durham Coronado Tabor Munich Canfield Karrinyup Hardtner Tilburg Eede Carlisle Ishpeming Brussels Bruges Westrozebeke Kansas City Newark-on-Trent Phoenix Babberich Highmore Totton and Eling Terhole Crawley Amstelveen Trier Huyton Ewijk Nocona Farmington Lewes Wilmot Nogales Essington Klaaswaal Brighton Chester Fallon Serooskerke Copenhagen Bolingbrook Norway Helsingør Kapolei London Cleckheaton Middenmeer Carine Traneberg Alkmaar Ossendrecht Crawley Stadshagen Spijkenisse Bruinisse Sofia Terschuur Otterburn Södermalm New Castle Oklahoma City Banning Del Rio St. Ignace Djurgården Volos Långholmen Mons Zuidschermer Papendrecht Springfield Přerov Marieberg Brigham City Stellendam Longtown Tripp Milies IJsselmuiden Negaunee Slidell Aberford Grand Rapids Cloncurry Strijen Hjorthagen Yucca Valley Lisburn Streefkerk Kesteren Beek, Montferland Courtmacsherry Bursa Tessenderlo Kungsholmen Gamla stan Traralgon Shorne Tokyo Earlswood Luton Purley Inverkeithing Cadnam Mollington Eccles West Wendover Tallinn Aarlanderveen Redlands 's-Gravenzande St John's Town of Dalry Madill South Shields Budapest Springsure Hoek Cheboygan Zbraslav Waverveen Alphen aan den Rijn Hämeenlinna Waddinxveen Naaldwijk Bandar-e Emam Khomeyni Vught Gorinchem South Mimms Joondalup Dover Ústí nad Labem Heumen Bad Nieuweschans Hachinohe Bremerton Vasastan Urmston Neeritter Liljeholmen Mullaghmore, County Sligo Kalmar Kruiningen Rome Dordrecht Hollis Soest Eastbourne Inverness Hollingworth Gröndal Velsen-Zuid Crystal Falls Morven Den Dolder Holtville Eijsden Khosravi Harlingen Workington Thurcroft Stoke-on-Trent Roermond Leuven Lennox Pocomoke City Los Algodones Doncaster Louny Tynemouth Almere Haven Aarsele Nieuw-Amsterdam, Drenthe Stora Essingen Den Hoorn, South Holland Tilburg Yankton Charlotte East Butterwick Kamerik Almere Stad Namur Exminster Colman Kalavryta Boise City Awkley Craigavon Rijkevoort Berlin Los Angeles Gouda Wendover Highnam Alblasserdam Fulwood, Lancashire Sylvania Vyborg Rijswijk Taipei Sunbury-on-Thames Rønne Gedser Leicester Blijham Stonington Calipatria Faribault Kengtung Ens Hoofddorp Krumbach Viola Hambrook Reno Topcliffe Johanneshov Lelystad Seaton Burn Hot Springs Mansfield Henryetta Årsta Ostrava Glanerbrug Kedonperä Macclesfield Dongara Westerland, Netherlands Diakopto Tampa Soesterberg Elkton Carrigaholt Nieuw- en Sint Joosland Greenwood Moscow Edgemont Nieuwe Pekela Edam Farmington Hills Lake Norden O'Fallon Driebergen-Rijsenburg Liverpool Hilversum Uddingston Flagstaff Perth Nieuwdorp Rapid City Meerkerk Oude-Tonge Yekaterinburg Beaumont Bellingwolde Lansing Troisvierges Bodmin Santa Monica Columbia Schoondijke Karlovy Vary Selden Siebengewald Chadderton Breda Gretna Swanley Didam Ehestorf Emmeloord Belfast Worsley Ishim Oslo Henderson Van Ewijcksluis El Cajon Sault Ste. Marie Alvik Nockeby Harrington Bainbridge Island Dupree Södra Hammarbyhamnen Gärdet Dinteloord Mount Surprise Beek, Ubbergen Chapel-en-le-Frith Zurich, Friesland Breukelen Walker San Antonio Waterford Stroud Liberec Galway Farsta strand Wedde Fredhäll Caldwell Cothen Worthing Sitia Bromsgrove Palmview Nieuwe Niedorp Wassenaar Savannah Anthony Petoskey Elsloo, Limburg Greenwich Bamber Bridge Eemnes Putte, Pays-Bas Diest Kristineberg
Moscow, Budapest and Berlin are the destinations of around 1 thoroughfares and roads
Moscow Budapest Berlin
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
value 1
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?t WHERE { VALUES ( ?z ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?h rdf:type ?z } GROUP BY ?t } . FILTER ( ?f = 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q270
P190
Q56061
USER
Are Warsaw sister town of those ones ?
(Q270,P190,Q649) (Q270,P190,Q1781) (Q270,P190,Q64)
action is_in
entity prev_answer
action find
entity Q270
relation P190
['Q270', 'P190', 'Q649'] ['Q270', 'P190', 'Q1781'] ['Q270', 'P190', 'Q64']
ASK WHERE { resource:Q270 property:P190 ?v . VALUES ( ?v ) { ( resource:Q1159408 ) ( resource:Q1866725 ) ( resource:Q81076 ) } }
Warsaw
action is_in
entity prev_answer
action find
entity Warsaw
relation sister city
['Warsaw', 'sister city', 'Moscow'] ['Warsaw', 'sister city', 'Budapest'] ['Warsaw', 'sister city', 'Berlin']
ASK WHERE { resource:Warsaw property:sister_city ?v . VALUES ( ?v ) { ( resource:Dandenong ) ( resource:Groenekan ) ( resource:Zierikzee ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q270,P190,Q649) (Q270,P190,Q1781) (Q270,P190,Q64)
action is_in
entity prev_answer
action find
entity Q270
relation P190
[ANSWER]
['Q270', 'P190', 'Q649'] ['Q270', 'P190', 'Q1781'] ['Q270', 'P190', 'Q64']
ASK WHERE { resource:Q270 property:P190 ?v . VALUES ( ?v ) { ( resource:Q1159408 ) ( resource:Q1866725 ) ( resource:Q81076 ) } }
Yes
action is_in
entity prev_answer
action find
entity Warsaw
relation sister city
['Warsaw', 'sister city', 'Moscow'] ['Warsaw', 'sister city', 'Budapest'] ['Warsaw', 'sister city', 'Berlin']
ASK WHERE { resource:Warsaw property:sister_city ?v . VALUES ( ?v ) { ( resource:Dandenong ) ( resource:Groenekan ) ( resource:Zierikzee ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q545187 Q6412890
P17
Q15617994
USER
Which administrative territories are Khuriabad, Kurdistan or Ilsin Station present in ?
OR((Q6412890,P17,c(Q15617994)), (Q545187,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6412890
relation P17
action find
entity Q545187
relation P17
type Q15617994
{'OR': [['Q6412890', 'P17', {'concept': 'Q15617994'}], ['Q545187', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?g ) { ( resource:Q6412890 ) ( resource:Q545187 ) } . ?g property:P17 ?a } . ?a rdf:type ontology:Q15617994 }
Ilsin Station Khuriabad, Kurdistan
action filter_type
action union
action find
entity Khuriabad, Kurdistan
relation country
action find
entity Ilsin Station
relation country
type designation for an administrative territorial entity
{'OR': [['Khuriabad, Kurdistan', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ilsin Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?g ) { ( resource:Khuriabad,_Kurdistan ) ( resource:Ilsin_Station ) } . ?g property:country ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884 Q794
SYSTEM
South Korea, Iran
Q884 Q794
OR((Q6412890,P17,c(Q15617994)), (Q545187,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6412890
relation P17
action find
entity Q545187
relation P17
type Q15617994
[ANSWERS] are Khuriabad, Kurdistan or Ilsin Station present in
{'OR': [['Q6412890', 'P17', {'concept': 'Q15617994'}], ['Q545187', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?g ) { ( resource:Q6412890 ) ( resource:Q545187 ) } . ?g property:P17 ?a } . ?a rdf:type ontology:Q15617994 }
South Korea Iran
South Korea and Iran are Khuriabad, Kurdistan or Ilsin Station present in
South Korea Iran
action filter_type
action union
action find
entity Khuriabad, Kurdistan
relation country
action find
entity Ilsin Station
relation country
type designation for an administrative territorial entity
{'OR': [['Khuriabad, Kurdistan', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ilsin Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?g ) { ( resource:Khuriabad,_Kurdistan ) ( resource:Ilsin_Station ) } . ?g property:country ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q50862
P530
Q15617994
USER
Do Schwanebeck have ambassadorial relations with those ones ?
(Q50862,P530,Q884) (Q50862,P530,Q794)
action is_in
entity prev_answer
action find
entity Q50862
relation P530
['Q50862', 'P530', 'Q884'] ['Q50862', 'P530', 'Q794']
ASK WHERE { resource:Q50862 property:P530 ?v . VALUES ( ?v ) { ( resource:Q884 ) ( resource:Q794 ) } }
Schwanebeck
action is_in
entity prev_answer
action find
entity Schwanebeck
relation diplomatic relation
['Schwanebeck', 'diplomatic relation', 'South Korea'] ['Schwanebeck', 'diplomatic relation', 'Iran']
ASK WHERE { resource:Schwanebeck property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:South_Korea ) ( resource:Iran ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q50862,P530,Q884) (Q50862,P530,Q794)
action is_in
entity prev_answer
action find
entity Q50862
relation P530
[ANSWER]
['Q50862', 'P530', 'Q884'] ['Q50862', 'P530', 'Q794']
ASK WHERE { resource:Q50862 property:P530 ?v . VALUES ( ?v ) { ( resource:Q884 ) ( resource:Q794 ) } }
No
action is_in
entity prev_answer
action find
entity Schwanebeck
relation diplomatic relation
['Schwanebeck', 'diplomatic relation', 'South Korea'] ['Schwanebeck', 'diplomatic relation', 'Iran']
ASK WHERE { resource:Schwanebeck property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:South_Korea ) ( resource:Iran ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with min number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?w ) WHERE { ?l property:P530 ?h . ?l rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?l } } . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?q ) WHERE { ?m property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } . FILTER ( ?q = ?y ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?w ) WHERE { ?l property:diplomatic_relation ?h . ?l rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } } . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?q ) WHERE { ?m property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } . FILTER ( ?q = ?y ) }
[]
designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relations with min number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?w ) WHERE { ?l property:P530 ?h . ?l rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?l } } . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?q ) WHERE { ?m property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } . FILTER ( ?q = ?y ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon, Grenada and Papua New Guinea have diplomatic relations with min number of administrative territories
Gabon Grenada Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?w ) WHERE { ?l property:diplomatic_relation ?h . ?l rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } } . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?q ) WHERE { ?m property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } . FILTER ( ?q = ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23319884 Q497025
P27
Q1048835
USER
Which political territories are the countries of citizenship of Andreas Enkelmann or Ashley Kelly ?
OR((Q497025,P27,c(Q1048835)), (Q23319884,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q497025
relation P27
action find
entity Q23319884
relation P27
type Q1048835
{'OR': [['Q497025', 'P27', {'concept': 'Q1048835'}], ['Q23319884', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?p ) { ( resource:Q497025 ) ( resource:Q23319884 ) } . ?p property:P27 ?o } . ?o rdf:type ontology:Q1048835 }
Ashley Kelly Andreas Enkelmann
action filter_type
action union
action find
entity Andreas Enkelmann
relation country of citizenship
action find
entity Ashley Kelly
relation country of citizenship
type political territorial entity
{'OR': [['Andreas Enkelmann', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ashley Kelly', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?p ) { ( resource:Andreas_Enkelmann ) ( resource:Ashley_Kelly ) } . ?p property:country_of_citizenship ?o } . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q25305 Q183
SYSTEM
British Virgin Islands, Germany
Q25305 Q183
OR((Q497025,P27,c(Q1048835)), (Q23319884,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q497025
relation P27
action find
entity Q23319884
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Andreas Enkelmann or Ashley Kelly
{'OR': [['Q497025', 'P27', {'concept': 'Q1048835'}], ['Q23319884', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?p ) { ( resource:Q497025 ) ( resource:Q23319884 ) } . ?p property:P27 ?o } . ?o rdf:type ontology:Q1048835 }
British Virgin Islands Germany
British Virgin Islands and Germany are the countries of citizenship of Andreas Enkelmann or Ashley Kelly
British Virgin Islands Germany
action filter_type
action union
action find
entity Andreas Enkelmann
relation country of citizenship
action find
entity Ashley Kelly
relation country of citizenship
type political territorial entity
{'OR': [['Andreas Enkelmann', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ashley Kelly', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?p ) { ( resource:Andreas_Enkelmann ) ( resource:Ashley_Kelly ) } . ?p property:country_of_citizenship ?o } . ?o rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4422031 Q6412890
P17
Q15617994
USER
Which administrative territories do Khuriabad, Kurdistan or Skobychivske belong to ?
OR((Q6412890,P17,c(Q15617994)), (Q4422031,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6412890
relation P17
action find
entity Q4422031
relation P17
type Q15617994
{'OR': [['Q6412890', 'P17', {'concept': 'Q15617994'}], ['Q4422031', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4422031 property:P17 ?v } UNION { resource:Q6412890 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Skobychivske Khuriabad, Kurdistan
action filter_type
action union
action find
entity Khuriabad, Kurdistan
relation country
action find
entity Skobychivske
relation country
type designation for an administrative territorial entity
{'OR': [['Khuriabad, Kurdistan', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Skobychivske', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Skobychivske property:country ?v } UNION { resource:Khuriabad,_Kurdistan property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q794
SYSTEM
Ukraine, Iran
Q212 Q794
OR((Q6412890,P17,c(Q15617994)), (Q4422031,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6412890
relation P17
action find
entity Q4422031
relation P17
type Q15617994
[ANSWERS] Khuriabad, Kurdistan or Skobychivske belong to
{'OR': [['Q6412890', 'P17', {'concept': 'Q15617994'}], ['Q4422031', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4422031 property:P17 ?v } UNION { resource:Q6412890 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Ukraine Iran
Ukraine and Iran Khuriabad, Kurdistan or Skobychivske belong to
Ukraine Iran
action filter_type
action union
action find
entity Khuriabad, Kurdistan
relation country
action find
entity Skobychivske
relation country
type designation for an administrative territorial entity
{'OR': [['Khuriabad, Kurdistan', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Skobychivske', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Skobychivske property:country ?v } UNION { resource:Khuriabad,_Kurdistan property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]