Simple Question (Direct)
Simple Question
Q15438527
P39
Q12737077
USER
What were the positions for which Hinrich Pape were appointed ?
(Q15438527,P39,c(Q12737077))
action filter_type
action find
entity Q15438527
relation P39
type Q12737077
['Q15438527', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q15438527 property:P39 ?i }
Hinrich Pape
action filter_type
action find
entity Hinrich Pape
relation position held
type occupation
['Hinrich Pape', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Hinrich_Pape property:position_held ?i }
[]
occupation
Q1640530 Q30185 Q708492
SYSTEM
Mayor of Lübeck, mayor, councillor
Q1640530 Q30185 Q708492
(Q15438527,P39,c(Q12737077))
action filter_type
action find
entity Q15438527
relation P39
type Q12737077
Hamburg [ANSWERS]
['Q15438527', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q15438527 property:P39 ?i }
Mayor of Lübeck mayor councillor
Hamburg Mayor of Lübeck, mayor and councillor
Mayor of Lübeck mayor councillor
action filter_type
action find
entity Hinrich Pape
relation position held
type occupation
['Hinrich Pape', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Hinrich_Pape property:position_held ?i }
[]
Clarification
Simple Question|Single Entity|Indirect
Q30185
P361
Q15617994
USER
What is that occupation a portion of ?
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q30185 property:P361 ?m . ?m rdf:type ontology:Q15617994 }
mayor
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:mayor property:part_of ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q708492
SYSTEM
Did you mean councillor ?
Q1640530 Q30185 Q708492
(Q1640530,P361,c(Q15617994)) (Q30185,P361,c(Q15617994)) (Q708492,P361,c(Q15617994))
[ANSWER]
['Q1640530', 'P361', {'concept': 'Q15617994'}] ['Q30185', 'P361', {'concept': 'Q15617994'}] ['Q708492', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q30185 property:P361 ?m . ?m rdf:type ontology:Q15617994 }
Mayor of Lübeck mayor councillor
Did you mean councillor ?
councillor
['Mayor of Lübeck', 'part of', {'concept': 'designation for an administrative territorial entity'}] ['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}] ['councillor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:mayor property:part_of ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant mayor. Could you tell me the answer for that?
(Q30185,P361,c(Q15617994))
Q30185
['Q30185', 'P361', {'concept': 'Q15617994'}]
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
[]
Q15284
SYSTEM
municipality
Q15284
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
That occupation a portion of is a [ANSWER]
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q30185 property:P361 ?m . ?m rdf:type ontology:Q15617994 }
municipality
That occupation a portion of is a municipality
municipality
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:mayor property:part_of ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15284
P127
Q483110
USER
Which stadium is owned by that administrative territory ?
(c(Q483110),P127,Q15284)
action filter_type
action find_reverse
entity Q15284
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q15284']
SELECT DISTINCT ?k WHERE { ?k property:P127 resource:Q15284 . ?k rdf:type ontology:Q483110 }
municipality
action filter_type
action find_reverse
entity municipality
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'municipality']
SELECT DISTINCT ?k WHERE { ?k property:owned_by resource:municipality . ?k rdf:type ontology:stadium }
[]
stadium
Q1086620
SYSTEM
Stadio Nereo Rocco
Q1086620
(c(Q483110),P127,Q15284)
action filter_type
action find_reverse
entity Q15284
relation P127
type Q483110
[ANSWER] is owned by that administrative territory
[{'concept': 'Q483110'}, 'P127', 'Q15284']
SELECT DISTINCT ?k WHERE { ?k property:P127 resource:Q15284 . ?k rdf:type ontology:Q483110 }
Stadio Nereo Rocco
Stadio Nereo Rocco is owned by that administrative territory
Stadio Nereo Rocco
action filter_type
action find_reverse
entity municipality
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'municipality']
SELECT DISTINCT ?k WHERE { ?k property:owned_by resource:municipality . ?k rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1086620
P17
Q15617994
USER
Which administrative territory is that stadium situated in ?
(Q1086620,P17,c(Q15617994))
action filter_type
action find
entity Q1086620
relation P17
type Q15617994
['Q1086620', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1086620 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Stadio Nereo Rocco
action filter_type
action find
entity Stadio Nereo Rocco
relation country
type designation for an administrative territorial entity
['Stadio Nereo Rocco', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Stadio_Nereo_Rocco property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q1086620,P17,c(Q15617994))
action filter_type
action find
entity Q1086620
relation P17
type Q15617994
That stadium is situated in [ANSWER]
['Q1086620', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1086620 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Italy
That stadium is situated in Italy
Italy
action filter_type
action find
entity Stadio Nereo Rocco
relation country
type designation for an administrative territorial entity
['Stadio Nereo Rocco', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Stadio_Nereo_Rocco property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q38 Q664
P530
Q1048835
USER
Does New Zealand have diplomatic relationships with that administrative territory ?
(Q38,P530,Q664)
action is_in
entity Q664
action find
entity Q38
relation P530
['Q38', 'P530', 'Q664']
ASK WHERE { resource:Q38 property:P530 resource:Q664 }
Italy New Zealand
action is_in
entity New Zealand
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Italy property:diplomatic_relation resource:New_Zealand }
[]
political territorial entity
SYSTEM
YES
(Q38,P530,Q664)
action is_in
entity Q664
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q664']
ASK WHERE { resource:Q38 property:P530 resource:Q664 }
Yes
action is_in
entity New Zealand
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Italy property:diplomatic_relation resource:New_Zealand }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P291
Q571
USER
Which books were published in that administrative territory ?
action filter_type
action find_reverse
entity Q38
relation P291
type Q571
SELECT DISTINCT ?x WHERE { ?x property:P291 resource:Q38 . ?x rdf:type ontology:Q571 }
Italy
action filter_type
action find_reverse
entity Italy
relation place of publication
type book
SELECT DISTINCT ?x WHERE { ?x property:place_of_publication resource:Italy . ?x rdf:type ontology:book }
[]
book
Q27620404 Q18647256
SYSTEM
Morgante, Il Principe, Italia, 1814
Q27620404 Q18647256
action filter_type
action find_reverse
entity Q38
relation P291
type Q571
[ANSWERS]
SELECT DISTINCT ?x WHERE { ?x property:P291 resource:Q38 . ?x rdf:type ontology:Q571 }
Morgante Il Principe, Italia, 1814
Morgante and Il Principe, Italia, 1814 were published in that administrative territory
Morgante Il Principe, Italia, 1814
action filter_type
action find_reverse
entity Italy
relation place of publication
type book
SELECT DISTINCT ?x WHERE { ?x property:place_of_publication resource:Italy . ?x rdf:type ontology:book }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q669171
P291
Q56061 Q571
USER
Which administrative territories were approximately the same number of books issued as Newtown ?
(c(Q571),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q669171
relation P291
type Q56061
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ontology:Q571 . ?l rdf:type ontology:Q56061 . ?t property:P291 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ontology:Q56061 . resource:Q669171 property:P291 ?q } } . FILTER ( ?r = ?y ) }
Newtown
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Newtown
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ontology:book . ?l rdf:type ontology:administrative_territorial_entity . ?t property:place_of_publication ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Newtown property:place_of_publication ?q } } . FILTER ( ?r = ?y ) }
[]
administrative territorial entity book
Q72 Q8678 Q8686
SYSTEM
Zürich, Rio de Janeiro, Shanghai
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 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 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 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 Q1724 Q11967 Q1729 Q8717 Q3519 Q64 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 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 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(Q571),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q669171
relation P291
type Q56061
[ANSWERS] were approximately the same number of books issued as Newtown
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ontology:Q571 . ?l rdf:type ontology:Q56061 . ?t property:P291 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ontology:Q56061 . resource:Q669171 property:P291 ?q } } . FILTER ( ?r = ?y ) }
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 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 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 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 Saarbrücken Huesca Erfurt Seville Bari Berlin Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna 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 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, Rio de Janeiro and Shanghai were approximately the same number of books issued as Newtown
Zürich Rio de Janeiro Shanghai
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Newtown
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ontology:book . ?l rdf:type ontology:administrative_territorial_entity . ?t property:place_of_publication ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Newtown property:place_of_publication ?q } } . FILTER ( ?r = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q127159
P291
Q56061 Q571
USER
And how about Bletchley?
(c(Q571),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q127159
relation P291
type Q56061
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?x ) WHERE { ?t rdf:type ontology:Q56061 . ?j rdf:type ontology:Q571 . ?j property:P291 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q127159 property:P291 ?i . ?i rdf:type ontology:Q56061 } } . FILTER ( ?x = ?d ) }
Bletchley
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Bletchley
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?x ) WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:book . ?j property:place_of_publication ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Bletchley property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?x = ?d ) }
[]
administrative territorial entity book
Q72 Q8678 Q8686
SYSTEM
Zürich, Rio de Janeiro, Shanghai
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 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 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 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 Q1724 Q11967 Q1729 Q8717 Q3519 Q64 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 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 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(Q571),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q127159
relation P291
type Q56061
[ANSWERS]
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?x ) WHERE { ?t rdf:type ontology:Q56061 . ?j rdf:type ontology:Q571 . ?j property:P291 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q127159 property:P291 ?i . ?i rdf:type ontology:Q56061 } } . FILTER ( ?x = ?d ) }
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 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 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 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 Saarbrücken Huesca Erfurt Seville Bari Berlin Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna 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 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 Rio de Janeiro Shanghai
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Bletchley
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?x ) WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:book . ?j property:place_of_publication ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Bletchley property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?x = ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3322486 Q8678
P27 P17
Q15617994
USER
Which administrative territories are Rio de Janeiro situated in or do Xosé Neira Vilas belong to ?
OR((Q8678,P17,c(Q15617994)), (Q3322486,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8678
relation P17
action find
entity Q3322486
relation P27
type Q15617994
{'OR': [['Q8678', 'P17', {'concept': 'Q15617994'}], ['Q3322486', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { { resource:Q8678 property:P17 ?z } UNION { resource:Q3322486 property:P27 ?z } } }
Xosé Neira Vilas Rio de Janeiro
action filter_type
action union
action find
entity Rio de Janeiro
relation country
action find
entity Xosé Neira Vilas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rio de Janeiro', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Xosé Neira Vilas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Rio_de_Janeiro property:country ?z } UNION { resource:Xosé_Neira_Vilas property:country_of_citizenship ?z } } }
[]
designation for an administrative territorial entity
Q155 Q29
SYSTEM
Brazil, Spain
Q155 Q29
OR((Q8678,P17,c(Q15617994)), (Q3322486,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8678
relation P17
action find
entity Q3322486
relation P27
type Q15617994
Rio de Janeiro are situated in belong to the [ANSWERS]
{'OR': [['Q8678', 'P17', {'concept': 'Q15617994'}], ['Q3322486', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { { resource:Q8678 property:P17 ?z } UNION { resource:Q3322486 property:P27 ?z } } }
Brazil Spain
Rio de Janeiro are situated in belong to the Brazil and Spain
Brazil Spain
action filter_type
action union
action find
entity Rio de Janeiro
relation country
action find
entity Xosé Neira Vilas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rio de Janeiro', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Xosé Neira Vilas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Rio_de_Janeiro property:country ?z } UNION { resource:Xosé_Neira_Vilas property:country_of_citizenship ?z } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with approximately 21 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 21
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 . ?e property:P530 ?y } GROUP BY ?e } . FILTER ( ?f = 21 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity . ?e property:diplomatic_relation ?y } GROUP BY ?e } . FILTER ( ?f = 21 ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 21
[ANSWERS] have tactful political relations with approximately 21 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 . ?e property:P530 ?y } GROUP BY ?e } . FILTER ( ?f = 21 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have tactful political relations with approximately 21 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity . ?e property:diplomatic_relation ?y } GROUP BY ?e } . FILTER ( ?f = 21 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4917086 Q3322486
P27 P17
Q15617994
USER
Which administrative territories do Xosé Neira Vilas belong to or are Birthplace of Svetozar Ćorović situated in ?
OR((Q3322486,P27,c(Q15617994)), (Q4917086,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3322486
relation P27
action find
entity Q4917086
relation P17
type Q15617994
{'OR': [['Q3322486', 'P27', {'concept': 'Q15617994'}], ['Q4917086', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q4917086 property:P17 ?u } UNION { resource:Q3322486 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
Birthplace of Svetozar Ćorović Xosé Neira Vilas
action filter_type
action union
action find
entity Xosé Neira Vilas
relation country of citizenship
action find
entity Birthplace of Svetozar Ćorović
relation country
type designation for an administrative territorial entity
{'OR': [['Xosé Neira Vilas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Birthplace of Svetozar Ćorović', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Birthplace_of_Svetozar_Ćorović property:country ?u } UNION { resource:Xosé_Neira_Vilas property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q225
SYSTEM
Spain, Bosnia and Herzegovina
Q29 Q225
OR((Q3322486,P27,c(Q15617994)), (Q4917086,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3322486
relation P27
action find
entity Q4917086
relation P17
type Q15617994
[ANSWERS] Xosé Neira Vilas belong to or are Birthplace of Svetozar Ćorović situated in
{'OR': [['Q3322486', 'P27', {'concept': 'Q15617994'}], ['Q4917086', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q4917086 property:P17 ?u } UNION { resource:Q3322486 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
Spain Bosnia and Herzegovina
Spain and Bosnia and Herzegovina Xosé Neira Vilas belong to or are Birthplace of Svetozar Ćorović situated in
Spain Bosnia and Herzegovina
action filter_type
action union
action find
entity Xosé Neira Vilas
relation country of citizenship
action find
entity Birthplace of Svetozar Ćorović
relation country
type designation for an administrative territorial entity
{'OR': [['Xosé Neira Vilas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Birthplace of Svetozar Ćorović', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Birthplace_of_Svetozar_Ćorović property:country ?u } UNION { resource:Xosé_Neira_Vilas property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]