Simple Question (Direct)
Simple Question
Q5592277
P20
Q56061
USER
Where did the demise of Graeme Hammond occur ?
(Q5592277,P20,c(Q56061))
action filter_type
action find
entity Q5592277
relation P20
type Q56061
['Q5592277', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q5592277 property:P20 ?f }
Graeme Hammond
action filter_type
action find
entity Graeme Hammond
relation place of death
type administrative territorial entity
['Graeme Hammond', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Graeme_Hammond property:place_of_death ?f }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q5592277,P20,c(Q56061))
action filter_type
action find
entity Q5592277
relation P20
type Q56061
The demise of Graeme Hammond occurred in [ANSWER]
['Q5592277', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q5592277 property:P20 ?f }
New York City
The demise of Graeme Hammond occurred in New York City
New York City
action filter_type
action find
entity Graeme Hammond
relation place of death
type administrative territorial entity
['Graeme Hammond', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Graeme_Hammond property:place_of_death ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5592277
P21
Q290
USER
What is the sex of Graeme Hammond ?
(Q5592277,P21,c(Q290))
action filter_type
action find
entity Q5592277
relation P21
type Q290
['Q5592277', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5592277 property:P21 ?z . ?z rdf:type ontology:Q290 }
Graeme Hammond
action filter_type
action find
entity Graeme Hammond
relation gender
type sex
['Graeme Hammond', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Graeme_Hammond property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5592277,P21,c(Q290))
action filter_type
action find
entity Q5592277
relation P21
type Q290
The sex of Graeme Hammond is the [ANSWER]
['Q5592277', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5592277 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
The sex of Graeme Hammond is the male
male
action filter_type
action find
entity Graeme Hammond
relation gender
type sex
['Graeme Hammond', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Graeme_Hammond property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q3305213
USER
Which painting expresses that sex ?
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?b WHERE { ?b property:P180 resource:Q6581097 . ?b rdf:type ontology:Q3305213 }
male
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?b WHERE { ?b property:depicts resource:male . ?b rdf:type ontology:painting }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER] expresses that sex
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?b WHERE { ?b property:P180 resource:Q6581097 . ?b rdf:type ontology:Q3305213 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister expresses that sex
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?b WHERE { ?b property:depicts resource:male . ?b rdf:type ontology:painting }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q2342494 Q732577
USER
Which administrative territories were atmost 75 collectables and publications published ?
(c(Q2342494)|c(Q732577),P291,c(Q56061))
action atmost
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
value 75
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:P291 ?m . ?m rdf:type ontology:Q56061 . ?j rdf:type ontology:Q2342494 } UNION { ?m rdf:type ontology:Q56061 . ?j rdf:type ontology:Q732577 . ?j property:P291 ?m } } GROUP BY ?m } . FILTER ( ?s <= 75 ) }
action atmost
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
value 75
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:place_of_publication ?m . ?m rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:collectable } UNION { ?m rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:publication . ?j property:place_of_publication ?m } } GROUP BY ?m } . FILTER ( ?s <= 75 ) }
[]
administrative territorial entity collectable publication
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 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 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(Q2342494)|c(Q732577),P291,c(Q56061))
action atmost
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
value 75
[ANSWERS] were atmost 75 collectables and publications published
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:P291 ?m . ?m rdf:type ontology:Q56061 . ?j rdf:type ontology:Q2342494 } UNION { ?m rdf:type ontology:Q56061 . ?j rdf:type ontology:Q732577 . ?j property:P291 ?m } } GROUP BY ?m } . FILTER ( ?s <= 75 ) }
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 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 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 75 collectables and publications published
Prague Zürich Moscow
action atmost
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
value 75
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?s ) WHERE { { ?j property:place_of_publication ?m . ?m rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:collectable } UNION { ?m rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:publication . ?j property:place_of_publication ?m } } GROUP BY ?m } . FILTER ( ?s <= 75 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1085 Q72 Q649
P190
Q13220204
USER
Which administrative country subdivisions are twin towns of those administrative territories ?
(Q1085,P190,c(Q13220204)) (Q72,P190,c(Q13220204)) (Q649,P190,c(Q13220204))
action filter_type
action find
entity prev_answer
relation P190
type Q13220204
['Q1085', 'P190', {'concept': 'Q13220204'}] ['Q72', 'P190', {'concept': 'Q13220204'}] ['Q649', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q13220204 . VALUES ( ?k ) { ( resource:Q807 ) ( resource:Q909146 ) ( resource:Q2536016 ) } . ?k property:P190 ?n }
Prague Zürich Moscow
action filter_type
action find
entity prev_answer
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 ?n WHERE { ?n rdf:type ontology:second-level_administrative_country_subdivision . VALUES ( ?k ) { ( resource:Lausanne ) ( resource:Godalming ) ( resource:Crickhowell ) } . ?k property:sister_city ?n }
[]
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 filter_type
action find
entity prev_answer
relation P190
type Q13220204
[ANSWERS]
['Q1085', 'P190', {'concept': 'Q13220204'}] ['Q72', 'P190', {'concept': 'Q13220204'}] ['Q649', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q13220204 . VALUES ( ?k ) { ( resource:Q807 ) ( resource:Q909146 ) ( resource:Q2536016 ) } . ?k property:P190 ?n }
Amsterdam Vinnytsia Amsterdam Uzhhorod
Amsterdam, Amsterdam and Vinnytsia are twin towns of those administrative territories
Amsterdam Amsterdam Vinnytsia
action filter_type
action find
entity prev_answer
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 ?n WHERE { ?n rdf:type ontology:second-level_administrative_country_subdivision . VALUES ( ?k ) { ( resource:Lausanne ) ( resource:Godalming ) ( resource:Crickhowell ) } . ?k property:sister_city ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P1376
Q3895768
USER
Which fictional location has Moscow has its first city ?
(Q649,P1376,c(Q3895768))
action filter_type
action find
entity Q649
relation P1376
type Q3895768
['Q649', 'P1376', {'concept': 'Q3895768'}]
SELECT DISTINCT ?h WHERE { resource:Q649 property:P1376 ?h . ?h rdf:type ontology:Q3895768 }
Moscow
action filter_type
action find
entity Moscow
relation capital of
type fictional location
['Moscow', 'capital of', {'concept': 'fictional location'}]
SELECT DISTINCT ?h WHERE { resource:Moscow property:capital_of ?h . ?h rdf:type ontology:fictional_location }
[]
fictional location
Q2630442
SYSTEM
Reichskommissariat Moskowien
Q2630442
(Q649,P1376,c(Q3895768))
action filter_type
action find
entity Q649
relation P1376
type Q3895768
[ANSWER] has Moscow has its first city
['Q649', 'P1376', {'concept': 'Q3895768'}]
SELECT DISTINCT ?h WHERE { resource:Q649 property:P1376 ?h . ?h rdf:type ontology:Q3895768 }
Reichskommissariat Moskowien
Reichskommissariat Moskowien has Moscow has its first city
Reichskommissariat Moskowien
action filter_type
action find
entity Moscow
relation capital of
type fictional location
['Moscow', 'capital of', {'concept': 'fictional location'}]
SELECT DISTINCT ?h WHERE { resource:Moscow property:capital_of ?h . ?h rdf:type ontology:fictional_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P112
Q502895
USER
Which person founded that administrative territory ?
(Q2630442,P112,c(Q502895))
action filter_type
action find
entity Q649
relation P112
type Q502895
['Q2630442', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q649 property:P112 ?c . ?c rdf:type ontology:Q502895 }
Moscow
action filter_type
action find
entity Moscow
relation founder
type common name
['Reichskommissariat Moskowien', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Moscow property:founder ?c . ?c rdf:type ontology:common_name }
[]
common name
Q275106
SYSTEM
Yuri Dolgorukiy
Q275106
(Q2630442,P112,c(Q502895))
action filter_type
action find
entity Q649
relation P112
type Q502895
[ANSWER] founded that administrative territory
['Q2630442', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q649 property:P112 ?c . ?c rdf:type ontology:Q502895 }
Yuri Dolgorukiy
Yuri Dolgorukiy founded that administrative territory
Yuri Dolgorukiy
action filter_type
action find
entity Moscow
relation founder
type common name
['Reichskommissariat Moskowien', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Moscow property:founder ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q649 Q23276
P740
Q43229
USER
How many organizations originated at Moscow or Surrey ?
(c(Q43229),P740,Q649) (c(Q43229),P740,Q23276)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P740
type Q43229
action filter_type
action find_reverse
entity Q23276
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q649'] [{'concept': 'Q43229'}, 'P740', 'Q23276']
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:P740 resource:Q649 . ?q rdf:type ontology:Q43229 } UNION { ?q property:P740 resource:Q23276 . ?q rdf:type ontology:Q43229 } }
Moscow Surrey
action count
action union
action filter_type
action find_reverse
entity Moscow
relation location of formation
type organization
action filter_type
action find_reverse
entity Surrey
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Moscow'] [{'concept': 'organization'}, 'location of formation', 'Surrey']
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:location_of_formation resource:Moscow . ?q rdf:type ontology:organization } UNION { ?q property:location_of_formation resource:Surrey . ?q rdf:type ontology:organization } }
[]
organization
SYSTEM
17
Q4386536 Q15113561 Q17485207 Q2297567 Q2344958 Q4035605 Q629733 Q4045061 Q2279155 Q777721 Q647737 Q4025033 Q221419 Q638156 Q16486828 Q1141123 Q17984830
(c(Q43229),P740,Q649) (c(Q43229),P740,Q23276)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P740
type Q43229
action filter_type
action find_reverse
entity Q23276
relation P740
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q649'] [{'concept': 'Q43229'}, 'P740', 'Q23276']
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:P740 resource:Q649 . ?q rdf:type ontology:Q43229 } UNION { ?q property:P740 resource:Q23276 . ?q rdf:type ontology:Q43229 } }
RIC-Finance NVS Telematic Systems Pompeya (band) Softline International WebMoney Centr RBC Information Systems Narkotiki Rusnano Smirnoff Marussia Motors Zvezda Ilyushin ZiL Glintshake Rosneft Hearst Shkulev Media
17
action count
action union
action filter_type
action find_reverse
entity Moscow
relation location of formation
type organization
action filter_type
action find_reverse
entity Surrey
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Moscow'] [{'concept': 'organization'}, 'location of formation', 'Surrey']
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:location_of_formation resource:Moscow . ?q rdf:type ontology:organization } UNION { ?q property:location_of_formation resource:Surrey . ?q rdf:type ontology:organization } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5759425 Q18713957
P27 P17
Q15617994
USER
Which administrative territories are Raja Surendra Vikram Shah at the age of 15 with his prime minister located in or are Helmer Gille a civilian of ?
OR((Q18713957,P17,c(Q15617994)), (Q5759425,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18713957
relation P17
action find
entity Q5759425
relation P27
type Q15617994
{'OR': [['Q18713957', 'P17', {'concept': 'Q15617994'}], ['Q5759425', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q18713957 property:P17 ?e } UNION { resource:Q5759425 property:P27 ?e } } }
Helmer Gille Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action union
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation country
action find
entity Helmer Gille
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Helmer Gille', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:country ?e } UNION { resource:Helmer_Gille property:country_of_citizenship ?e } } }
[]
designation for an administrative territorial entity
Q30 Q34
SYSTEM
United States of America, Sweden
Q30 Q34
OR((Q18713957,P17,c(Q15617994)), (Q5759425,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18713957
relation P17
action find
entity Q5759425
relation P27
type Q15617994
[ANSWERS] are Raja Surendra Vikram Shah at the age of 15 with his prime minister located in or are Helmer Gille a civilian of
{'OR': [['Q18713957', 'P17', {'concept': 'Q15617994'}], ['Q5759425', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q18713957 property:P17 ?e } UNION { resource:Q5759425 property:P27 ?e } } }
United States of America Sweden
United States of America and Sweden are Raja Surendra Vikram Shah at the age of 15 with his prime minister located in or are Helmer Gille a civilian of
United States of America Sweden
action filter_type
action union
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation country
action find
entity Helmer Gille
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Helmer Gille', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:country ?e } UNION { resource:Helmer_Gille property:country_of_citizenship ?e } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q34
P6
Q502895
USER
Who are the heads of the government of United States of America and Sweden ?
(Q30,P6,c(Q502895)) (Q34,P6,c(Q502895))
action union
action filter_type
action find
entity Q30
relation P6
type Q502895
action filter_type
action find
entity Q34
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}] ['Q34', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?e property:P6 ?q . VALUES ( ?e ) { ( resource:Q30 ) ( resource:Q34 ) } }
United States of America Sweden
action union
action filter_type
action find
entity United States of America
relation head of government
type common name
action filter_type
action find
entity Sweden
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ['Sweden', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?e property:head_of_government ?q . VALUES ( ?e ) { ( resource:United_States_of_America ) ( resource:Sweden ) } }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891 Q2740012 Q52920 Q53740 Q53747
(Q30,P6,c(Q502895)) (Q34,P6,c(Q502895))
action union
action filter_type
action find
entity Q30
relation P6
type Q502895
action filter_type
action find
entity Q34
relation P6
type Q502895
The heads of the government of United States of America and Sweden are President [ANSWERS]
['Q30', 'P6', {'concept': 'Q502895'}] ['Q34', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?e property:P6 ?q . VALUES ( ?e ) { ( resource:Q30 ) ( resource:Q34 ) } }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk Stefan Löfven Fredrik Reinfeldt Ingvar Carlsson Göran Persson
The heads of the government of United States of America and Sweden are President Barack Obama, Dwight D. Eisenhower and Donald Trump
Barack Obama Dwight D. Eisenhower Donald Trump
action union
action filter_type
action find
entity United States of America
relation head of government
type common name
action filter_type
action find
entity Sweden
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ['Sweden', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?e property:head_of_government ?q . VALUES ( ?e ) { ( resource:United_States_of_America ) ( resource:Sweden ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q76 Q9916 Q22686
P22
Q502895
USER
Who are the offspring of Barack Obama, Dwight D. Eisenhower and Donald Trump ?
(c(Q502895),P22,Q76) (c(Q502895),P22,Q9916) (c(Q502895),P22,Q22686)
action union
action filter_type
action find_reverse
entity Q76
relation P22
type Q502895
action filter_type
action find_reverse
entity Q9916
relation P22
type Q502895
action filter_type
action find_reverse
entity Q22686
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q76'] [{'concept': 'Q502895'}, 'P22', 'Q9916'] [{'concept': 'Q502895'}, 'P22', 'Q22686']
SELECT DISTINCT ?i WHERE { { ?i property:P22 resource:Q76 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P22 resource:Q9916 . ?i rdf:type ontology:Q502895 } }
Barack Obama Dwight D. Eisenhower Donald Trump
action union
action filter_type
action find_reverse
entity Barack Obama
relation father
type common name
action filter_type
action find_reverse
entity Dwight D. Eisenhower
relation father
type common name
action filter_type
action find_reverse
entity Donald Trump
relation father
type common name
[{'concept': 'common name'}, 'father', 'Barack Obama'] [{'concept': 'common name'}, 'father', 'Dwight D. Eisenhower'] [{'concept': 'common name'}, 'father', 'Donald Trump']
SELECT DISTINCT ?i WHERE { { ?i property:father resource:Barack_Obama . ?i rdf:type ontology:common_name } UNION { ?i property:father resource:Dwight_D._Eisenhower . ?i rdf:type ontology:common_name } }
[]
common name
Q538633 Q3713655 Q239411
SYSTEM
John Eisenhower, Donald Trump Jr., Ivanka Yael Trump
Q15070048 Q15070044 Q5300213 Q538633 Q3713655 Q239411 Q3731533 Q12071552 Q23000814
(c(Q502895),P22,Q76) (c(Q502895),P22,Q9916) (c(Q502895),P22,Q22686)
action union
action filter_type
action find_reverse
entity Q76
relation P22
type Q502895
action filter_type
action find_reverse
entity Q9916
relation P22
type Q502895
action filter_type
action find_reverse
entity Q22686
relation P22
type Q502895
The offspring of Barack Obama , Dwight D. Eisenhower and Donald Trump are named [ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q76'] [{'concept': 'Q502895'}, 'P22', 'Q9916'] [{'concept': 'Q502895'}, 'P22', 'Q22686']
SELECT DISTINCT ?i WHERE { { ?i property:P22 resource:Q76 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P22 resource:Q9916 . ?i rdf:type ontology:Q502895 } }
Sasha Obama Malia Obama Doud Eisenhower John Eisenhower Donald Trump Jr. Ivanka Yael Trump Eric Trump Tiffany Trump Barron Trump
The offspring of Barack Obama , Dwight D. Eisenhower and Donald Trump are named John Eisenhower, Donald Trump Jr. and Ivanka Yael Trump
John Eisenhower Donald Trump Jr. Ivanka Yael Trump
action union
action filter_type
action find_reverse
entity Barack Obama
relation father
type common name
action filter_type
action find_reverse
entity Dwight D. Eisenhower
relation father
type common name
action filter_type
action find_reverse
entity Donald Trump
relation father
type common name
[{'concept': 'common name'}, 'father', 'Barack Obama'] [{'concept': 'common name'}, 'father', 'Dwight D. Eisenhower'] [{'concept': 'common name'}, 'father', 'Donald Trump']
SELECT DISTINCT ?i WHERE { { ?i property:father resource:Barack_Obama . ?i rdf:type ontology:common_name } UNION { ?i property:father resource:Dwight_D._Eisenhower . ?i rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q76
P1038
Q502895
USER
Who is a kin of Barack Obama ?
(Q76,P1038,c(Q502895))
action filter_type
action find
entity Q76
relation P1038
type Q502895
['Q76', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q76 property:P1038 ?w . ?w rdf:type ontology:Q502895 }
Barack Obama
action filter_type
action find
entity Barack Obama
relation relative
type common name
['Barack Obama', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Barack_Obama property:relative ?w . ?w rdf:type ontology:common_name }
[]
common name
Q2856335
SYSTEM
Stanley Armour Dunham
Q2856335
(Q76,P1038,c(Q502895))
action filter_type
action find
entity Q76
relation P1038
type Q502895
A kin of Barack Obama is the [ANSWER]
['Q76', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q76 property:P1038 ?w . ?w rdf:type ontology:Q502895 }
Stanley Armour Dunham
A kin of Barack Obama is the Stanley Armour Dunham
Stanley Armour Dunham
action filter_type
action find
entity Barack Obama
relation relative
type common name
['Barack Obama', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Barack_Obama property:relative ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2856335
P26
Q502895
USER
Who is the spouse of that one ?
(c(Q502895),P26,Q2856335)
action filter_type
action find
entity Q2856335
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2856335']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q2856335 property:P26 ?w }
Stanley Armour Dunham
action filter_type
action find
entity Stanley Armour Dunham
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Stanley Armour Dunham']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Stanley_Armour_Dunham property:spouse ?w }
[]
common name
Q2856311
SYSTEM
Madelyn Dunham
Q2856311
(c(Q502895),P26,Q2856335)
action filter_type
action find
entity Q2856335
relation P26
type Q502895
The spouse of that one is Lady [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q2856335']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q2856335 property:P26 ?w }
Madelyn Dunham
The spouse of that one is Lady Madelyn Dunham
Madelyn Dunham
action filter_type
action find
entity Stanley Armour Dunham
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Stanley Armour Dunham']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Stanley_Armour_Dunham property:spouse ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 921 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 921
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { FILTER ( ?j = 921 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?c } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 921
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { FILTER ( ?j = 921 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?c } }
[]
musical instrument common name
SYSTEM
63
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 921
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { FILTER ( ?j = 921 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?c } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
63
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 921
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { FILTER ( ?j = 921 ) . { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?c } }
[]