Simple Question (Direct)
Simple Question
Q29341
P106
Q151885
USER
What is the job of Earle Meadows ?
(Q29341,P106,c(Q151885))
action filter_type
action find
entity Q29341
relation P106
type Q151885
['Q29341', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q29341 property:P106 ?m . ?m rdf:type ontology:Q151885 }
Earle Meadows
action filter_type
action find
entity Earle Meadows
relation occupation
type concept
['Earle Meadows', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:Earle_Meadows property:occupation ?m . ?m rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q29341,P106,c(Q151885))
action filter_type
action find
entity Q29341
relation P106
type Q151885
The job of Earle Meadows is an [ANSWER]
['Q29341', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q29341 property:P106 ?m . ?m rdf:type ontology:Q151885 }
athletics competitor
The job of Earle Meadows is an athletics competitor
athletics competitor
action filter_type
action find
entity Earle Meadows
relation occupation
type concept
['Earle Meadows', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:Earle_Meadows property:occupation ?m . ?m rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29341
P19
Q56061
USER
Which administrative territory is the birthplace of Earle Meadows ?
(Q29341,P19,c(Q56061))
action filter_type
action find
entity Q29341
relation P19
type Q56061
['Q29341', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q29341 property:P19 ?o }
Earle Meadows
action filter_type
action find
entity Earle Meadows
relation place of birth
type administrative territorial entity
['Earle Meadows', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Earle_Meadows property:place_of_birth ?o }
[]
administrative territorial entity
Q1992093
SYSTEM
Corinth
Q1992093
(Q29341,P19,c(Q56061))
action filter_type
action find
entity Q29341
relation P19
type Q56061
[ANSWER] is the birthplace of Earle Meadows
['Q29341', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q29341 property:P19 ?o }
Corinth
Corinth is the birthplace of Earle Meadows
Corinth
action filter_type
action find
entity Earle Meadows
relation place of birth
type administrative territorial entity
['Earle Meadows', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Earle_Meadows property:place_of_birth ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29341
P20
Q56061
USER
Where did the demise of that person occur ?
(Q1992093,P20,c(Q56061))
action filter_type
action find
entity Q29341
relation P20
type Q56061
['Q1992093', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q29341 property:P20 ?m }
Earle Meadows
action filter_type
action find
entity Earle Meadows
relation place of death
type administrative territorial entity
['Corinth', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Earle_Meadows property:place_of_death ?m }
[]
administrative territorial entity
Q16558
SYSTEM
Fort Worth
Q16558
(Q1992093,P20,c(Q56061))
action filter_type
action find
entity Q29341
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q1992093', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q29341 property:P20 ?m }
Fort Worth
The demise of that person occurred in Fort Worth
Fort Worth
action filter_type
action find
entity Earle Meadows
relation place of death
type administrative territorial entity
['Corinth', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Earle_Meadows property:place_of_death ?m }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16861468
P636
Q151885 Q12136 Q8386
USER
Which concepts are the routes of administration of lesser number of diseases and drugs than intra-arterial infusion ?
(c(Q12136)|c(Q8386),P636,c(Q151885))
action less
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q12136
action find_reverse_tuple_counts
relation P636
type Q151885
type Q8386
action count
action filter_multi_types
action find_reverse
entity Q16861468
relation P636
type Q12136
type Q8386
[[{'concept': 'Q12136'}, {'concept': 'Q8386'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?u WHERE { { ?u rdf:type ontology:Q151885 . ?g rdf:type ontology:Q12136 . ?g property:P636 ?u } UNION { ?u rdf:type ontology:Q151885 . ?g rdf:type ontology:Q8386 . ?g property:P636 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P636 resource:Q16861468 . { { ?w rdf:type ontology:Q12136 } UNION { ?w rdf:type ontology:Q8386 } } } } . FILTER ( ?s < ?i ) }
intra-arterial infusion
action less
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type disease
action find_reverse_tuple_counts
relation route of administration
type concept
type drug
action count
action filter_multi_types
action find_reverse
entity intra-arterial infusion
relation route of administration
type disease
type drug
[[{'concept': 'disease'}, {'concept': 'drug'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?u WHERE { { ?u rdf:type ontology:concept . ?g rdf:type ontology:disease . ?g property:route_of_administration ?u } UNION { ?u rdf:type ontology:concept . ?g rdf:type ontology:drug . ?g property:route_of_administration ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:route_of_administration resource:intra-arterial_infusion . { { ?w rdf:type ontology:disease } UNION { ?w rdf:type ontology:drug } } } } . FILTER ( ?s < ?i ) }
[]
concept disease drug
Q1663054 Q1400536 Q1344580
SYSTEM
ingestion, intraperitoneal injection, enteral
Q1400536 Q1344580 Q366155 Q6058566 Q180609 Q245359 Q7833952 Q3153701 Q16920397 Q1320251 Q1663054 Q784720 Q10268830
(c(Q12136)|c(Q8386),P636,c(Q151885))
action less
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q12136
action find_reverse_tuple_counts
relation P636
type Q151885
type Q8386
action count
action filter_multi_types
action find_reverse
entity Q16861468
relation P636
type Q12136
type Q8386
[ANSWERS] are the routes of administration of lesser number of diseases and drugs than intra-arterial infusion
[[{'concept': 'Q12136'}, {'concept': 'Q8386'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?u WHERE { { ?u rdf:type ontology:Q151885 . ?g rdf:type ontology:Q12136 . ?g property:P636 ?u } UNION { ?u rdf:type ontology:Q151885 . ?g rdf:type ontology:Q8386 . ?g property:P636 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P636 resource:Q16861468 . { { ?w rdf:type ontology:Q12136 } UNION { ?w rdf:type ontology:Q8386 } } } } . FILTER ( ?s < ?i ) }
intraperitoneal injection enteral intracardiac injection intravaginal administration intravitreal administration injection transdermal insufflation conjunctival Intrathecal ingestion sublingual administration inhalation
Ingestion, intraperitoneal injection and enteral are the routes of administration of lesser number of diseases and drugs than intra-arterial infusion
ingestion intraperitoneal injection enteral
action less
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type disease
action find_reverse_tuple_counts
relation route of administration
type concept
type drug
action count
action filter_multi_types
action find_reverse
entity intra-arterial infusion
relation route of administration
type disease
type drug
[[{'concept': 'disease'}, {'concept': 'drug'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?u WHERE { { ?u rdf:type ontology:concept . ?g rdf:type ontology:disease . ?g property:route_of_administration ?u } UNION { ?u rdf:type ontology:concept . ?g rdf:type ontology:drug . ?g property:route_of_administration ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:route_of_administration resource:intra-arterial_infusion . { { ?w rdf:type ontology:disease } UNION { ?w rdf:type ontology:drug } } } } . FILTER ( ?s < ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29341
P106
Q12737077 Q151885
USER
How many occupations and concepts are the professions of Earle Meadows ?
(Q29341,P106,c(Q12737077)) (Q29341,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q29341
relation P106
type Q12737077
action filter_type
action find
entity Q29341
relation P106
type Q151885
['Q29341', 'P106', {'concept': 'Q12737077'}] ['Q29341', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?p ) { ( ontology:Q12737077 ) ( ontology:Q151885 ) } . ?b rdf:type ?p }
Earle Meadows
action count
action union
action filter_type
action find
entity Earle Meadows
relation occupation
type occupation
action filter_type
action find
entity Earle Meadows
relation occupation
type concept
['Earle Meadows', 'occupation', {'concept': 'occupation'}] ['Earle Meadows', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?p ) { ( ontology:occupation ) ( ontology:concept ) } . ?b rdf:type ?p }
[]
occupation concept
SYSTEM
1 occupations and 1 concepts
Q11513337 Q13464497
(Q29341,P106,c(Q12737077)) (Q29341,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q29341
relation P106
type Q12737077
action filter_type
action find
entity Q29341
relation P106
type Q151885
[ANSWER]
['Q29341', 'P106', {'concept': 'Q12737077'}] ['Q29341', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?p ) { ( ontology:Q12737077 ) ( ontology:Q151885 ) } . ?b rdf:type ?p }
athletics competitor pole vaulter
1 occupations and 1 concepts
action count
action union
action filter_type
action find
entity Earle Meadows
relation occupation
type occupation
action filter_type
action find
entity Earle Meadows
relation occupation
type concept
['Earle Meadows', 'occupation', {'concept': 'occupation'}] ['Earle Meadows', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?p ) { ( ontology:occupation ) ( ontology:concept ) } . ?b rdf:type ?p }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1592722
P138
Q151885 Q16970
USER
How many churches are named after around the same number of concepts as Sisak Cathedral ?
(c(Q16970),P138,c(Q151885))
action count
action approx
action find_tuple_counts
relation P138
type Q16970
type Q151885
action count
action filter_type
action find
entity Q1592722
relation P138
type Q16970
[{'concept': 'Q16970'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?k ) WHERE { ?h property:P138 ?q . ?h rdf:type ontology:Q16970 . ?q rdf:type ontology:Q151885 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:Q16970 . resource:Q1592722 property:P138 ?s } } . FILTER ( ?k = ?n ) }
Sisak Cathedral
action count
action approx
action find_tuple_counts
relation named after
type church
type concept
action count
action filter_type
action find
entity Sisak Cathedral
relation named after
type church
[{'concept': 'church'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?k ) WHERE { ?h property:named_after ?q . ?h rdf:type ontology:church . ?q rdf:type ontology:concept } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:church . resource:Sisak_Cathedral property:named_after ?s } } . FILTER ( ?k = ?n ) }
[]
concept church
SYSTEM
337
Q631511 Q1536668 Q167321 Q569428 Q7588004 Q2802159 Q476529 Q24233078 Q17592509 Q2588857 Q321403 Q2942239 Q967929 Q810123 Q1736200 Q1246955 Q170123 Q2942541 Q172988 Q2994596 Q721727 Q5052192 Q16857047 Q4235752 Q3442727 Q17561181 Q18028083 Q1133075 Q2942426 Q195310 Q2942424 Q2942422 Q3669588 Q4574817 Q743305 Q17326319 Q3672950 Q541202 Q1736175 Q21281696 Q3670118 Q455042 Q21601392 Q17592514 Q1281985 Q16320896 Q5429578 Q1736196 Q17251222 Q17662892 Q17592519 Q727686 Q672526 Q1894133 Q279402 Q3916007 Q18631034 Q18631035 Q768692 Q723968 Q2322486 Q18631033 Q402221 Q1756005 Q17662962 Q3673484 Q18202203 Q650678 Q872821 Q1445930 Q4238163 Q917917 Q872119 Q2736107 Q17126924 Q2630583 Q1686988 Q21584210 Q262563 Q203741 Q390169 Q16218570 Q935380 Q1259104 Q492584 Q262500 Q1153554 Q474599 Q317346 Q1891897 Q2082987 Q2942727 Q2942861 Q1273950 Q1907145 Q1236564 Q2419151 Q16857088 Q2082710 Q1736182 Q3790872 Q1736223 Q2942356 Q1280848 Q2299324 Q1742825 Q2083128 Q762242 Q1456840 Q956163 Q1087295 Q18202199 Q18889320 Q634410 Q2002811 Q15615989 Q1630170 Q21553553 Q2942332 Q2322737 Q1144269 Q695038 Q2502875 Q11746211 Q1138070 Q3682899 Q3663717 Q3434349 Q2942692 Q36996 Q929584 Q2441417 Q1548845 Q18028087 Q7402008 Q154364 Q739366 Q5758365 Q16736744 Q1265998 Q16389568 Q26950743 Q666935 Q18028081 Q2942346 Q513300 Q16855655 Q13414822 Q2453562 Q721714 Q17488072 Q258578 Q1637393 Q14943786 Q1736220 Q2942304 Q3669847 Q205136 Q2942782 Q991832 Q408847 Q17614328 Q1736186 Q2321069 Q937290 Q15958499 Q680931 Q579004 Q735805 Q3671553 Q1627233 Q15958473 Q1450280 Q668341 Q471633 Q1234917 Q680359 Q1546307 Q1087267 Q330385 Q5052396 Q18028045 Q18028044 Q1736131 Q4425999 Q3278408 Q1547466 Q79154 Q15972177 Q4355677 Q4176 Q3672112 Q248589 Q94744 Q1592722 Q654904 Q5920 Q2942665 Q1160154 Q239560 Q1603677 Q1665853 Q3672478 Q18065605 Q264570 Q3670235 Q15958563 Q875754 Q2322036 Q324769 Q835542 Q2942772 Q2255725 Q18289282 Q1736160 Q1051168 Q7402413 Q17592485 Q15958501 Q1247719 Q16799265 Q1594930 Q568385 Q49596 Q1594933 Q7595675 Q2942479 Q16743124 Q738015 Q18130877 Q829483 Q16857098 Q3671175 Q4426003 Q4245062 Q16218555 Q318804 Q2453455 Q59607 Q17592482 Q945981 Q18028066 Q3669465 Q1637128 Q180274 Q2942887 Q535980 Q4356840 Q17722 Q3669482 Q1385934 Q7626112 Q1635337 Q18812026 Q3585407 Q21597570 Q15815698 Q2397640 Q2942485 Q2317878 Q600175 Q167231 Q1214872 Q17412497 Q1067803 Q3668182 Q880381 Q13586340 Q16959554 Q17326338 Q749677 Q15982464 Q3672228 Q269654 Q252555 Q1773550 Q5955937 Q153437 Q1552134 Q15958492 Q2942367 Q17592510 Q1132503 Q22603 Q16538387 Q26907430 Q2942405 Q15042147 Q1433289 Q3325 Q5052378 Q13377583 Q18048891 Q2886890 Q1236685 Q1736157 Q1257628 Q708532 Q276553 Q18028079 Q573881 Q1328640 Q18683481 Q523691 Q15920567 Q1499188 Q694286 Q26935191 Q2316031 Q1050898 Q3668337 Q17592516 Q428317 Q3671763 Q2942719 Q2942550 Q1257632 Q194474 Q1640381 Q18020912 Q3673064 Q21683153 Q1306549 Q2319644 Q1239043 Q513023 Q7110757 Q2942415 Q2350964 Q16960780 Q666516 Q158324 Q3919543 Q154215 Q1736144 Q6315031 Q178699
(c(Q16970),P138,c(Q151885))
action count
action approx
action find_tuple_counts
relation P138
type Q16970
type Q151885
action count
action filter_type
action find
entity Q1592722
relation P138
type Q16970
[ANSWER]
[{'concept': 'Q16970'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?k ) WHERE { ?h property:P138 ?q . ?h rdf:type ontology:Q16970 . ?q rdf:type ontology:Q151885 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:Q16970 . resource:Q1592722 property:P138 ?s } } . FILTER ( ?k = ?n ) }
Croce di Lucca, Naples St. Franziskus St Andrew's Church St. Elisabeth Cathedral St. Francis Xavier's Cathedral, Bangalore St. Andrew's Church, Antwerp Winchester Cathedral Church of St. Cyril and Methodius in Ufa St. Martin Holy Spirit Cathedral St. Jakobus Matâ'Utu Cathedral Buenos Aires Metropolitan Cathedral Basilica of Saints Peter and Paul Newcastle Cathedral Regnum Marianum Church (former) St. Hedwig's Cathedral Ales Cathedral St Mark's Basilica Dominican Church Maximilianskirche Cathedral Basilica of Saints Peter and Paul St. Jakobus Church of the Assumption of Mary in Budslaŭ Osijek Co-cathedral St. Martin St. Nikolaus Storkyrkan Cathedral of Saints Peter and Paul, Douala Holy Trinity Orthodox Cathedral Cathedral of Saint Paul Ennis Cathedral Church of Saint Benedict St. Hallvard's Cathedral Cathedral San Donato St. Martin Church of Saint Clare Saint Nicholas Cathedral Carcassonne Cathedral Nicolai Church Church of St. Francis Xavier in Garbatella St. Michael's Church St. Peter St. Nikolaus Armenian Cathedral of the Holy Cross St. Katharina Novo Mesto Cathedral San Nicola di Bari Cathedral St. Nikolaus (Warching) St. Martinus (Kirchberg) St. Nikolaus San Lorenzo in Fonte (Rome) Cathedral of Saint Lawrence Assumption of Mary Church Brunswick Cathedral Lübeck Cathedral St. Nikolaus St. Nikolaus Norwich Cathedral Pécs Cathedral St. Peter's Church St. Nikolaus Đakovo Cathedral Cathedral of San Carlos Borromeo St. Agatha (Mersch) Santa Maria Maggiore St. Mauritius Mantua Cathedral Rottenburg Cathedral St. Francis of Assisi Church, Vienna Red Church in Vichuga Bristol Cathedral Saint Nicholas church Feldkirch Saint Peter and Paul Cathedral Pfarrkirche Losenstein St. Francis Xavier Cathedral, Grodno Kaunas Cathedral Basilica St. Lucia und Ottilie Graz Cathedral Monastery of San Miguel de Escalada Lincoln Cathedral St. Jakobus St. Michael's Cathedral Peterborough Cathedral St. Canute's Cathedral Gloucester Cathedral Frascati Cathedral Juditten Church Cathedral of St Peter Holy Trinity Cathedral Old Cathedral of Sankt Andrä Sacred Heart Cathedral, Moundou Assomption Cathedral Cathedral of The Most Holy Trinity, Montevideo St. Nicholas Roman Catholic Cathedral, Kiev Ljubljana Cathedral Quimper Cathedral St. Martin St. Nicholas' Church, Inzersdorf Chichester Cathedral Cathedral of Saint Nicholas Soissons Cathedral St John's Cathedral St Paul's Pro-Cathedral Transfiguration Cathedral in Odessa Church of Saints Simon and Helena Pfarrkirche St. Nikolaus Trinity Cathedral Peace Church in Świdnica Ss. Cyril and Methodius Cathedral Christ Church St. Nikolaus Sacred Heart Basilica, Zagreb St. Christopher's Cathedral St Andrew's Cathedral Cathedral of St. Paul St. Paul's Cathedral St. Johannes der Täufer (Hohentrüdingen) Saint-François-Xavier Cathedral St. Peter and St. Paul's Cathedral, Tallinn St Peter's Cathedral Bremen Cathedral Church of the Holy Apostles Peter and Paul in Minsk St. Andrew Bobola Church Coventry Cathedral Collegiata di San Martino Cathedral of St. Paul Trogir Cathedral Nicastro Cathedral Holy Trinity Cathedral of Tbilisi Santa Croce e Purgatorio al Mercato, Naples St. Paul's Cathedral Santiago de Peñalba St. Peter und Paul Saint Paul's Cathedral St. Elizabeth Cathedral of Saint Lawrence Cathedral Basilica of Our Lady of St. John of the Lakes St. Jakobus St. Michael's Cathedral Pfarrkirche Sankt Martin am Tennengebirge St. Lambertus (Steinborn) Katholische Hofkirche St. Nikolaus Cathédrale Saint-Jean-Baptiste de Nicolet Beauvais Cathedral Saint Nicholas parish church Church of Dimitry Prilutsky na Devichyem Pole Trinity Episcopal Cathedral St. Georg St. Michael (Kelz) Innsbruck Cathedral Greek Catholic Cathedral St. Josef Trapani Cathedral St Andrew's Cathedral, Dundee Church of Saint Desiderio Cathedral of Santiago de Compostela Catedral Basílica de Nuestra Señora del Valle Esztergom Basilica Karlskirche St. Martinus (Stetternich) Cathedral of Our Lady Assumed into Heaven and St Nicholas, Galway St. Martin's Church, Biberach St. Anne's Church, Vilnius Parish Church of the Transfiguration Fribourg Cathedral Ely Cathedral Basilica in Eger San Paolo Converso St Catherine's Cathedral Parish Church of the Assumption of the Virgin Mary St. Catherine's Cathedral, Alexandria Cathedral of Magdeburg St. Peter's Cathedral Saint Nicholas Orthodox church in Almaty Solothurn Cathedral Križevci Cathedral Christuskirche Cathedral of Saint Sava Cathedral of St. John the Baptist St. Gereon St. Gereon Viterbo Cathedral Holy Rosary Cathedral Guayaquil Metropolitan Cathedral St Giles' Cathedral Cathedral of the Holy Spirit Ss. Cyril and Methodius Cathedral St Francis Xavier's Cathedral Cologne Cathedral Church of Saint Thomas St. Michael's Cathedral Albi Cathedral Sisak Cathedral St. James's Cathedral, Riga Cathedral of Trier Forli cathedral Cathedral of the Annunciation St. Martin's Cathedral, Bratislava Alexander Nevsky Cathedral, Yalta Orekhovo-Borisovo Metochion Sant'Andrea degli Scozzesi St. Georg (Stubenberg) Eisenstadt Cathedral Church of Saint James Saint Francis of Assisi Cathedral Kreuzkirche St. Nikolaus in Königsfeld Russian church Kathedrale Maria Schutz und St. Andreas Cathedral of Saint-Jérôme Pitsunda Cathedral St. Laurentius St. Francis Xavier Cathedral Notre-Dame Cathedral Basilica, Ottawa Saints Kiril & Metodij Bulgarian Eastern Orthodox Diocese Cathedral St. Jakobus Old Church of the Transfiguration St. Michael Church Schloss Wintersbach - Pfarrkirche St. Koloman Church of the Holy Cross Saint-Étienne Cathedral St.-Andreas-Kirche Holy cross church Bludenz Sarrat Church Cathedral of Saint Helena St.-Andreas-Kirche (Bad Salzungen) Helsinki Cathedral Pfarrkirche St. Martin (Aldenhoven) Budeşti Josani church St. Michael Church of San Mattia alle Grazie Saint Sava Serbian Orthodox Church Cathedral of the Holy Trinity St. Elisabeth Parish Church of St. Anna Church of St. Francis and St. Bernard Jesuitenkirche St. Gereon San Pietro di Castello St. Martin Church of Saint Barnaba St. Nicholas Naval Cathedral, St. Petersburg Notre-Dame de Chartres Cathedral of the Holy Cross Saint Nicholas Concathedral St. Andrew's Cathedral St. Peter's Church Church of Saint Bartolomeo Cathedral of Santa Ana Sts. Constantine and Helen Greek Orthodox Cathedral Saint Peter and Paul Cathedral Church of Saint Vincent Santa Caterina da Siena a Via Giulia St. Willibald Hl. Kreuz Temple of the Exaltation of the Holy Cross Cathedral of St Mary and St Anne St. Cosmas and Damian St Paul's Cathedral St. Mary's Cathedral Rieterkirche St. Bonifatiuskirche (Kronshagen) Christ Church Cathedral Church of Saints Giacomo and Filippo Sacred Heart Church Peace Church in Jawor Nuestra Señora de Lourdes, Malvín, Montevideo St. Peter church Noto Cathedral St Charles Borromeo Cathedral Church of San Zenone all'Arco St. Michael and St. Gudula Cathedral Eichstätt Cathedral St. Emmeram Church Laurentiuskirche Altenberger Dom St. Olav's Cathedral Parish Church of St. Cajetan of Thiene Antigua Guatemala Cathedral St. Martin Perugia Cathedral Collegiate Church Saints Peter and Paul Cathedral (Ulaanbaatar) St Ninian's Cathedral Concatedral de San Nicolás, Alicante St. Eric's Cathedral, Stockholm St. Martin's Cathedral St. Michael the Archangel Church Cathedral of Saints Peter and Paul in Saint Thomas Marienkirche Holy Cross Church (Keyenberg) Belluno Cathedral San Martino Oliwa Cathedral Church of the Holy Trinity, Žilina Holy Trinity Cathedral, Liepāja St.-Paulus-Dom (Münster) Boyana Church St. Nikolaus Basilica of San Lorenzo Saint-Jacques Cathedral Pfarrkirche (Großebersdorf) Schleswig Cathedral St. Martin (Oberzier) Catania Cathedral St. Nicholas Church, Leipzig Saint Joseph Cathedral St. Boniface's Church, Bergen Cathedral of the Blessed Sacrament, Christchurch Church of Saints Pietro and Marcellino St. Nikolaus San Lorenzo, Venice San Pietro dei Pellegrini, Milan Mondovì Cathedral Aversa Cathedral Holy Trinity Cathedral Cathedral of Christ the Saviour Orthodox Church of the Holy Spirit, Vilnius Hl. Dreifaltigkeit Church of Santa Giulia St. Wolfgang Genoa Cathedral St. Josef – St. Lukas St. Bonifatius Church Cathedral of Trani Our Lady of Assumption Co-Cathedral Cathedral of Saint Paul St. James' Cathedral Cathedral Church of St. Paul St. Pierre Cathedral St. Michael's Church Galluskirche Saint Peter in Chains Cathedral Šiauliai Cathedral Cathedral of Name of the Blessed Virgin Mary Bologna Cathedral
337
action count
action approx
action find_tuple_counts
relation named after
type church
type concept
action count
action filter_type
action find
entity Sisak Cathedral
relation named after
type church
[{'concept': 'church'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?k ) WHERE { ?h property:named_after ?q . ?h rdf:type ontology:church . ?q rdf:type ontology:concept } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s rdf:type ontology:church . resource:Sisak_Cathedral property:named_after ?s } } . FILTER ( ?k = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q4426003
P138
Q151885 Q16970
USER
And also tell me about Saint Sava Serbian Orthodox Church?
(c(Q16970),P138,c(Q151885))
action count
action approx
action find_tuple_counts
relation P138
type Q16970
type Q151885
action count
action filter_type
action find
entity Q4426003
relation P138
type Q16970
[{'concept': 'Q16970'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q4426003 property:P138 ?j . ?j rdf:type ontology:Q16970 } } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?v ) WHERE { ?l property:P138 ?d . ?l rdf:type ontology:Q16970 . ?d rdf:type ontology:Q151885 } GROUP BY ?l } }
Saint Sava Serbian Orthodox Church
action count
action approx
action find_tuple_counts
relation named after
type church
type concept
action count
action filter_type
action find
entity Saint Sava Serbian Orthodox Church
relation named after
type church
[{'concept': 'church'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Saint_Sava_Serbian_Orthodox_Church property:named_after ?j . ?j rdf:type ontology:church } } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?v ) WHERE { ?l property:named_after ?d . ?l rdf:type ontology:church . ?d rdf:type ontology:concept } GROUP BY ?l } }
[]
concept church
SYSTEM
337
Q631511 Q1536668 Q167321 Q569428 Q7588004 Q2802159 Q476529 Q24233078 Q17592509 Q2588857 Q321403 Q2942239 Q967929 Q810123 Q1736200 Q1246955 Q170123 Q2942541 Q172988 Q2994596 Q721727 Q5052192 Q16857047 Q4235752 Q3442727 Q17561181 Q18028083 Q1133075 Q2942426 Q195310 Q2942424 Q2942422 Q3669588 Q4574817 Q743305 Q17326319 Q3672950 Q541202 Q1736175 Q21281696 Q3670118 Q455042 Q21601392 Q17592514 Q1281985 Q16320896 Q5429578 Q1736196 Q17251222 Q17662892 Q17592519 Q727686 Q672526 Q1894133 Q279402 Q3916007 Q18631034 Q18631035 Q768692 Q723968 Q2322486 Q18631033 Q402221 Q1756005 Q17662962 Q3673484 Q18202203 Q650678 Q872821 Q1445930 Q4238163 Q917917 Q872119 Q2736107 Q17126924 Q2630583 Q1686988 Q21584210 Q262563 Q203741 Q390169 Q16218570 Q935380 Q1259104 Q492584 Q262500 Q1153554 Q474599 Q317346 Q1891897 Q2082987 Q2942727 Q2942861 Q1273950 Q1907145 Q1236564 Q2419151 Q16857088 Q2082710 Q1736182 Q3790872 Q1736223 Q2942356 Q1280848 Q2299324 Q1742825 Q2083128 Q762242 Q1456840 Q956163 Q1087295 Q18202199 Q18889320 Q634410 Q2002811 Q15615989 Q1630170 Q21553553 Q2942332 Q2322737 Q1144269 Q695038 Q2502875 Q11746211 Q1138070 Q3682899 Q3663717 Q3434349 Q2942692 Q36996 Q929584 Q2441417 Q1548845 Q18028087 Q7402008 Q154364 Q739366 Q5758365 Q16736744 Q1265998 Q16389568 Q26950743 Q666935 Q18028081 Q2942346 Q513300 Q16855655 Q13414822 Q2453562 Q721714 Q17488072 Q258578 Q1637393 Q14943786 Q1736220 Q2942304 Q3669847 Q205136 Q2942782 Q991832 Q408847 Q17614328 Q1736186 Q2321069 Q937290 Q15958499 Q680931 Q579004 Q735805 Q3671553 Q1627233 Q15958473 Q1450280 Q668341 Q471633 Q1234917 Q680359 Q1546307 Q1087267 Q330385 Q5052396 Q18028045 Q18028044 Q1736131 Q4425999 Q3278408 Q1547466 Q79154 Q15972177 Q4355677 Q4176 Q3672112 Q248589 Q94744 Q1592722 Q654904 Q5920 Q2942665 Q1160154 Q239560 Q1603677 Q1665853 Q3672478 Q18065605 Q264570 Q3670235 Q15958563 Q875754 Q2322036 Q324769 Q835542 Q2942772 Q2255725 Q18289282 Q1736160 Q1051168 Q7402413 Q17592485 Q15958501 Q1247719 Q16799265 Q1594930 Q568385 Q49596 Q1594933 Q7595675 Q2942479 Q16743124 Q738015 Q18130877 Q829483 Q16857098 Q3671175 Q4426003 Q4245062 Q16218555 Q318804 Q2453455 Q59607 Q17592482 Q945981 Q18028066 Q3669465 Q1637128 Q180274 Q2942887 Q535980 Q4356840 Q17722 Q3669482 Q1385934 Q7626112 Q1635337 Q18812026 Q3585407 Q21597570 Q15815698 Q2397640 Q2942485 Q2317878 Q600175 Q167231 Q1214872 Q17412497 Q1067803 Q3668182 Q880381 Q13586340 Q16959554 Q17326338 Q749677 Q15982464 Q3672228 Q269654 Q252555 Q1773550 Q5955937 Q153437 Q1552134 Q15958492 Q2942367 Q17592510 Q1132503 Q22603 Q16538387 Q26907430 Q2942405 Q15042147 Q1433289 Q3325 Q5052378 Q13377583 Q18048891 Q2886890 Q1236685 Q1736157 Q1257628 Q708532 Q276553 Q18028079 Q573881 Q1328640 Q18683481 Q523691 Q15920567 Q1499188 Q694286 Q26935191 Q2316031 Q1050898 Q3668337 Q17592516 Q428317 Q3671763 Q2942719 Q2942550 Q1257632 Q194474 Q1640381 Q18020912 Q3673064 Q21683153 Q1306549 Q2319644 Q1239043 Q513023 Q7110757 Q2942415 Q2350964 Q16960780 Q666516 Q158324 Q3919543 Q154215 Q1736144 Q6315031 Q178699
(c(Q16970),P138,c(Q151885))
action count
action approx
action find_tuple_counts
relation P138
type Q16970
type Q151885
action count
action filter_type
action find
entity Q4426003
relation P138
type Q16970
[ANSWER]
[{'concept': 'Q16970'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q4426003 property:P138 ?j . ?j rdf:type ontology:Q16970 } } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?v ) WHERE { ?l property:P138 ?d . ?l rdf:type ontology:Q16970 . ?d rdf:type ontology:Q151885 } GROUP BY ?l } }
Croce di Lucca, Naples St. Franziskus St Andrew's Church St. Elisabeth Cathedral St. Francis Xavier's Cathedral, Bangalore St. Andrew's Church, Antwerp Winchester Cathedral Church of St. Cyril and Methodius in Ufa St. Martin Holy Spirit Cathedral St. Jakobus Matâ'Utu Cathedral Buenos Aires Metropolitan Cathedral Basilica of Saints Peter and Paul Newcastle Cathedral Regnum Marianum Church (former) St. Hedwig's Cathedral Ales Cathedral St Mark's Basilica Dominican Church Maximilianskirche Cathedral Basilica of Saints Peter and Paul St. Jakobus Church of the Assumption of Mary in Budslaŭ Osijek Co-cathedral St. Martin St. Nikolaus Storkyrkan Cathedral of Saints Peter and Paul, Douala Holy Trinity Orthodox Cathedral Cathedral of Saint Paul Ennis Cathedral Church of Saint Benedict St. Hallvard's Cathedral Cathedral San Donato St. Martin Church of Saint Clare Saint Nicholas Cathedral Carcassonne Cathedral Nicolai Church Church of St. Francis Xavier in Garbatella St. Michael's Church St. Peter St. Nikolaus Armenian Cathedral of the Holy Cross St. Katharina Novo Mesto Cathedral San Nicola di Bari Cathedral St. Nikolaus (Warching) St. Martinus (Kirchberg) St. Nikolaus San Lorenzo in Fonte (Rome) Cathedral of Saint Lawrence Assumption of Mary Church Brunswick Cathedral Lübeck Cathedral St. Nikolaus St. Nikolaus Norwich Cathedral Pécs Cathedral St. Peter's Church St. Nikolaus Đakovo Cathedral Cathedral of San Carlos Borromeo St. Agatha (Mersch) Santa Maria Maggiore St. Mauritius Mantua Cathedral Rottenburg Cathedral St. Francis of Assisi Church, Vienna Red Church in Vichuga Bristol Cathedral Saint Nicholas church Feldkirch Saint Peter and Paul Cathedral Pfarrkirche Losenstein St. Francis Xavier Cathedral, Grodno Kaunas Cathedral Basilica St. Lucia und Ottilie Graz Cathedral Monastery of San Miguel de Escalada Lincoln Cathedral St. Jakobus St. Michael's Cathedral Peterborough Cathedral St. Canute's Cathedral Gloucester Cathedral Frascati Cathedral Juditten Church Cathedral of St Peter Holy Trinity Cathedral Old Cathedral of Sankt Andrä Sacred Heart Cathedral, Moundou Assomption Cathedral Cathedral of The Most Holy Trinity, Montevideo St. Nicholas Roman Catholic Cathedral, Kiev Ljubljana Cathedral Quimper Cathedral St. Martin St. Nicholas' Church, Inzersdorf Chichester Cathedral Cathedral of Saint Nicholas Soissons Cathedral St John's Cathedral St Paul's Pro-Cathedral Transfiguration Cathedral in Odessa Church of Saints Simon and Helena Pfarrkirche St. Nikolaus Trinity Cathedral Peace Church in Świdnica Ss. Cyril and Methodius Cathedral Christ Church St. Nikolaus Sacred Heart Basilica, Zagreb St. Christopher's Cathedral St Andrew's Cathedral Cathedral of St. Paul St. Paul's Cathedral St. Johannes der Täufer (Hohentrüdingen) Saint-François-Xavier Cathedral St. Peter and St. Paul's Cathedral, Tallinn St Peter's Cathedral Bremen Cathedral Church of the Holy Apostles Peter and Paul in Minsk St. Andrew Bobola Church Coventry Cathedral Collegiata di San Martino Cathedral of St. Paul Trogir Cathedral Nicastro Cathedral Holy Trinity Cathedral of Tbilisi Santa Croce e Purgatorio al Mercato, Naples St. Paul's Cathedral Santiago de Peñalba St. Peter und Paul Saint Paul's Cathedral St. Elizabeth Cathedral of Saint Lawrence Cathedral Basilica of Our Lady of St. John of the Lakes St. Jakobus St. Michael's Cathedral Pfarrkirche Sankt Martin am Tennengebirge St. Lambertus (Steinborn) Katholische Hofkirche St. Nikolaus Cathédrale Saint-Jean-Baptiste de Nicolet Beauvais Cathedral Saint Nicholas parish church Church of Dimitry Prilutsky na Devichyem Pole Trinity Episcopal Cathedral St. Georg St. Michael (Kelz) Innsbruck Cathedral Greek Catholic Cathedral St. Josef Trapani Cathedral St Andrew's Cathedral, Dundee Church of Saint Desiderio Cathedral of Santiago de Compostela Catedral Basílica de Nuestra Señora del Valle Esztergom Basilica Karlskirche St. Martinus (Stetternich) Cathedral of Our Lady Assumed into Heaven and St Nicholas, Galway St. Martin's Church, Biberach St. Anne's Church, Vilnius Parish Church of the Transfiguration Fribourg Cathedral Ely Cathedral Basilica in Eger San Paolo Converso St Catherine's Cathedral Parish Church of the Assumption of the Virgin Mary St. Catherine's Cathedral, Alexandria Cathedral of Magdeburg St. Peter's Cathedral Saint Nicholas Orthodox church in Almaty Solothurn Cathedral Križevci Cathedral Christuskirche Cathedral of Saint Sava Cathedral of St. John the Baptist St. Gereon St. Gereon Viterbo Cathedral Holy Rosary Cathedral Guayaquil Metropolitan Cathedral St Giles' Cathedral Cathedral of the Holy Spirit Ss. Cyril and Methodius Cathedral St Francis Xavier's Cathedral Cologne Cathedral Church of Saint Thomas St. Michael's Cathedral Albi Cathedral Sisak Cathedral St. James's Cathedral, Riga Cathedral of Trier Forli cathedral Cathedral of the Annunciation St. Martin's Cathedral, Bratislava Alexander Nevsky Cathedral, Yalta Orekhovo-Borisovo Metochion Sant'Andrea degli Scozzesi St. Georg (Stubenberg) Eisenstadt Cathedral Church of Saint James Saint Francis of Assisi Cathedral Kreuzkirche St. Nikolaus in Königsfeld Russian church Kathedrale Maria Schutz und St. Andreas Cathedral of Saint-Jérôme Pitsunda Cathedral St. Laurentius St. Francis Xavier Cathedral Notre-Dame Cathedral Basilica, Ottawa Saints Kiril & Metodij Bulgarian Eastern Orthodox Diocese Cathedral St. Jakobus Old Church of the Transfiguration St. Michael Church Schloss Wintersbach - Pfarrkirche St. Koloman Church of the Holy Cross Saint-Étienne Cathedral St.-Andreas-Kirche Holy cross church Bludenz Sarrat Church Cathedral of Saint Helena St.-Andreas-Kirche (Bad Salzungen) Helsinki Cathedral Pfarrkirche St. Martin (Aldenhoven) Budeşti Josani church St. Michael Church of San Mattia alle Grazie Saint Sava Serbian Orthodox Church Cathedral of the Holy Trinity St. Elisabeth Parish Church of St. Anna Church of St. Francis and St. Bernard Jesuitenkirche St. Gereon San Pietro di Castello St. Martin Church of Saint Barnaba St. Nicholas Naval Cathedral, St. Petersburg Notre-Dame de Chartres Cathedral of the Holy Cross Saint Nicholas Concathedral St. Andrew's Cathedral St. Peter's Church Church of Saint Bartolomeo Cathedral of Santa Ana Sts. Constantine and Helen Greek Orthodox Cathedral Saint Peter and Paul Cathedral Church of Saint Vincent Santa Caterina da Siena a Via Giulia St. Willibald Hl. Kreuz Temple of the Exaltation of the Holy Cross Cathedral of St Mary and St Anne St. Cosmas and Damian St Paul's Cathedral St. Mary's Cathedral Rieterkirche St. Bonifatiuskirche (Kronshagen) Christ Church Cathedral Church of Saints Giacomo and Filippo Sacred Heart Church Peace Church in Jawor Nuestra Señora de Lourdes, Malvín, Montevideo St. Peter church Noto Cathedral St Charles Borromeo Cathedral Church of San Zenone all'Arco St. Michael and St. Gudula Cathedral Eichstätt Cathedral St. Emmeram Church Laurentiuskirche Altenberger Dom St. Olav's Cathedral Parish Church of St. Cajetan of Thiene Antigua Guatemala Cathedral St. Martin Perugia Cathedral Collegiate Church Saints Peter and Paul Cathedral (Ulaanbaatar) St Ninian's Cathedral Concatedral de San Nicolás, Alicante St. Eric's Cathedral, Stockholm St. Martin's Cathedral St. Michael the Archangel Church Cathedral of Saints Peter and Paul in Saint Thomas Marienkirche Holy Cross Church (Keyenberg) Belluno Cathedral San Martino Oliwa Cathedral Church of the Holy Trinity, Žilina Holy Trinity Cathedral, Liepāja St.-Paulus-Dom (Münster) Boyana Church St. Nikolaus Basilica of San Lorenzo Saint-Jacques Cathedral Pfarrkirche (Großebersdorf) Schleswig Cathedral St. Martin (Oberzier) Catania Cathedral St. Nicholas Church, Leipzig Saint Joseph Cathedral St. Boniface's Church, Bergen Cathedral of the Blessed Sacrament, Christchurch Church of Saints Pietro and Marcellino St. Nikolaus San Lorenzo, Venice San Pietro dei Pellegrini, Milan Mondovì Cathedral Aversa Cathedral Holy Trinity Cathedral Cathedral of Christ the Saviour Orthodox Church of the Holy Spirit, Vilnius Hl. Dreifaltigkeit Church of Santa Giulia St. Wolfgang Genoa Cathedral St. Josef – St. Lukas St. Bonifatius Church Cathedral of Trani Our Lady of Assumption Co-Cathedral Cathedral of Saint Paul St. James' Cathedral Cathedral Church of St. Paul St. Pierre Cathedral St. Michael's Church Galluskirche Saint Peter in Chains Cathedral Šiauliai Cathedral Cathedral of Name of the Blessed Virgin Mary Bologna Cathedral
337
action count
action approx
action find_tuple_counts
relation named after
type church
type concept
action count
action filter_type
action find
entity Saint Sava Serbian Orthodox Church
relation named after
type church
[{'concept': 'church'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Saint_Sava_Serbian_Orthodox_Church property:named_after ?j . ?j rdf:type ontology:church } } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?v ) WHERE { ?l property:named_after ?d . ?l rdf:type ontology:church . ?d rdf:type ontology:concept } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16558
P47
Q56061
USER
Which administrative territories are adjacent to Fort Worth ?
(Q16558,P47,c(Q56061))
action filter_type
action find
entity Q16558
relation P47
type Q56061
['Q16558', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q16558 property:P47 ?f }
Fort Worth
action filter_type
action find
entity Fort Worth
relation shares border with
type administrative territorial entity
['Fort Worth', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Fort_Worth property:shares_border_with ?f }
[]
administrative territorial entity
Q26492 Q26485 Q177080
SYSTEM
Forest Hill, Keller, River Oaks
Q26485 Q26492 Q177080 Q26500
(Q16558,P47,c(Q56061))
action filter_type
action find
entity Q16558
relation P47
type Q56061
As [ANSWERS] are adjacent to Fort Worth
['Q16558', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q16558 property:P47 ?f }
Keller Forest Hill River Oaks Haltom City
As Forest Hill, Keller and River Oaks are adjacent to Fort Worth
Forest Hill Keller River Oaks
action filter_type
action find
entity Fort Worth
relation shares border with
type administrative territorial entity
['Fort Worth', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Fort_Worth property:shares_border_with ?f }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories have approximately 1 holidays or people as their patron saint ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?q ) WHERE { ?a rdf:type ?j . VALUES ( ?j ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?u } . FILTER ( ?q = 1 ) }
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?q ) WHERE { ?a rdf:type ?j . VALUES ( ?j ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?u } . FILTER ( ?q = 1 ) }
[]
holiday common name administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[ANSWERS] have approximately 1 holidays or people as their patron saint
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?q ) WHERE { ?a rdf:type ?j . VALUES ( ?j ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?u } . FILTER ( ?q = 1 ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
Moscow, Madrid and Milan have approximately 1 holidays or people as their patron saint
Moscow Madrid Milan
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?q ) WHERE { ?a rdf:type ?j . VALUES ( ?j ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?u } . FILTER ( ?q = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q649 Q2807 Q490
P1376
Q15617994
USER
Which administrative territories have those administrative territories as their capital ?
(Q649,P1376,c(Q15617994)) (Q2807,P1376,c(Q15617994)) (Q490,P1376,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1376
type Q15617994
['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q2807', 'P1376', {'concept': 'Q15617994'}] ['Q490', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?u ) { ( resource:Q5818 ) ( resource:Q187352 ) ( resource:Q11974 ) } . ?u property:P1376 ?p . ?p rdf:type ontology:Q15617994 }
Moscow Madrid Milan
action filter_type
action find
entity prev_answer
relation capital of
type designation for an administrative territorial entity
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Madrid', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Milan', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?u ) { ( resource:Córdoba ) ( resource:Kavala ) ( resource:Las_Palmas_de_Gran_Canaria ) } . ?u property:capital_of ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q29 Q1210
SYSTEM
Russia, Spain, Lombardy
Q159 Q29 Q1210
(Q649,P1376,c(Q15617994)) (Q2807,P1376,c(Q15617994)) (Q490,P1376,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1376
type Q15617994
[ANSWERS] have those administrative territories as their capital
['Q649', 'P1376', {'concept': 'Q15617994'}] ['Q2807', 'P1376', {'concept': 'Q15617994'}] ['Q490', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?u ) { ( resource:Q5818 ) ( resource:Q187352 ) ( resource:Q11974 ) } . ?u property:P1376 ?p . ?p rdf:type ontology:Q15617994 }
Russia Spain Lombardy
Russia, Spain and Lombardy have those administrative territories as their capital
Russia Spain Lombardy
action filter_type
action find
entity prev_answer
relation capital of
type designation for an administrative territorial entity
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Madrid', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Milan', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?u ) { ( resource:Córdoba ) ( resource:Kavala ) ( resource:Las_Palmas_de_Gran_Canaria ) } . ?u property:capital_of ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q159 Q29 Q1210
P276
Q1190554
USER
Which events are located at Russia, Spain and Lombardy ?
(c(Q1190554),P276,Q159) (c(Q1190554),P276,Q29) (c(Q1190554),P276,Q1210)
action union
action filter_type
action find_reverse
entity Q159
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q29
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q1210
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q159'] [{'concept': 'Q1190554'}, 'P276', 'Q29'] [{'concept': 'Q1190554'}, 'P276', 'Q1210']
SELECT DISTINCT ?l WHERE { { ?l property:P276 resource:Q159 . ?l rdf:type ontology:Q1190554 } UNION { ?l property:P276 resource:Q29 . ?l rdf:type ontology:Q1190554 } }
Russia Spain Lombardy
action union
action filter_type
action find_reverse
entity Russia
relation location
type event
action filter_type
action find_reverse
entity Spain
relation location
type event
action filter_type
action find_reverse
entity Lombardy
relation location
type event
[{'concept': 'event'}, 'location', 'Russia'] [{'concept': 'event'}, 'location', 'Spain'] [{'concept': 'event'}, 'location', 'Lombardy']
SELECT DISTINCT ?l WHERE { { ?l property:location resource:Russia . ?l rdf:type ontology:event } UNION { ?l property:location resource:Spain . ?l rdf:type ontology:event } }
[]
event
Q2889928 Q714196 Q184928
SYSTEM
Battle of San Marcial, Spring 1945 offensive in Italy, Revolution of 1905
Q184928 Q1340107 Q2889928 Q714196
(c(Q1190554),P276,Q159) (c(Q1190554),P276,Q29) (c(Q1190554),P276,Q1210)
action union
action filter_type
action find_reverse
entity Q159
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q29
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q1210
relation P276
type Q1190554
[ANSWERS] are located at Russia, Spain and Lombardy
[{'concept': 'Q1190554'}, 'P276', 'Q159'] [{'concept': 'Q1190554'}, 'P276', 'Q29'] [{'concept': 'Q1190554'}, 'P276', 'Q1210']
SELECT DISTINCT ?l WHERE { { ?l property:P276 resource:Q159 . ?l rdf:type ontology:Q1190554 } UNION { ?l property:P276 resource:Q29 . ?l rdf:type ontology:Q1190554 } }
Revolution of 1905 Cantabrian Wars Battle of San Marcial Spring 1945 offensive in Italy
Battle of San Marcial, Spring 1945 offensive in Italy and Revolution of 1905 are located at Russia, Spain and Lombardy
Battle of San Marcial Spring 1945 offensive in Italy Revolution of 1905
action union
action filter_type
action find_reverse
entity Russia
relation location
type event
action filter_type
action find_reverse
entity Spain
relation location
type event
action filter_type
action find_reverse
entity Lombardy
relation location
type event
[{'concept': 'event'}, 'location', 'Russia'] [{'concept': 'event'}, 'location', 'Spain'] [{'concept': 'event'}, 'location', 'Lombardy']
SELECT DISTINCT ?l WHERE { { ?l property:location resource:Russia . ?l rdf:type ontology:event } UNION { ?l property:location resource:Spain . ?l rdf:type ontology:event } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2889928
P607
Q502895
USER
Which person was that event a part of ?
(c(Q502895),P607,Q2889928)
action filter_type
action find_reverse
entity Q2889928
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q2889928']
SELECT DISTINCT ?u WHERE { ?u property:P607 resource:Q2889928 . ?u rdf:type ontology:Q502895 }
Battle of San Marcial
action filter_type
action find_reverse
entity Battle of San Marcial
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of San Marcial']
SELECT DISTINCT ?u WHERE { ?u property:conflict resource:Battle_of_San_Marcial . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q714196
SYSTEM
Did you mean Spring 1945 offensive in Italy ?
Q2889928 Q714196 Q184928
(c(Q502895),P607,Q2889928) (c(Q502895),P607,Q714196) (c(Q502895),P607,Q184928)
[ANSWER]
[{'concept': 'Q502895'}, 'P607', 'Q2889928'] [{'concept': 'Q502895'}, 'P607', 'Q714196'] [{'concept': 'Q502895'}, 'P607', 'Q184928']
SELECT DISTINCT ?u WHERE { ?u property:P607 resource:Q2889928 . ?u rdf:type ontology:Q502895 }
Battle of San Marcial Spring 1945 offensive in Italy Revolution of 1905
Did you mean Spring 1945 offensive in Italy ?
Spring 1945 offensive in Italy
[{'concept': 'common name'}, 'conflict', 'Battle of San Marcial'] [{'concept': 'common name'}, 'conflict', 'Spring 1945 offensive in Italy'] [{'concept': 'common name'}, 'conflict', 'Revolution of 1905']
SELECT DISTINCT ?u WHERE { ?u property:conflict resource:Battle_of_San_Marcial . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Battle of San Marcial. Could you tell me the answer for that?
(c(Q502895),P607,Q2889928)
Q2889928
[{'concept': 'Q502895'}, 'P607', 'Q2889928']
[{'concept': 'common name'}, 'conflict', 'Battle of San Marcial']
[]
Q3755388
SYSTEM
Francisco de Longa
Q3755388
(c(Q502895),P607,Q2889928)
action filter_type
action find_reverse
entity Q2889928
relation P607
type Q502895
[ANSWER] was that event a part of
[{'concept': 'Q502895'}, 'P607', 'Q2889928']
SELECT DISTINCT ?u WHERE { ?u property:P607 resource:Q2889928 . ?u rdf:type ontology:Q502895 }
Francisco de Longa
Francisco de Longa was that event a part of
Francisco de Longa
action filter_type
action find_reverse
entity Battle of San Marcial
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of San Marcial']
SELECT DISTINCT ?u WHERE { ?u property:conflict resource:Battle_of_San_Marcial . ?u rdf:type ontology:common_name }
[]