Simple Question (Direct)
Simple Question
Q868809
P47
Q20667921
USER
Which french administrative divisions have a shared border with Voyenne ?
(Q868809,P47,c(Q20667921))
action filter_type
action find
entity Q868809
relation P47
type Q20667921
['Q868809', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q868809 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Voyenne
action filter_type
action find
entity Voyenne
relation shares border with
type type of french administrative division
['Voyenne', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Voyenne property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q326586 Q849848 Q919438
SYSTEM
Marle, Autremencourt, Dercy
Q849848 Q326586 Q1021450 Q989844 Q776271 Q872632 Q919438
(Q868809,P47,c(Q20667921))
action filter_type
action find
entity Q868809
relation P47
type Q20667921
[ANSWERS] have a shared border with Voyenne
['Q868809', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q868809 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Autremencourt Marle Froidmont-Cohartille Erlon Toulis-et-Attencourt Marcy-sous-Marle Dercy
Marle, Autremencourt and Dercy have a shared border with Voyenne
Marle Autremencourt Dercy
action filter_type
action find
entity Voyenne
relation shares border with
type type of french administrative division
['Voyenne', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Voyenne property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q849848
P17
Q15617994
USER
Which administrative territory is that french administrative division located in ?
(Q849848,P17,c(Q15617994))
action filter_type
action find
entity Q849848
relation P17
type Q15617994
['Q849848', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q849848 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Autremencourt
action filter_type
action find
entity Autremencourt
relation country
type designation for an administrative territorial entity
['Autremencourt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Autremencourt property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q849848
SYSTEM
Did you mean Autremencourt ?
Q326586 Q849848 Q919438
(Q326586,P17,c(Q15617994)) (Q849848,P17,c(Q15617994)) (Q919438,P17,c(Q15617994))
[ANSWER]
['Q326586', 'P17', {'concept': 'Q15617994'}] ['Q849848', 'P17', {'concept': 'Q15617994'}] ['Q919438', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q849848 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Marle Autremencourt Dercy
Did you mean Autremencourt ?
Autremencourt
['Marle', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Autremencourt', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dercy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Autremencourt property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q849848,P17,c(Q15617994))
['Q849848', 'P17', {'concept': 'Q15617994'}]
['Autremencourt', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q849848,P17,c(Q15617994))
action filter_type
action find
entity Q849848
relation P17
type Q15617994
That french administrative division is located in [ANSWER]
['Q849848', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q849848 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
France
That french administrative division is located in France
France
action filter_type
action find
entity Autremencourt
relation country
type designation for an administrative territorial entity
['Autremencourt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Autremencourt property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q183
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with around the same number of administrative territories as Germany ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?k ) WHERE { ?x property:P530 ?z . ?x rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q183 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?k = ?o ) }
Germany
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?k ) WHERE { ?x property:diplomatic_relation ?z . ?x rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Germany property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?k = ?o ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?k ) WHERE { ?x property:P530 ?z . ?x rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q183 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?k = ?o ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?k ) WHERE { ?x property:diplomatic_relation ?z . ?x rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Germany property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?k = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q781
P530
Q1048835 Q15617994
USER
And how about Antigua and Barbuda?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q781 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?e = ?d ) . { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?e ) WHERE { ?l property:P530 ?m . ?l rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?l } }
Antigua and Barbuda
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?e = ?d ) . { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?e ) WHERE { ?l property:diplomatic_relation ?m . ?l rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q781 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?e = ?d ) . { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?e ) WHERE { ?l property:P530 ?m . ?l rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?l } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?e = ?d ) . { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?e ) WHERE { ?l property:diplomatic_relation ?m . ?l rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P163
Q14660
USER
Which flag is associated with France ?
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q14660 . resource:Q142 property:P163 ?b }
France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:flag . resource:France property:flag ?b }
[]
flag
Q43192
SYSTEM
Flag of France
Q43192
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
France [ANSWER] is associated with France
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q14660 . resource:Q142 property:P163 ?b }
Flag of France
France Flag of France is associated with France
Flag of France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:flag . resource:France property:flag ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43192
P1001
Q15617994
USER
Which administrative territory belongs to jurisdiction of that flag ?
(Q43192,P1001,c(Q15617994))
action filter_type
action find
entity Q43192
relation P1001
type Q15617994
['Q43192', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q43192 property:P1001 ?m . ?m rdf:type ontology:Q15617994 }
Flag of France
action filter_type
action find
entity Flag of France
relation applies to jurisdiction
type designation for an administrative territorial entity
['Flag of France', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Flag_of_France property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q43192,P1001,c(Q15617994))
action filter_type
action find
entity Q43192
relation P1001
type Q15617994
[ANSWER] belongs to jurisdiction of that flag
['Q43192', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q43192 property:P1001 ?m . ?m rdf:type ontology:Q15617994 }
France
France belongs to jurisdiction of that flag
France
action filter_type
action find
entity Flag of France
relation applies to jurisdiction
type designation for an administrative territorial entity
['Flag of France', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Flag_of_France property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P85
Q571
USER
What is the anthem for that administrative territory ?
(Q142,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
['Q142', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?w WHERE { resource:Q142 property:P85 ?w . ?w rdf:type ontology:Q571 }
France
action filter_type
action find
entity France
relation anthem
type book
['France', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?w WHERE { resource:France property:anthem ?w . ?w rdf:type ontology:book }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
(Q142,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
The anthem for that administrative territory is called [ANSWER]
['Q142', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?w WHERE { resource:Q142 property:P85 ?w . ?w rdf:type ontology:Q571 }
La Marseillaise
The anthem for that administrative territory is called La Marseillaise
La Marseillaise
action filter_type
action find
entity France
relation anthem
type book
['France', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?w WHERE { resource:France property:anthem ?w . ?w rdf:type ontology:book }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5501708
Q571
USER
And how about French Chad?
(Q5501708,P85,c(Q571))
action filter_type
action find
entity Q5501708
relation P85
type Q571
['Q5501708', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?f WHERE { resource:Q5501708 property:P85 ?f . ?f rdf:type ontology:Q571 }
French Chad
action filter_type
action find
entity French Chad
relation anthem
type book
['French Chad', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?f WHERE { resource:French_Chad property:anthem ?f . ?f rdf:type ontology:book }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
(Q5501708,P85,c(Q571))
action filter_type
action find
entity Q5501708
relation P85
type Q571
[ANSWER]
['Q5501708', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?f WHERE { resource:Q5501708 property:P85 ?f . ?f rdf:type ontology:Q571 }
La Marseillaise
La Marseillaise
action filter_type
action find
entity French Chad
relation anthem
type book
['French Chad', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?f WHERE { resource:French_Chad property:anthem ?f . ?f rdf:type ontology:book }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P291
Q56061 Q571
USER
Which administrative territories were approximately 8 books published ?
(c(Q571),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
value 8
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:P291 ?h . ?h rdf:type ontology:Q56061 . ?f rdf:type ontology:Q571 } GROUP BY ?h } . FILTER ( ?q = 8 ) }
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
value 8
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:place_of_publication ?h . ?h rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:book } GROUP BY ?h } . FILTER ( ?q = 8 ) }
[]
administrative territorial entity book
Q72 Q649 Q2807
SYSTEM
Zürich, Moscow, Madrid
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q1492 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q2807 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q64 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q571),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
value 8
[ANSWERS] were approximately 8 books published
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:P291 ?h . ?h rdf:type ontology:Q56061 . ?f rdf:type ontology:Q571 } GROUP BY ?h } . FILTER ( ?q = 8 ) }
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 Milan Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Barcelona Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg Madrid New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Huesca Erfurt Seville Bari Berlin Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
Zürich, Moscow and Madrid were approximately 8 books published
Zürich Moscow Madrid
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
value 8
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?q ) WHERE { ?f property:place_of_publication ?h . ?h rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:book } GROUP BY ?h } . FILTER ( ?q = 8 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P921
Q571
USER
Which books were mainly based on Madrid ?
(c(Q571),P921,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P921
type Q571
[{'concept': 'Q571'}, 'P921', 'Q2807']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q571 . ?l property:P921 resource:Q2807 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'Madrid']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:book . ?l property:main_subject resource:Madrid }
[]
book
Q24491781 Q21769987
SYSTEM
Las calles de Madrid: noticias, tradiciones y curiosidades, Diccionario biográfico matritense (1912)
Q24491781 Q21769987
(c(Q571),P921,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P921
type Q571
[ANSWERS] were mainly based on Madrid
[{'concept': 'Q571'}, 'P921', 'Q2807']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q571 . ?l property:P921 resource:Q2807 }
Las calles de Madrid: noticias, tradiciones y curiosidades Diccionario biográfico matritense (1912)
Las calles de Madrid: noticias, tradiciones y curiosidades and Diccionario biográfico matritense (1912) were mainly based on Madrid
Las calles de Madrid: noticias, tradiciones y curiosidades Diccionario biográfico matritense (1912)
action filter_type
action find_reverse
entity Madrid
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'Madrid']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:book . ?l property:main_subject resource:Madrid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P608
Q80071
USER
Which symbol was displayed at Moscow ?
(c(Q80071),P608,Q649)
action filter_type
action find_reverse
entity Q649
relation P608
type Q80071
[{'concept': 'Q80071'}, 'P608', 'Q649']
SELECT DISTINCT ?t WHERE { ?t property:P608 resource:Q649 . ?t rdf:type ontology:Q80071 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation exhibition history
type symbol
[{'concept': 'symbol'}, 'exhibition history', 'Moscow']
SELECT DISTINCT ?t WHERE { ?t property:exhibition_history resource:Moscow . ?t rdf:type ontology:symbol }
[]
symbol
Q2635667
SYSTEM
Cross of Saint Euphrosyne
Q2635667
(c(Q80071),P608,Q649)
action filter_type
action find_reverse
entity Q649
relation P608
type Q80071
[ANSWER] was displayed at Moscow
[{'concept': 'Q80071'}, 'P608', 'Q649']
SELECT DISTINCT ?t WHERE { ?t property:P608 resource:Q649 . ?t rdf:type ontology:Q80071 }
Cross of Saint Euphrosyne
Cross of Saint Euphrosyne was displayed at Moscow
Cross of Saint Euphrosyne
action filter_type
action find_reverse
entity Moscow
relation exhibition history
type symbol
[{'concept': 'symbol'}, 'exhibition history', 'Moscow']
SELECT DISTINCT ?t WHERE { ?t property:exhibition_history resource:Moscow . ?t rdf:type ontology:symbol }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P1071
Q15416
USER
Which television program has Moscow as its location of final assembly ?
(c(Q15416),P1071,Q649)
action filter_type
action find_reverse
entity Q649
relation P1071
type Q15416
[{'concept': 'Q15416'}, 'P1071', 'Q649']
SELECT DISTINCT ?f WHERE { ?f property:P1071 resource:Q649 . ?f rdf:type ontology:Q15416 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation location of final assembly
type television program
[{'concept': 'television program'}, 'location of final assembly', 'Moscow']
SELECT DISTINCT ?f WHERE { ?f property:location_of_final_assembly resource:Moscow . ?f rdf:type ontology:television_program }
[]
television program
Q5188227
SYSTEM
CrossTalk
Q5188227
(c(Q15416),P1071,Q649)
action filter_type
action find_reverse
entity Q649
relation P1071
type Q15416
[ANSWER] has Moscow as its location of final assembly
[{'concept': 'Q15416'}, 'P1071', 'Q649']
SELECT DISTINCT ?f WHERE { ?f property:P1071 resource:Q649 . ?f rdf:type ontology:Q15416 }
CrossTalk
CrossTalk has Moscow as its location of final assembly
CrossTalk
action filter_type
action find_reverse
entity Moscow
relation location of final assembly
type television program
[{'concept': 'television program'}, 'location of final assembly', 'Moscow']
SELECT DISTINCT ?f WHERE { ?f property:location_of_final_assembly resource:Moscow . ?f rdf:type ontology:television_program }
[]