Simple Question (Direct)
Simple Question
Q3315736
P1412
Q34770
USER
Which language can Miquel Duran i Tortajada understand ?
(Q3315736,P1412,c(Q34770))
action filter_type
action find
entity Q3315736
relation P1412
type Q34770
['Q3315736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3315736 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Miquel Duran i Tortajada
action filter_type
action find
entity Miquel Duran i Tortajada
relation languages spoken, written or signed
type language
['Miquel Duran i Tortajada', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Miquel_Duran_i_Tortajada property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3315736,P1412,c(Q34770))
action filter_type
action find
entity Q3315736
relation P1412
type Q34770
Miquel Duran i Tortajada can understand in [ANSWER]
['Q3315736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3315736 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Spanish
Miquel Duran i Tortajada can understand in Spanish
Spanish
action filter_type
action find
entity Miquel Duran i Tortajada
relation languages spoken, written or signed
type language
['Miquel Duran i Tortajada', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Miquel_Duran_i_Tortajada property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3315736
P112
Q21114848
USER
Which magazine genre was started by that person ?
(c(Q21114848),P112,Q1321)
action filter_type
action find_reverse
entity Q3315736
relation P112
type Q21114848
[{'concept': 'Q21114848'}, 'P112', 'Q1321']
SELECT DISTINCT ?n WHERE { ?n property:P112 resource:Q3315736 . ?n rdf:type ontology:Q21114848 }
Miquel Duran i Tortajada
action filter_type
action find_reverse
entity Miquel Duran i Tortajada
relation founder
type magazine genre
[{'concept': 'magazine genre'}, 'founder', 'Spanish']
SELECT DISTINCT ?n WHERE { ?n property:founder resource:Miquel_Duran_i_Tortajada . ?n rdf:type ontology:magazine_genre }
[]
magazine genre
Q9082060
SYSTEM
Taula de Lletres Valencianes
Q9082060
(c(Q21114848),P112,Q1321)
action filter_type
action find_reverse
entity Q3315736
relation P112
type Q21114848
[ANSWER] was started by that person
[{'concept': 'Q21114848'}, 'P112', 'Q1321']
SELECT DISTINCT ?n WHERE { ?n property:P112 resource:Q3315736 . ?n rdf:type ontology:Q21114848 }
Taula de Lletres Valencianes
Taula de Lletres Valencianes was started by that person
Taula de Lletres Valencianes
action filter_type
action find_reverse
entity Miquel Duran i Tortajada
relation founder
type magazine genre
[{'concept': 'magazine genre'}, 'founder', 'Spanish']
SELECT DISTINCT ?n WHERE { ?n property:founder resource:Miquel_Duran_i_Tortajada . ?n rdf:type ontology:magazine_genre }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q90
P291
Q56061 Q21114848
USER
How many administrative territories are the places of publication of around the same number of magazine genres as Paris ?
(c(Q21114848),P291,c(Q56061))
action count
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find
entity Q90
relation P291
type Q56061
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q90 property:P291 ?g . ?g rdf:type ontology:Q56061 } } . FILTER ( ?q = ?b ) . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P291 ?o . ?o rdf:type ontology:Q56061 . ?h rdf:type ontology:Q21114848 } GROUP BY ?o } }
Paris
action count
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find
entity Paris
relation place of publication
type administrative territorial entity
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Paris property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?q = ?b ) . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:place_of_publication ?o . ?o rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:magazine_genre } GROUP BY ?o } }
[]
administrative territorial entity magazine genre
SYSTEM
33
Q3150 Q11974 Q10305 Q1757 Q1754 Q1022 Q90 Q597 Q8818 Q8678 Q490 Q16554 Q8686 Q994 Q1513 Q84 Q40269 Q1741 Q71 Q37100 Q38022 Q270 Q1781 Q33935 Q1861 Q14314 Q956 Q1492 Q437 Q10282 Q64 Q649 Q1085
(c(Q21114848),P291,c(Q56061))
action count
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find
entity Q90
relation P291
type Q56061
[ANSWER]
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q90 property:P291 ?g . ?g rdf:type ontology:Q56061 } } . FILTER ( ?q = ?b ) . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P291 ?o . ?o rdf:type ontology:Q56061 . ?h rdf:type ontology:Q21114848 } GROUP BY ?o } }
Jena Las Palmas de Gran Canaria Zaragoza Helsinki Stockholm Stuttgart Paris Lisbon Valencia Rio de Janeiro Milan Denver Shanghai Tbilisi Nagpur London Porto Alegre Vienna Geneva Auckland St. Louis Warsaw Budapest Tel Aviv Bangkok Santiago de Compostela Beijing Barcelona Ljubljana Pamplona Berlin Moscow Prague
33
action count
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find
entity Paris
relation place of publication
type administrative territorial entity
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Paris property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?q = ?b ) . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:place_of_publication ?o . ?o rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:magazine_genre } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1348
P291
Q56061 Q21114848
USER
And how about Kolkata?
(c(Q21114848),P291,c(Q56061))
action count
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find
entity Q1348
relation P291
type Q56061
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q1348 property:P291 ?i . ?i rdf:type ontology:Q56061 } } . FILTER ( ?n = ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?n ) WHERE { ?u rdf:type ontology:Q56061 . ?s rdf:type ontology:Q21114848 . ?s property:P291 ?u } GROUP BY ?u } }
Kolkata
action count
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find
entity Kolkata
relation place of publication
type administrative territorial entity
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Kolkata property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?n = ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?n ) WHERE { ?u rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:magazine_genre . ?s property:place_of_publication ?u } GROUP BY ?u } }
[]
administrative territorial entity magazine genre
SYSTEM
336
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 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 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 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 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q2617448 Q37100 Q38022 Q36405 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 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 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647 Q1085
(c(Q21114848),P291,c(Q56061))
action count
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find
entity Q1348
relation P291
type Q56061
[ANSWER]
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q1348 property:P291 ?i . ?i rdf:type ontology:Q56061 } } . FILTER ( ?n = ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?n ) WHERE { ?u rdf:type ontology:Q56061 . ?s rdf:type ontology:Q21114848 . ?s property:P291 ?u } GROUP BY ?u } }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola 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 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 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 Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Edinburgh Auckland St. Louis Aberdeen New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca 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 Munich Saarbrücken Huesca Erfurt Seville Bari 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
336
action count
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find
entity Kolkata
relation place of publication
type administrative territorial entity
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Kolkata property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?n = ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?n ) WHERE { ?u rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:magazine_genre . ?s property:place_of_publication ?u } GROUP BY ?u } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q41262
P291
Q56061 Q21114848
USER
Which administrative territories are the places of publication of around the same number of magazine genres as Nottingham ?
(c(Q21114848),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find
entity Q41262
relation P291
type Q56061
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:P291 ?u . ?w rdf:type ontology:Q21114848 . ?u rdf:type ontology:Q56061 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:Q56061 . resource:Q41262 property:P291 ?c } } . FILTER ( ?q = ?h ) }
Nottingham
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find
entity Nottingham
relation place of publication
type administrative territorial entity
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:place_of_publication ?u . ?w rdf:type ontology:magazine_genre . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Nottingham property:place_of_publication ?c } } . FILTER ( ?q = ?h ) }
[]
administrative territorial entity magazine genre
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 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 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 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 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q2617448 Q37100 Q38022 Q36405 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 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 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647 Q1085
(c(Q21114848),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find
entity Q41262
relation P291
type Q56061
[ANSWERS] are the places of publication of around the same number of magazine genres as Nottingham
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:P291 ?u . ?w rdf:type ontology:Q21114848 . ?u rdf:type ontology:Q56061 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:Q56061 . resource:Q41262 property:P291 ?c } } . FILTER ( ?q = ?h ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola 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 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 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 Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Edinburgh Auckland St. Louis Aberdeen New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca 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 Munich Saarbrücken Huesca Erfurt Seville Bari 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 are the places of publication of around the same number of magazine genres as Nottingham
Prague Zürich Moscow
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find
entity Nottingham
relation place of publication
type administrative territorial entity
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?q ) WHERE { ?w property:place_of_publication ?u . ?w rdf:type ontology:magazine_genre . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Nottingham property:place_of_publication ?c } } . FILTER ( ?q = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q270
P291
Q56061 Q21114848
USER
And how about Warsaw?
(c(Q21114848),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find
entity Q270
relation P291
type Q56061
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?v ) WHERE { ?x rdf:type ontology:Q56061 . ?l rdf:type ontology:Q21114848 . ?l property:P291 ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q270 property:P291 ?k . ?k rdf:type ontology:Q56061 } } . FILTER ( ?v = ?h ) }
Warsaw
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find
entity Warsaw
relation place of publication
type administrative territorial entity
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?v ) WHERE { ?x rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:magazine_genre . ?l property:place_of_publication ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Warsaw property:place_of_publication ?k . ?k rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?v = ?h ) }
[]
administrative territorial entity magazine genre
Q1085 Q649 Q490
SYSTEM
Prague, Moscow, Milan
Q3150 Q11974 Q10305 Q1757 Q1754 Q1022 Q90 Q597 Q8818 Q8678 Q490 Q16554 Q8686 Q994 Q1513 Q84 Q40269 Q1741 Q71 Q37100 Q38022 Q270 Q1781 Q33935 Q1861 Q14314 Q956 Q1492 Q437 Q10282 Q64 Q649 Q1085
(c(Q21114848),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_type
action find
entity Q270
relation P291
type Q56061
[ANSWERS]
[{'concept': 'Q21114848'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?v ) WHERE { ?x rdf:type ontology:Q56061 . ?l rdf:type ontology:Q21114848 . ?l property:P291 ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q270 property:P291 ?k . ?k rdf:type ontology:Q56061 } } . FILTER ( ?v = ?h ) }
Jena Las Palmas de Gran Canaria Zaragoza Helsinki Stockholm Stuttgart Paris Lisbon Valencia Rio de Janeiro Milan Denver Shanghai Tbilisi Nagpur London Porto Alegre Vienna Geneva Auckland St. Louis Warsaw Budapest Tel Aviv Bangkok Santiago de Compostela Beijing Barcelona Ljubljana Pamplona Berlin Moscow Prague
Prague Moscow Milan
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_type
action find
entity Warsaw
relation place of publication
type administrative territorial entity
[{'concept': 'magazine genre'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?v ) WHERE { ?x rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:magazine_genre . ?l property:place_of_publication ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Warsaw property:place_of_publication ?k . ?k rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?v = ?h ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3259788
P190
Q56061
USER
Are Ganyushkino a sister city of those ones ?
(Q3259788,P190,Q1085) (Q3259788,P190,Q649) (Q3259788,P190,Q490)
action is_in
entity prev_answer
action find
entity Q3259788
relation P190
['Q3259788', 'P190', 'Q1085'] ['Q3259788', 'P190', 'Q649'] ['Q3259788', 'P190', 'Q490']
ASK WHERE { VALUES ( ?t ) { ( resource:Q3150 ) ( resource:Q11974 ) ( resource:Q10305 ) } . resource:Q3259788 property:P190 ?t }
Ganyushkino
action is_in
entity prev_answer
action find
entity Ganyushkino
relation sister city
['Ganyushkino', 'sister city', 'Prague'] ['Ganyushkino', 'sister city', 'Moscow'] ['Ganyushkino', 'sister city', 'Milan']
ASK WHERE { VALUES ( ?t ) { ( resource:Jena ) ( resource:Las_Palmas_de_Gran_Canaria ) ( resource:Zaragoza ) } . resource:Ganyushkino property:sister_city ?t }
[]
administrative territorial entity
SYSTEM
NO
(Q3259788,P190,Q1085) (Q3259788,P190,Q649) (Q3259788,P190,Q490)
action is_in
entity prev_answer
action find
entity Q3259788
relation P190
[ANSWER]
['Q3259788', 'P190', 'Q1085'] ['Q3259788', 'P190', 'Q649'] ['Q3259788', 'P190', 'Q490']
ASK WHERE { VALUES ( ?t ) { ( resource:Q3150 ) ( resource:Q11974 ) ( resource:Q10305 ) } . resource:Q3259788 property:P190 ?t }
No
action is_in
entity prev_answer
action find
entity Ganyushkino
relation sister city
['Ganyushkino', 'sister city', 'Prague'] ['Ganyushkino', 'sister city', 'Moscow'] ['Ganyushkino', 'sister city', 'Milan']
ASK WHERE { VALUES ( ?t ) { ( resource:Jena ) ( resource:Las_Palmas_de_Gran_Canaria ) ( resource:Zaragoza ) } . resource:Ganyushkino property:sister_city ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q490 Q508968
P17
Q15617994
USER
Is Milan a part of Schneeberg ?
(Q490,P17,Q508968)
action is_in
entity Q508968
action find
entity Q490
relation P17
['Q490', 'P17', 'Q508968']
ASK WHERE { resource:Q490 property:P17 resource:Q508968 }
Milan Schneeberg
action is_in
entity Schneeberg
action find
entity Milan
relation country
['Milan', 'country', 'Schneeberg']
ASK WHERE { resource:Milan property:country resource:Schneeberg }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q490,P17,Q508968)
action is_in
entity Q508968
action find
entity Q490
relation P17
[ANSWER]
['Q490', 'P17', 'Q508968']
ASK WHERE { resource:Q490 property:P17 resource:Q508968 }
No
action is_in
entity Schneeberg
action find
entity Milan
relation country
['Milan', 'country', 'Schneeberg']
ASK WHERE { resource:Milan property:country resource:Schneeberg }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q42603 Q41262
P19 P106
Q502895
USER
Which people have location of birth at Nottingham and are not working as priest ?
AND((c(Q502895),P19,Q41262), NOT((c(Q502895),P106,Q42603)))
action filter_type
action difference
action find_reverse
entity Q41262
relation P19
action find_reverse
entity Q42603
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q41262'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q42603']]}]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P19 resource:Q41262 . FILTER NOT EXISTS { ?i property:P106 resource:Q42603 } }
priest Nottingham
action filter_type
action difference
action find_reverse
entity Nottingham
relation place of birth
action find_reverse
entity priest
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Nottingham'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'priest']]}]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:place_of_birth resource:Nottingham . FILTER NOT EXISTS { ?i property:occupation resource:priest } }
[]
common name
Q1738681 Q7788846 Q22087168 Q23766774 Q4767321 Q1066875 Q6775895 Q26251601 Q7149875 Q5258134
SYSTEM
Some of them are Ken Whyld, Thomas Danks, Perry Fitzpatrick, George Isham Parkyns, Anna Mary Howitt, Charlie Creed-Miles, Martin Kitchen, Alex Iacovitti, Paul Clitheroe, Dennis Alexander
Q1035366 Q6788657 Q26259951 Q16735043 Q16149681 Q10879 Q6197984 Q10509069 Q6271461 Q20747796 Q8022049 Q7788846 Q296621 Q2093045 Q1587616 Q5487068 Q1097965 Q5344371 Q21095515 Q20645780 Q707975 Q4908440 Q6125071 Q216928 Q1179520 Q4685263 Q7153139 Q850968 Q6969500 Q501296 Q4964350 Q16150056 Q6152939 Q6237329 Q3611304 Q6529322 Q3140358 Q2543113 Q4933148 Q6246867 Q17580112 Q20630545 Q5346904 Q18640601 Q912513 Q6668984 Q6788439 Q3807498 Q5544645 Q5228957 Q368705 Q5407601 Q23766774 Q16066728 Q7911329 Q21459960 Q1738415 Q24263597 Q16997527 Q322432 Q4159707 Q5549775 Q432588 Q7346676 Q3811094 Q59373 Q5661381 Q1351901 Q16232277 Q11690924 Q6789141 Q324158 Q7258999 Q2332712 Q232772 Q5484990 Q1031880 Q22279360 Q3666592 Q7608789 Q5386310 Q2424878 Q5180830 Q21462592 Q16231319 Q4710861 Q1385942 Q16221286 Q7177727 Q4678652 Q7149997 Q7177728 Q7411741 Q6555503 Q1287015 Q1548162 Q5450604 Q21584629 Q1064352 Q7699573 Q7600894 Q949152 Q5539998 Q3531389 Q21131658 Q2641020 Q6833865 Q4679885 Q725421 Q5273561 Q4710211 Q323294 Q4725955 Q1292523 Q4666548 Q4799572 Q4711233 Q5267776 Q19560202 Q7787896 Q7368880 Q5298347 Q2067815 Q15710596 Q832803 Q3530869 Q10379389 Q3266017 Q213609 Q15304265 Q6451132 Q2754778 Q6409532 Q443174 Q17362889 Q5343309 Q1822147 Q383466 Q4647880 Q16013546 Q435198 Q22019262 Q276213 Q1632068 Q6243521 Q20651466 Q21521723 Q18737058 Q538826 Q7172116 Q5524121 Q26722869 Q3190542 Q1319870 Q5526050 Q18526130 Q175660 Q5044656 Q5539949 Q5545275 Q5525203 Q5181377 Q277750 Q20039346 Q17916884 Q296689 Q21604164 Q11771608 Q21459554 Q7087788 Q20645687 Q16200815 Q6307499 Q6702442 Q6775895 Q3434228 Q9486 Q10552265 Q4497800 Q6757552 Q7659904 Q5980886 Q24702007 Q16977510 Q6267278 Q22107609 Q5735614 Q6287105 Q5335608 Q1119678 Q7519091 Q5107628 Q16999575 Q673177 Q5980770 Q16973026 Q1251872 Q10556921 Q6775120 Q1554116 Q439139 Q541808 Q23762546 Q3817476 Q16031260 Q6153722 Q7518777 Q7817545 Q4495106 Q7612100 Q1351094 Q512059 Q12068899 Q506944 Q7407169 Q6769288 Q8019644 Q1320912 Q194604 Q18638162 Q1354893 Q1174833 Q1702822 Q725504 Q5051780 Q6145786 Q16751562 Q5983008 Q21544663 Q46132 Q4678800 Q6835134 Q26251601 Q10379507 Q24730486 Q7373369 Q7612203 Q5300876 Q8010295 Q5481135 Q6256641 Q5339744 Q4909819 Q5170583 Q34970 Q16220995 Q8010698 Q4662298 Q1741060 Q6767365 Q6115743 Q2173925 Q7490875 Q4672958 Q6099506 Q20490742 Q10553241 Q7177646 Q7808466 Q4086441 Q18098299 Q631018 Q455166 Q337194 Q18353433 Q770431 Q13519787 Q7152976 Q19664676 Q21288544 Q5081092 Q2451677 Q711250 Q2520495 Q6671262 Q7151112 Q1364785 Q6308413 Q5587797 Q4567413 Q6969351 Q18127460 Q585157 Q154126 Q7839310 Q636682 Q7167614 Q4710528 Q1331048 Q310479 Q5181584 Q2546822 Q16233213 Q16211681 Q10666 Q446215 Q16065518 Q19672218 Q1808013 Q5562842 Q10368417 Q5240410 Q18638090 Q15500732 Q390290 Q15104233 Q1176150 Q1052290 Q3105890 Q20195096 Q10478596 Q4932462 Q7182442 Q7324882 Q1032457 Q17151078 Q6141950 Q6539629 Q6317729 Q6377466 Q249968 Q7613771 Q6114769 Q898451 Q1966653 Q5925734 Q19664939 Q6307566 Q10526199 Q6378488 Q709475 Q4757137 Q958640 Q7633731 Q7693268 Q5084544 Q1669163 Q16200345 Q6879997 Q576005 Q1066875 Q16560970 Q3998504 Q22087175 Q21462988 Q1700814 Q16093509 Q5367728 Q24150891 Q5022967 Q249808 Q6838183 Q8064667 Q2077076 Q15990307 Q20744539 Q2836687 Q2032486 Q17306151 Q18533403 Q7328076 Q337475 Q1355845 Q6225746 Q7408221 Q4761412 Q5258134 Q7288149 Q981830 Q1226602 Q16235891 Q3675577 Q26721182 Q5346388 Q21453464 Q6318242 Q3568289 Q7513574 Q3566569 Q16013409 Q1392500 Q4800337 Q6131938 Q2254634 Q6312426 Q4885622 Q203165 Q5525927 Q12742390 Q21544926 Q7608121 Q6250915 Q1698723 Q18813607 Q709118 Q230190 Q6761872 Q530147 Q885634 Q7408147 Q5592724 Q7519740 Q6766753 Q4157848 Q20080339 Q7363054 Q5542176 Q7153121 Q1350211 Q709238 Q3434489 Q2730699 Q515289 Q332933 Q1058697 Q6776812 Q3832638 Q403215 Q16729288 Q15618836 Q3805088 Q909266 Q374252 Q5301030 Q16223428 Q7449817 Q7324411 Q21457779 Q6846213 Q16769562 Q2150177 Q166307 Q4913118 Q1335446 Q216398 Q353467 Q2825038 Q2057920 Q563136 Q2357852 Q4895071 Q15379115 Q19874079 Q463432 Q8012063 Q18753463 Q7052663 Q5587956 Q4767321 Q16229592 Q310260 Q4356705 Q18510768 Q7328366 Q6142942 Q7458020 Q5195901 Q363769 Q4786636 Q22087181 Q16231324 Q2846692 Q5232402 Q601599 Q6306472 Q5671152 Q17479360 Q7487020 Q17489803 Q1077197 Q3809332 Q6394574 Q7804119 Q26202653 Q719572 Q4688682 Q2057676 Q16915360 Q6223499 Q28658 Q3129638 Q21647497 Q1887034 Q259601 Q1061904 Q266637 Q7613953 Q5486997 Q7327381 Q5107733 Q7149121 Q7344260 Q7182547 Q6226328 Q5670003 Q676952 Q6834413 Q1238314 Q5084573 Q2828775 Q16574787 Q461248 Q22087168 Q5494070 Q2084116 Q19519783 Q6256747 Q2899213 Q1738681 Q6239596 Q6233427 Q6525111 Q1557763 Q7149875 Q5671283 Q1811881 Q5724396 Q18685547 Q257750 Q5200861 Q309882 Q1368131 Q4679960 Q6289087 Q7167281 Q1145008 Q716642 Q5485307 Q7173097 Q16017925 Q13414783 Q434201 Q5362341 Q21462406 Q1711954 Q7368433 Q7789221 Q7630368 Q995129 Q6789220 Q21465899 Q4721788 Q7407367 Q16209543 Q10513756 Q313981 Q4909155 Q1873774 Q1452230 Q577169 Q21078512 Q3526579
AND((c(Q502895),P19,Q41262), NOT((c(Q502895),P106,Q42603)))
action filter_type
action difference
action find_reverse
entity Q41262
relation P19
action find_reverse
entity Q42603
relation P106
type Q502895
[ANSWERS] have location of birth at Nottingham and are not working as priest
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q41262'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q42603']]}]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P19 resource:Q41262 . FILTER NOT EXISTS { ?i property:P106 resource:Q42603 } }
Harry Goodley Matt Forde Richard A. Radford Saint Raymond Frances Adcock Sophie Bradley Jim Scarborough Bertie Bowler Jon Richardson Charles Leighfield Jonah Doman Willis Francis Thomas Danks Jermaine Jenas Tony Kofi Frank Mann Frank Halford Claudine West Edward May David Greene Barry McArthur Christopher Dean Bill Cashmore Jake Wholey Andrew Cole Frank Burton Adrian Partington Paul Reece Beulah Garrick Nathaniel Beardmore Andy Fletcher Brian Kilcline Arsher Ali Jane Williams John Hall Alf Shelton Les Chappell Stuart Broad Ben Hutchinson Bob Leivers John Marshall Cieron Keane Luke Bambridge Edwin Wardle Ethel Doidge Brian Lemon Lolly Badcock Matt Carbon Jaylee Hodgson George Smith Dave Hill Alfred William Howitt Lee Wilkinson George Isham Parkyns Arthur Elliott Valerie Sanderson Thomas Barber Kelvin Wilson David Longdon John Mee David Forbes Hendry Steve Judd Geraldine Moffat Freda James Robert Lachowicz Julian Thew Jordan Bowery Harold Knight Paul Esswood Lindon Meikle Margaret Humphreys Matt O'Halloran Philip James Bailey Pui Fan Lee Barry Howard Susanna Clarke Frank Allcock Thomas de Waal NAO Charlie Shelton Stephen Brown Eric Coy Arthur Pink Craig Clay John Milner Jermaine Hollis Albert Moore Keith Alexander Adam Faulkner Peter Williams Adam Arthur Paul Cox Peter Williams Samuel Howitt Lionel Ainsworth Edmund de Waal Herol Graham Finn Atkins Raymond Henry Norweb Charles Fellows Tendayi Darikwa Star Slinger David McGoldrick George H. Brown William Clarke Nathan Bondswell Claude Thomas Stanfield Moore Michael Riley Adam Tedder Geoffrey Trease Dick Wombwell Albert Fletcher George Green Alice Levine Edward Henry Howard Abel Collin Arthur Lowe Albert Smith Devon White Albert Carnelly Thomas Brightman Rosie Barnes Dorothy Cannell Nicholas Buckland Niamh Rippin Paul Messier Tom Ryder Michael Brough Lucy Pargeter Ian Paice Eddie Charlton Kyle Dixon Thomas Sandby Kim Vithana Cherie Lunghi Noel Denholm Davis Edward Hardy Lewis McGugan Peter Marshall A. J. Alan George Walker Christopher Hogwood Tom Proctor Tom Huddlestone Richard Whitehead John Kynnersley Kirby Graham Collier James York Barry Wealthall Mat Collishaw Pete Luckett Garry Dulson Josh Stimpson Justine Thornton Shaun Derry Gary Terzza Thomas Cooper Moore Steve Chettle Carole Bamford George Groves George Toone Gary Hamson Craig Robert Young Carl Froch Samuel Parrott Farrow Edward Davey Fred Bromley Matt Howden Florence Small Oliver Redgate Dave Stainwright Herbert Brown Julian Richards Luke Webb Martin Kitchen Rob Saunders Graham Taylor Harry Walkerdine Henry Youle Hind Marco Gabbiadini Sydney Dickinson Ian Benjamin Harvey Scrimshaw Elissa Downie Johnny Meres K.G. Andrew Hamilton Herbert Snook Joseph Southall Ed Wright John Reynolds Simon Katz Chris O'Grady Graham Phillips Marcos Gelabert Ian Andrews Phil Crampton Doug Scott George Greaves Martin Carruthers Henry Newton Becky Downie Barbara Erskine Kate Oates John Cook Wilson John Murphy Janey Lee Grace Simon Francis Tom Shaw Natalie Hallam Steve Burke Michael Holt Michael Jayston Jake Sheridan Rebecca Grant Sam Beeton Mark Pollicott William V. Harris Jake Bugg Andy Turner Kieran Wallace Sam Hollis David J. Furley Jon O'Bir Jamie Baulch Cate Harrington James Woodford Paul Robinson Ian Stringfellow Enoch Crosland Alvin Lee Adam Buckley Michael W. Halberstam Alex Iacovitti Matthew Turner H. Smyth Roy Skelton Steve Cherry Doug Rowe William Guybon Atherstone Francis Green John Sands Edmund Plant Bill Lambton Corinne Drewery D. H. Lawrence Holly Kenyon William Hackett Aaron O'Connor Kieron Freeman Mark Dexter Jack Whelbourne Rudolf Sühnel Shaun Harrad Ace Bhatti Ivor Roberts Thomas Walker Bretland Liam Mitchell Peter Wells Tinsley Lindley John Jeremiah Bigsby Declan James Elton Dean Edmund Cartwright Norman Robert Pogson Laurence Hall Augustus Charles Gregory Robert Felkin Paul Pollard Tyler Walker Benjamin Shipham Charles Morris Andrew Gower Louis Essen Geoffrey Vickers Lone Paul Hammond Geoffrey Kirk Julie Myerson John Arnesby Brown Frederick Chapman Nathan Stanton James Raven Morris Bates Nigel Pearson Trevor McCallum Lennie James Percy Thorpe Albert Iremonger Richard Davison John Russell Hind Craig Westcarr Walter Wright Terry Hawkridge Jawaid Khaliq Scott Loach Imaani Henry Blagrove Clifton Tomson Laurence Picken Gina Birch Sarah Poulton Kalley David Thornton Kwame Thomas Lee Battersby Dan Hardy Steven Price David Pleat Cecil Edwin Hall Gilbert Wakefield Jamie Bestwick Neil Mann Bob Frankford Phil Starbuck Richard Cooper Simon House Alfred Lester James Reid Liam Hearn Justin Jackson Katie Holtham Lester Matthews Steve Robinson Jack Reddish Michael Johnson Nathan Robertson James Engelbert Teschemacher Rhys Sharpe Julian Siegel Herbert Emmitt Katy Carr Arthur Geoffrey Woodhead Andrew Gower Phil Boyer Sudha Kheterpal Ted Harker Charlie Bishop Peter Swanwick Thomas Benedict MistaJam Paul Oliver Charlie Creed-Miles Jake Wightman Trevor Morley Andrew Mosley John Rawson Walker Teddy Leighton John Abthorpe Elspeth Gibson Mary Earps Callum Lloyd Anthony Hamilton Mick Galloway Zahid Iqbal Peter Mills Jonny Sweet Miaoux Miaoux Alice Zimmern William Samuel Henson Aden Kirk Alfred Gibson Richard Nizielski Samuel Bourne Geoffrey Parker John Charles Felix Rossi Sam Sweeney Andy Todd Dennis Alexander Ralph Tarrant Jacob Mellis Dinny Pails Greg Tempest Chris Walker Esmée Myers Edwin Ellis Henry Morley Justin Walker Will Hoskins Sikander Malik Peter Barnes Eileen Erskine Wes Morgan Arthur Spooner James Crisp Stuart A. Staples June Spencer Ben Fairclough Alma Reville Gary Shelton Tom Spencer Richard (I) Bonington Stephan Collishaw John O'Kane John Arderne Arthur John Black Tim Birkin Samantha Morton Marian Cripps, Baroness Parmoor Mike Hedges Blue Blake Sam Shilton Graham Clarke Simon Schatzberger Mark Blake John Dean Cameron Liddell Romello Nangle George Martin Paul Raynor Gordon Brook-Shepherd Arthur Elijah Trueman Robert Bakewell John Wood Anne Hobbs Lord George Bentinck Leon Best Martin Vickerton Lindsey Weedon Peter Taylor Robert Gill Harry Fellows J. P. Knight John Percy Herbert Kilpin Doug Wragg Ben Saunders Sempronius Stretton Richard Brunstrom James Turpin Hart Mike Butterworth Stig Abell Richard Marsh Steve Hodge Billy O'Rourke John Farmer Alan Sillitoe Marshall Hall Adrian Moore James Watkins Michael Argyle Stuart Edward Mann Bert Gadsden William Henry Ansell Matt Henshaw Ian Campbell William Henry James Boot John Charles Robinson Norman Page Tom Browne Anna Mary Howitt Jack Blake Harold Shipman Liam Bailey Fleetwood Churchill Richard Percival Lister James Severn Severus William Lynam Stretton Curtis Thompson Chris Sutton Archie Burgon Joe Worrall Anthony Howell Andrew Naylor David Clarke Martin Potter Julia Hills Harry Moore Andrew MacCallum Ronika Leonard "Nipper" Read Chris Fairclough John Herbert Kerry Louise Tim Pollard William Rawson Stevenson Garry Birtles Aetherfx Patrick Horgan Terry Bell John Brown John F. Burns Helen Reeves Shaun Henson Malcolm Pyrah Graham Allen Tom Cairney Paul Sandby Steve Slawson Frank Guttridge Richard Liburd Chris Perkins Paul Atkin Robert Farmer Phil Whyman John Clements Harry Jackson John Archer Michael Simpson Matt Thornhill Charlie Bramley Aisling Loftus Madeleine Mantock Neon Hitch Perry Fitzpatrick Frazer McHugh Freda Jackson Farrend Rawson John Savidge Bert Winfield Ken Whyld John Holland John Fleming Leonard Barry Alister Hardy Paul Clitheroe Harry Nicholls Constance Jeans Henry Kirke White Rosalie Craig Jayne Torvill Cyril Robinson William Booth Jimmy Walker Adam Webster Josh Law Percy Claude Byron Derek Kinne Darren Huckerby Frank Beswick, Baron Beswick Peter Butler Jason Spencer Joseph Byron Vicky McClure Elizabeth Arnold George Augustus Poole Julian Bennett Rosemary Squire Thomas Earp Su Pollard Bryan Steel Matt Redmile William Malbon Alf West Sam Craven Matt Byrne Nialle Rodney Robert Harris Bill Glazier Lucy Gossage Fred Beardsley Albert Ball Ransley Thacker Jenny Gunn
Ken Whyld, Thomas Danks, Perry Fitzpatrick, George Isham Parkyns, Anna Mary Howitt, Charlie Creed-Miles, Martin Kitchen, Alex Iacovitti, Paul Clitheroe and Dennis Alexander have location of birth at Nottingham and are not working as priest
Ken Whyld Thomas Danks Perry Fitzpatrick George Isham Parkyns Anna Mary Howitt Charlie Creed-Miles Martin Kitchen Alex Iacovitti Paul Clitheroe Dennis Alexander
action filter_type
action difference
action find_reverse
entity Nottingham
relation place of birth
action find_reverse
entity priest
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Nottingham'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'priest']]}]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:place_of_birth resource:Nottingham . FILTER NOT EXISTS { ?i property:occupation resource:priest } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately 3056 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3056
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P1303 ?y . ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?d = 3056 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3056
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:instrument ?y . ?o rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?d = 3056 ) }
[]
musical instrument common name
SYSTEM
3
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3056
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P1303 ?y . ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?d = 3056 ) }
violin organ drum kit
3
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3056
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:instrument ?y . ?o rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?d = 3056 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q606268
P138
Q79529 Q1190554 Q56061
USER
How many administrative territories are named after greater number of chemical substances and events than Port Lincoln ?
(c(Q56061),P138,c(Q79529)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q79529
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action count
action filter_multi_types
action find
entity Q606268
relation P138
type Q79529
type Q1190554
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?d ) WHERE { { ?o property:P138 ?g . ?o rdf:type ontology:Q56061 . ?g rdf:type ontology:Q79529 } UNION { ?o property:P138 ?g . ?o rdf:type ontology:Q56061 . ?g rdf:type ontology:Q1190554 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q606268 property:P138 ?w . { { ?w rdf:type ontology:Q79529 } UNION { ?w rdf:type ontology:Q1190554 } } } } . FILTER ( ?d > ?i ) }
Port Lincoln
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Port Lincoln
relation named after
type chemical substance
type event
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?d ) WHERE { { ?o property:named_after ?g . ?o rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:chemical_substance } UNION { ?o property:named_after ?g . ?o rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:event } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Port_Lincoln property:named_after ?w . { { ?w rdf:type ontology:chemical_substance } UNION { ?w rdf:type ontology:event } } } } . FILTER ( ?d > ?i ) }
[]
chemical substance event administrative territorial entity
SYSTEM
5
Q639408 Q7974195 Q3239732 Q3947651 Q103661
(c(Q56061),P138,c(Q79529)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q79529
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action count
action filter_multi_types
action find
entity Q606268
relation P138
type Q79529
type Q1190554
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?d ) WHERE { { ?o property:P138 ?g . ?o rdf:type ontology:Q56061 . ?g rdf:type ontology:Q79529 } UNION { ?o property:P138 ?g . ?o rdf:type ontology:Q56061 . ?g rdf:type ontology:Q1190554 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q606268 property:P138 ?w . { { ?w rdf:type ontology:Q79529 } UNION { ?w rdf:type ontology:Q1190554 } } } } . FILTER ( ?d > ?i ) }
Waterloo Waterloo Sulphur San Martino della Battaglia Apatity
5
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Port Lincoln
relation named after
type chemical substance
type event
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?d ) WHERE { { ?o property:named_after ?g . ?o rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:chemical_substance } UNION { ?o property:named_after ?g . ?o rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:event } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Port_Lincoln property:named_after ?w . { { ?w rdf:type ontology:chemical_substance } UNION { ?w rdf:type ontology:event } } } } . FILTER ( ?d > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2199088
P138
Q79529 Q1190554 Q56061
USER
And what about Dalerpeel?
(c(Q56061),P138,c(Q79529)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q79529
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action count
action filter_multi_types
action find
entity Q2199088
relation P138
type Q79529
type Q1190554
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?w WHERE { ?r rdf:type ?f . VALUES ( ?f ) { ( ontology:Q79529 ) ( ontology:Q1190554 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q2199088 property:P138 ?h . { { ?h rdf:type ontology:Q79529 } UNION { ?h rdf:type ontology:Q1190554 } } } } . FILTER ( ?q > ?s ) }
Dalerpeel
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Dalerpeel
relation named after
type chemical substance
type event
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?w WHERE { ?r rdf:type ?f . VALUES ( ?f ) { ( ontology:chemical_substance ) ( ontology:event ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Dalerpeel property:named_after ?h . { { ?h rdf:type ontology:chemical_substance } UNION { ?h rdf:type ontology:event } } } } . FILTER ( ?q > ?s ) }
[]
chemical substance event administrative territorial entity
SYSTEM
5
Q639408 Q7974195 Q3239732 Q3947651 Q103661
(c(Q56061),P138,c(Q79529)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q79529
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action count
action filter_multi_types
action find
entity Q2199088
relation P138
type Q79529
type Q1190554
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?w WHERE { ?r rdf:type ?f . VALUES ( ?f ) { ( ontology:Q79529 ) ( ontology:Q1190554 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q2199088 property:P138 ?h . { { ?h rdf:type ontology:Q79529 } UNION { ?h rdf:type ontology:Q1190554 } } } } . FILTER ( ?q > ?s ) }
Waterloo Waterloo Sulphur San Martino della Battaglia Apatity
5
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Dalerpeel
relation named after
type chemical substance
type event
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?w WHERE { ?r rdf:type ?f . VALUES ( ?f ) { ( ontology:chemical_substance ) ( ontology:event ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Dalerpeel property:named_after ?h . { { ?h rdf:type ontology:chemical_substance } UNION { ?h rdf:type ontology:event } } } } . FILTER ( ?q > ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q37333 Q474422
P190
Q20667921
USER
How many french administrative divisions are twin cities of Lublin or Brickaville ?
(Q37333,P190,c(Q20667921)) (Q474422,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q37333
relation P190
type Q20667921
action filter_type
action find
entity Q474422
relation P190
type Q20667921
['Q37333', 'P190', {'concept': 'Q20667921'}] ['Q474422', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?p property:P190 ?k . VALUES ( ?p ) { ( resource:Q474422 ) ( resource:Q37333 ) } }
Lublin Brickaville
action count
action union
action filter_type
action find
entity Lublin
relation sister city
type type of french administrative division
action filter_type
action find
entity Brickaville
relation sister city
type type of french administrative division
['Lublin', 'sister city', {'concept': 'type of french administrative division'}] ['Brickaville', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?p property:sister_city ?k . VALUES ( ?p ) { ( resource:Brickaville ) ( resource:Lublin ) } }
[]
type of french administrative division
SYSTEM
2
Q40898 Q13648
(Q37333,P190,c(Q20667921)) (Q474422,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q37333
relation P190
type Q20667921
action filter_type
action find
entity Q474422
relation P190
type Q20667921
[ANSWER]
['Q37333', 'P190', {'concept': 'Q20667921'}] ['Q474422', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?p property:P190 ?k . VALUES ( ?p ) { ( resource:Q474422 ) ( resource:Q37333 ) } }
Nancy Le Tampon
2
action count
action union
action filter_type
action find
entity Lublin
relation sister city
type type of french administrative division
action filter_type
action find
entity Brickaville
relation sister city
type type of french administrative division
['Lublin', 'sister city', {'concept': 'type of french administrative division'}] ['Brickaville', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?p property:sister_city ?k . VALUES ( ?p ) { ( resource:Brickaville ) ( resource:Lublin ) } }
[]