Simple Question (Direct)
Simple Question
Q2167832
P40
Q502895
USER
Which person is a child of José Manuel Lara Hernández ?
(Q2167832,P40,c(Q502895))
action filter_type
action find
entity Q2167832
relation P40
type Q502895
['Q2167832', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q2167832 property:P40 ?c . ?c rdf:type ontology:Q502895 }
José Manuel Lara Hernández
action filter_type
action find
entity José Manuel Lara Hernández
relation child
type common name
['José Manuel Lara Hernández', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:José_Manuel_Lara_Hernández property:child ?c . ?c rdf:type ontology:common_name }
[]
common name
Q6475044
SYSTEM
José Manuel Lara Bosch
Q6475044
(Q2167832,P40,c(Q502895))
action filter_type
action find
entity Q2167832
relation P40
type Q502895
[ANSWER] is a child of José Manuel Lara Hernández
['Q2167832', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q2167832 property:P40 ?c . ?c rdf:type ontology:Q502895 }
José Manuel Lara Bosch
José Manuel Lara Bosch is a child of José Manuel Lara Hernández
José Manuel Lara Bosch
action filter_type
action find
entity José Manuel Lara Hernández
relation child
type common name
['José Manuel Lara Hernández', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:José_Manuel_Lara_Hernández property:child ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2167832
P22
Q502895
USER
Which person has José Manuel Lara Hernández as father ?
(c(Q502895),P22,Q2167832)
action filter_type
action find_reverse
entity Q2167832
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2167832']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q2167832 . ?t rdf:type ontology:Q502895 }
José Manuel Lara Hernández
action filter_type
action find_reverse
entity José Manuel Lara Hernández
relation father
type common name
[{'concept': 'common name'}, 'father', 'José Manuel Lara Hernández']
SELECT DISTINCT ?t WHERE { ?t property:father resource:José_Manuel_Lara_Hernández . ?t rdf:type ontology:common_name }
[]
common name
Q6475044
SYSTEM
José Manuel Lara Bosch
Q6475044
(c(Q502895),P22,Q2167832)
action filter_type
action find_reverse
entity Q2167832
relation P22
type Q502895
[ANSWER] has José Manuel Lara Hernández as father
[{'concept': 'Q502895'}, 'P22', 'Q2167832']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q2167832 . ?t rdf:type ontology:Q502895 }
José Manuel Lara Bosch
José Manuel Lara Bosch has José Manuel Lara Hernández as father
José Manuel Lara Bosch
action filter_type
action find_reverse
entity José Manuel Lara Hernández
relation father
type common name
[{'concept': 'common name'}, 'father', 'José Manuel Lara Hernández']
SELECT DISTINCT ?t WHERE { ?t property:father resource:José_Manuel_Lara_Hernández . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2167832
P607
Q198
USER
What was the war that José Manuel Lara Hernández took part in
(Q2167832,P607,c(Q198))
action filter_type
action find
entity Q2167832
relation P607
type Q198
['Q2167832', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q198 . resource:Q2167832 property:P607 ?k }
José Manuel Lara Hernández
action filter_type
action find
entity José Manuel Lara Hernández
relation conflict
type war
['José Manuel Lara Hernández', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:war . resource:José_Manuel_Lara_Hernández property:conflict ?k }
[]
war
Q10859
SYSTEM
Spanish Civil War
Q10859
(Q2167832,P607,c(Q198))
action filter_type
action find
entity Q2167832
relation P607
type Q198
The war that José Manuel Lara Hernández took part in was the [ANSWER]
['Q2167832', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q198 . resource:Q2167832 property:P607 ?k }
Spanish Civil War
The war that José Manuel Lara Hernández took part in was the Spanish Civil War
Spanish Civil War
action filter_type
action find
entity José Manuel Lara Hernández
relation conflict
type war
['José Manuel Lara Hernández', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:war . resource:José_Manuel_Lara_Hernández property:conflict ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q116589
Q198
USER
And how about Jan Kubiš?
(Q116589,P607,c(Q198))
action filter_type
action find
entity Q116589
relation P607
type Q198
['Q116589', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { resource:Q116589 property:P607 ?d . ?d rdf:type ontology:Q198 }
Jan Kubiš
action filter_type
action find
entity Jan Kubiš
relation conflict
type war
['Jan Kubiš', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { resource:Jan_Kubiš property:conflict ?d . ?d rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q116589,P607,c(Q198))
action filter_type
action find
entity Q116589
relation P607
type Q198
[ANSWER]
['Q116589', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { resource:Q116589 property:P607 ?d . ?d rdf:type ontology:Q198 }
World War II
World War II
action filter_type
action find
entity Jan Kubiš
relation conflict
type war
['Jan Kubiš', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { resource:Jan_Kubiš property:conflict ?d . ?d rdf:type ontology:war }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q6475044
P21 P40
Q502895
USER
Which people have José Manuel Lara Bosch as an offspring and have male as the sex ?
AND((c(Q502895),P40,Q6475044), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6475044
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q6475044'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q6475044 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
male José Manuel Lara Bosch
action filter_type
action intersection
action find_reverse
entity José Manuel Lara Bosch
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'José Manuel Lara Bosch'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:child resource:José_Manuel_Lara_Bosch . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
common name
Q2167832
SYSTEM
José Manuel Lara Hernández
Q2167832
AND((c(Q502895),P40,Q6475044), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6475044
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have José Manuel Lara Bosch as an offspring and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q6475044'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q6475044 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
José Manuel Lara Hernández
José Manuel Lara Hernández have José Manuel Lara Bosch as an offspring and have male as the sex
José Manuel Lara Hernández
action filter_type
action intersection
action find_reverse
entity José Manuel Lara Bosch
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'José Manuel Lara Bosch'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:child resource:José_Manuel_Lara_Bosch . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2167832 Q29
P27
Q15617994
USER
Does that person belong to Spain ?
(Q2167832,P27,Q29)
action is_in
entity Q29
action find
entity Q2167832
relation P27
['Q2167832', 'P27', 'Q29']
ASK WHERE { resource:Q2167832 property:P27 resource:Q29 }
José Manuel Lara Hernández Spain
action is_in
entity Spain
action find
entity José Manuel Lara Hernández
relation country of citizenship
['José Manuel Lara Hernández', 'country of citizenship', 'Spain']
ASK WHERE { resource:José_Manuel_Lara_Hernández property:country_of_citizenship resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2167832,P27,Q29)
action is_in
entity Q29
action find
entity Q2167832
relation P27
[ANSWER]
['Q2167832', 'P27', 'Q29']
ASK WHERE { resource:Q2167832 property:P27 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity José Manuel Lara Hernández
relation country of citizenship
['José Manuel Lara Hernández', 'country of citizenship', 'Spain']
ASK WHERE { resource:José_Manuel_Lara_Hernández property:country_of_citizenship resource:Spain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2167832
P20
Q56061
USER
Where did the expiration of that person occur ?
action filter_type
action find
entity Q2167832
relation P20
type Q56061
SELECT DISTINCT ?d WHERE { resource:Q2167832 property:P20 ?d . ?d rdf:type ontology:Q56061 }
José Manuel Lara Hernández
action filter_type
action find
entity José Manuel Lara Hernández
relation place of death
type administrative territorial entity
SELECT DISTINCT ?d WHERE { resource:José_Manuel_Lara_Hernández property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
action filter_type
action find
entity Q2167832
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
SELECT DISTINCT ?d WHERE { resource:Q2167832 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Barcelona
The expiration of that person occurred in Barcelona
Barcelona
action filter_type
action find
entity José Manuel Lara Hernández
relation place of death
type administrative territorial entity
SELECT DISTINCT ?d WHERE { resource:José_Manuel_Lara_Hernández property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q24826
P291
Q56061 Q732577 Q571
USER
How many administrative territories are the publication regions of lesser number of publications and books than Liverpool ?
(c(Q732577)|c(Q571),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_multi_types
action find_reverse
entity Q24826
relation P291
type Q732577
type Q571
[[{'concept': 'Q732577'}, {'concept': 'Q571'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:P291 ?m . ?a rdf:type ontology:Q571 . ?m rdf:type ontology:Q56061 } UNION { ?a property:P291 ?m . ?m rdf:type ontology:Q56061 . ?a rdf:type ontology:Q732577 } } GROUP BY ?m } . FILTER ( ?o < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P291 resource:Q24826 . { VALUES ( ?p ) { ( ontology:Q732577 ) ( ontology:Q571 ) } . ?k rdf:type ?p } } } }
Liverpool
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_multi_types
action find_reverse
entity Liverpool
relation place of publication
type publication
type book
[[{'concept': 'publication'}, {'concept': 'book'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:place_of_publication ?m . ?a rdf:type ontology:book . ?m rdf:type ontology:administrative_territorial_entity } UNION { ?a property:place_of_publication ?m . ?m rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:publication } } GROUP BY ?m } . FILTER ( ?o < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:place_of_publication resource:Liverpool . { VALUES ( ?p ) { ( ontology:publication ) ( ontology:book ) } . ?k rdf:type ?p } } } }
[]
administrative territorial entity publication book
SYSTEM
293
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q987 Q8692 Q23051 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q41876 Q749 Q99151 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q5831 Q22889 Q12892 Q132572 Q6157 Q12411 Q1718 Q43631 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1895 Q1034159 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q406 Q234178 Q739452 Q15468 Q6346 Q887 Q576165 Q5465 Q2141 Q54217 Q1679567 Q2814 Q15093 Q162279 Q671288 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q3033 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q40269 Q2081145 Q1024911 Q193478 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q71 Q2617448 Q37100 Q38022 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q437 Q8745 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q42735 Q242478 Q327022 Q23154 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1724 Q11967 Q1729 Q3519 Q65 Q159232 Q207891 Q2028 Q3395358 Q683512 Q3889 Q9125 Q5818 Q1867 Q204382 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q193367 Q59169 Q669171 Q204720 Q206988 Q3012 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q47048 Q178277 Q192155 Q883 Q41262 Q6441 Q125080 Q2066 Q12303 Q156990 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q732577)|c(Q571),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_multi_types
action find_reverse
entity Q24826
relation P291
type Q732577
type Q571
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q571'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:P291 ?m . ?a rdf:type ontology:Q571 . ?m rdf:type ontology:Q56061 } UNION { ?a property:P291 ?m . ?m rdf:type ontology:Q56061 . ?a rdf:type ontology:Q732577 } } GROUP BY ?m } . FILTER ( ?o < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P291 resource:Q24826 . { VALUES ( ?p ) { ( ontology:Q732577 ) ( ontology:Q571 ) } . ?k rdf:type ?p } } } }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin New Delhi Bilbao Swansea Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Reims Groningen Ourense Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Melilla Bath Antwerp Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Lugo Granada Elverum Alcones Caernarfon Petrozavodsk Harstad Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Istanbul Bangor Garden City Badalona Indianapolis Yekaterinburg Warsaw Cape Town Halifax Norwalk Jakobstad Halle (Saale) Ciudad Real Kuopio Bend Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Göttingen Havana Chester Colombo Copenhagen Coimbra Alexandria Porto Alegre Milborne Port Welshpool Buda Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Geneva Edinburgh Auckland St. Louis 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 Ljubljana Vigo Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Olympia Levoča Rockville Bristol Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Saarbrücken Huesca Erfurt Bari Los Angeles Santa Cruz Kokkola Verona Kidwelly Savonlinna Maputo Winterthur Córdoba Taipei Kouvola Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Porvoo Mo i Rana Newtown Hereford Cheltenham Ulm León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo Oulu Montvale Kotka Novosibirsk Nottingham Montpellier Vaasa Essen Jerez de la Frontera Monmouth Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg
293
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_multi_types
action find_reverse
entity Liverpool
relation place of publication
type publication
type book
[[{'concept': 'publication'}, {'concept': 'book'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?o ) WHERE { { ?a property:place_of_publication ?m . ?a rdf:type ontology:book . ?m rdf:type ontology:administrative_territorial_entity } UNION { ?a property:place_of_publication ?m . ?m rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:publication } } GROUP BY ?m } . FILTER ( ?o < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:place_of_publication resource:Liverpool . { VALUES ( ?p ) { ( ontology:publication ) ( ontology:book ) } . ?k rdf:type ?p } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q242478
P291
Q56061 Q732577 Q571
USER
And how about Levoča?
(c(Q732577)|c(Q571),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_multi_types
action find_reverse
entity Q242478
relation P291
type Q732577
type Q571
[[{'concept': 'Q732577'}, {'concept': 'Q571'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { FILTER ( ?t < ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P291 resource:Q242478 . { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:Q732577 ) ( ontology:Q571 ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?z WHERE { { ?z rdf:type ontology:Q56061 . ?p rdf:type ontology:Q571 . ?p property:P291 ?z } UNION { ?p property:P291 ?z . ?z rdf:type ontology:Q56061 . ?p rdf:type ontology:Q732577 } } GROUP BY ?z } }
Levoča
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_multi_types
action find_reverse
entity Levoča
relation place of publication
type publication
type book
[[{'concept': 'publication'}, {'concept': 'book'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { FILTER ( ?t < ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:place_of_publication resource:Levoča . { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:publication ) ( ontology:book ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?z WHERE { { ?z rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:book . ?p property:place_of_publication ?z } UNION { ?p property:place_of_publication ?z . ?z rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:publication } } GROUP BY ?z } }
[]
administrative territorial entity publication book
SYSTEM
229
Q807 Q2536016 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q3150 Q484678 Q11974 Q151920 Q13375 Q4093 Q2560090 Q10305 Q3404679 Q987 Q23051 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q15688 Q323801 Q170497 Q41876 Q749 Q99151 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q81046 Q5831 Q22889 Q12892 Q132572 Q6157 Q12411 Q1718 Q43631 Q11125 Q15283655 Q4713350 Q428829 Q1895 Q1034159 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1489 Q2020203 Q406 Q234178 Q15468 Q6346 Q887 Q576165 Q5465 Q2141 Q54217 Q1679567 Q2814 Q15093 Q162279 Q17151 Q1490 Q1191195 Q102217 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q8686 Q994 Q1513 Q1296 Q1563 Q170263 Q35381 Q87 Q40269 Q2081145 Q1024911 Q193478 Q1741 Q191133 Q35493 Q538915 Q78 Q37100 Q38022 Q286048 Q1235510 Q15678 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q1861 Q14318 Q14314 Q15090 Q134620 Q956 Q15098 Q437 Q8745 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q49145 Q327022 Q23154 Q340 Q342 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q6576 Q28249 Q13666 Q569661 Q8356 Q49179 Q1724 Q11967 Q1729 Q159232 Q207891 Q3395358 Q683512 Q3889 Q9125 Q5818 Q1867 Q204382 Q269 Q27393 Q126148 Q771986 Q49229 Q33405 Q79990 Q493794 Q6537 Q6106 Q2391194 Q10313 Q1295 Q59169 Q669171 Q204720 Q206988 Q3012 Q15699 Q15696 Q985271 Q28848 Q3366952 Q203263 Q213898 Q193180 Q47048 Q192155 Q883 Q41262 Q6441 Q125080 Q12303 Q156990 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q12233 Q172 Q646620 Q720627 Q13972 Q215277 Q129610 Q179385 Q29303 Q628667 Q127159 Q14336 Q34647
(c(Q732577)|c(Q571),P291,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_multi_types
action find_reverse
entity Q242478
relation P291
type Q732577
type Q571
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q571'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { FILTER ( ?t < ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P291 resource:Q242478 . { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:Q732577 ) ( ontology:Q571 ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?z WHERE { { ?z rdf:type ontology:Q56061 . ?p rdf:type ontology:Q571 . ?p property:P291 ?z } UNION { ?p property:P291 ?z . ?z rdf:type ontology:Q56061 . ?p rdf:type ontology:Q732577 } } GROUP BY ?z } }
Lausanne Crickhowell Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Glasgow Athol Zaragoza Crumlin New Delhi Swansea Palermo Grenoble Straume Málaga Cardiff Gävle Ávila Nampula Gloucester Reims Groningen Ourense Mariehamn Liège Victoria Toulouse Ottawa Wilmington Charleroi Melilla Bath Antwerp Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Lugo Elverum Alcones Caernarfon Petrozavodsk Harstad Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Mexico City Rhyl Istanbul Bangor Badalona Indianapolis Yekaterinburg Warsaw Cape Town Halifax Norwalk Jakobstad Halle (Saale) Ciudad Real Kuopio Thessaloniki Tokyo Mold Vitebsk Brussels Austin Denver Houston Dallas Pensacola Shanghai Tbilisi Nagpur Ghent Havana Chester Colombo Alexandria Porto Alegre Milborne Port Welshpool Buda Vienna Fátima Almaty Mjölby Basel Auckland St. Louis New Glasgow, Nova Scotia Dolgellau Cáceres Lexington Perth Winchester Budapest Tel Aviv Bradenton Bangkok Vitoria-Gasteiz Santiago de Compostela Lleida Jyväskylä Beijing Cuenca Ljubljana Vigo Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg New Haven Rockville Bristol Montreal Quimper Sereď Barmouth Sunderland Padua Conwy Sofia Irkutsk Concord Messina Königstein im Taunus Valladolid Worcester Saarbrücken Huesca Erfurt Santa Cruz Kokkola Kidwelly Savonlinna Maputo Winterthur Córdoba Taipei Kouvola Tashkent Herning Tangier Chepstow Durham Little Rock Christchurch Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Dortmund Mo i Rana Newtown Hereford Cheltenham Ulm León Zamora The Dalles Saint Paul Alta Athens Preveza Kajaani Oulu Kotka Novosibirsk Nottingham Montpellier Vaasa Jerez de la Frontera Monmouth Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Santander Toronto Estella-Lizarra Kanhangad Tartu Jaffna Galway Greenwich Canterbury Spangenberg Bletchley Teruel Johannesburg
229
action count
action less
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_multi_types
action find_reverse
entity Levoča
relation place of publication
type publication
type book
[[{'concept': 'publication'}, {'concept': 'book'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { FILTER ( ?t < ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:place_of_publication resource:Levoča . { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:publication ) ( ontology:book ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?z WHERE { { ?z rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:book . ?p property:place_of_publication ?z } UNION { ?p property:place_of_publication ?z . ?z rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:publication } } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10859
P17
Q15617994
USER
Which administrative territory is Spanish Civil War situated in ?
(Q10859,P17,c(Q15617994))
action filter_type
action find
entity Q10859
relation P17
type Q15617994
['Q10859', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q10859 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Spanish Civil War
action filter_type
action find
entity Spanish Civil War
relation country
type designation for an administrative territorial entity
['Spanish Civil War', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Spanish_Civil_War property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q10859,P17,c(Q15617994))
action filter_type
action find
entity Q10859
relation P17
type Q15617994
Spanish Civil War is situated in [ANSWER]
['Q10859', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q10859 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Spain
Spanish Civil War is situated in Spain
Spain
action filter_type
action find
entity Spanish Civil War
relation country
type designation for an administrative territorial entity
['Spanish Civil War', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Spanish_Civil_War property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P30
Q2221906
USER
Which geographic locations are that administrative territory located in ?
(Q29,P30,c(Q2221906))
action filter_type
action find
entity Q29
relation P30
type Q2221906
['Q29', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q29 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Spain
action filter_type
action find
entity Spain
relation continent
type geographic location
['Spain', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Spain property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q15
SYSTEM
Europe, Africa
Q46 Q15
(Q29,P30,c(Q2221906))
action filter_type
action find
entity Q29
relation P30
type Q2221906
That administrative territory are located in [ANSWERS]
['Q29', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q29 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Europe Africa
That administrative territory are located in Europe and Africa
Europe Africa
action filter_type
action find
entity Spain
relation continent
type geographic location
['Spain', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Spain property:continent ?y . ?y rdf:type ontology:geographic_location }
[]