Simple Question (Direct)
Simple Question
Q327923
P22
Q502895
USER
Which male person has a child named Steffen Justus ?
(Q327923,P22,c(Q502895))
action filter_type
action find
entity Q327923
relation P22
type Q502895
['Q327923', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q327923 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Steffen Justus
action filter_type
action find
entity Steffen Justus
relation father
type common name
['Steffen Justus', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Steffen_Justus property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q466164
SYSTEM
Klaus-Peter Justus
Q466164
(Q327923,P22,c(Q502895))
action filter_type
action find
entity Q327923
relation P22
type Q502895
And [ANSWER] has a child named Steffen Justus
['Q327923', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q327923 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Klaus-Peter Justus
And Klaus-Peter Justus has a child named Steffen Justus
Klaus-Peter Justus
action filter_type
action find
entity Steffen Justus
relation father
type common name
['Steffen Justus', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Steffen_Justus property:father ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q327923
P19
Q56061
USER
Where was Steffen Justus born ?
(Q327923,P19,c(Q56061))
action filter_type
action find
entity Q327923
relation P19
type Q56061
['Q327923', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q327923 property:P19 ?g }
Steffen Justus
action filter_type
action find
entity Steffen Justus
relation place of birth
type administrative territorial entity
['Steffen Justus', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Steffen_Justus property:place_of_birth ?g }
[]
administrative territorial entity
Q3150
SYSTEM
Jena
Q3150
(Q327923,P19,c(Q56061))
action filter_type
action find
entity Q327923
relation P19
type Q56061
Steffen Justus was born in [ANSWER]
['Q327923', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q327923 property:P19 ?g }
Jena
Steffen Justus was born in Jena
Jena
action filter_type
action find
entity Steffen Justus
relation place of birth
type administrative territorial entity
['Steffen Justus', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Steffen_Justus property:place_of_birth ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4232632
Q56061
USER
And how about Valeriya Korablyova?
(Q4232632,P19,c(Q56061))
action filter_type
action find
entity Q4232632
relation P19
type Q56061
['Q4232632', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q4232632 property:P19 ?o }
Valeriya Korablyova
action filter_type
action find
entity Valeriya Korablyova
relation place of birth
type administrative territorial entity
['Valeriya Korablyova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Valeriya_Korablyova property:place_of_birth ?o }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q4232632,P19,c(Q56061))
action filter_type
action find
entity Q4232632
relation P19
type Q56061
[ANSWER]
['Q4232632', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q4232632 property:P19 ?o }
Moscow
Moscow
action filter_type
action find
entity Valeriya Korablyova
relation place of birth
type administrative territorial entity
['Valeriya Korablyova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Valeriya_Korablyova property:place_of_birth ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P551
Q6619679 Q502895
USER
How many fictional humanoids and people live in that administrative territory ?
(c(Q6619679),P551,Q649) (c(Q502895),P551,Q649) (c(Q6619679),P551,Q649) (c(Q502895),P551,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P551
type Q6619679
action filter_type
action find_reverse
entity Q649
relation P551
type Q502895
[{'concept': 'Q6619679'}, 'P551', 'Q649'] [{'concept': 'Q502895'}, 'P551', 'Q649'] [{'concept': 'Q6619679'}, 'P551', 'Q649'] [{'concept': 'Q502895'}, 'P551', 'Q649']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:P551 resource:Q649 . ?t rdf:type ontology:Q6619679 } UNION { ?t property:P551 resource:Q649 . ?t rdf:type ontology:Q502895 } }
action count
action union
action filter_type
action find_reverse
entity Moscow
relation residence
type fictional humanoid
action filter_type
action find_reverse
entity Moscow
relation residence
type common name
[{'concept': 'fictional humanoid'}, 'residence', 'Moscow'] [{'concept': 'common name'}, 'residence', 'Moscow'] [{'concept': 'fictional humanoid'}, 'residence', 'Moscow'] [{'concept': 'common name'}, 'residence', 'Moscow']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:residence resource:Moscow . ?t rdf:type ontology:fictional_humanoid } UNION { ?t property:residence resource:Moscow . ?t rdf:type ontology:common_name } }
[]
fictional humanoid common name
SYSTEM
1 fictional humanoids and 97 people
Q270460 Q1618018 Q4093222 Q21127219 Q6937189 Q440996 Q20669230 Q619669 Q79822 Q7200 Q21285674 Q765165 Q258950 Q23668836 Q2000816 Q23722455 Q4404367 Q7453864 Q502037 Q1093709 Q21622155 Q2607 Q16292954 Q258785 Q11657 Q6001372 Q22279299 Q19282036 Q18580911 Q6783051 Q487182 Q26707456 Q16568576 Q18546813 Q171428 Q7747 Q4320045 Q75151 Q4492349 Q1325975 Q310376 Q5285601 Q5518661 Q710013 Q2094353 Q953688 Q4249129 Q4074760 Q4261627 Q1373969 Q296183 Q233231 Q2259509 Q4153279 Q4327591 Q13412167 Q22928255 Q2332762 Q4064132 Q374053 Q4535437 Q2429984 Q4054424 Q502002 Q269080 Q4056514 Q364252 Q42992 Q1957978 Q6306397 Q232613 Q560267 Q465796 Q1133203 Q20968655 Q5418268 Q16666210 Q24718637 Q122998 Q18211340 Q707392 Q24564254 Q13049771 Q289326 Q19946148 Q191736 Q18764074 Q4104106 Q6429974 Q3646436 Q2634373 Q18668382 Q16620409 Q568623 Q17274885 Q219970 Q337763 Q203591
(c(Q6619679),P551,Q649) (c(Q502895),P551,Q649) (c(Q6619679),P551,Q649) (c(Q502895),P551,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P551
type Q6619679
action filter_type
action find_reverse
entity Q649
relation P551
type Q502895
[ANSWER]
[{'concept': 'Q6619679'}, 'P551', 'Q649'] [{'concept': 'Q502895'}, 'P551', 'Q649'] [{'concept': 'Q6619679'}, 'P551', 'Q649'] [{'concept': 'Q502895'}, 'P551', 'Q649']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:P551 resource:Q649 . ?t rdf:type ontology:Q6619679 } UNION { ?t property:P551 resource:Q649 . ?t rdf:type ontology:Q502895 } }
Olga Rozanova Hijikata Yoshi Stanislav Bondarenko Anastasiya Komardina Murad Machaev Marietta Shaginyan Sofya Zhuk Evgeny Donskoy Adam Mickiewicz Alexander Pushkin Anton Zaitcev Leonid Brezhnev Evgeniya Rodina Maria Gannibal Théodore Akimenko Andrei Rouslan Saghabalyan Sergei Viktorovich Popov Andrei Cherkasov Mikhail Pogodin Richard Muzaev Erich Honecker Jan Krauze Anastasia Pivovarova Maria Kirilenko Ilya Belyaev Sofia Moshevich Natela Dzalamidze Dmitri Gurov Masha Kirilenko Anastasia Pavlyuchenkova Rada Biller Karen Khachanov Aslan Karatsev Roman Abramovich Vladimir Putin Nikolay Nikoghosyan Ursula Kuczynski Georgy Frangulyan Herz Frank Dmitry Tursunov Dmitri Sitak Galina Fokina Ladislas Starevich Slava Mogutin Ekaterina Makarova Jelica Kurjak Edvard Baghdasaryan Lila Guerrero Sergei Nemchinov Igor Andreev Elena Likhovtseva Ekaterina Bychkova Hakob Gyurjian Dmitri Nossov Yana Buchina Yury Gushcho Vasilisa Bardina Maksim Amelin Vera Zvonareva Yuta Yulia Putintseva Narine Abgarjan Andrei Chesnokov Tatiana Panova Georges Agabekov Yevgeny Baratynsky Golda Meir Yuly Aykhenvald Julia Efremova Ksenia Pervak Anna Chakvetadze Alex Metreveli Leonid Fedun Aleksandra Pospelova Evgeny Kirillov Oleg Kosarev Teresa Feoderovna Ries Pauline Viardot Valery Rudnev Alexei Markov Rivka Basman Ben-Hayim Varvara Petrovna Turgeneva Vesna Dolonc Anastasia Frolova Nikolay Davydenko Ekaterina Mikhailovna Khomyakova Dmitry Varshavchik Konstantin Kravchuk Derenik Demirchian Evgenia Linetskaya Rudolf Bockelmann Zofia Marchlewska Katherine Esau Stanislav Vovk Mikhail Youzhny Teymuraz Gabashvili Anastasia Myskina
1 fictional humanoids and 97 people
action count
action union
action filter_type
action find_reverse
entity Moscow
relation residence
type fictional humanoid
action filter_type
action find_reverse
entity Moscow
relation residence
type common name
[{'concept': 'fictional humanoid'}, 'residence', 'Moscow'] [{'concept': 'common name'}, 'residence', 'Moscow'] [{'concept': 'fictional humanoid'}, 'residence', 'Moscow'] [{'concept': 'common name'}, 'residence', 'Moscow']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:residence resource:Moscow . ?t rdf:type ontology:fictional_humanoid } UNION { ?t property:residence resource:Moscow . ?t rdf:type ontology:common_name } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q56061 Q15416 Q166142
USER
Which administrative territories are atmost 177 television programs or applications set in ?
(c(Q15416)|c(Q166142),P840,c(Q56061))
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
value 177
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?f <= 177 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?r WHERE { { ?u property:P840 ?r . ?r rdf:type ontology:Q56061 . ?u rdf:type ontology:Q15416 } UNION { ?u property:P840 ?r . ?u rdf:type ontology:Q166142 . ?r rdf:type ontology:Q56061 } } GROUP BY ?r } }
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
value 177
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?f <= 177 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?r WHERE { { ?u property:narrative_location ?r . ?r rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:television_program } UNION { ?u property:narrative_location ?r . ?u rdf:type ontology:application . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?r } }
[]
administrative territorial entity television program application
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q3579 Q1715 Q704257 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q1826473 Q210292 Q28729 Q25286 Q25287 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q18808 Q467664 Q23725 Q1050826 Q4093 Q3659 Q16563 Q23337 Q8692 Q2656 Q1289 Q10690 Q585 Q1425428 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1754 Q1022 Q308891 Q2500974 Q7054337 Q90 Q101625 Q48320 Q80985 Q12892 Q215646 Q80734 Q7880 Q82858 Q1930 Q1435589 Q597 Q690 Q257536 Q334 Q22889 Q3437 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q215177 Q27168 Q16555 Q2048321 Q1335 Q594807 Q1891 Q39121 Q9427 Q48274 Q83317 Q12340599 Q262483 Q186237 Q5083 Q23154 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q3561 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q490 Q6346 Q495 Q2044 Q48370 Q36036 Q3703 Q208287 Q2141 Q192517 Q54212 Q23436 Q43301 Q490584 Q3141 Q3630 Q1246235 Q17151 Q237 Q6046 Q25416 Q239 Q25410 Q16558 Q16559 Q5212975 Q16554 Q753121 Q16556 Q16557 Q8686 Q994 Q35178 Q113546 Q3130 Q3037 Q52437 Q1297 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q14815 Q1748 Q169492 Q26881 Q13670 Q1911961 Q85 Q128321 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q25390 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q72 Q71 Q70 Q178168 Q37100 Q16869 Q2214 Q38022 Q174 Q172 Q270 Q2028 Q37066 Q486439 Q2073798 Q26887 Q184587 Q208472 Q79980 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q1861 Q2177880 Q5092 Q1011683 Q41329 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q134672 Q1479 Q387047 Q18419 Q1780 Q1781 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q621549 Q49149 Q1353 Q1352 Q676689 Q271411 Q13496 Q27119 Q1524 Q220 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q617 Q612 Q430464 Q21855637 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q159232 Q62 Q1757 Q18125 Q5818 Q1867 Q384 Q5813 Q12439 Q27393 Q12191 Q126148 Q202337 Q23556 Q837478 Q184345 Q13362 Q6537 Q6106 Q49111 Q499196 Q495373 Q10313 Q42810 Q49255 Q3640 Q647 Q641 Q727 Q649 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q1449 Q47048 Q1764 Q34932 Q12340625 Q2211 Q41262 Q2704 Q47716 Q1040 Q6441 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q3619316 Q2751 Q41876 Q485186 Q42448 Q41970 Q34647 Q33986 Q1085
(c(Q15416)|c(Q166142),P840,c(Q56061))
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
value 177
Set in [ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?f <= 177 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?r WHERE { { ?u property:P840 ?r . ?r rdf:type ontology:Q56061 . ?u rdf:type ontology:Q15416 } UNION { ?u property:P840 ?r . ?u rdf:type ontology:Q166142 . ?r rdf:type ontology:Q56061 } } GROUP BY ?r } }
Tripoli Hanover Albany Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Tversted Yozgat Kozhikode Uppsala Gothenburg Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Pyongyang Butte Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Salt Lake City Bilbao Palermo Grenoble Cardiff Oslo Newcastle upon Tyne Tijuana Farsø Tombstone Giza Plzeň Stockholm Stuttgart special wards of Tokyo Richmond North Buxton, Ontario Paris Marrakesh Kōbe Fes Antwerp Edo Campagna Toulouse Sigmaringen Ottawa Folsom Lisbon Delft Janesville Singapore Bath Perugia Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Skagen Randers Houston Varde Montevideo Søborg Bologna Leeds Timbuktu Nashua Mosul Vedersø Deadwood Joensuu Seattle Bristol Dybbøl Besançon Mexico City Torquay Onllwyn Algiers Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Milan Indianapolis Turin Florence Manchester Lviv Bamako Kauniainen Halifax Boulder Barnsley Edinburgh Fresno Flint Melbourne Jakarta Nørresundby Thessaloniki Vatican City Novara Stavanger Brussels Aalborg Fort Worth Austin Damsholte Denver Atacames Phoenix Dallas Shanghai Tbilisi Kuwait City Blackeberg Sydney Kathmandu Murano Chicago Ascot Bloomington Havana Kazan Brighton Vienna Weißenfels Copenhagen Neukölln Helsingør Syracuse Thorning Cairo Midland York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Leeuwarden Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Zürich Geneva Bern Mitrovica Auckland Constantinople Pskov St. Louis São Paulo Toronto Warsaw Verona Bismarck Cedar Rapids Welch Davenport Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Ågerup Baltimore Rødbyhavn Linz Beijing Guatemala City Tokyo La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Exeter Bordeaux Malibu Brooklyn Bratislava Budapest Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Inglewood Nantucket Delhi Chennai Gravesend Malindi Brindisi Kolding Athens Rome Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Padua Dubai Dearborn Hvilsager Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Santa Cruz San Francisco Helsinki Manchester Córdoba Taipei Skopje Canary Islands Detroit Herning Nantes Tangier Nauplion Atlanta Sabinov Viña del Mar Ferrara Vicenza Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Tampa Ankara Rennes Venice Amsterdam Moscow Haifa Ulm Stege Whitby Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Genoa Oulu Reykjavík Brisbane Vejlby Malmö Nottingham Pescara Charleston Karlsruhe Montpellier Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Grenå Siena Reims Key West Sheffield Pyatigorsk Johannesburg Valparaíso Prague
Set in Prague, Zürich and Moscow
Prague Zürich Moscow
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
value 177
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?f <= 177 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?r WHERE { { ?u property:narrative_location ?r . ?r rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:television_program } UNION { ?u property:narrative_location ?r . ?u rdf:type ontology:application . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?r } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1085 Q72 Q649
P291
Q571
USER
Which books were published in those administrative territories ?
(c(Q571),P291,Q1085) (c(Q571),P291,Q72) (c(Q571),P291,Q649)
action filter_type
action find_reverse
entity prev_answer
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q1085'] [{'concept': 'Q571'}, 'P291', 'Q72'] [{'concept': 'Q571'}, 'P291', 'Q649']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q571 . ?q property:P291 ?o . VALUES ( ?o ) { ( resource:Q3579 ) ( resource:Q1715 ) ( resource:Q704257 ) } }
Prague Zürich Moscow
action filter_type
action find_reverse
entity prev_answer
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Prague'] [{'concept': 'book'}, 'place of publication', 'Zürich'] [{'concept': 'book'}, 'place of publication', 'Moscow']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:book . ?q property:place_of_publication ?o . VALUES ( ?o ) { ( resource:Tripoli ) ( resource:Hanover ) ( resource:Albany ) } }
[]
book
Q26162388 Q15631965 Q24089316
SYSTEM
Duch Německa, Urbi et orbi, Broučci
Q17566229 Q24089316 Q26467757 Q24271182 Q26162388 Q26254046 Q27633267 Q26467829 Q19523618 Q18533945 Q26468029 Q19534888 Q27468152 Q27588655 Q27624860 Q15893793 Q22815089 Q26451825 Q27625071 Q15813386 Q18028593 Q15692204 Q20124587 Q17300349 Q20901632 Q20078554 Q15631965 Q15894330 Q21451936 Q21451927 Q21451944 Q21451941 Q20968284 Q14036403 Q17378135
(c(Q571),P291,Q1085) (c(Q571),P291,Q72) (c(Q571),P291,Q649)
action filter_type
action find_reverse
entity prev_answer
relation P291
type Q571
[ANSWERS] were published in those administrative territories
[{'concept': 'Q571'}, 'P291', 'Q1085'] [{'concept': 'Q571'}, 'P291', 'Q72'] [{'concept': 'Q571'}, 'P291', 'Q649']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q571 . ?q property:P291 ?o . VALUES ( ?o ) { ( resource:Q3579 ) ( resource:Q1715 ) ( resource:Q704257 ) } }
Ilias Broučci V temných barvách, I Poselství ze srdce světa Duch Německa Broučci a Broučkova pozůstalost Háčkování V temných barvách, II Ballady Göthovy Kobzar Vzpomínky na vojenskou služebnost Večerní písně Sny o štěstí Meir Ezofovič Orbis pictus v řeči české a německé Pomněnky z hrobu nejstaršího Čecha Světla minulosti, part I, (ed. 1901) Staré pověsti české Orbis pictus v řeči české a německé Cheops (German edition) Animal Farm Ehrenwerter Herr (German edition, 1996) 1984 (German translation) Die Midaq-Gasse (German edition, 1985) Убежище. Дневник в письмах Great Soviet Encyclopedia (1926—1947) Urbi et orbi Travels in Esperanto-Land (1st edition) Illustrirovannaya polnaya populyarnaya biblyeiskaya entsiklopediya. Vipusk Выпуск I, 1891 Illustrirovannaya polnaya populyarnaya biblyeiskaya entsiklopediya. Vipusk Выпуск III, 1892 Illustrirovannaya polnaya populyarnaya biblyeiskaya entsiklopediya. Vipusk Выпуск IV, 1892 Illustrirovannaya polnaya populyarnaya biblyeiskaya entsiklopediya. Vipusk Выпуск II, 1892 Great Soviet Encyclopedia (1950—1958) Pushkin in Life Great Soviet Encyclopedia (1969–1978)
Duch Německa, Urbi et orbi and Broučci were published in those administrative territories
Duch Německa Urbi et orbi Broučci
action filter_type
action find_reverse
entity prev_answer
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Prague'] [{'concept': 'book'}, 'place of publication', 'Zürich'] [{'concept': 'book'}, 'place of publication', 'Moscow']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:book . ?q property:place_of_publication ?o . VALUES ( ?o ) { ( resource:Tripoli ) ( resource:Hanover ) ( resource:Albany ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1085
P740
Q163740
USER
What was formed at that administrative territory ?
(c(Q163740),P740,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P740
type Q163740
[{'concept': 'Q163740'}, 'P740', 'Q1085']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q1085 . ?w rdf:type ontology:Q163740 }
Prague
action filter_type
action find_reverse
entity Prague
relation location of formation
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'location of formation', 'Prague']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:Prague . ?w rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Clarification for simple ques.
Q1085
SYSTEM
Did you mean Prague ?
Q26162388 Q15631965 Q24089316
(c(Q163740),P740,Q26162388) (c(Q163740),P740,Q15631965) (c(Q163740),P740,Q24089316)
[ANSWER]
[{'concept': 'Q163740'}, 'P740', 'Q26162388'] [{'concept': 'Q163740'}, 'P740', 'Q15631965'] [{'concept': 'Q163740'}, 'P740', 'Q24089316']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q1085 . ?w rdf:type ontology:Q163740 }
Duch Německa Urbi et orbi Broučci
Did you mean Prague ?
Prague
[{'concept': 'nonprofit organization'}, 'location of formation', 'Duch Německa'] [{'concept': 'nonprofit organization'}, 'location of formation', 'Urbi et orbi'] [{'concept': 'nonprofit organization'}, 'location of formation', 'Broučci']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:Prague . ?w rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q163740),P740,Q1085)
[{'concept': 'Q163740'}, 'P740', 'Q1085']
[{'concept': 'nonprofit organization'}, 'location of formation', 'Prague']
[]
Q15735556
SYSTEM
Wikimedia Czech Republic
Q15735556
(c(Q163740),P740,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P740
type Q163740
[ANSWER] was formed at that administrative territory
[{'concept': 'Q163740'}, 'P740', 'Q1085']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q1085 . ?w rdf:type ontology:Q163740 }
Wikimedia Czech Republic
Wikimedia Czech Republic was formed at that administrative territory
Wikimedia Czech Republic
action filter_type
action find_reverse
entity Prague
relation location of formation
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'location of formation', 'Prague']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:Prague . ?w rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q15735556 Q1085
P740
Q56061
USER
Did that nonprofit organization orginate Prague ?
(Q15735556,P740,Q1085)
action is_in
entity Q1085
action find
entity Q15735556
relation P740
['Q15735556', 'P740', 'Q1085']
ASK WHERE { resource:Q15735556 property:P740 resource:Q1085 }
Wikimedia Czech Republic Prague
action is_in
entity Prague
action find
entity Wikimedia Czech Republic
relation location of formation
['Wikimedia Czech Republic', 'location of formation', 'Prague']
ASK WHERE { resource:Wikimedia_Czech_Republic property:location_of_formation resource:Prague }
[]
administrative territorial entity
SYSTEM
YES
(Q15735556,P740,Q1085)
action is_in
entity Q1085
action find
entity Q15735556
relation P740
[ANSWER]
['Q15735556', 'P740', 'Q1085']
ASK WHERE { resource:Q15735556 property:P740 resource:Q1085 }
Yes
action is_in
entity Prague
action find
entity Wikimedia Czech Republic
relation location of formation
['Wikimedia Czech Republic', 'location of formation', 'Prague']
ASK WHERE { resource:Wikimedia_Czech_Republic property:location_of_formation resource:Prague }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2388026
P609
Q56061 Q83620 Q12280
USER
How many administrative territories are the terminus locations of lesser number of thoroughfares and bridges than Exminster ?
(c(Q83620)|c(Q12280),P609,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action count
action filter_multi_types
action find_reverse
entity Q2388026
relation P609
type Q83620
type Q12280
[[{'concept': 'Q83620'}, {'concept': 'Q12280'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?u ) WHERE { { ?c property:P609 ?j . ?c rdf:type ontology:Q83620 . ?j rdf:type ontology:Q56061 } UNION { ?j rdf:type ontology:Q56061 . ?c rdf:type ontology:Q12280 . ?c property:P609 ?j } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P609 resource:Q2388026 . { VALUES ( ?r ) { ( ontology:Q83620 ) ( ontology:Q12280 ) } . ?m rdf:type ?r } } } . FILTER ( ?u < ?t ) }
Exminster
action count
action less
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 bridge
action count
action filter_multi_types
action find_reverse
entity Exminster
relation terminus location
type thoroughfare
type bridge
[[{'concept': 'thoroughfare'}, {'concept': 'bridge'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?u ) WHERE { { ?c property:terminus_location ?j . ?c rdf:type ontology:thoroughfare . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:bridge . ?c property:terminus_location ?j } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:terminus_location resource:Exminster . { VALUES ( ?r ) { ( ontology:thoroughfare ) ( ontology:bridge ) } . ?m rdf:type ?r } } } . FILTER ( ?u < ?t ) }
[]
administrative territorial entity thoroughfare bridge
SYSTEM
198
Q1159408 Q1866725 Q599331 Q81076 Q10084 Q3112494 Q81177 Q2218481 Q2779809 Q238510 Q780923 Q957593 Q581785 Q2207185 Q83178 Q1781774 Q1027049 Q10014 Q6772133 Q185216 Q846242 Q2223679 Q1950380 Q1309 Q832938 Q2684131 Q13415826 Q9920 Q746096 Q883862 Q12912978 Q494631 Q4507706 Q988590 Q149787 Q2372373 Q3020221 Q212686 Q1890499 Q282729 Q3475289 Q937679 Q5529922 Q49274 Q3030085 Q2124272 Q1012006 Q2060859 Q6903267 Q10025 Q3394752 Q43631 Q478036 Q6430673 Q502312 Q1812494 Q262483 Q842477 Q4733779 Q2121249 Q1615972 Q5083 Q9911 Q2376829 Q81086 Q1026976 Q51697 Q51694 Q798 Q793 Q545457 Q1615386 Q932008 Q2473978 Q2026781 Q1840 Q776965 Q3322237 Q2525207 Q5367550 Q9909 Q797512 Q60444 Q2247076 Q1726 Q6373375 Q920932 Q1023246 Q2579355 Q3026315 Q9898 Q3138 Q237692 Q1912125 Q1907250 Q26881 Q3312626 Q5039616 Q16977290 Q579722 Q5182964 Q488545 Q992371 Q2403755 Q83407 Q3030738 Q934511 Q2096849 Q2360370 Q1007168 Q2853591 Q858607 Q959585 Q1615562 Q2893665 Q740852 Q956 Q1770 Q2235855 Q425786 Q279000 Q9832 Q1781 Q2873143 Q168279 Q2318330 Q15156199 Q826048 Q1613459 Q12013510 Q244327 Q605318 Q20203420 Q1890680 Q695417 Q2856996 Q26421 Q10041 Q3330170 Q517423 Q2023889 Q1616642 Q9783 Q2157144 Q2750562 Q743632 Q2543653 Q9871 Q5327973 Q1863836 Q2511595 Q3432009 Q84125 Q736131 Q506745 Q1867 Q690062 Q634481 Q2906589 Q2805272 Q995911 Q166065 Q1007176 Q1241302 Q611722 Q1025080 Q1025089 Q1310 Q5604964 Q3205403 Q2900922 Q77056 Q1258901 Q9934 Q2225613 Q2774284 Q2496189 Q2181173 Q75967 Q2277323 Q2282115 Q1210428 Q60705 Q2289322 Q803903 Q2281208 Q726635 Q230406 Q615732 Q3025598 Q2860067 Q985549 Q971130 Q505601 Q1916586 Q10037 Q2433994 Q743236
(c(Q83620)|c(Q12280),P609,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action count
action filter_multi_types
action find_reverse
entity Q2388026
relation P609
type Q83620
type Q12280
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q12280'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?u ) WHERE { { ?c property:P609 ?j . ?c rdf:type ontology:Q83620 . ?j rdf:type ontology:Q56061 } UNION { ?j rdf:type ontology:Q56061 . ?c rdf:type ontology:Q12280 . ?c property:P609 ?j } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P609 resource:Q2388026 . { VALUES ( ?r ) { ( ontology:Q83620 ) ( ontology:Q12280 ) } . ?m rdf:type ?r } } } . FILTER ( ?u < ?t ) }
Dandenong Groenekan Biddinghuizen Zierikzee Vlissingen Poeldijk Leersum Oosterbeek Kats Etten Wallasey Den Oever Lepelstraat Terneuzen Almere Ulvsunda Irkeshtam Kampen Marmion Grapevine Nieuw-Lekkerland Uithuizen Mount Barker Maastricht Bodegraven De Punt De Bilt Haarlem North Shields Blerick Oosterhout Sassnitz Dongen Pruszcz Gdański Hendon Kootwijk De Meern Aigio Manjimup Ouderkerk aan de Amstel Schaijk Bunnik Geestdorp Garland Wieringerwerf Maasdam Cruden Bay Nieuw-Beijerland Roosendaal Wierden Catthorpe Leiden Schoonhoven Koondoola Maasdijk Rijswijk Deadwood Oosterzele Almere Poort Stainforth Wateringen Seattle Den Helder Swifterbant Sas van Gent Sale McKinney Grand Prairie Assen Zwolle Nieuw-Vennep Sassenheim Maarssen Ede Poelkapelle Veenendaal Klaipėda Venlo Ochten Elsham, North Lincolnshire Bussum Baarle Drachten Barger-Compascuum Munich Karrinyup Eede Westrozebeke Babberich Terhole Amstelveen Trier Ewijk Klaaswaal Serooskerke Helsingør Middenmeer Carine Alkmaar Ossendrecht Crawley Spijkenisse Bruinisse Terschuur Mons Zuidschermer Papendrecht Stellendam Longtown IJsselmuiden Aberford Strijen Streefkerk Kesteren Beek, Montferland Tessenderlo Beijing Tallinn Aarlanderveen 's-Gravenzande South Shields Eindhoven Budapest Hoek Zbraslav Waverveen Alphen aan den Rijn Waddinxveen Naaldwijk Vught Gorinchem Joondalup Heumen Bad Nieuweschans Bremerton Neeritter Dordrecht Soest Velsen-Zuid Den Dolder Eijsden Thurcroft Roermond Almere Haven Aarsele Nieuw-Amsterdam, Drenthe Den Hoorn, South Holland Tilburg East Butterwick Kamerik Almere Stad Rijkevoort Gouda Alblasserdam Rijswijk Taipei Rønne Gedser Blijham Ens Hoofddorp Lelystad Glanerbrug Dongara Westerland, Netherlands Soesterberg Nieuw- en Sint Joosland Arnhem Greenwood Edgemont Nieuwe Pekela Edam Driebergen-Rijsenburg Hilversum Nieuwdorp Meerkerk Oude-Tonge Bellingwolde Schoondijke Siebengewald Gretna Didam Emmeloord Van Ewijcksluis Bainbridge Island Dinteloord Beek, Ubbergen Zurich, Friesland Breukelen Wedde Cothen Sitia Nieuwe Niedorp Wassenaar Elsloo, Limburg Eemnes Putte, Pays-Bas Diest
198
action count
action less
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 bridge
action count
action filter_multi_types
action find_reverse
entity Exminster
relation terminus location
type thoroughfare
type bridge
[[{'concept': 'thoroughfare'}, {'concept': 'bridge'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?u ) WHERE { { ?c property:terminus_location ?j . ?c rdf:type ontology:thoroughfare . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:bridge . ?c property:terminus_location ?j } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:terminus_location resource:Exminster . { VALUES ( ?r ) { ( ontology:thoroughfare ) ( ontology:bridge ) } . ?m rdf:type ?r } } } . FILTER ( ?u < ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15735556
P463
Q502895
USER
Which are the people that are a part of Wikimedia Czech Republic ?
(c(Q502895),P463,Q15735556)
action filter_type
action find_reverse
entity Q15735556
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q15735556']
SELECT DISTINCT ?n WHERE { ?n property:P463 resource:Q15735556 . ?n rdf:type ontology:Q502895 }
Wikimedia Czech Republic
action filter_type
action find_reverse
entity Wikimedia Czech Republic
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Wikimedia Czech Republic']
SELECT DISTINCT ?n WHERE { ?n property:member_of resource:Wikimedia_Czech_Republic . ?n rdf:type ontology:common_name }
[]
common name
Q12023114 Q7269822
SYSTEM
Jan Spousta, Marek Blahuš
Q12023114 Q7269822
(c(Q502895),P463,Q15735556)
action filter_type
action find_reverse
entity Q15735556
relation P463
type Q502895
The people that are a part of Wikimedia Czech Republic are [ANSWERS]
[{'concept': 'Q502895'}, 'P463', 'Q15735556']
SELECT DISTINCT ?n WHERE { ?n property:P463 resource:Q15735556 . ?n rdf:type ontology:Q502895 }
Jan Spousta Marek Blahuš
The people that are a part of Wikimedia Czech Republic are Jan Spousta and Marek Blahuš
Jan Spousta Marek Blahuš
action filter_type
action find_reverse
entity Wikimedia Czech Republic
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Wikimedia Czech Republic']
SELECT DISTINCT ?n WHERE { ?n property:member_of resource:Wikimedia_Czech_Republic . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q12023114 Q7269822
P106
Q12737077
USER
What do those people do for a living ?
(Q12023114,P106,c(Q12737077)) (Q7269822,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q12023114', 'P106', {'concept': 'Q12737077'}] ['Q7269822', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . ?e property:P106 ?n . VALUES ( ?e ) { ( resource:Q12023114 ) ( resource:Q7269822 ) } }
Jan Spousta Marek Blahuš
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jan Spousta', 'occupation', {'concept': 'occupation'}] ['Marek Blahuš', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . ?e property:occupation ?n . VALUES ( ?e ) { ( resource:Jan_Spousta ) ( resource:Marek_Blahuš ) } }
[]
occupation
Q82594 Q2306091 Q36180
SYSTEM
computer scientist, sociologist, writer
Q2306091 Q36180 Q3809586 Q82594
(Q12023114,P106,c(Q12737077)) (Q7269822,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
Those people do [ANSWERS] for a living
['Q12023114', 'P106', {'concept': 'Q12737077'}] ['Q7269822', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . ?e property:P106 ?n . VALUES ( ?e ) { ( resource:Q12023114 ) ( resource:Q7269822 ) } }
sociologist writer Wikipedian in Residence computer scientist
Those people do computer scientist, sociologist and writer for a living
computer scientist sociologist writer
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jan Spousta', 'occupation', {'concept': 'occupation'}] ['Marek Blahuš', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . ?e property:occupation ?n . VALUES ( ?e ) { ( resource:Jan_Spousta ) ( resource:Marek_Blahuš ) } }
[]