Simple Question (Direct)
Simple Question
Q661122
P106
Q12737077
USER
What is the profession of Emilio Longoni ?
(Q661122,P106,c(Q12737077))
action filter_type
action find
entity Q661122
relation P106
type Q12737077
['Q661122', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q661122 property:P106 ?r }
Emilio Longoni
action filter_type
action find
entity Emilio Longoni
relation occupation
type occupation
['Emilio Longoni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Emilio_Longoni property:occupation ?r }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q661122,P106,c(Q12737077))
action filter_type
action find
entity Q661122
relation P106
type Q12737077
The profession of Emilio Longoni is a [ANSWER]
['Q661122', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q661122 property:P106 ?r }
painter
The profession of Emilio Longoni is a painter
painter
action filter_type
action find
entity Emilio Longoni
relation occupation
type occupation
['Emilio Longoni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Emilio_Longoni property:occupation ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q661122
P20
Q56061
USER
Where did that person die ?
(Q1028181,P20,c(Q56061))
action filter_type
action find
entity Q661122
relation P20
type Q56061
['Q1028181', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q661122 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Emilio Longoni
action filter_type
action find
entity Emilio Longoni
relation place of death
type administrative territorial entity
['painter', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Emilio_Longoni property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q1028181,P20,c(Q56061))
action filter_type
action find
entity Q661122
relation P20
type Q56061
That person died in [ANSWER]
['Q1028181', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q661122 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Milan
That person died in Milan
Milan
action filter_type
action find
entity Emilio Longoni
relation place of death
type administrative territorial entity
['painter', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Emilio_Longoni property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P417
Q1445650 Q56061
USER
Which administrative territories have adopted greater number of holidays as their patron saint than that administrative territory ?
(c(Q56061),P417,c(Q1445650))
action greater
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_type
action find
entity Q490
relation P417
type Q56061
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q490 property:P417 ?r . ?r rdf:type ontology:Q56061 } } . FILTER ( ?l > ?b ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?l ) WHERE { ?v property:P417 ?i . ?i rdf:type ontology:Q1445650 . ?v rdf:type ontology:Q56061 } GROUP BY ?v } }
action greater
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_type
action find
entity Milan
relation patron saint
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Milan property:patron_saint ?r . ?r rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?l > ?b ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?l ) WHERE { ?v property:patron_saint ?i . ?i rdf:type ontology:holiday . ?v rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } }
[]
holiday administrative territorial entity
Q433066 Q428018 Q495798
SYSTEM
Moos in Passeier, Mölten, Brolo
Q491588 Q495798 Q428018 Q52215 Q433066
(c(Q56061),P417,c(Q1445650))
action greater
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_type
action find
entity Q490
relation P417
type Q56061
[ANSWERS] have adopted greater number of holidays as their patron saint than that administrative territory
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q490 property:P417 ?r . ?r rdf:type ontology:Q56061 } } . FILTER ( ?l > ?b ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?l ) WHERE { ?v property:P417 ?i . ?i rdf:type ontology:Q1445650 . ?v rdf:type ontology:Q56061 } GROUP BY ?v } }
Camporeale Brolo Mölten Tuglie Moos in Passeier
Moos in Passeier, Mölten and Brolo have adopted greater number of holidays as their patron saint than that administrative territory
Moos in Passeier Mölten Brolo
action greater
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_type
action find
entity Milan
relation patron saint
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Milan property:patron_saint ?r . ?r rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?l > ?b ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?l ) WHERE { ?v property:patron_saint ?i . ?i rdf:type ontology:holiday . ?v rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11792104 Q490
P19 P190
Q486972
USER
Which human settlements are twin cities of Milan or were Nicolaus Pol born in ?
OR((Q490,P190,c(Q486972)), (Q11792104,P19,c(Q486972)))
action filter_type
action union
action find
entity Q490
relation P190
action find
entity Q11792104
relation P19
type Q486972
{'OR': [['Q490', 'P190', {'concept': 'Q486972'}], ['Q11792104', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q490 property:P190 ?l } UNION { resource:Q11792104 property:P19 ?l } } . ?l rdf:type ontology:Q486972 }
Nicolaus Pol Milan
action filter_type
action union
action find
entity Milan
relation sister city
action find
entity Nicolaus Pol
relation place of birth
type human settlement
{'OR': [['Milan', 'sister city', {'concept': 'human settlement'}], ['Nicolaus Pol', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Milan property:sister_city ?l } UNION { resource:Nicolaus_Pol property:place_of_birth ?l } } . ?l rdf:type ontology:human_settlement }
[]
human settlement
Q1799 Q31487 Q9022
SYSTEM
Wrocław, Kraków, Guadalajara
Q1799 Q31487 Q9022
OR((Q490,P190,c(Q486972)), (Q11792104,P19,c(Q486972)))
action filter_type
action union
action find
entity Q490
relation P190
action find
entity Q11792104
relation P19
type Q486972
[ANSWERS] are twin cities of Milan or were Nicolaus Pol born in
{'OR': [['Q490', 'P190', {'concept': 'Q486972'}], ['Q11792104', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q490 property:P190 ?l } UNION { resource:Q11792104 property:P19 ?l } } . ?l rdf:type ontology:Q486972 }
Wrocław Kraków Guadalajara
Wrocław, Kraków and Guadalajara are twin cities of Milan or were Nicolaus Pol born in
Wrocław Kraków Guadalajara
action filter_type
action union
action find
entity Milan
relation sister city
action find
entity Nicolaus Pol
relation place of birth
type human settlement
{'OR': [['Milan', 'sister city', {'concept': 'human settlement'}], ['Nicolaus Pol', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Milan property:sister_city ?l } UNION { resource:Nicolaus_Pol property:place_of_birth ?l } } . ?l rdf:type ontology:human_settlement }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P206
Q15324 Q355304 Q486972
USER
How many human settlements are located next to around the same number of bodies of water and watercourses as that human settlement ?
(c(Q486972),P206,c(Q15324)|c(Q355304))
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?y ) ( ?x ) } . ?z property:P206 ?u } . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q15324 . ?x rdf:type ontology:Q355304 }
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?y ) ( ?x ) } . ?z property:located_next_to_body_of_water ?u } . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:body_of_water . ?x rdf:type ontology:watercourse }
[]
body of water watercourse human settlement
Comparative|Count over More/Less|Mult. entity type|Clarification
Q31487
SYSTEM
Did you mean Kraków ?
(c(Q486972),P206,c(Q15324)|c(Q355304))
[ANSWER]
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?y ) ( ?x ) } . ?z property:P206 ?u } . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q15324 . ?x rdf:type ontology:Q355304 }
Did you mean Kraków ?
Kraków
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?y ) ( ?x ) } . ?z property:located_next_to_body_of_water ?u } . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:body_of_water . ?x rdf:type ontology:watercourse }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Wrocław. Could you tell me the answer for that?
(c(Q486972),P206,c(Q15324)|c(Q355304))
Q1799
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
[]
SYSTEM
164
Q889411 Q1799 Q2743964 Q5730555 Q1792 Q486341 Q2759508 Q5733111 Q7636289 Q399750 Q5743233 Q4776323 Q2567504 Q5740023 Q2326308 Q5745686 Q2303485 Q819176 Q749717 Q15123379 Q2538595 Q8067706 Q2739592 Q14524602 Q1143140 Q5103794 Q16083 Q6723261 Q171219 Q594339 Q7253200 Q5088733 Q61827 Q2682641 Q212257 Q4981726 Q1165679 Q5590579 Q3177723 Q652199 Q810328 Q2111250 Q2002693 Q5595988 Q5738311 Q3657716 Q973641 Q21039837 Q960161 Q3593263 Q1223143 Q4787391 Q512874 Q1788598 Q2920812 Q3321002 Q2285390 Q477216 Q15056333 Q5201956 Q1566490 Q10602449 Q152443 Q3593074 Q834490 Q812085 Q936539 Q5745769 Q3593402 Q1939107 Q4859894 Q3270886 Q15110580 Q47554 Q2765504 Q209932 Q5742519 Q2392994 Q993913 Q2911399 Q2398063 Q577150 Q649957 Q2600062 Q5739370 Q1514988 Q11710105 Q302205 Q2725842 Q5321242 Q1179003 Q21036953 Q146436 Q14805 Q3289792 Q2574197 Q1263502 Q1201569 Q5072194 Q6351669 Q5584067 Q5618822 Q810372 Q2408688 Q927604 Q1669687 Q15058274 Q11744903 Q15136209 Q896243 Q15266084 Q4340978 Q106681 Q910356 Q681851 Q24879 Q743908 Q5311044 Q5735200 Q3533 Q2552730 Q5738210 Q934815 Q26239886 Q1904081 Q5746607 Q1342149 Q387739 Q519717 Q226870 Q5741748 Q1277568 Q28516 Q1661362 Q384817 Q15071763 Q1483934 Q8067489 Q661881 Q8082197 Q18026381 Q1014971 Q2351193 Q773029 Q3593112 Q1183074 Q21279758 Q2789932 Q7827075 Q2474873 Q6836102 Q2555365 Q2823875 Q828955 Q16304198 Q5617577 Q2568008 Q317056 Q2500141 Q2230782 Q1343060 Q104725 Q609660 Q5618298
(c(Q486972),P206,c(Q15324)|c(Q355304))
[ANSWER]
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P206 ?y } UNION { ?z property:P206 ?x } } . ?z rdf:type ontology:Q486972 . ?y rdf:type ontology:Q15324 . ?x rdf:type ontology:Q355304 }
Bodega Bay Wrocław Kryłów Mień Gdańsk Kufstein Liwcze Wyszków, Węgrów County Sulimów-Kolonia Aha Twarogi Ruskie Antonin, Podlaskie Voivodeship Krzyczew Pokaniewo Liw, Poland Trzaski, Wysokie Mazowieckie County Woudrichem Wola Uhruska Kunowice Odertaler Sägemühle Wackerstein Zbereże Koivusaari Styrum Cudjoe Key Chodów, Masovian Voivodeship Deggendorf Maces Bay Dornbirn Murawiec Pruszyn, Siedlce County Chańki Freudenberg am Main Kodeń Gnojno Serpelice Sunset Key Grabarka, Gmina Milejczyce Playa Vista Mielnik Schlungenhof Zuzela Rogacze Granne Niemirów Orchówek Ontinyent Markhof Fleming Key Île aux Basques Dietfurt in Mittelfranken Arciechów Gezira Island Kriegenbrunn Nur Monkey Bay Sigsbee Park Bahía Kino Geyern Czeremcha-Wieś Haaren Norra Hammarbyhamnen Carolinensiel île Feydeau Sławatycze Bay Point Borowiki Pobikry Puget Island Hulcze Barchów Pratulin Eßlingen Toruń Chochłów Biała Podlaska Pełch Tannenhausen Małkinia Górna Borzychy Nurczyk Wyżłów Alicudi Kuzawka Lewosze Gersdorf Horodyszcze, Hrubieszów County Brańszczyk Perlejewo Dłużniów Daxlanden Laubenthal Waterloo Kaufbeuren Tara Hills Myców Duck Key Dettenheim Chanie Klimkowicze Goose Island Leszczka Mała Unterasbach Mokobody Bronkhorst Ursheim Oderhaus Kościukowicze Zimmern Boćki Petrovka settlement Czeremcha, Podlaskie Voivodeship Włocławek Fort Ruychaver Żuki, Gmina Terespol Bremen Filicudi Dubno, Podlaskie Voivodeship Kózki Rönneburg Laajasalo Miedwieżyki Horodło Hügelmühle Kamieńczyk Radziszewo-Króle Engelreuth Dorohusk Mazzorbo Zosin Twarogi Lackie Würm Tarnobrzeg Salbke San Vicente de la Barquera Blacklead Island Weiboldshausen Zawiszyn Speicherstadt Świerże, Chełm County Niederpappenheim Burggrub Michalków Urle Kekerten Island Dehrn Gourmalon Zaręby Kościelne Torresdale Dobrotvir Michałowice, Lesser Poland Voivodeship Weiherfeld-Dammerstock Ada Međica Laredo Beaujoire Wojtkowice Stare Neple Friedrichshain Starawieś Schambach Enhofen Płock Kobiernice Leszczka Duża
164
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?z property:located_next_to_body_of_water ?x } } . ?z rdf:type ontology:human_settlement . ?y rdf:type ontology:body_of_water . ?x rdf:type ontology:watercourse }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q21114848 Q2342494
USER
Which administrative territories are the places of publication of around 7 magazine genres or collectables ?
(c(Q21114848)|c(Q2342494),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
value 7
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?g WHERE { { ?f property:P291 ?g . ?g rdf:type ontology:Q56061 . ?f rdf:type ontology:Q21114848 } UNION { ?g rdf:type ontology:Q56061 . ?f rdf:type ontology:Q2342494 . ?f property:P291 ?g } } GROUP BY ?g } . FILTER ( ?o = 7 ) }
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
value 7
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?g WHERE { { ?f property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:magazine_genre } UNION { ?g rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:collectable . ?f property:place_of_publication ?g } } GROUP BY ?g } . FILTER ( ?o = 7 ) }
[]
administrative territorial entity magazine genre collectable
Q72 Q649 Q2807
SYSTEM
Zürich, Moscow, Madrid
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 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
(c(Q21114848)|c(Q2342494),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
value 7
[ANSWERS] are the places of publication of around 7 magazine genres or collectables
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?g WHERE { { ?f property:P291 ?g . ?g rdf:type ontology:Q56061 . ?f rdf:type ontology:Q21114848 } UNION { ?g rdf:type ontology:Q56061 . ?f rdf:type ontology:Q2342494 . ?f property:P291 ?g } } GROUP BY ?g } . FILTER ( ?o = 7 ) }
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 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
Zürich, Moscow and Madrid are the places of publication of around 7 magazine genres or collectables
Zürich Moscow Madrid
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
value 7
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?g WHERE { { ?f property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:magazine_genre } UNION { ?g rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:collectable . ?f property:place_of_publication ?g } } GROUP BY ?g } . FILTER ( ?o = 7 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q526762 Q428018
P17
Q15617994
USER
Which administrative territories do Mölten or Villalbilla de Burgos belong to ?
OR((Q428018,P17,c(Q15617994)), (Q526762,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q428018
relation P17
action find
entity Q526762
relation P17
type Q15617994
{'OR': [['Q428018', 'P17', {'concept': 'Q15617994'}], ['Q526762', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q428018 property:P17 ?i } UNION { resource:Q526762 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Villalbilla de Burgos Mölten
action filter_type
action union
action find
entity Mölten
relation country
action find
entity Villalbilla de Burgos
relation country
type designation for an administrative territorial entity
{'OR': [['Mölten', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Villalbilla de Burgos', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Mölten property:country ?i } UNION { resource:Villalbilla_de_Burgos property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q38
SYSTEM
Spain, Italy
Q29 Q38
OR((Q428018,P17,c(Q15617994)), (Q526762,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q428018
relation P17
action find
entity Q526762
relation P17
type Q15617994
[ANSWERS] Mölten or Villalbilla de Burgos belong to
{'OR': [['Q428018', 'P17', {'concept': 'Q15617994'}], ['Q526762', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q428018 property:P17 ?i } UNION { resource:Q526762 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Spain Italy
Spain and Italy Mölten or Villalbilla de Burgos belong to
Spain Italy
action filter_type
action union
action find
entity Mölten
relation country
action find
entity Villalbilla de Burgos
relation country
type designation for an administrative territorial entity
{'OR': [['Mölten', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Villalbilla de Burgos', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Mölten property:country ?i } UNION { resource:Villalbilla_de_Burgos property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1011275 Q1799
P190
Q56061
USER
Which administrative territories are twin cities of Wrocław or Knjaževac ?
OR((Q1799,P190,c(Q56061)), (Q1011275,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1799
relation P190
action find
entity Q1011275
relation P190
type Q56061
{'OR': [['Q1799', 'P190', {'concept': 'Q56061'}], ['Q1011275', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:P190 ?v . VALUES ( ?s ) { ( resource:Q1799 ) ( resource:Q1011275 ) } } . ?v rdf:type ontology:Q56061 }
Knjaževac Wrocław
action filter_type
action union
action find
entity Wrocław
relation sister city
action find
entity Knjaževac
relation sister city
type administrative territorial entity
{'OR': [['Wrocław', 'sister city', {'concept': 'administrative territorial entity'}], ['Knjaževac', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:sister_city ?v . VALUES ( ?s ) { ( resource:Wrocław ) ( resource:Knjaževac ) } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q40844 Q180139 Q648 Q138474 Q181376 Q384 Q407234 Q4115712 Q192807 Q36036
SYSTEM
Breda, Hradec Králové, Lille, Novi Bečej, Grodno, Skopje, Belogradchik, Kaunas, Ramat Gan, Lviv
Q40844 Q180139 Q648 Q138474 Q181376 Q384 Q407234 Q4115712 Q192807 Q36036
OR((Q1799,P190,c(Q56061)), (Q1011275,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1799
relation P190
action find
entity Q1011275
relation P190
type Q56061
[ANSWERS] are twin cities of Wrocław or Knjaževac
{'OR': [['Q1799', 'P190', {'concept': 'Q56061'}], ['Q1011275', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:P190 ?v . VALUES ( ?s ) { ( resource:Q1799 ) ( resource:Q1011275 ) } } . ?v rdf:type ontology:Q56061 }
Breda Hradec Králové Lille Novi Bečej Grodno Skopje Belogradchik Kaunas Ramat Gan Lviv
Breda, Hradec Králové, Lille, Novi Bečej, Grodno, Skopje, Belogradchik, Kaunas, Ramat Gan and Lviv are twin cities of Wrocław or Knjaževac
Breda Hradec Králové Lille Novi Bečej Grodno Skopje Belogradchik Kaunas Ramat Gan Lviv
action filter_type
action union
action find
entity Wrocław
relation sister city
action find
entity Knjaževac
relation sister city
type administrative territorial entity
{'OR': [['Wrocław', 'sister city', {'concept': 'administrative territorial entity'}], ['Knjaževac', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?s property:sister_city ?v . VALUES ( ?s ) { ( resource:Wrocław ) ( resource:Knjaževac ) } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q648
P166
Q618779
USER
Which awards were received by Lille ?
(Q648,P166,c(Q618779))
action filter_type
action find
entity Q648
relation P166
type Q618779
['Q648', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q648 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Lille
action filter_type
action find
entity Lille
relation award received
type award
['Lille', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Lille property:award_received ?b . ?b rdf:type ontology:award }
[]
award
Q2547676 Q2727598
SYSTEM
Croix de guerre 1939–1945, Croix de guerre 1914–1918
Q2547676 Q2727598
(Q648,P166,c(Q618779))
action filter_type
action find
entity Q648
relation P166
type Q618779
[ANSWERS] were received by Lille
['Q648', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q648 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Croix de guerre 1939–1945 Croix de guerre 1914–1918
Croix de guerre 1939–1945 and Croix de guerre 1914–1918 were received by Lille
Croix de guerre 1939–1945 Croix de guerre 1914–1918
action filter_type
action find
entity Lille
relation award received
type award
['Lille', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Lille property:award_received ?b . ?b rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2547676 Q2727598
P17
Q15617994
USER
Which administrative territories are Croix de guerre 1939–1945 and Croix de guerre 1914–1918 a part of ?
(Q2547676,P17,c(Q15617994)) (Q2727598,P17,c(Q15617994))
action union
action filter_type
action find
entity Q2547676
relation P17
type Q15617994
action filter_type
action find
entity Q2727598
relation P17
type Q15617994
['Q2547676', 'P17', {'concept': 'Q15617994'}] ['Q2727598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?w ) { ( resource:Q2547676 ) ( resource:Q2727598 ) } . ?w property:P17 ?r }
Croix de guerre 1939–1945 Croix de guerre 1914–1918
action union
action filter_type
action find
entity Croix de guerre 1939–1945
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Croix de guerre 1914–1918
relation country
type designation for an administrative territorial entity
['Croix de guerre 1939–1945', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?w ) { ( resource:Croix_de_guerre_1939–1945 ) ( resource:Croix_de_guerre_1914–1918 ) } . ?w property:country ?r }
[]
designation for an administrative territorial entity
Q142 Q142
SYSTEM
France
Q142 Q142
(Q2547676,P17,c(Q15617994)) (Q2727598,P17,c(Q15617994))
action union
action filter_type
action find
entity Q2547676
relation P17
type Q15617994
action filter_type
action find
entity Q2727598
relation P17
type Q15617994
[ANSWER] and [ANSWER] are Croix de guerre 1939–1945 and Croix de guerre 1914–1918 a part of
['Q2547676', 'P17', {'concept': 'Q15617994'}] ['Q2727598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?w ) { ( resource:Q2547676 ) ( resource:Q2727598 ) } . ?w property:P17 ?r }
France France
France and France are Croix de guerre 1939–1945 and Croix de guerre 1914–1918 a part of
France France
action union
action filter_type
action find
entity Croix de guerre 1939–1945
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Croix de guerre 1914–1918
relation country
type designation for an administrative territorial entity
['Croix de guerre 1939–1945', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?w ) { ( resource:Croix_de_guerre_1939–1945 ) ( resource:Croix_de_guerre_1914–1918 ) } . ?w property:country ?r }
[]