Simple Question (Direct)
Simple Question
Q120133
P937
Q56061
USER
What is the location where Laurent Favre worked ?
(Q120133,P937,c(Q56061))
action filter_type
action find
entity Q120133
relation P937
type Q56061
['Q120133', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q120133 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Laurent Favre
action filter_type
action find
entity Laurent Favre
relation work location
type administrative territorial entity
['Laurent Favre', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Laurent_Favre property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q70
SYSTEM
Bern
Q70
(Q120133,P937,c(Q56061))
action filter_type
action find
entity Q120133
relation P937
type Q56061
The location Laurent Favre worked is in [ANSWER]
['Q120133', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q120133 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Bern
The location Laurent Favre worked is in Bern
Bern
action filter_type
action find
entity Laurent Favre
relation work location
type administrative territorial entity
['Laurent Favre', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Laurent_Favre property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q120133
P102
Q7210356
USER
Which parties do that person belong to ?
(Q70,P102,c(Q7210356))
action filter_type
action find
entity Q120133
relation P102
type Q7210356
['Q70', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q120133 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Laurent Favre
action filter_type
action find
entity Laurent Favre
relation member of political party
type political organization
['Bern', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Laurent_Favre property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
political organization
Q13850128 Q202638
SYSTEM
Free Democratic Party of Switzerland, The Liberals
Q13850128 Q202638
(Q70,P102,c(Q7210356))
action filter_type
action find
entity Q120133
relation P102
type Q7210356
That person belong to [ANSWERS]
['Q70', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q120133 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Free Democratic Party of Switzerland The Liberals
That person belong to Free Democratic Party of Switzerland and The Liberals
Free Democratic Party of Switzerland The Liberals
action filter_type
action find
entity Laurent Favre
relation member of political party
type political organization
['Bern', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Laurent_Favre property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2857140
P102
Q502895
USER
Does Antonin Varenne belong to the political party named those ones ?
(Q2857140,P102,Q13850128) (Q2857140,P102,Q202638)
action is_in
entity prev_answer
action find
entity Q2857140
relation P102
['Q2857140', 'P102', 'Q13850128'] ['Q2857140', 'P102', 'Q202638']
ASK WHERE { VALUES ( ?v ) { ( resource:Q13850128 ) ( resource:Q202638 ) } . resource:Q2857140 property:P102 ?v }
Antonin Varenne
action is_in
entity prev_answer
action find
entity Antonin Varenne
relation member of political party
['Antonin Varenne', 'member of political party', 'Free Democratic Party of Switzerland'] ['Antonin Varenne', 'member of political party', 'The Liberals']
ASK WHERE { VALUES ( ?v ) { ( resource:Free_Democratic_Party_of_Switzerland ) ( resource:The_Liberals ) } . resource:Antonin_Varenne property:member_of_political_party ?v }
[]
common name
SYSTEM
NO
(Q2857140,P102,Q13850128) (Q2857140,P102,Q202638)
action is_in
entity prev_answer
action find
entity Q2857140
relation P102
[ANSWER]
['Q2857140', 'P102', 'Q13850128'] ['Q2857140', 'P102', 'Q202638']
ASK WHERE { VALUES ( ?v ) { ( resource:Q13850128 ) ( resource:Q202638 ) } . resource:Q2857140 property:P102 ?v }
No
action is_in
entity prev_answer
action find
entity Antonin Varenne
relation member of political party
['Antonin Varenne', 'member of political party', 'Free Democratic Party of Switzerland'] ['Antonin Varenne', 'member of political party', 'The Liberals']
ASK WHERE { VALUES ( ?v ) { ( resource:Free_Democratic_Party_of_Switzerland ) ( resource:The_Liberals ) } . resource:Antonin_Varenne property:member_of_political_party ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q70 Q34713
P190
Q56061
USER
Is Salzburg partner town of Bern ?
(Q70,P190,Q34713)
action is_in
entity Q34713
action find
entity Q70
relation P190
['Q70', 'P190', 'Q34713']
ASK WHERE { resource:Q70 property:P190 resource:Q34713 }
Bern Salzburg
action is_in
entity Salzburg
action find
entity Bern
relation sister city
['Bern', 'sister city', 'Salzburg']
ASK WHERE { resource:Bern property:sister_city resource:Salzburg }
[]
administrative territorial entity
SYSTEM
YES
(Q70,P190,Q34713)
action is_in
entity Q34713
action find
entity Q70
relation P190
[ANSWER]
['Q70', 'P190', 'Q34713']
ASK WHERE { resource:Q70 property:P190 resource:Q34713 }
Yes
action is_in
entity Salzburg
action find
entity Bern
relation sister city
['Bern', 'sister city', 'Salzburg']
ASK WHERE { resource:Bern property:sister_city resource:Salzburg }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q70
P6
Q502895
USER
Who is the head of the government of Bern?
action filter_type
action find
entity Q70
relation P6
type Q502895
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q70 property:P6 ?e }
Bern
action filter_type
action find
entity Bern
relation head of government
type common name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Bern property:head_of_government ?e }
[]
common name
Q74144
SYSTEM
Alexander Tschäppät
Q74144
action filter_type
action find
entity Q70
relation P6
type Q502895
The head of the government of Bern is the [ANSWER]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q70 property:P6 ?e }
Alexander Tschäppät
The head of the government of Bern is the Alexander Tschäppät
Alexander Tschäppät
action filter_type
action find
entity Bern
relation head of government
type common name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Bern property:head_of_government ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q74144 Q372447
P27
Q15617994
USER
Is that person a civilian of Dambach, Germany ?
(Q74144,P27,Q372447)
action is_in
entity Q372447
action find
entity Q74144
relation P27
['Q74144', 'P27', 'Q372447']
ASK WHERE { resource:Q74144 property:P27 resource:Q372447 }
Alexander Tschäppät Dambach, Germany
action is_in
entity Dambach, Germany
action find
entity Alexander Tschäppät
relation country of citizenship
['Alexander Tschäppät', 'country of citizenship', 'Dambach, Germany']
ASK WHERE { resource:Alexander_Tschäppät property:country_of_citizenship resource:Dambach,_Germany }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q74144,P27,Q372447)
action is_in
entity Q372447
action find
entity Q74144
relation P27
[ANSWER]
['Q74144', 'P27', 'Q372447']
ASK WHERE { resource:Q74144 property:P27 resource:Q372447 }
No
action is_in
entity Dambach, Germany
action find
entity Alexander Tschäppät
relation country of citizenship
['Alexander Tschäppät', 'country of citizenship', 'Dambach, Germany']
ASK WHERE { resource:Alexander_Tschäppät property:country_of_citizenship resource:Dambach,_Germany }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q932008
P206
Q355304 Q337567 Q56061
USER
How many administrative territories are located next to around the same number of watercourses or still waterss as Maarssen ?
(c(Q56061),P206,c(Q355304)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q932008
relation P206
type Q355304
type Q337567
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q932008 property:P206 ?n . { { ?n rdf:type ontology:Q355304 } UNION { ?n rdf:type ontology:Q337567 } } } } . FILTER ( ?b = ?h ) . { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?b ) WHERE { VALUES ( ?l ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?x rdf:type ?l } GROUP BY ?r } }
Maarssen
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Maarssen
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Maarssen property:located_next_to_body_of_water ?n . { { ?n rdf:type ontology:watercourse } UNION { ?n rdf:type ontology:still_waters } } } } . FILTER ( ?b = ?h ) . { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?b ) WHERE { VALUES ( ?l ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?x rdf:type ?l } GROUP BY ?r } }
[]
watercourse still waters administrative territorial entity
SYSTEM
557
Q165736 Q991950 Q1721578 Q84 Q2003600 Q18682792 Q157478 Q2255397 Q2752171 Q539767 Q3876 Q990253 Q1586529 Q3246724 Q740149 Q23311 Q3238 Q3143983 Q41057 Q16650704 Q2207185 Q2222516 Q3844 Q18682692 Q2047623 Q10014 Q643835 Q515728 Q321197 Q7054 Q2335714 Q2454052 Q11882295 Q1520342 Q3150 Q18682889 Q16168559 Q10084 Q846242 Q1083051 Q18808 Q985642 Q369911 Q1309 Q991532 Q4093 Q955992 Q144773 Q3659 Q609698 Q1780116 Q1667345 Q2415951 Q987 Q2451654 Q6672525 Q11874170 Q254734 Q577891 Q631517 Q13648690 Q175258 Q209176 Q1754096 Q746096 Q2135238 Q653025 Q2284683 Q162857 Q1521199 Q1757 Q1025910 Q1754 Q4201085 Q769631 Q7977 Q15377069 Q571970 Q2987335 Q1685683 Q15241516 Q257034 Q2500974 Q1252635 Q9365 Q9361 Q47048 Q90 Q1519942 Q3563897 Q986645 Q2441552 Q588293 Q486792 Q1610396 Q371532 Q385386 Q3397397 Q956954 Q34820 Q2726062 Q9375247 Q625761 Q1930 Q786111 Q2007261 Q1033978 Q2539726 Q2305394 Q20205325 Q17332337 Q597 Q73462 Q3183256 Q2287228 Q3036324 Q20714928 Q185404 Q93347 Q3894 Q3748 Q11901685 Q15320 Q365 Q5836 Q1020231 Q641390 Q1845104 Q572034 Q26362 Q624065 Q11866294 Q2465220 Q617407 Q179454 Q3323 Q2060859 Q8546656 Q206954 Q16015040 Q3026650 Q478036 Q18923859 Q9270 Q2886833 Q635806 Q1779522 Q2916660 Q968631 Q24861 Q1526933 Q1009524 Q7018666 Q427708 Q160642 Q14935628 Q174054 Q163091 Q2078223 Q185582 Q3483520 Q73221 Q9326 Q156717 Q573599 Q9918 Q1520 Q11902175 Q1646181 Q1776515 Q554655 Q28218 Q4527424 Q2861 Q793 Q621483 Q6477002 Q18682920 Q1614071 Q43070 Q932008 Q3703 Q2227038 Q2059003 Q37133 Q2069566 Q314367 Q2525207 Q2598092 Q997775 Q550373 Q2174345 Q2627252 Q504544 Q3630 Q200783 Q18682241 Q4070552 Q16636995 Q1165854 Q5474003 Q755657 Q3832 Q239 Q4083 Q1094123 Q733368 Q15377091 Q995159 Q508998 Q2300996 Q2379952 Q1004822 Q238803 Q932955 Q1908062 Q196397 Q542647 Q948468 Q145638 Q894535 Q1563 Q523651 Q987790 Q2543792 Q18682719 Q1223508 Q2335535 Q1042366 Q2391779 Q85 Q15241507 Q533456 Q9536 Q10707890 Q11901984 Q2255057 Q2933890 Q1487909 Q629786 Q2229853 Q737877 Q2918470 Q73031 Q2543086 Q1735 Q1143278 Q984973 Q773280 Q2950738 Q2924158 Q19297212 Q3856 Q3010939 Q1785679 Q36281 Q7481520 Q6278969 Q70 Q425780 Q3743068 Q1648515 Q1390389 Q1585348 Q1390387 Q2321706 Q12191 Q3674 Q7507390 Q15339 Q5912898 Q992474 Q172 Q270 Q1957 Q109535 Q2336499 Q1519434 Q690 Q1906235 Q3274 Q285323 Q961068 Q1807382 Q11899935 Q537214 Q18681966 Q109386 Q2729544 Q2160909 Q3051477 Q920968 Q192098 Q15241652 Q26296883 Q18663090 Q5189288 Q649738 Q715 Q567332 Q4374268 Q3001 Q21197 Q10717 Q1129607 Q1018225 Q180333 Q543904 Q592123 Q990651 Q2578642 Q7107283 Q654259 Q2842582 Q437 Q390588 Q3551 Q1265670 Q384 Q858775 Q865808 Q2329846 Q1780 Q1781 Q658902 Q6397865 Q2659563 Q1003576 Q2529554 Q2682753 Q11897598 Q4067724 Q914755 Q227064 Q1850 Q1070428 Q477232 Q1314479 Q1490863 Q285778 Q2807 Q4357920 Q35381 Q259617 Q3604 Q3407596 Q4405293 Q959517 Q5638429 Q4207520 Q183104 Q17315652 Q2225806 Q1025055 Q2424732 Q2538313 Q208143 Q806414 Q593141 Q1785595 Q165486 Q3739 Q2637838 Q16015068 Q2787064 Q1823092 Q617 Q952497 Q181359 Q1243780 Q19613854 Q1012411 Q15241991 Q11902896 Q19906849 Q2574529 Q155955 Q34713 Q5068781 Q183199 Q2350941 Q1545679 Q10690 Q915 Q1200892 Q161912 Q3028239 Q1997485 Q11889617 Q674395 Q2007254 Q2911365 Q1538830 Q12047 Q2267399 Q671557 Q1043368 Q4454 Q1800099 Q9974 Q989288 Q987243 Q614706 Q2927534 Q276274 Q1792879 Q2511670 Q1423660 Q345389 Q1721184 Q3909 Q2931074 Q7056872 Q1026296 Q755389 Q1011866 Q736131 Q41572 Q306440 Q3766 Q9125 Q1861 Q15552182 Q1870405 Q868647 Q2194010 Q12439 Q83065 Q269 Q1794939 Q2392235 Q661700 Q1947 Q2674551 Q1981987 Q162065 Q2751941 Q676689 Q2498737 Q939609 Q1533868 Q795623 Q840681 Q922981 Q2077402 Q2784834 Q2351343 Q166065 Q985659 Q971550 Q13400194 Q18681979 Q2868 Q1886770 Q5132825 Q2682566 Q40747 Q2087380 Q820949 Q649 Q304108 Q77056 Q58940 Q894955 Q2579332 Q504678 Q990527 Q2014445 Q2948574 Q990130 Q427044 Q28848 Q3112541 Q598948 Q12762569 Q806799 Q910997 Q766896 Q2830827 Q586 Q585 Q34370 Q954764 Q15287 Q1734018 Q1669399 Q16531502 Q630478 Q9279 Q11901684 Q2124272 Q2704 Q986675 Q1270505 Q1713141 Q579556 Q11900887 Q65502 Q464955 Q508056 Q506700 Q6899495 Q11873187 Q963894 Q2627415 Q2281721 Q2319224 Q204234 Q787279 Q750760 Q19613699 Q988100 Q1006998 Q353307 Q1025353 Q2432955 Q55630 Q7618827 Q4100 Q4914513 Q16016733 Q3361880 Q878809 Q4998230 Q19612988 Q3726 Q57006 Q1742334 Q5674391 Q570990 Q36168 Q956125 Q630334 Q2051589 Q1553283 Q2409481 Q1341 Q578026 Q1964137 Q503763 Q2355915 Q2303243 Q1531454 Q1017 Q18399563 Q2350685 Q15241523 Q1850580 Q2585002 Q1522881 Q5646331 Q179385 Q1248930 Q11901400 Q1728043 Q1743660 Q1085
(c(Q56061),P206,c(Q355304)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q932008
relation P206
type Q355304
type Q337567
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q932008 property:P206 ?n . { { ?n rdf:type ontology:Q355304 } UNION { ?n rdf:type ontology:Q337567 } } } } . FILTER ( ?b = ?h ) . { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?b ) WHERE { VALUES ( ?l ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?x rdf:type ?l } GROUP BY ?r } }
Doesburg Karczew Tagazar London Walton-on-Thames Vaattojärvi Lesozavodsk Uitdam Ardnacrusha Ivalo Lilongwe Henley-on-Thames Rothneusiedl Bisham Södermalm City of London Tegucigalpa Lekkerkerk Topeka Innokent'evka Terneuzen Sansané Haoussa Brazzaville Kirkonkylä Strzyżów Kampen Arfurt Harburg-Wilhelmsburg Cieszyn Dalnegorsk Steeden Olney Metsäkylä Turvey Jena Väli-Olhava Novozhatkovo Vlissingen Nieuw-Lekkerland Swanscombe Pyongyang Góra Kalwaria Athlone Maastricht Grays Glasgow Kobryn Zakroczym N'Djamena Lorain Cold Brayfield Marienwerder Whitchurch-on-Thames New Delhi Trentemoult Long Ditton Kätkäsuvanto Äkäslompolo East St. Louis Marivan Taradei Novosil Ely Weybridge North Shields East Tilbury Bergambacht Mobridge Kourfeye Centre Great Barford Helsinki Maïné-Soroa Stockholm Innishannon Drohiczyn Priozersk Zellerfeld Torgelow East Cowes Jean Marie River Alchan Kemble Richmond Doulsou Dushanbe Bishkek Oulu Paris Bromham Vyadhapura Imanan Tondikandia Sonning Aranjuez Egham Hythe Lisala Spakenburg Radley Kaspi Santo Domingo Westmaas Winniki Bandipore Ottawa Kokorou N'Gonga Canvey Island Ashton Keynes Karesuvanto Hattian Dupatta Grand Forks, Yukon Lisbon Zaltbommel Opheusden Simmering Pangbourne Port Famine Bundaberg Mostar Kampala Monrovia Virkkula Syasstroy Cologne Toledo Newport Pagnell Breskens Little Thetford Eggesin Lebus Molesey Jeesiö Putney Eton Pitkyaranta Belgorod Nieuw-Beijerland Hurley Kastoria Ariadnoye Lexmond Schoonhoven Busse Thimphu Basildon, Berkshire Runkel Kolmane Brakel Corringham, Essex Albany Hacking Whalley Newnham Murren Chamberlain Salisbury Lune River Isola Bella Zwiesel Kelmscott Knoxville Siggebohyttan Tiel Vientiane Khmelnytskyi Weilburg Enkhuizen Astana Väylä Worcester New Bradwell Ronneburg Baton Rouge Shuyskoye, Vologda Oblast Rostock Zwolle Villmar Vuotso Yli-Olhava Dodewaard Donetsk Maarssen Bamako Warder, Netherlands Bourne End Mariupol Penzing Tunxdorf Ochten Shorne Palojoensuu Godstow Rudolfsheim Katwijk aan den Rijn Ellingen Jakarta Monschau Mankila Arkhangelovka Glazovka Dargol Köngäs Athlunkard Bangui Brussels Eschweiler Rhoda Island Hoofdplaat Clausthal Ciechanowiec Marlow Caversham, Berkshire Moulsford Bumba, Democratic Republic of the Congo Maidenhead Scharsterbrug Matankari Sortavala Méhana Carabane Kashira Bosso Havana St Mary Hoo Inagh Youri Tepasto Ohrid Deest Lilla Essingen Tamou Cairo Arkhipovka Cricklade Bad Doberan Olhava Vuontisjärvi Iffley Stoneleigh Sinder Wraysbury Velsen-Noord Termunten Rossum, Gelderland Kessel Blanchland Innsbruck Twickenham Laleham Aumenau Waarde Bray Neuses Nicosia Salmon Arm Sambéra Roseau Wolvercote Jormua Bern 's-Gravendeel Muonio Tounouga Landön Harikanassou Fabidji Kingston upon Thames Nantes Niamey Sicamous, British Columbia Shlisselburg Houghton, Cambridgeshire Taplow Toronto Warsaw Vologda Zutphen Higham, Kent Carlton Delft Łomianki Managua Staines-upon-Thames Chétimari Muiderberg Vaalajärvi Prenzlau Kaukonen Nampho Rotterdam Centrum Rodaun Ellewoutsdijk Nellim Oymyakon Busse Deventer Ylikiiminki Crowmarsh Gifford Alto Douro Heilbronn Annopol Mapledurham Paramaribo Chișinău Georgetown Cookham St Neots Foča Bagdad, Tamaulipas Medmenham Kozienice Purley on Thames Osney Bukoba Ameide Ljubljana Metković Rabat Dungass Skopje Dartford Birni N'Gaouré Sandford-on-Thames Bratislava Budapest Otley Keväjärvi Little Wittenham Say Old Windsor Werkendam Tikkaperä Anuchino Dogo Zoutelande Phnom Penh Chertsey Aktobe Sorbon Haoussa Gaden bei Pförring Datchet Madrid Kuttura Colombo Wasserburg am Inn Djibouti Kennington, Oxfordshire Fobbing Koygolo Hafslundsøy Kazakevichevo Feldkirch Siikajoenkylä Sassoumbroum Kruiningen Zuilichem Wacha Wigan Bandé Philip Kourteye Kempston Bissau Vlissingen-Oost Venyukovo Long Wittenham Liboré Padua Letterkenny Talavera de la Reina Dorchester on Thames Bogoslovka Culham Nizhnie Luzhki Ylläsjärvi Novorossiyka Stanford-le-Hope Kuybyshev Salzburg Chalk, Kent Ioannina Scharwoude, Koggenland Shepperton Cardiff Perm Dessa Solec Kujawski Greenhithe Littleport Raattama Bovenkarspel N'Dounga Borssele Gothèye Mügeln Krimpen aan de Lek Brackley Stora Essingen Khabarovsk Wytham Weesp Yankton Kollo Anzourou Allhallows Wolverton Canning Town Tima Hütteldorf Łochów Kahlenbergerdorf Maseru Termunterzijl North Stoke, Oxfordshire Jinotega Athenry Tillabéri Alblasserdam Mykolaiv Abbeyfeale Damascus Winterthur Bangkok Tikhmenevo Lorrha Southport Sunbury-on-Thames Detroit Leicester Tashkent Kwaya Tanda Sankt Andreasberg Juba West Tilbury Neuwaldegg Dishoek South Stoke, Oxfordshire Gravesend Dorney Lechlade Godmanchester Oud-Beijerland Kinsale Mijnsheerenland Aldeburgh Dreumel Benson, Oxfordshire Lelystad Ciechocinek West Thurrock Dornbach Kelontekemä Lima Malawa Cliffe, Kent Clifton Hampden Pierre Northfleet Gougane Barra Moscow Isola dei Pescatori Edam Capolago Boubon Appleford-on-Thames Berwick-upon-Tweed Diffa Bath, Netherlands Champ d'Asile Hook of Holland Guilladjé Saint Paul Vuren Wargrave Arenibek Bankilaré Wyszków Gaya Remenham Bonn Oslo Rotterdam Thames Ditton Novaya Ladoga Karma Killorglin Baryshevo Rixensart Bandar Seri Begawan Virmaila Maasdam Pescara Gorouol Deline Juliusplate Labasa Venetpalo Bönigen Windsor Filingué Ueckermünde Mongewell Kuivaniemi Kilrush Schellinkhout Teddington Goring-on-Thames Milton Keynes Stony Stratford Sliedrecht Beloyarovo Wallingford Sutton Courtenay Addlestone Cadzand-Bad Isleworth Novi Sad Stone, Kent Baden-Baden Binsey, Oxfordshire Orlinoye Schardam Bitinkodji Burcot, Oxfordshire Abaykan Banjul Emmerich am Rhein Kiota Hartford, Cambridgeshire Lakewood Bridgetown Kouré Bad Berka Streatley, Berkshire Gueskérou Little Thurrock Tolyatti Kleszczele Namaro Pappenheim Czyżew Shiplake Glin Aachen Argunskoye Tolhuin Abramovka Hambleden Brockham Killaloe, County Clare Hampton Wick Greenwich Bishop's Waltham Vikajärvi Sheremetyevo Kirtachi Prague
557
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Maarssen
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Maarssen property:located_next_to_body_of_water ?n . { { ?n rdf:type ontology:watercourse } UNION { ?n rdf:type ontology:still_waters } } } } . FILTER ( ?b = ?h ) . { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?b ) WHERE { VALUES ( ?l ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?x rdf:type ?l } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1729
P206
Q355304 Q337567 Q56061
USER
And how about Erfurt?
(c(Q56061),P206,c(Q355304)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q1729
relation P206
type Q355304
type Q337567
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?a WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Q1729 property:P206 ?n . { { ?n rdf:type ontology:Q355304 } UNION { ?n rdf:type ontology:Q337567 } } } } . FILTER ( ?t = ?k ) }
Erfurt
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Erfurt
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?a WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:watercourse ) ( ontology:still_waters ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Erfurt property:located_next_to_body_of_water ?n . { { ?n rdf:type ontology:watercourse } UNION { ?n rdf:type ontology:still_waters } } } } . FILTER ( ?t = ?k ) }
[]
watercourse still waters administrative territorial entity
SYSTEM
46
Q1718 Q305067 Q898 Q3711 Q83178 Q895123 Q934511 Q387502 Q1022 Q251091 Q103255 Q2599767 Q379531 Q793407 Q903595 Q925506 Q13403152 Q1842 Q740066 Q988658 Q995806 Q3037 Q987797 Q2090 Q23564 Q3828 Q134620 Q1025014 Q1737 Q14945 Q503640 Q569804 Q1729 Q61 Q1567437 Q1591499 Q3640 Q647 Q727 Q140147 Q79848 Q820024 Q220 Q2235 Q216 Q615732
(c(Q56061),P206,c(Q355304)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q1729
relation P206
type Q355304
type Q337567
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?a WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Q1729 property:P206 ?n . { { ?n rdf:type ontology:Q355304 } UNION { ?n rdf:type ontology:Q337567 } } } } . FILTER ( ?t = ?k ) }
Düsseldorf Gniew Omsk Belgrade Almere Boumba Papendrecht Świecie Stuttgart Athy Alatyr Yatakala Heiligenstadt Ayourou Volendam Brok Loenen aan de Vecht Luxembourg Kinderdijk Połaniec Dobrzyń nad Wisłą Kathmandu Leixlip Nuremberg Podgorica Dessau-Roßlau Jyväskylä Inari Bregenz Merseburg Gunzenhausen Wyszogród Erfurt Washington, D.C. Hadersdorf-Weidlingau Havelse Ankara Rennes Amsterdam Brest Southampton Kupiškis Rome Veliky Novgorod Vilnius Breukelen
46
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Erfurt
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) ?a WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:watercourse ) ( ontology:still_waters ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Erfurt property:located_next_to_body_of_water ?n . { { ?n rdf:type ontology:watercourse } UNION { ?n rdf:type ontology:still_waters } } } } . FILTER ( ?t = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q304061
P725
Q502895 Q2342494
USER
How many collectables had their voice dubbing done by more number of people than Kyo Kara Maoh! ?
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q304061
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?o ) WHERE { ?z property:P725 ?a . ?z rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?o > ?p ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q304061 property:P725 ?j . ?j rdf:type ontology:Q2342494 } } }
Kyo Kara Maoh!
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Kyo Kara Maoh!
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?o ) WHERE { ?z property:voice_actor ?a . ?z rdf:type ontology:collectable . ?a rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?o > ?p ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Kyo_Kara_Maoh! property:voice_actor ?j . ?j rdf:type ontology:collectable } } }
[]
common name collectable
SYSTEM
7
Q50035 Q483263 Q482870 Q1204015 Q485958 Q53351 Q5647726
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q304061
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?o ) WHERE { ?z property:P725 ?a . ?z rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?o > ?p ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q304061 property:P725 ?j . ?j rdf:type ontology:Q2342494 } } }
Nyaruko: Crawling with Love Baka and Test Boku wa Tomodachi ga Sukunai Ōkami Kakushi Ro-Kyu-Bu! Accel World Handy Manny's Motorcycle Adventure
7
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Kyo Kara Maoh!
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?o ) WHERE { ?z property:voice_actor ?a . ?z rdf:type ontology:collectable . ?a rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?o > ?p ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Kyo_Kara_Maoh! property:voice_actor ?j . ?j rdf:type ontology:collectable } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q184667
P725
Q502895 Q2342494
USER
And what about Kanojo ga Flag o Oraretara?
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q184667
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?m ) WHERE { ?h property:P725 ?u . ?h rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:Q2342494 . resource:Q184667 property:P725 ?v } } . FILTER ( ?m > ?j ) }
Kanojo ga Flag o Oraretara
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Kanojo ga Flag o Oraretara
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?m ) WHERE { ?h property:voice_actor ?u . ?h rdf:type ontology:collectable . ?u rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:collectable . resource:Kanojo_ga_Flag_o_Oraretara property:voice_actor ?v } } . FILTER ( ?m > ?j ) }
[]
common name collectable
SYSTEM
7
Q50035 Q483263 Q482870 Q1204015 Q485958 Q53351 Q5647726
(c(Q2342494),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q184667
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?m ) WHERE { ?h property:P725 ?u . ?h rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:Q2342494 . resource:Q184667 property:P725 ?v } } . FILTER ( ?m > ?j ) }
Nyaruko: Crawling with Love Baka and Test Boku wa Tomodachi ga Sukunai Ōkami Kakushi Ro-Kyu-Bu! Accel World Handy Manny's Motorcycle Adventure
7
action count
action greater
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Kanojo ga Flag o Oraretara
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?m ) WHERE { ?h property:voice_actor ?u . ?h rdf:type ontology:collectable . ?u rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:collectable . resource:Kanojo_ga_Flag_o_Oraretara property:voice_actor ?v } } . FILTER ( ?m > ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q92689 Q1729
P190
Q56061
USER
Which administrative territories are twin cities of Erfurt or Sopot ?
OR((Q1729,P190,c(Q56061)), (Q92689,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1729
relation P190
action find
entity Q92689
relation P190
type Q56061
{'OR': [['Q1729', 'P190', {'concept': 'Q56061'}], ['Q92689', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1729 property:P190 ?v } UNION { resource:Q92689 property:P190 ?v } } . ?v rdf:type ontology:Q56061 }
Sopot Erfurt
action filter_type
action union
action find
entity Erfurt
relation sister city
action find
entity Sopot
relation sister city
type administrative territorial entity
{'OR': [['Erfurt', 'sister city', {'concept': 'administrative territorial entity'}], ['Sopot', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Erfurt property:sister_city ?v } UNION { resource:Sopot property:sister_city ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q134494 Q41621 Q986627 Q44255 Q189328 Q648 Q216 Q60956 Q13329 Q771251
SYSTEM
Győr, Haifa, Shawnee, San Miguel de Tucumán, Lovech, Lille, Vilnius, Ashkelon, Piacenza, Kati
Q134494 Q41621 Q986627 Q44255 Q189328 Q648 Q216 Q60956 Q13329 Q771251
OR((Q1729,P190,c(Q56061)), (Q92689,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1729
relation P190
action find
entity Q92689
relation P190
type Q56061
[ANSWERS] are twin cities of Erfurt or Sopot
{'OR': [['Q1729', 'P190', {'concept': 'Q56061'}], ['Q92689', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1729 property:P190 ?v } UNION { resource:Q92689 property:P190 ?v } } . ?v rdf:type ontology:Q56061 }
Győr Haifa Shawnee San Miguel de Tucumán Lovech Lille Vilnius Ashkelon Piacenza Kati
Győr, Haifa, Shawnee, San Miguel de Tucumán, Lovech, Lille, Vilnius, Ashkelon, Piacenza and Kati are twin cities of Erfurt or Sopot
Győr Haifa Shawnee San Miguel de Tucumán Lovech Lille Vilnius Ashkelon Piacenza Kati
action filter_type
action union
action find
entity Erfurt
relation sister city
action find
entity Sopot
relation sister city
type administrative territorial entity
{'OR': [['Erfurt', 'sister city', {'concept': 'administrative territorial entity'}], ['Sopot', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Erfurt property:sister_city ?v } UNION { resource:Sopot property:sister_city ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q13850128
P21 P102
Q502895
USER
Which people are members of Free Democratic Party of Switzerland and have male as the sex ?
AND((c(Q502895),P102,Q13850128), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q13850128
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q13850128'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a property:P102 resource:Q13850128 . ?a property:P21 resource:Q6581097 . ?a rdf:type ontology:Q502895 }
male Free Democratic Party of Switzerland
action filter_type
action intersection
action find_reverse
entity Free Democratic Party of Switzerland
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Free Democratic Party of Switzerland'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a property:member_of_political_party resource:Free_Democratic_Party_of_Switzerland . ?a property:gender resource:male . ?a rdf:type ontology:common_name }
[]
common name
Q617120 Q1574955 Q1162786 Q1523076 Q1328932 Q3126927 Q1274868 Q121299 Q678568 Q118354
SYSTEM
Some of them are Pankraz Freitag, Hermann Dietler, Daniel Stolz, Hans Albrecht, Paul Perret, Hans Bächler, Markus van Baerle, Franz Steinegger, Victor Ruffy, Rolf Schweiger
Q2638104 Q2078432 Q121118 Q1357438 Q1679397 Q2848049 Q1620035 Q1628186 Q1638211 Q120964 Q15621594 Q15621593 Q2074697 Q1552659 Q15621617 Q15621610 Q677502 Q15621612 Q15621598 Q2510810 Q2522310 Q118279 Q118276 Q1679396 Q121187 Q117099 Q1562924 Q118550 Q2637721 Q117661 Q2336327 Q2074918 Q1236641 Q605206 Q18222001 Q1338529 Q1680400 Q2148962 Q2645511 Q3293345 Q15842882 Q1607104 Q684900 Q120871 Q1681469 Q3419213 Q361258 Q1065795 Q2508363 Q1686066 Q3580004 Q879213 Q1492174 Q119336 Q15428691 Q1555554 Q3420956 Q1444943 Q1436706 Q822356 Q709946 Q1040756 Q18018872 Q355353 Q1240583 Q2643719 Q377222 Q17579920 Q2645345 Q1582520 Q1311721 Q1564822 Q1417621 Q1521883 Q17612719 Q116973 Q118343 Q761762 Q1555528 Q3057372 Q122954 Q1274868 Q125256 Q15452602 Q2650195 Q1338246 Q1355862 Q1497196 Q2792854 Q1579130 Q2215846 Q2546453 Q116978 Q664453 Q1649154 Q118239 Q1918142 Q15430339 Q1580297 Q695792 Q121470 Q2638030 Q1910152 Q371531 Q1458040 Q825977 Q2172487 Q15842671 Q1363157 Q3261442 Q2646098 Q117426 Q1359376 Q15621627 Q120013 Q605874 Q118347 Q121158 Q1927851 Q1429671 Q729017 Q3131072 Q1458548 Q2038696 Q1357796 Q120639 Q3371296 Q2059516 Q1907718 Q121833 Q813071 Q2032735 Q2161049 Q1706032 Q1397521 Q380063 Q1578251 Q120844 Q1403315 Q546077 Q1530691 Q380083 Q1641554 Q15905866 Q1403532 Q205316 Q1475381 Q1252447 Q120521 Q125688 Q122631 Q709408 Q1423826 Q1581721 Q125681 Q17305203 Q2501360 Q1230099 Q1578071 Q364877 Q1904274 Q2163323 Q1735094 Q117552 Q121349 Q1085912 Q1612717 Q1927795 Q117254 Q1465874 Q15621698 Q115566 Q122837 Q119847 Q559604 Q18020671 Q18584232 Q1446117 Q1481852 Q2198686 Q1411066 Q1516515 Q3056988 Q3102701 Q2093027 Q117781 Q16868055 Q117171 Q377118 Q1601560 Q1512238 Q1284653 Q15621583 Q3430657 Q1373635 Q1739209 Q2077830 Q1782244 Q123307 Q116957 Q1704509 Q662013 Q120115 Q2475880 Q118266 Q2074054 Q2634559 Q1336460 Q1581043 Q375538 Q2644653 Q2146203 Q1308526 Q1478953 Q1362829 Q1451108 Q1357324 Q3105689 Q15621575 Q120809 Q1412262 Q119561 Q2156979 Q120044 Q274281 Q1582837 Q23531526 Q124942 Q1363622 Q694964 Q2207126 Q2835378 Q120873 Q2416963 Q45179 Q683926 Q116079 Q1240572 Q1663392 Q617783 Q2060034 Q4993327 Q118187 Q1605694 Q2651064 Q2218099 Q662331 Q2062215 Q1582128 Q17305236 Q17305231 Q1605749 Q17305233 Q1716941 Q2476288 Q117823 Q1477818 Q1668160 Q1231256 Q1334134 Q122842 Q1986480 Q1912308 Q116992 Q1556222 Q118222 Q15621555 Q493453 Q118227 Q2958946 Q118229 Q15621708 Q2958942 Q121303 Q17736400 Q372355 Q15906031 Q1494500 Q664369 Q1582624 Q1336429 Q115513 Q117001 Q3012752 Q2087598 Q2582049 Q15453365 Q124106 Q3037977 Q1590000 Q1356302 Q1288249 Q1523076 Q118354 Q120021 Q1512957 Q1246277 Q1456234 Q120217 Q324199 Q21011959 Q1273821 Q3434997 Q115584 Q1731009 Q1679246 Q1529799 Q813060 Q2427995 Q1176056 Q3557198 Q2939354 Q1901812 Q816922 Q120850 Q1574004 Q1037064 Q116392 Q1583803 Q1488923 Q693281 Q1574955 Q762936 Q121917 Q115883 Q361839 Q2806513 Q2156672 Q119929 Q1557395 Q1911392 Q1452420 Q1357389 Q3014825 Q2174671 Q1912161 Q2172488 Q824945 Q1666812 Q1735086 Q1735080 Q1305758 Q364503 Q121299 Q121351 Q3102159 Q365745 Q1610988 Q558071 Q1715497 Q119853 Q2019898 Q1657421 Q118257 Q1555377 Q1698468 Q3154758 Q121070 Q1596516 Q1424069 Q1711757 Q678681 Q1597574 Q121172 Q2475778 Q118086 Q18018671 Q125399 Q2645115 Q15435432 Q693305 Q1783485 Q1407554 Q1919144 Q1447455 Q662005 Q1580279 Q1505448 Q120104 Q115540 Q17410921 Q1357567 Q2093474 Q73883 Q1080301 Q363472 Q522249 Q117685 Q1732411 Q1312869 Q1125816 Q16937573 Q1692767 Q1362857 Q667709 Q1582821 Q495236 Q1704834 Q15840149 Q1078770 Q1310215 Q1468818 Q119293 Q2835064 Q1927110 Q1794227 Q120650 Q58280 Q661989 Q122275 Q3588526 Q1913381 Q1458592 Q892131 Q1871537 Q15847598 Q2643767 Q1079057 Q2736388 Q205255 Q2958007 Q2637949 Q18584261 Q115618 Q1252501 Q115616 Q2651057 Q1582131 Q662344 Q16021674 Q115877 Q1699577 Q116287 Q15819575 Q16216919 Q121808 Q1328932 Q1579749 Q3181394 Q119873 Q16031178 Q125296 Q1285698 Q1335932 Q2744846 Q592720 Q15436384 Q16266845 Q118218 Q118215 Q1295086 Q677765 Q1550054 Q121314 Q1224029 Q545370 Q1709958 Q119468 Q1599990 Q1684906 Q15852243 Q15852242 Q1685180 Q117017 Q2158296 Q1597172 Q1231620 Q116830 Q15621601 Q15621600 Q15621606 Q15621605 Q120133 Q1582917 Q1774017 Q1586125 Q118284 Q118362 Q1715531 Q2522320 Q710738 Q1913216 Q667758 Q558081 Q115803 Q118667 Q115579 Q1600663 Q2290111 Q682470 Q1679250 Q122409 Q2545052 Q1039829 Q120865 Q26849123 Q1238793 Q361054 Q2711931 Q15621513 Q2527707 Q1539300 Q696013 Q521581 Q3171897 Q3351218 Q18564301 Q499163 Q1490290 Q2039178 Q1579641 Q122084 Q116407 Q3130673 Q1465778 Q3133125 Q503342 Q1889177 Q1080499 Q119435 Q1096981 Q1162786 Q1360248 Q1679004 Q18584254 Q2640592 Q1441687 Q2074532 Q2343101 Q119869 Q2526937 Q1732813 Q1286777 Q1638212 Q1336155 Q1042336 Q2134290 Q125263 Q2582235 Q1682802 Q122928 Q1580218 Q167340 Q695243 Q1505055 Q118264 Q120893 Q1313012 Q2156773 Q1524717 Q118243 Q617120 Q1679248 Q1716752 Q121440 Q1646725 Q662039 Q179458 Q589192 Q120714 Q1493750 Q117755 Q121281 Q117751 Q1538595 Q120093 Q117692 Q2075523 Q2645178 Q15621559 Q119123 Q3068620 Q118183 Q2645176 Q1344945 Q2562851 Q15907030 Q15621797 Q275048 Q693588 Q1428142 Q17305208 Q118209 Q2420898 Q1298526 Q3456150 Q2420893 Q1669607 Q1356261 Q664398 Q710397 Q2825198 Q1079607 Q1416042 Q1730951 Q1666675 Q1359563 Q1698464 Q661957 Q118282 Q15450840 Q122915 Q1413315 Q1079186 Q1367914 Q2218275 Q119820 Q2638603 Q1086334 Q1380382 Q1039625 Q121602 Q17305216 Q119377 Q1930711 Q1698211 Q2476343 Q3261813 Q2501257 Q1396848 Q1754180 Q1581321 Q1047503 Q122828 Q678568 Q15834244 Q3126927 Q1582357 Q118196 Q2475610 Q2965602 Q18584204 Q2856807 Q118201 Q558064 Q695664
AND((c(Q502895),P102,Q13850128), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q13850128
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are members of Free Democratic Party of Switzerland and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q13850128'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a property:P102 resource:Q13850128 . ?a property:P21 resource:Q6581097 . ?a rdf:type ontology:Q502895 }
Albert Helbling Peter Spälti Gabriel Despland Ernst Bachmann Jakob Vetsch-Hübscher André Kudelski Hippolyte Pignat Peter C. Beyeler Salomon Schönberg Hans Hess Ernst Reiber Willi Rohner Emil Isler Albert Paschoud Johann Emil Müry Eduard Walser François Couchepin Otto Zoller Arnold Bolle Henri-Louis Favre Victor Emil Scherer Hermann Obrecht Fridolin Anderwert Jakob Vetsch Americo Marazzi Felix Gutzwiller Robert A. Jeker Fathi Derder Albert Burckhardt Jacques Martin Stefan Fryberg Peter Flück Oscar Miller Antonio Soldini Johannes Geel Luigi Generali Kurt Bächtold Richard Altorfer Alfred Moll Mario Annoni Roland Goethe Peter Weigelt Yann Richter Hans-Jürg Käser Robert Bredaz Raoul Kohler Adolf Deucher Charles Poncet Valentin Landmann Jeannot De Crousnaz Édouard Quartier-la-Tente Bixio Bossi Hermann Liechti Rolf Henne Murat Kaya Gustav Adolf Saxer Raymond Junod Fritz Raaflaub Hans Fünfschilling Bernard Comby Arthur Hänsenberger Carl Tanner Bruno Pezzatti Adelrich Gyr Donat Golaz Alexandre-François-Louis Cailler Adrien Thélin Samuel Lanz Alfred Kurth Hans Emil Siegrist Walter Egger Jean Rossel Henri-Louis Henry Louis Wenger Robert Küng Jakob Dubs Raphaël Comte August Henggeler Gustav Adolf Bühler Ernst Rüesch Philippe Leuba Markus van Baerle Jakob Brunnschweiler Kurt Müller Alois Christen Emmanuel Gaillard Josef Lusser Hans Jucker Patrick Fischer Hans Derendinger Saly Mayer Walter Stucki Constant Fornerod Max Petitpierre Norbert Bosset Ernest Chuard Meinrad Henggeler Arthur Zeller Hans Hold Arnold Meyer Kurt Fluri Albert Grieder Matthias Michel Christian Kauter Friedrich Aemmer Bernhard Stamm Rudolf Burger Robert Gerber Erwin Kurz Louis Casaï Alfred Weber Peter Briner Ernst Löpfe Henri Pahud Georges Theiler Kaspar Villiger Fabio Abate Isaac Anken Michael Hofer Florian Gengel Joachim Heer Henri Fazy Friedrich Brunner Otto Fischer Ernst Cincera Peter Tschopp Paul Genoud Paul Federer Massimo Pini Gilles Petitpierre Beat Jäggi Oscar Fritschi Roderich Albert Kunkler Josef Werner Lusser Titus Giger Johann Schneider-Ammann Hans-Ulrich Scherrer Werner Bircher Felix Auer Ernst Brenner Oskar Reck Jonas Furrer Johann Hirter Charles-Émile Tissot Willi Haag Walther Stampfli Olivier Feller Gottfried Keller Gerold Bührer Alfred Borel Konrad Hummler Arthur Freymond Peter Eichenberger Hans Peter Schlumpf Claude Lässer Peter Grünig Urs Schwarz Olivier Chevallaz Hans-Peter Lenherr Adolf von Steiger Martin Klöti Rolf Degen Kaspar Schläpfer Flavio Maspoli Martin Schmid Christoph Stalder Hermann Schüpbach Michael Herrmann Ignazio Cassis Fritz Burkhalter Martin Vogler Ernst Wetter Pierre Weiss Jean Peitrequin Stefano Franscini Hans-Peter Portmann Robert Kurt Franz Arnold Robert Kuhn Heinrich Nägeli Otto Henggeler Peter V. Kunz Ernest Grosselin Georges Favon Pierre Isaac Joly Hans Altherr Guido Wemans Filippo Leutenegger Adrien Lachenal Alain Schweingruber Gerhard Odermatt Werner Stauffacher Karl Flubacher Richard Corboz Wilhelm Vigier Walter Bissegger Peter Reuteler Konrad Nägeli Dick Marty Emil Welti Josef Durrer Melchior Josef Martin Knüsel Peter Schilliger Ulrich Guhl Johannes Baumann Peter Bossard Hans Höhener Emil Lohner Hans Letsch Adriano Cavadini Alfred Aubert Reto Dubach Remigi Blättler Alfred Ackermann Erwin Bischof François Loeb Ernst Alfred Thalmann Gilbert Duboule Karl Stohler Jean-Marc Sauvant Hermann Feusi Hanspeter Gass Robert Eibel Heinz Tännler Édouard Debétaz Hans Ulrich Stöckling Adolphe Vautier Albert Malche Erwin Zschokke Arnold Bürkli Pierre Jolissaint Alfred Oulevay Albert Mossdorf Theo Meier Pierre Jaccoud Johann Rudolf Schneider Jean-François Rime Donat Fer Peter Schütz Virgile Moine Paul Haupt Franz Lindt Karl Scheurer Henri Anet Alphonse Bory Samuel Cuénoud Simeon Bavier Paul Scherrer Hans Rudolf Gysin Hans Weber Albert Ursprung Henri Calame Gustav Adolf Ursprung Jürg Wernli Ulrich Luder Mark Muller Gaudenz Gadmer Kaspar Meier Hans Moser Toni Dettling Philipp Müller Nicolas Carnat Max Brunner Carl Schenk Gustav Müller Heinrich Häberlin Werner Reich Andrea Bettiga Ernst Brugger Charles Duchemin Robert Haab Hans Munz Charles Duboule Christian Wanner Alfred Bossard Adrian Ballmer Daniel Müller Niggi Schoellkopf Hans Streuli Hans Steffen Emil Landolt Pascal Couchepin Numa Droz Damien Cottier Philippe Gnaegi Willy Loretan Jon Vonmoos Marc-Emile Ruchet Robert Bauder Martin Gamma Ernest Fischer Eduard Engelberger Hans Albrecht Rolf Schweiger Yves Christen Gerhart Schürch Karl Meyer Fridolin Laager Friedrich Huwyler Franz Nietlispach Johann Jakob Tobler Stefan Brupbacher Robert Ducret Albert Meyer Karl Franz Sebastian Fahrländer Jakob Müller Paul-René Martin Beat Fuchs Thomas Wagner David Paschoud Victor Buchs Carlos Grosjean Markus Somm Benedikt Banga Eric Honegger Johann Oskar Schibler Carl Bertschinger Christian Lüscher Hansheiri Dahinden Hans-Rudolf Früh Fritz Schiesser Hermann Dietler Baschi Dürr Antoine Vessaz Eugen Huber Adolf Germann Walter Raissig Robert Bühler Claude Roch Hans Ulrich Schlaepfer Maurice Paschoud Fred Luchsinger Ernst August Grieb Daniel Zappelli Ruedi Schatz Max Alphonse Erismann Rudolf Burger Bernhard Elias Baumgartner Alois Henggeler Kaspar Rhyner Kaspar Michel Richard Calini Adolf Welti Franz Steinegger Joachim Eder Georges Addor Adolphe Jordan Hermann Eisenhut Henri Druey Jörg Schild Jules-Henri Addor Oliv Jeker Ignaz Burri Emil Frey Johann Jenny Johannes Suter Isaac Oyex-Ponnaz Willy Bretscher Heinrich Aebli Paul Wyss Jules Settelen Giovanni Battista Pioda Heinrich Henggeler Hugues Hiltpold Ulrich Fischer Pierre Maudet Beat Walti Markus Hutter Alfred Heer Roger Blum Ruedi Noser Walther Allgöwer Robert Ganzoni Melchior Joller Franz Jauch Bernhard Hammer Hans Hofer Georg Müller Félix Bonjour Jean-Pascal Delamuraz Marc-André Houmard Ernst Bieri Pierre Glasson Christian Wasserfallen Christian Heydecker Adolf Nadig André Perey Robert Käslin Karl Muheim Tarzisius Caviezel Otto Keller Remo Ankli Johann Busch Erwin Bucher Eugène Borel Hans Ulrich Graf Andrea Vital Josef Hofstetter Peter Schindler Christian Amsler Josef Dittli Fritz Weber-Worni Peter Wuffli Alfred Desbaillets Michael Bühler Kurt Wasserfallen Olivier Français Didier Burkhalter Wilhelm Hertenstein Hans-Rudolf Merz Émile Gaudard Max Schmidt Friedrich Buri Bonaventura Iten Louis Bonjour Silvan Hilfiker Alexandre Schmidt Christian Bretscher Josef Grolimund Camille Decoppet Charles-Eugène Fonjallaz Albert Friedrich Born Hans Jecker Hans Schaffner Jakob Schutz Eduard Müller Alphonse Beck Hans Rudolf Meyer Jakob Stämpfli Thomas Hefti Fulvio Pelli René Rhinow James Fazy Hans Wicki Leo Weber Henri Badoux Paul Perret Hans Georg Lüchinger John Dupraz Christian Miesch Andreas Zivy Ernst Bärtschi Bernhart Albert Bitzius Emil Bösch Simon Kohler Anton Philipp Ganzoni Stefan Cornaz Philippe Mamie Fritz Honegger Eugène Ruffy Edwin Zweifel Armand Melly Pierre Etique François Longchamp Dietrich Schwarz Johann Jakob Scherer Alfred Bollinger Michel Probst Heinz Albicker Jean-Jacques Cevey Urs Marti Urs Hürlimann Jean-Pierre Bonny Josef Munzinger Robert Moser Heinrich Eugen Abt Erwin Beyeler Johann Jakob Stehlin Maurice Péquignot Silvio Capitani Thomas von Albertini Peter Theophil Bühler Laurent Favre Hans W. Kopp Clemens Iten Mario Agustoni Paul Chaudet Otto Ineichen Pierre Triponez Victor Fehr Arthur Moser Max Pfister Arthur Hoffmann Friedrich Frey-Herosé Marcel Pilet-Golaz Jean-René Germanier Karl Kobelt Heinz Moll Siro Imber Hans Schatzmann Jakob Müller Bruno Hunziker Walter Kielholz Carl Moser Adolf Gasser Werner Ganz Roger Schaffter Adolf Brodbeck Hans Hemmeler Max Schmidheiny Virgile Rossel Gottfried Kunz Arnold Ringier André Martin Jean Dutoit Olivier Meuwly Jules Matthey Andreas Laely Gabriele Gendotti Otto Hess Hans Fürst Duri Bezzola Pascal Broulis Henri Bersier Fritz Bosset Henry Vallotton Andres Türler Manfred Aregger Christian Jost Luzi Stamm Claude Nicati Daniel Stolz Ernst Speiser Jakob Fenk Walter Hirt Aleardo Pini Francis Pernoux Peter Dietschi Stefan Attiger Claude Frey Vincenzo Pedrazzini Karl Schib Edmund Richner Markus Roth Emil Göttisheim Carlo Parolari Raymund Gamma Hans Künzi Willy Urech Karl Burckhardt Jacques Bourgeois Gottlieb Käppeli Jean-Jacques Challet-Venel Arnold Gottlieb Bühler Georg Kreis Robert Comtesse Rolf Büttiker Alfred Hummler Robert Cossy Max Frenkel Edmund Schulthess Pankraz Freitag Jakob Müller Otto Schoch Otto Hunziker Walter Müller Louis Ruchonnet Charles Albert Gobat Anton Eric Scotoni Jean-Pierre Pradervand Robert Billeter Gottlieb Ringier Alain Borner Charles Oser Vincent Kauter Paul Lachenal George Bovet Peter Hefti Alfred Hofstetter Erich Ullmann Gaston Brahier Ferdinand Masset Ludwig Forrer Alfred Hofstetter Karl Spinnler Werner Wassmer Joachim Weber Pierre Oguey Émile Dind Walter Hauser Henri Simon Josef Jäger Louis Perrier Thierry Carrel Heinz Allenspach Rémy Jaquier Thierry Béguin Konrad Bleuler-Hüni Ernest Béguin Felix Calonder Arthur Liener Adrien Lachenal Fritz Göttisheim Thomas Heiniger Louis Chamorel Werner Messmer Ernst Mühlemann Johannes Stössel Rodolphe Rubattel Rudolf Friedrich Karl Weber Charles Favre Rolf Deppeler Christian Clavadetscher Eugen Dietschi Samuel Friedrich Moser Paul Maillefer Albert Rais Christophe Haller Riccardo Jagmetti Carl Maier Philippe Woodtli Emile Obrist Frédéric Hainard Michel Flückiger Johannes Randegger Ulrich Meyer Louis Dupraz Urs Dietschi Armin Kellersberger Walther Leber Hans Meng Casimir von Arx Peter Malama Victor Ruffy Martin Vollenwyder Hans Bächler Hans Schneider Nello Celio Ulrich Bremi Christian Rothenberger Urs Scheidegger Antoine Weissenbach Georges-André Chevallaz Wilhelm Matthias Naeff Arnold Künzli
Pankraz Freitag, Hermann Dietler, Daniel Stolz, Hans Albrecht, Paul Perret, Hans Bächler, Markus van Baerle, Franz Steinegger, Victor Ruffy and Rolf Schweiger are members of Free Democratic Party of Switzerland and have male as the sex
Pankraz Freitag Hermann Dietler Daniel Stolz Hans Albrecht Paul Perret Hans Bächler Markus van Baerle Franz Steinegger Victor Ruffy Rolf Schweiger
action filter_type
action intersection
action find_reverse
entity Free Democratic Party of Switzerland
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Free Democratic Party of Switzerland'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a property:member_of_political_party resource:Free_Democratic_Party_of_Switzerland . ?a property:gender resource:male . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q648
P159
Q43229 Q4830453
USER
How many organizations or business enterprises have headquarters located at Lille ?
(c(Q43229),P159,Q648) (c(Q4830453),P159,Q648)
action count
action union
action filter_type
action find_reverse
entity Q648
relation P159
type Q43229
action filter_type
action find_reverse
entity Q648
relation P159
type Q4830453
[{'concept': 'Q43229'}, 'P159', 'Q648'] [{'concept': 'Q4830453'}, 'P159', 'Q648']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { VALUES ( ?o ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?k rdf:type ?o }
Lille
action count
action union
action filter_type
action find_reverse
entity Lille
relation headquarters location
type organization
action filter_type
action find_reverse
entity Lille
relation headquarters location
type business enterprise
[{'concept': 'organization'}, 'headquarters location', 'Lille'] [{'concept': 'business enterprise'}, 'headquarters location', 'Lille']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { VALUES ( ?o ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?k rdf:type ?o }
[]
organization business enterprise
SYSTEM
6
Q3060836 Q3518328 Q1801882 Q3331170 Q892279 Q15143876
(c(Q43229),P159,Q648) (c(Q4830453),P159,Q648)
action count
action union
action filter_type
action find_reverse
entity Q648
relation P159
type Q43229
action filter_type
action find_reverse
entity Q648
relation P159
type Q4830453
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q648'] [{'concept': 'Q4830453'}, 'P159', 'Q648']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { VALUES ( ?o ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?k rdf:type ?o }
Europorte Tereos Édouard Rossel MyFerryLink Bonduelle Établissements Kuhlmann
6
action count
action union
action filter_type
action find_reverse
entity Lille
relation headquarters location
type organization
action filter_type
action find_reverse
entity Lille
relation headquarters location
type business enterprise
[{'concept': 'organization'}, 'headquarters location', 'Lille'] [{'concept': 'business enterprise'}, 'headquarters location', 'Lille']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { VALUES ( ?o ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?k rdf:type ?o }
[]