Simple Question (Direct)
Simple Question
Q175461
P937
Q56061
USER
Where did Antoni Cieszyński work ?
(Q175461,P937,c(Q56061))
action filter_type
action find
entity Q175461
relation P937
type Q56061
['Q175461', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q175461 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Antoni Cieszyński
action filter_type
action find
entity Antoni Cieszyński
relation work location
type administrative territorial entity
['Antoni Cieszyński', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Antoni_Cieszyński property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36036
SYSTEM
Lviv
Q36036
(Q175461,P937,c(Q56061))
action filter_type
action find
entity Q175461
relation P937
type Q56061
Antoni Cieszyński worked in [ANSWER]
['Q175461', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q175461 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Lviv
Antoni Cieszyński worked in Lviv
Lviv
action filter_type
action find
entity Antoni Cieszyński
relation work location
type administrative territorial entity
['Antoni Cieszyński', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Antoni_Cieszyński property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q175461
P20
Q56061
USER
Where did the expiration of Antoni Cieszyński occur ?
(Q175461,P20,c(Q56061))
action filter_type
action find
entity Q175461
relation P20
type Q56061
['Q175461', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q175461 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Antoni Cieszyński
action filter_type
action find
entity Antoni Cieszyński
relation place of death
type administrative territorial entity
['Antoni Cieszyński', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Antoni_Cieszyński property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36036
SYSTEM
Lviv
Q36036
(Q175461,P20,c(Q56061))
action filter_type
action find
entity Q175461
relation P20
type Q56061
The expiration of Antoni Cieszyński occurred in [ANSWER]
['Q175461', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q175461 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Lviv
The expiration of Antoni Cieszyński occurred in Lviv
Lviv
action filter_type
action find
entity Antoni Cieszyński
relation place of death
type administrative territorial entity
['Antoni Cieszyński', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Antoni_Cieszyński property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q175461
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Antoni Cieszyński ?
(Q175461,P27,c(Q15617994))
action filter_type
action find
entity Q175461
relation P27
type Q15617994
['Q175461', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q175461 property:P27 ?i }
Antoni Cieszyński
action filter_type
action find
entity Antoni Cieszyński
relation country of citizenship
type designation for an administrative territorial entity
['Antoni Cieszyński', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antoni_Cieszyński property:country_of_citizenship ?i }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q175461,P27,c(Q15617994))
action filter_type
action find
entity Q175461
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Antoni Cieszyński
['Q175461', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q175461 property:P27 ?i }
Poland
Poland is the country of citizenship of Antoni Cieszyński
Poland
action filter_type
action find
entity Antoni Cieszyński
relation country of citizenship
type designation for an administrative territorial entity
['Antoni Cieszyński', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antoni_Cieszyński property:country_of_citizenship ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q36 Q6802229
P47
Q15617994
USER
Is McLeod Independent School District adjacent to that one ?
(Q36,P47,Q6802229)
action is_in
entity Q6802229
action find
entity Q36
relation P47
['Q36', 'P47', 'Q6802229']
ASK WHERE { resource:Q36 property:P47 resource:Q6802229 }
Poland McLeod Independent School District
action is_in
entity McLeod Independent School District
action find
entity Poland
relation shares border with
['Poland', 'shares border with', 'McLeod Independent School District']
ASK WHERE { resource:Poland property:shares_border_with resource:McLeod_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q36,P47,Q6802229)
action is_in
entity Q6802229
action find
entity Q36
relation P47
[ANSWER]
['Q36', 'P47', 'Q6802229']
ASK WHERE { resource:Q36 property:P47 resource:Q6802229 }
No
action is_in
entity McLeod Independent School District
action find
entity Poland
relation shares border with
['Poland', 'shares border with', 'McLeod Independent School District']
ASK WHERE { resource:Poland property:shares_border_with resource:McLeod_Independent_School_District }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q22497
P417
Q502895 Q1445650 Q15617994
USER
How many administrative territories have adopted around the same number of people or holidays as patron saint as Meina ?
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q22497
relation P417
type Q502895
type Q1445650
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { FILTER ( ?q = ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?c rdf:type ?s } . resource:Q22497 property:P417 ?c } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?k } }
Meina
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Meina
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { FILTER ( ?q = ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ontology:common_name ) ( ontology:holiday ) } . ?c rdf:type ?s } . resource:Meina property:patron_saint ?c } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?k } }
[]
common name holiday designation for an administrative territorial entity
SYSTEM
528
Q102547 Q103832 Q46304 Q55000 Q55009 Q22497 Q103572 Q328037 Q20208 Q53164 Q99937 Q391326 Q111749 Q58491 Q46939 Q72069 Q51294 Q224131 Q47238 Q20067 Q17677 Q116604 Q41058 Q53524 Q10212 Q9044 Q52085 Q47342 Q45 Q52244 Q111113 Q101067 Q80554 Q112143 Q42972 Q17674 Q51207 Q13470 Q9148 Q54742 Q295538 Q9000 Q13378 Q34742 Q101526 Q10307 Q112131 Q52019 Q10302 Q94644 Q17313 Q17312 Q9400 Q117368 Q390854 Q243371 Q223504 Q34603 Q17822 Q54587 Q42977 Q34360 Q40379 Q285089 Q42476 Q20247 Q53124 Q34684 Q111800 Q18206 Q48114 Q95095 Q128060 Q111966 Q39701 Q9370 Q242126 Q52200 Q9373 Q490416 Q100654 Q25009 Q157673 Q53235 Q48027 Q18377 Q53339 Q101651 Q176292 Q72728 Q340610 Q22173 Q55852 Q242692 Q123981 Q47368 Q279682 Q221900 Q101151 Q105045 Q43092 Q22571 Q123505 Q116731 Q278237 Q42942 Q40127 Q100829 Q104653 Q17862 Q17861 Q477537 Q9031 Q53694 Q6558 Q10336 Q10337 Q10331 Q53496 Q17321 Q19918 Q53886 Q34324 Q53284 Q25179 Q42306 Q279247 Q267183 Q17816 Q52110 Q34547 Q51417 Q47585 Q17368 Q39403 Q47429 Q24997 Q295602 Q42885 Q18080 Q104963 Q489881 Q40937 Q51349 Q100973 Q34423 Q53177 Q242139 Q18400 Q22655 Q46168 Q51288 Q55104 Q123941 Q9432 Q270058 Q17777 Q123540 Q217391 Q17779 Q111972 Q33 Q265651 Q37 Q94588 Q25056 Q101057 Q9153 Q490851 Q101358 Q17686 Q54746 Q9076 Q23632 Q100365 Q51851 Q42167 Q20122 Q56210 Q9489 Q56063 Q80883 Q58844 Q117211 Q54521 Q81687 Q53992 Q224272 Q81138 Q42269 Q91199 Q50128 Q17659 Q124836 Q17851 Q17854 Q10207 Q17257 Q23217 Q23662 Q219641 Q10208 Q10209 Q53874 Q53877 Q18040 Q53879 Q81755 Q39985 Q42580 Q50157 Q47671 Q123763 Q73218 Q495734 Q42466 Q34406 Q241780 Q53136 Q2107 Q46320 Q51405 Q55956 Q128170 Q23669 Q103465 Q388085 Q102562 Q52213 Q42513 Q55890 Q9508 Q53225 Q42752 Q54708 Q54701 Q59234 Q105142 Q51473 Q279302 Q20166 Q18356 Q80753 Q22543 Q10338 Q72036 Q36198 Q17741 Q477423 Q23226 Q23224 Q72146 Q101187 Q101182 Q47093 Q91096 Q389292 Q80574 Q19209 Q22468 Q47500 Q25216 Q52282 Q53884 Q17290 Q101269 Q10328 Q101699 Q277474 Q252320 Q9352 Q128226 Q51304 Q50059 Q53882 Q34545 Q42259 Q493491 Q160262 Q100199 Q270968 Q9451 Q99962 Q99969 Q81622 Q20284 Q47371 Q40985 Q128134 Q48090 Q42413 Q8983 Q42553 Q100125 Q56081 Q56086 Q94754 Q56088 Q101423 Q18385 Q55053 Q51435 Q168670 Q42379 Q40851 Q278952 Q39884 Q53313 Q17666 Q52227 Q49605 Q9167 Q54736 Q9048 Q268291 Q54739 Q9169 Q53720 Q269134 Q102677 Q42983 Q42986 Q17695 Q20036 Q10284 Q52661 Q10281 Q17409 Q278199 Q52133 Q51861 Q18380 Q17404 Q51867 Q17691 Q117342 Q244185 Q266630 Q267134 Q56207 Q100394 Q100396 Q58690 Q492625 Q53967 Q478357 Q53961 Q9194 Q19279 Q19925 Q17244 Q24883 Q104007 Q53865 Q53864 Q13660 Q42456 Q99956 Q42450 Q25155 Q22039 Q42757 Q20507 Q46334 Q9019 Q478703 Q40951 Q52184 Q128161 Q490431 Q40408 Q101770 Q22079 Q17627 Q43031 Q17628 Q72527 Q9050 Q478906 Q18357 Q34972 Q103891 Q101519 Q20604 Q22155 Q55901 Q224048 Q41046 Q47341 Q46793 Q95066 Q52073 Q52072 Q100916 Q39783 Q182689 Q103155 Q100854 Q102780 Q58433 Q72009 Q391241 Q17757 Q17753 Q101205 Q9017 Q40539 Q116573 Q101194 Q101759 Q82766 Q17883 Q17287 Q34759 Q17283 Q17281 Q51181 Q20105 Q20103 Q390160 Q42812 Q40036 Q40033 Q100135 Q40216 Q42241 Q390865 Q17371 Q54500 Q54503 Q223513 Q52959 Q17833 Q20425 Q59225 Q42397 Q20197 Q23607 Q46935 Q58898 Q432678 Q116404 Q581 Q111906 Q59236 Q19948 Q53852 Q207448 Q9363 Q40690 Q20551 Q40699 Q22626 Q214691 Q55097 Q254139 Q55042 Q101382 Q123965 Q101388 Q128057 Q46693 Q51423 Q269788 Q339993 Q43049 Q120399 Q40967 Q40965 Q390609 Q34598 Q101702 Q17654 Q55284 Q257357 Q47835 Q72221 Q269943 Q55958 Q10361 Q51258 Q34440 Q117621 Q20386 Q111888 Q20028 Q9467 Q71832 Q10364 Q52125 Q266259 Q157720 Q50148 Q101148 Q388325 Q496878 Q17877 Q100141 Q58901 Q243022 Q270299 Q478346 Q6662 Q34702 Q42366 Q42192 Q95090 Q20095 Q10226 Q42298 Q9298 Q271236 Q100044 Q100040 Q17749 Q24918 Q177713 Q47125 Q34568 Q13657 Q42680 Q42723 Q491724 Q20517 Q42219 Q46293 Q40396 Q6244
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q22497
relation P417
type Q502895
type Q1445650
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { FILTER ( ?q = ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?c rdf:type ?s } . resource:Q22497 property:P417 ?c } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?k } }
Abetone Castelcovati Foza Ariano Irpino Cairano Meina Borgosatollo Villa Lagarina Monterosso Grana Clauzetto Cesenatico Pozzomaggiore Seniga Carinaro Enego Comiziano Scerni Fara in Sabina Trissino Gaiola Spineto Scrivia Castelliri Galliavola Gagliato Quassolo Barone Canavese Marciano della Chiana Arzignano Portugal Zeri Brescello Foppolo Alfano Urago d'Oglio Cusano Milanino Solonghello Civitella Messer Raimondo Barletta Candiolo Soriano Calabro Orosei Alpignano Arezzo Arquà Polesine Rovetta Sparone Trenzano Manduria Sestriere Casalfiumanese Casal Cermelli Cartosio Ingria Sgurgola Ittireddu San Polo dei Cavalieri Casperia Abano Terme Mombaruzzo Campo Calabro Zelo Buon Persico Cartura Siziano Sestu Cappella de' Picenardi Narzole Cormons Battaglia Terme Cattolica Castelmagno Thiene Codigoro Campodimele Torriana Mello Front Castelnuovo di Porto Squinzano Frossasco Merì Curno Collobiano Bibbona Carlino Legnago Bosia Rigolato Terno d'Isola Lucito Tufino Talana Cavallirio Baselice Gerano Cupramontana Vigonovo Sesto Campano Pozzilli Grassobbio Longhena Meleti Pombia Agugliano Colfelice Spinete Lierna Gerola Alta Langhirano Gussago San Marzano Oliveto San Martino Alfieri Marianopoli Banchette Satriano Belluno Valprato Soana Varisella Valgioie Belcastro Cassine Castiglione Falletto Grimaldi, Calabria Pozzonovo Moggio Udinese Quarona Bertonico Macchiagodena Carasco Isola d'Asti Alessano Bagnolo di Po Alba Adriatica Garda Gavi, Piedmont Borgarello Ramponio Verna Civiasco Mezzolombardo Isola Dovarese Massazza Leno Santa Marina Salina Zeme Cappelle sul Tavo Valmozzola Castelbaldo Montereale Valcellina Cerreto Laziale Alatri Vinzaglio Montegalda San Salvo Santa Lucia di Serino Chiaravalle, Marche Lombriasco Brugnato Castel Rocchero Arcevia Giuncugnano Castellero Verucchio Finland Cavedine Lithuania Borgo Tossignano Fobello Fiorano al Serio Canischio Termini Imerese Palosco Tortona Stefanaconi Brandizzo Massiola Chiuduno Santeramo in Colle Dovera Lisio Regalbuto Montanaro Folignano Conca dei Marini San Gregorio Matese Roccasecca Scandale Serramezzana Santa Sofia d'Epiro Orvinio Nocera Inferiore Cusago Gaiole in Chianti Prata d'Ansidonia Sala Monferrato San Paolo di Jesi Roatto Roccaverano Prarostino Arquata Scrivia San Ferdinando di Puglia Omegna San Romano in Garfagnana Prascorsano Pratiglione Dipignano Fagnano Castello Candelo Figline Vegliaturo Torre Orsaia Brugherio Dairago Sulmona Citta' Mezzane di Sotto Castel Colonna Belforte del Chienti Alcara li Fusi Veroli Urbana Bellegra Romans d'Isonzo Wuppertal Chiampo Tocco da Casauria San Giorgio La Molara San Felice Circeo Pallanzeno Bagolino Sedilo Alseno Trepuzzi Liscate Castelvenere Nomaglio Bertiolo Crotta d'Adda Filandari Cessaniti Magliano di Tenna Manerba del Garda Valle Castellana Montenero Val Cocchiara Margarita Barolo Casalbuono Paruzzaro Vauda Canavese Cicciano Siligo Agliano Terme Campofranco Baceno Aurano Liveri Lallio Isso, Lombardy Anversa degli Abruzzi Abbadia San Salvatore Tramatza Aquara Caprauna Grignasco Dolcè Varallo Sesia Cirigliano Fuscaldo Brignano-Frascata Nembro Usseglio Valbondione Colle d'Anchise Pleinfeld Fenestrelle Terracina Torrebruna Campo di Giove Francavilla Marittima Vò Corte Palasio Castel di Lucio Caprarola Cenate Sopra Noli Marentino Barbata Blello Sant'Egidio del Monte Albino Paesana Tarzo Rocca Pietore Ponza, Lazio Marostica Noviglio Alice Superiore Settala Calcio, Lombardy Montegallo Ripatransone Castel Guelfo di Bologna Roccafluvione Ponte Nossa Briga Alta Mercogliano Castiglione Messer Raimondo Maccastorna Crespiatica Garlasco Castel del Giudice Albuzzano Povoletto Sardigliano Aulla Montecatini Terme Caprie San Gregorio d'Ippona Beinasco Carpasio Serra San Bruno Caravino Settingiano Lucinasco Pieve a Nievole Agnadello Grezzago Villadeati Envie Sangano San Costantino Albanese San Secondo di Pinerolo Morsasco Sant'Angelo Limosano Copertino Ceglie Messapica Boves Montemarzino Latiano Vignale Monferrato Santopadre Cadorago Sori, Liguria Borzonasca Nissoria Cologno al Serio Colzate Macerata Campania Basicò San Giorgio Albanese Maletto San Demetrio Corone Casalborgone Aversa Cavallerleone Acqui Terme Borgo Vercelli Cigole Cerzeto Cervicati Carbonia Motta Baluffi Sarsina Ripalta Guerina Motta de' Conti Ameno San Martino del Lago Torre Bormida Camisano Vicentino Baldissero Canavese Motta Sant'Anastasia Bema Salice Salentino Roccagorga Reitano San Gregorio nelle Alpi Villa di Serio Boca Orsara Bormida Casalmaiocco Ottiglio San Sebastiano al Vesuvio Bibiana Santa Venerina Bastia Mondovì Cogne Cerveno Roncola Trevi Casalvolone Dugenta Collalto Sabino Bregano Laglio Marano Vicentino Alzano Lombardo Castiglion Fibocchi Castelfranco di Sopra Salsomaggiore Terme Mel Sillano Monteverdi Marittimo Noceto Serravalle Pistoiese Alife, Campania Casoria Perfugas Bubbio Berzano di San Pietro Lurano Balangero Agrate Brianza Casalattico Lenna, Lombardy Villa d'Adda Montelupo Fiorentino Villafranca d'Asti Bosio Arvier Bosco Marengo Borgoratto Alessandrino Ari, Abruzzo Guarene Assisi Banari Capralba Tromello Cesiomaggiore Canonica d'Adda Sappada Morimondo Ittiri Gremiasco Cerenzia Cotronei Castel di Tora Bagnara di Romagna Montechiaro d'Asti Roddi Campofilone Massalengo Montaldo di Mondovì Macugnaga Lazise Sessa Aurunca Sant'Angelo Muxaro Anagni Canegrate San Clemente, Emilia-Romagna Monsampietro Morico Chiusa di Pesio Casole Bruzio Monreale Forno Canavese Forcola Vezza d'Alba Sesto Calende Sillavengo Magliano in Toscana San Sossio Baronia Levanto, Liguria Guardia Lombardi Piario Corinaldo Piazza Brembana Bassiano Caprino Veronese Bellante Santo Stefano al Mare Jerzu Esino Lario Carloforte Civo Romagnese Bultei Stienta Valbrembo Rocca Grimalda Sedini Caldonazzo Selva di Progno Marano di Napoli Ameglia San Giorgio del Sannio Vinovo Palena, Abruzzo Villafranca Padovana Viticuso Castel Ritaldi Riccione Entracque Meugliano Bacoli Vische Casarano Tiglieto Capoliveri Scanno, Abruzzo Gorno Siamaggiore Capaci Vesime Capriate San Gervasio Sparanise Morlupo Rocchetta di Vara Licodia Eubea Cesena Tribano Livraga San Donato Milanese Argenta, Emilia–Romagna Barasso Rivarolo Canavese Codogno Coazze Spotorno Castelnuovo Rangone Camposanto Azzano d'Asti Campertogno San Lorenzo Nuovo Avezzano Melara Lanusei Cumignano sul Naviglio Torlino Vimercati Sant'Agata di Militello Treiso Montanaso Lombardo Asigliano Veneto Limbiate Lodi
528
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Meina
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { FILTER ( ?q = ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ontology:common_name ) ( ontology:holiday ) } . ?c rdf:type ?s } . resource:Meina property:patron_saint ?c } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36036
P276
Q1190554
USER
What is situated at Lviv ?
(c(Q1190554),P276,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q36036']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q36036 . ?i rdf:type ontology:Q1190554 }
Lviv
action filter_type
action find_reverse
entity Lviv
relation location
type event
[{'concept': 'event'}, 'location', 'Lviv']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Lviv . ?i rdf:type ontology:event }
[]
event
Q659246
SYSTEM
Battle of Galicia
Q659246
(c(Q1190554),P276,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P276
type Q1190554
[ANSWER] is situated at Lviv
[{'concept': 'Q1190554'}, 'P276', 'Q36036']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q36036 . ?i rdf:type ontology:Q1190554 }
Battle of Galicia
Battle of Galicia is situated at Lviv
Battle of Galicia
action filter_type
action find_reverse
entity Lviv
relation location
type event
[{'concept': 'event'}, 'location', 'Lviv']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Lviv . ?i rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36036
P190
Q56061
USER
Which administrative territories are twin town of that one ?
(c(Q56061),P190,Q659246)
action filter_type
action find
entity Q36036
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q659246']
SELECT DISTINCT ?d WHERE { resource:Q36036 property:P190 ?d . ?d rdf:type ontology:Q56061 }
Lviv
action filter_type
action find
entity Lviv
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Battle of Galicia']
SELECT DISTINCT ?d WHERE { resource:Lviv property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781 Q216 Q270
SYSTEM
Budapest, Vilnius, Warsaw
Q474605 Q216 Q201051 Q270 Q580 Q172415 Q964785 Q1781 Q26498 Q55630 Q598
(c(Q56061),P190,Q659246)
action filter_type
action find
entity Q36036
relation P190
type Q56061
[ANSWERS] are twin town of that one
[{'concept': 'Q56061'}, 'P190', 'Q659246']
SELECT DISTINCT ?d WHERE { resource:Q36036 property:P190 ?d . ?d rdf:type ontology:Q56061 }
Rochdale Vilnius Rishon LeZion Warsaw Łódź Kutaisi Whitstable Budapest Eskilstuna Novi Sad Rzeszów
Budapest, Vilnius and Warsaw are twin town of that one
Budapest Vilnius Warsaw
action filter_type
action find
entity Lviv
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Battle of Galicia']
SELECT DISTINCT ?d WHERE { resource:Lviv property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1899
P190
Q515
USER
Are Kyiv twin town of those administrative territories ?
(Q1899,P190,Q1781) (Q1899,P190,Q216) (Q1899,P190,Q270)
action is_in
entity prev_answer
action find
entity Q1899
relation P190
['Q1899', 'P190', 'Q1781'] ['Q1899', 'P190', 'Q216'] ['Q1899', 'P190', 'Q270']
ASK WHERE { resource:Q1899 property:P190 ?y . VALUES ( ?y ) { ( resource:Q474605 ) ( resource:Q216 ) ( resource:Q201051 ) } }
Kyiv
action is_in
entity prev_answer
action find
entity Kyiv
relation sister city
['Kyiv', 'sister city', 'Budapest'] ['Kyiv', 'sister city', 'Vilnius'] ['Kyiv', 'sister city', 'Warsaw']
ASK WHERE { resource:Kyiv property:sister_city ?y . VALUES ( ?y ) { ( resource:Rochdale ) ( resource:Vilnius ) ( resource:Rishon_LeZion ) } }
[]
city
SYSTEM
YES
(Q1899,P190,Q1781) (Q1899,P190,Q216) (Q1899,P190,Q270)
action is_in
entity prev_answer
action find
entity Q1899
relation P190
[ANSWER]
['Q1899', 'P190', 'Q1781'] ['Q1899', 'P190', 'Q216'] ['Q1899', 'P190', 'Q270']
ASK WHERE { resource:Q1899 property:P190 ?y . VALUES ( ?y ) { ( resource:Q474605 ) ( resource:Q216 ) ( resource:Q201051 ) } }
Yes
action is_in
entity prev_answer
action find
entity Kyiv
relation sister city
['Kyiv', 'sister city', 'Budapest'] ['Kyiv', 'sister city', 'Vilnius'] ['Kyiv', 'sister city', 'Warsaw']
ASK WHERE { resource:Kyiv property:sister_city ?y . VALUES ( ?y ) { ( resource:Rochdale ) ( resource:Vilnius ) ( resource:Rishon_LeZion ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270
P1001
Q12737077
USER
Which occupation has jurisdiction over Warsaw ?
(c(Q12737077),P1001,Q270)
action filter_type
action find_reverse
entity Q270
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q270']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . ?p property:P1001 resource:Q270 }
Warsaw
action filter_type
action find_reverse
entity Warsaw
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Warsaw']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . ?p property:applies_to_jurisdiction resource:Warsaw }
[]
occupation
Q6627774
SYSTEM
Mayor of Warsaw
Q6627774
(c(Q12737077),P1001,Q270)
action filter_type
action find_reverse
entity Q270
relation P1001
type Q12737077
City [ANSWER] has jurisdiction over Warsaw
[{'concept': 'Q12737077'}, 'P1001', 'Q270']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . ?p property:P1001 resource:Q270 }
Mayor of Warsaw
City Mayor of Warsaw has jurisdiction over Warsaw
Mayor of Warsaw
action filter_type
action find_reverse
entity Warsaw
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Warsaw']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . ?p property:applies_to_jurisdiction resource:Warsaw }
[]