Simple Question (Direct)
Simple Question
Q4096293
P103
Q25295
USER
Which language family is the mother tongue of Neta Riskin ?
(Q4096293,P103,c(Q25295))
action filter_type
action find
entity Q4096293
relation P103
type Q25295
['Q4096293', 'P103', {'concept': 'Q25295'}]
SELECT DISTINCT ?b WHERE { resource:Q4096293 property:P103 ?b . ?b rdf:type ontology:Q25295 }
Neta Riskin
action filter_type
action find
entity Neta Riskin
relation native language
type language family
['Neta Riskin', 'native language', {'concept': 'language family'}]
SELECT DISTINCT ?b WHERE { resource:Neta_Riskin property:native_language ?b . ?b rdf:type ontology:language_family }
[]
language family
Q9288
SYSTEM
Hebrew
Q9288
(Q4096293,P103,c(Q25295))
action filter_type
action find
entity Q4096293
relation P103
type Q25295
[ANSWER] is the mother tongue of Neta Riskin
['Q4096293', 'P103', {'concept': 'Q25295'}]
SELECT DISTINCT ?b WHERE { resource:Q4096293 property:P103 ?b . ?b rdf:type ontology:Q25295 }
Hebrew
Hebrew is the mother tongue of Neta Riskin
Hebrew
action filter_type
action find
entity Neta Riskin
relation native language
type language family
['Neta Riskin', 'native language', {'concept': 'language family'}]
SELECT DISTINCT ?b WHERE { resource:Neta_Riskin property:native_language ?b . ?b rdf:type ontology:language_family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4096293
P551
Q56061
USER
Where did Neta Riskin reside ?
(Q4096293,P551,c(Q56061))
action filter_type
action find
entity Q4096293
relation P551
type Q56061
['Q4096293', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q4096293 property:P551 ?r . ?r rdf:type ontology:Q56061 }
Neta Riskin
action filter_type
action find
entity Neta Riskin
relation residence
type administrative territorial entity
['Neta Riskin', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Neta_Riskin property:residence ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33935
SYSTEM
Tel Aviv
Q33935
(Q4096293,P551,c(Q56061))
action filter_type
action find
entity Q4096293
relation P551
type Q56061
Neta Riskin resided in [ANSWER]
['Q4096293', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q4096293 property:P551 ?r . ?r rdf:type ontology:Q56061 }
Tel Aviv
Neta Riskin resided in Tel Aviv
Tel Aviv
action filter_type
action find
entity Neta Riskin
relation residence
type administrative territorial entity
['Neta Riskin', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Neta_Riskin property:residence ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33935
P291
Q21114848
USER
Which magazine genre has that administrative territory as its release location ?
(c(Q21114848),P291,Q33935)
action filter_type
action find_reverse
entity Q33935
relation P291
type Q21114848
[{'concept': 'Q21114848'}, 'P291', 'Q33935']
SELECT DISTINCT ?v WHERE { ?v property:P291 resource:Q33935 . ?v rdf:type ontology:Q21114848 }
Tel Aviv
action filter_type
action find_reverse
entity Tel Aviv
relation place of publication
type magazine genre
[{'concept': 'magazine genre'}, 'place of publication', 'Tel Aviv']
SELECT DISTINCT ?v WHERE { ?v property:place_of_publication resource:Tel_Aviv . ?v rdf:type ontology:magazine_genre }
[]
magazine genre
Q15715603
SYSTEM
Leaflet, Agricultural Experiment Station, Zionist Organisation Institute
Q15715603
(c(Q21114848),P291,Q33935)
action filter_type
action find_reverse
entity Q33935
relation P291
type Q21114848
[ANSWER] has that administrative territory as its release location
[{'concept': 'Q21114848'}, 'P291', 'Q33935']
SELECT DISTINCT ?v WHERE { ?v property:P291 resource:Q33935 . ?v rdf:type ontology:Q21114848 }
Leaflet, Agricultural Experiment Station, Zionist Organisation Institute
Leaflet, Agricultural Experiment Station, Zionist Organisation Institute has that administrative territory as its release location
Leaflet, Agricultural Experiment Station, Zionist Organisation Institute
action filter_type
action find_reverse
entity Tel Aviv
relation place of publication
type magazine genre
[{'concept': 'magazine genre'}, 'place of publication', 'Tel Aviv']
SELECT DISTINCT ?v WHERE { ?v property:place_of_publication resource:Tel_Aviv . ?v rdf:type ontology:magazine_genre }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P291
Q56061 Q21114848
USER
Which administrative territories were atmost 19 magazine genres issued ?
(c(Q21114848),P291,c(Q56061))
action atmost
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
value 19
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?f <= 19 ) . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P291 ?q . ?q rdf:type ontology:Q56061 . ?y rdf:type ontology:Q21114848 } GROUP BY ?q } }
action atmost
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
value 19
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?f <= 19 ) . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:place_of_publication ?q . ?q rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:magazine_genre } GROUP BY ?q } }
[]
administrative territorial entity magazine genre
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q1022 Q749 Q99151 Q90 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q84 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q1492 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q2807 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q64 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647 Q1085
(c(Q21114848),P291,c(Q56061))
action atmost
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
value 19
[ANSWERS] were atmost 19 magazine genres issued
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?f <= 19 ) . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P291 ?q . ?q rdf:type ontology:Q56061 . ?y rdf:type ontology:Q21114848 } GROUP BY ?q } }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Stuttgart Groningen Ourense Paris Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Valencia Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Milan Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria London Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Barcelona Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg Madrid New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Huesca Erfurt Seville Bari Berlin Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg Prague
Prague, Zürich and Moscow were atmost 19 magazine genres issued
Prague Zürich Moscow
action atmost
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
value 19
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?f <= 19 ) . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:place_of_publication ?q . ?q rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:magazine_genre } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1085 Q72 Q649
P190
Q13220204
USER
Which administrative country subdivisions are partner towns of Prague, Zürich and Moscow ?
(Q1085,P190,c(Q13220204)) (Q72,P190,c(Q13220204)) (Q649,P190,c(Q13220204))
action union
action filter_type
action find
entity Q1085
relation P190
type Q13220204
action filter_type
action find
entity Q72
relation P190
type Q13220204
action filter_type
action find
entity Q649
relation P190
type Q13220204
['Q1085', 'P190', {'concept': 'Q13220204'}] ['Q72', 'P190', {'concept': 'Q13220204'}] ['Q649', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { { resource:Q1085 property:P190 ?i . ?i rdf:type ontology:Q13220204 } UNION { resource:Q72 property:P190 ?i . ?i rdf:type ontology:Q13220204 } }
Prague Zürich Moscow
action union
action filter_type
action find
entity Prague
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Zürich
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Moscow
relation sister city
type second-level administrative country subdivision
['Prague', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Zürich', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Moscow', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { { resource:Prague property:sister_city ?i . ?i rdf:type ontology:second-level_administrative_country_subdivision } UNION { resource:Zürich property:sister_city ?i . ?i rdf:type ontology:second-level_administrative_country_subdivision } }
[]
second-level administrative country subdivision
Q9899 Q9899 Q157144
SYSTEM
Vinnytsia for 3rd, Amsterdam for 1st, 2nd
Q9899 Q157144 Q9899 Q156711
(Q1085,P190,c(Q13220204)) (Q72,P190,c(Q13220204)) (Q649,P190,c(Q13220204))
action union
action filter_type
action find
entity Q1085
relation P190
type Q13220204
action filter_type
action find
entity Q72
relation P190
type Q13220204
action filter_type
action find
entity Q649
relation P190
type Q13220204
[ANSWERS]
['Q1085', 'P190', {'concept': 'Q13220204'}] ['Q72', 'P190', {'concept': 'Q13220204'}] ['Q649', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { { resource:Q1085 property:P190 ?i . ?i rdf:type ontology:Q13220204 } UNION { resource:Q72 property:P190 ?i . ?i rdf:type ontology:Q13220204 } }
Amsterdam Vinnytsia Amsterdam Uzhhorod
Amsterdam, Amsterdam and Vinnytsia are partner towns of Prague, Zürich and Moscow
Amsterdam Amsterdam Vinnytsia
action union
action filter_type
action find
entity Prague
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Zürich
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Moscow
relation sister city
type second-level administrative country subdivision
['Prague', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Zürich', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Moscow', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { { resource:Prague property:sister_city ?i . ?i rdf:type ontology:second-level_administrative_country_subdivision } UNION { resource:Zürich property:sister_city ?i . ?i rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9899
P6
Q502895
USER
Which person is the head of government of that administrative country subdivision ?
(Q9899,P6,c(Q502895))
action filter_type
action find
entity Q9899
relation P6
type Q502895
['Q9899', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q9899 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Amsterdam
action filter_type
action find
entity Amsterdam
relation head of government
type common name
['Amsterdam', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Amsterdam property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q9899
SYSTEM
Did you mean Amsterdam ?
Q9899 Q9899 Q157144
(Q9899,P6,c(Q502895)) (Q9899,P6,c(Q502895)) (Q157144,P6,c(Q502895))
[ANSWER]
['Q9899', 'P6', {'concept': 'Q502895'}] ['Q9899', 'P6', {'concept': 'Q502895'}] ['Q157144', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q9899 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Amsterdam Amsterdam Vinnytsia
Did you mean Amsterdam ?
Amsterdam
['Amsterdam', 'head of government', {'concept': 'common name'}] ['Amsterdam', 'head of government', {'concept': 'common name'}] ['Vinnytsia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Amsterdam property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q9899,P6,c(Q502895))
['Q9899', 'P6', {'concept': 'Q502895'}]
['Amsterdam', 'head of government', {'concept': 'common name'}]
[]
Q1279554
SYSTEM
Eberhard van der Laan
Q1279554
(Q9899,P6,c(Q502895))
action filter_type
action find
entity Q9899
relation P6
type Q502895
[ANSWER] is the head of government of that administrative country subdivision
['Q9899', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q9899 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Eberhard van der Laan
Eberhard van der Laan is the head of government of that administrative country subdivision
Eberhard van der Laan
action filter_type
action find
entity Amsterdam
relation head of government
type common name
['Amsterdam', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Amsterdam property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1279554 Q29999
P27
Q15617994
USER
Is that person an inhabitant of Kingdom of the Netherlands ?
(Q1279554,P27,Q29999)
action is_in
entity Q29999
action find
entity Q1279554
relation P27
['Q1279554', 'P27', 'Q29999']
ASK WHERE { resource:Q1279554 property:P27 resource:Q29999 }
Eberhard van der Laan Kingdom of the Netherlands
action is_in
entity Kingdom of the Netherlands
action find
entity Eberhard van der Laan
relation country of citizenship
['Eberhard van der Laan', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Eberhard_van_der_Laan property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1279554,P27,Q29999)
action is_in
entity Q29999
action find
entity Q1279554
relation P27
[ANSWER]
['Q1279554', 'P27', 'Q29999']
ASK WHERE { resource:Q1279554 property:P27 resource:Q29999 }
Yes
action is_in
entity Kingdom of the Netherlands
action find
entity Eberhard van der Laan
relation country of citizenship
['Eberhard van der Laan', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Eberhard_van_der_Laan property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]