Simple Question (Direct)
Simple Question
Q4159783
P27
Q15617994
USER
Which administrative territory is the native country of Marko Đalović ?
(Q4159783,P27,c(Q15617994))
action filter_type
action find
entity Q4159783
relation P27
type Q15617994
['Q4159783', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q4159783 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Marko Đalović
action filter_type
action find
entity Marko Đalović
relation country of citizenship
type designation for an administrative territorial entity
['Marko Đalović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Marko_Đalović property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q4159783,P27,c(Q15617994))
action filter_type
action find
entity Q4159783
relation P27
type Q15617994
The [ANSWER] is the native country of Marko Đalović
['Q4159783', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q4159783 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Serbia
The Serbia is the native country of Marko Đalović
Serbia
action filter_type
action find
entity Marko Đalović
relation country of citizenship
type designation for an administrative territorial entity
['Marko Đalović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Marko_Đalović property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q403
P137
Q4830453
USER
Which business enterprise is the administrator of that administrative territory ?
(c(Q4830453),P137,Q403)
action filter_type
action find_reverse
entity Q403
relation P137
type Q4830453
[{'concept': 'Q4830453'}, 'P137', 'Q403']
SELECT DISTINCT ?x WHERE { ?x property:P137 resource:Q403 . ?x rdf:type ontology:Q4830453 }
Serbia
action filter_type
action find_reverse
entity Serbia
relation operator
type business enterprise
[{'concept': 'business enterprise'}, 'operator', 'Serbia']
SELECT DISTINCT ?x WHERE { ?x property:operator resource:Serbia . ?x rdf:type ontology:business_enterprise }
[]
business enterprise
Q366567
SYSTEM
Radio Television of Kosovo
Q366567
(c(Q4830453),P137,Q403)
action filter_type
action find_reverse
entity Q403
relation P137
type Q4830453
[ANSWER] is the administrator of that administrative territory
[{'concept': 'Q4830453'}, 'P137', 'Q403']
SELECT DISTINCT ?x WHERE { ?x property:P137 resource:Q403 . ?x rdf:type ontology:Q4830453 }
Radio Television of Kosovo
Radio Television of Kosovo is the administrator of that administrative territory
Radio Television of Kosovo
action filter_type
action find_reverse
entity Serbia
relation operator
type business enterprise
[{'concept': 'business enterprise'}, 'operator', 'Serbia']
SELECT DISTINCT ?x WHERE { ?x property:operator resource:Serbia . ?x rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q366567
P159
Q56061
USER
Where is the headquarter of that business enterprise located ?
(Q366567,P159,c(Q56061))
action filter_type
action find
entity Q366567
relation P159
type Q56061
['Q366567', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q366567 property:P159 ?r . ?r rdf:type ontology:Q56061 }
Radio Television of Kosovo
action filter_type
action find
entity Radio Television of Kosovo
relation headquarters location
type administrative territorial entity
['Radio Television of Kosovo', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Radio_Television_of_Kosovo property:headquarters_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25270
SYSTEM
Prishtina
Q25270
(Q366567,P159,c(Q56061))
action filter_type
action find
entity Q366567
relation P159
type Q56061
The headquarter of that business enterprise is located in [ANSWER]
['Q366567', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q366567 property:P159 ?r . ?r rdf:type ontology:Q56061 }
Prishtina
The headquarter of that business enterprise is located in Prishtina
Prishtina
action filter_type
action find
entity Radio Television of Kosovo
relation headquarters location
type administrative territorial entity
['Radio Television of Kosovo', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Radio_Television_of_Kosovo property:headquarters_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q366567
P21 P108
Q502895
USER
Which people work for Radio Television of Kosovo and are a male ?
AND((c(Q502895),P108,Q366567), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q366567
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q366567'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P21 resource:Q6581097 . ?d property:P108 resource:Q366567 }
male Radio Television of Kosovo
action filter_type
action intersection
action find_reverse
entity Radio Television of Kosovo
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'Radio Television of Kosovo'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:gender resource:male . ?d property:employer resource:Radio_Television_of_Kosovo }
[]
common name
Q4829082
SYSTEM
Avni Spahiu
Q4829082
AND((c(Q502895),P108,Q366567), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q366567
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] work for Radio Television of Kosovo and are a male
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q366567'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P21 resource:Q6581097 . ?d property:P108 resource:Q366567 }
Avni Spahiu
Avni Spahiu work for Radio Television of Kosovo and are a male
Avni Spahiu
action filter_type
action intersection
action find_reverse
entity Radio Television of Kosovo
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'Radio Television of Kosovo'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:gender resource:male . ?d property:employer resource:Radio_Television_of_Kosovo }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q4829082 Q178168
P19
Q56061
USER
Was that person born in Mitrovica ?
(Q4829082,P19,Q178168)
action is_in
entity Q178168
action find
entity Q4829082
relation P19
['Q4829082', 'P19', 'Q178168']
ASK WHERE { resource:Q4829082 property:P19 resource:Q178168 }
Avni Spahiu Mitrovica
action is_in
entity Mitrovica
action find
entity Avni Spahiu
relation place of birth
['Avni Spahiu', 'place of birth', 'Mitrovica']
ASK WHERE { resource:Avni_Spahiu property:place_of_birth resource:Mitrovica }
[]
administrative territorial entity
SYSTEM
YES
(Q4829082,P19,Q178168)
action is_in
entity Q178168
action find
entity Q4829082
relation P19
[ANSWER]
['Q4829082', 'P19', 'Q178168']
ASK WHERE { resource:Q4829082 property:P19 resource:Q178168 }
Yes
action is_in
entity Mitrovica
action find
entity Avni Spahiu
relation place of birth
['Avni Spahiu', 'place of birth', 'Mitrovica']
ASK WHERE { resource:Avni_Spahiu property:place_of_birth resource:Mitrovica }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q25270 Q6430742
P190
Q56061
USER
Is Koorali sister town of Prishtina ?
(Q25270,P190,Q6430742)
action is_in
entity Q6430742
action find
entity Q25270
relation P190
['Q25270', 'P190', 'Q6430742']
ASK WHERE { resource:Q25270 property:P190 resource:Q6430742 }
Prishtina Koorali
action is_in
entity Koorali
action find
entity Prishtina
relation sister city
['Prishtina', 'sister city', 'Koorali']
ASK WHERE { resource:Prishtina property:sister_city resource:Koorali }
[]
administrative territorial entity
SYSTEM
NO
(Q25270,P190,Q6430742)
action is_in
entity Q6430742
action find
entity Q25270
relation P190
[ANSWER]
['Q25270', 'P190', 'Q6430742']
ASK WHERE { resource:Q25270 property:P190 resource:Q6430742 }
No
action is_in
entity Koorali
action find
entity Prishtina
relation sister city
['Prishtina', 'sister city', 'Koorali']
ASK WHERE { resource:Prishtina property:sister_city resource:Koorali }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
How many television genres had their voice dubbing done by exactly 1 person ?
(c(Q15961987),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 1
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?i ) WHERE { ?c property:P725 ?g . ?c rdf:type ontology:Q15961987 . ?g rdf:type ontology:Q502895 } GROUP BY ?c } }
action count
action equal
action find_tuple_counts
relation voice actor
type television genre
type common name
value 1
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?i ) WHERE { ?c property:voice_actor ?g . ?c rdf:type ontology:television_genre . ?g rdf:type ontology:common_name } GROUP BY ?c } }
[]
common name television genre
SYSTEM
3
Q11572 Q847219 Q917543
(c(Q15961987),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 1
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?i ) WHERE { ?c property:P725 ?g . ?c rdf:type ontology:Q15961987 . ?g rdf:type ontology:Q502895 } GROUP BY ?c } }
Avatar: The Last Airbender Pururun! Shizuku-chan The Garfield Show
3
action count
action equal
action find_tuple_counts
relation voice actor
type television genre
type common name
value 1
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?i ) WHERE { ?c property:voice_actor ?g . ?c rdf:type ontology:television_genre . ?g rdf:type ontology:common_name } GROUP BY ?c } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q56061 Q166142 Q15416
USER
Which administrative territories are atmost 769 applications or television programs set in ?
(c(Q166142)|c(Q15416),P840,c(Q56061))
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
value 769
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?m WHERE { { ?v property:P840 ?m . ?m rdf:type ontology:Q56061 . ?v rdf:type ontology:Q166142 } UNION { ?m rdf:type ontology:Q56061 . ?v rdf:type ontology:Q15416 . ?v property:P840 ?m } } GROUP BY ?m } . FILTER ( ?y <= 769 ) }
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
value 769
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?m WHERE { { ?v property:narrative_location ?m . ?m rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:application } UNION { ?m rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:television_program . ?v property:narrative_location ?m } } GROUP BY ?m } . FILTER ( ?y <= 769 ) }
[]
administrative territorial entity application television program
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 Q84 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 Q65 Q159232 Q61 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(Q166142)|c(Q15416),P840,c(Q56061))
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
value 769
Atmost 769 applications or television programs are set in [ANSWERS]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?m WHERE { { ?v property:P840 ?m . ?m rdf:type ontology:Q56061 . ?v rdf:type ontology:Q166142 } UNION { ?m rdf:type ontology:Q56061 . ?v rdf:type ontology:Q15416 . ?v property:P840 ?m } } GROUP BY ?m } . FILTER ( ?y <= 769 ) }
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 London 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 Los Angeles Santa Cruz Washington, D.C. 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
Atmost 769 applications or television programs are 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 application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
value 769
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?m WHERE { { ?v property:narrative_location ?m . ?m rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:application } UNION { ?m rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:television_program . ?v property:narrative_location ?m } } GROUP BY ?m } . FILTER ( ?y <= 769 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1085 Q72 Q649
P190
Q56061
USER
Which administrative territories are twin cities of Prague, Zürich and Moscow ?
(Q1085,P190,c(Q56061)) (Q72,P190,c(Q56061)) (Q649,P190,c(Q56061))
action union
action filter_type
action find
entity Q1085
relation P190
type Q56061
action filter_type
action find
entity Q72
relation P190
type Q56061
action filter_type
action find
entity Q649
relation P190
type Q56061
['Q1085', 'P190', {'concept': 'Q56061'}] ['Q72', 'P190', {'concept': 'Q56061'}] ['Q649', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { resource:Q72 property:P190 ?v . ?v rdf:type ontology:Q56061 } UNION { ?v rdf:type ontology:Q56061 . resource:Q1085 property:P190 ?v } }
Prague Zürich Moscow
action union
action filter_type
action find
entity Prague
relation sister city
type administrative territorial entity
action filter_type
action find
entity Zürich
relation sister city
type administrative territorial entity
action filter_type
action find
entity Moscow
relation sister city
type administrative territorial entity
['Prague', 'sister city', {'concept': 'administrative territorial entity'}] ['Zürich', 'sister city', {'concept': 'administrative territorial entity'}] ['Moscow', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Zürich property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity } UNION { ?v rdf:type ontology:administrative_territorial_entity . resource:Prague property:sister_city ?v } }
[]
administrative territorial entity
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q1757 Q649 Q472 Q8621 Q185632 Q1867 Q1297 Q1842 Q1524 Q6252 Q2634 Q1780 Q13386 Q1748 Q26119 Q2090 Q406 Q13362 Q216 Q239 Q51103 Q2807 Q64 Q3376 Q1218 Q16556 Q168202 Q62 Q807 Q41572 Q13498 Q994 Q437 Q1353 Q727 Q472 Q23564 Q179830 Q178373 Q42308 Q1770 Q1718 Q18808 Q1297 Q1490 Q1741 Q196678 Q3805 Q1520 Q1524 Q1491 Q987 Q1780 Q3630 Q140147 Q25409 Q33935 Q131290 Q3561 Q84 Q85 Q486282 Q19566 Q1861 Q3820 Q216 Q43070 Q270 Q239 Q2807 Q956 Q3640 Q64 Q1218 Q133026 Q186576 Q1085
(Q1085,P190,c(Q56061)) (Q72,P190,c(Q56061)) (Q649,P190,c(Q56061))
action union
action filter_type
action find
entity Q1085
relation P190
type Q56061
action filter_type
action find
entity Q72
relation P190
type Q56061
action filter_type
action find
entity Q649
relation P190
type Q56061
[ANSWERS] are twin cities of Prague, Zürich and Moscow
['Q1085', 'P190', {'concept': 'Q56061'}] ['Q72', 'P190', {'concept': 'Q56061'}] ['Q649', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { resource:Q72 property:P190 ?v . ?v rdf:type ontology:Q56061 } UNION { ?v rdf:type ontology:Q56061 . resource:Q1085 property:P190 ?v } }
Helsinki Moscow Sofia Terni Limassol Taipei Chicago Luxembourg Athens Monza Naples Bratislava Lecce Copenhagen Prešov Nuremberg Istanbul Ferrara Vilnius Brussels Cali Madrid Berlin Trento Jerusalem Phoenix Rosh HaAyin San Francisco Lausanne Mykolaiv Taranto Tbilisi Ljubljana Delhi Amsterdam Sofia Podgorica Jelgava Rasht Kharkiv Tallinn Düsseldorf Pyongyang Chicago Tokyo Vienna Torzhok Amman Astana Athens La Paz New Delhi Bratislava Jakarta Brest Košice Tel Aviv Ganja Algiers London Cairo Pavlodar Simferopol Bangkok Beirut Vilnius Donetsk Warsaw Brussels Madrid Beijing Ankara Berlin Jerusalem Kolomna Pazardzhik Prague
Prague, Moscow and Madrid are twin cities of Prague, Zürich and Moscow
Prague Moscow Madrid
action union
action filter_type
action find
entity Prague
relation sister city
type administrative territorial entity
action filter_type
action find
entity Zürich
relation sister city
type administrative territorial entity
action filter_type
action find
entity Moscow
relation sister city
type administrative territorial entity
['Prague', 'sister city', {'concept': 'administrative territorial entity'}] ['Zürich', 'sister city', {'concept': 'administrative territorial entity'}] ['Moscow', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Zürich property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity } UNION { ?v rdf:type ontology:administrative_territorial_entity . resource:Prague property:sister_city ?v } }
[]