Simple Question (Direct)
Simple Question
Q512648
P20
Q56061
USER
Where did the expiration of Reinier Vinkeles occur ?
(Q512648,P20,c(Q56061))
action filter_type
action find
entity Q512648
relation P20
type Q56061
['Q512648', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q512648 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Reinier Vinkeles
action filter_type
action find
entity Reinier Vinkeles
relation place of death
type administrative territorial entity
['Reinier Vinkeles', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Reinier_Vinkeles property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727
SYSTEM
Amsterdam
Q727
(Q512648,P20,c(Q56061))
action filter_type
action find
entity Q512648
relation P20
type Q56061
The expiration of Reinier Vinkeles occurred in [ANSWER]
['Q512648', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q512648 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Amsterdam
The expiration of Reinier Vinkeles occurred in Amsterdam
Amsterdam
action filter_type
action find
entity Reinier Vinkeles
relation place of death
type administrative territorial entity
['Reinier Vinkeles', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Reinier_Vinkeles property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q512648
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q727,P106,c(Q12737077))
action filter_type
action find
entity Q512648
relation P106
type Q12737077
['Q727', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q512648 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Reinier Vinkeles
action filter_type
action find
entity Reinier Vinkeles
relation occupation
type occupation
['Amsterdam', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Reinier_Vinkeles property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q727,P106,c(Q12737077))
action filter_type
action find
entity Q512648
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q727', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q512648 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
painter
The painter is the profession of that person
painter
action filter_type
action find
entity Reinier Vinkeles
relation occupation
type occupation
['Amsterdam', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Reinier_Vinkeles property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1028181 Q16201987 Q128538
P417
Q502895
USER
Does that occupation have adopted Anson Carmody and Luke the Evangelist as patron saint ?
(Q1028181,P417,Q16201987) (Q1028181,P417,Q128538)
action is_in
entity Q1028181
action intersection
action find_reverse
entity Q16201987
relation P417
action find_reverse
entity Q128538
relation P417
['Q1028181', 'P417', 'Q16201987'] ['Q1028181', 'P417', 'Q128538']
ASK WHERE { resource:Q1028181 property:P417 resource:Q16201987 . resource:Q1028181 property:P417 resource:Q128538 }
painter Anson Carmody Luke the Evangelist
action is_in
entity painter
action intersection
action find_reverse
entity Anson Carmody
relation patron saint
action find_reverse
entity Luke the Evangelist
relation patron saint
['painter', 'patron saint', 'Anson Carmody'] ['painter', 'patron saint', 'Luke the Evangelist']
ASK WHERE { resource:painter property:patron_saint resource:Anson_Carmody . resource:painter property:patron_saint resource:Luke_the_Evangelist }
[]
common name
SYSTEM
NO and YES respectively
(Q1028181,P417,Q16201987) (Q1028181,P417,Q128538)
action is_in
entity Q1028181
action intersection
action find_reverse
entity Q16201987
relation P417
action find_reverse
entity Q128538
relation P417
[ANSWER]
['Q1028181', 'P417', 'Q16201987'] ['Q1028181', 'P417', 'Q128538']
ASK WHERE { resource:Q1028181 property:P417 resource:Q16201987 . resource:Q1028181 property:P417 resource:Q128538 }
NO and YES respectively
action is_in
entity painter
action intersection
action find_reverse
entity Anson Carmody
relation patron saint
action find_reverse
entity Luke the Evangelist
relation patron saint
['painter', 'patron saint', 'Anson Carmody'] ['painter', 'patron saint', 'Luke the Evangelist']
ASK WHERE { resource:painter property:patron_saint resource:Anson_Carmody . resource:painter property:patron_saint resource:Luke_the_Evangelist }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q727 Q1642314
P47
Q56061
USER
Does Hänichen have a shared border with Amsterdam ?
(Q727,P47,Q1642314)
action is_in
entity Q1642314
action find
entity Q727
relation P47
['Q727', 'P47', 'Q1642314']
ASK WHERE { resource:Q727 property:P47 resource:Q1642314 }
Amsterdam Hänichen
action is_in
entity Hänichen
action find
entity Amsterdam
relation shares border with
['Amsterdam', 'shares border with', 'Hänichen']
ASK WHERE { resource:Amsterdam property:shares_border_with resource:Hänichen }
[]
administrative territorial entity
SYSTEM
NO
(Q727,P47,Q1642314)
action is_in
entity Q1642314
action find
entity Q727
relation P47
[ANSWER]
['Q727', 'P47', 'Q1642314']
ASK WHERE { resource:Q727 property:P47 resource:Q1642314 }
No
action is_in
entity Hänichen
action find
entity Amsterdam
relation shares border with
['Amsterdam', 'shares border with', 'Hänichen']
ASK WHERE { resource:Amsterdam property:shares_border_with resource:Hänichen }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q332656
P417
Q502895 Q12737077
USER
Which people are the patron saints of around the same number of occupations as Camillus de Lellis ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q332656
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P417 ?q . ?q rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q332656 property:P417 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?h = ?g ) }
Camillus de Lellis
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Camillus de Lellis
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:patron_saint ?q . ?q rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Camillus_de_Lellis property:patron_saint ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?h = ?g ) }
[]
common name occupation
Q9438 Q60059 Q44281
SYSTEM
Thomas Aquinas, Albertus Magnus, Ignatius of Loyola
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q332656
relation P417
type Q502895
[ANSWERS] are the patron saints of around the same number of occupations as Camillus de Lellis
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P417 ?q . ?q rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q332656 property:P417 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?h = ?g ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
Thomas Aquinas, Albertus Magnus and Ignatius of Loyola are the patron saints of around the same number of occupations as Camillus de Lellis
Thomas Aquinas Albertus Magnus Ignatius of Loyola
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Camillus de Lellis
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:patron_saint ?q . ?q rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Camillus_de_Lellis property:patron_saint ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?h = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1050218
P417
Q502895 Q12737077
USER
And also tell me about Catald?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1050218
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q1050218 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P417 ?x . ?x rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?x } }
Catald
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Catald
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Catald property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:patron_saint ?x . ?x rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?x } }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1050218
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Q1050218 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P417 ?x . ?x rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?x } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Catald
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { resource:Catald property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:patron_saint ?x . ?x rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?x } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5621126 Q727
P190 P20
Q56061
USER
Which administrative territories are the sister cities of Amsterdam or did the demise of Gustav Geley occur ?
OR((Q727,P190,c(Q56061)), (Q5621126,P20,c(Q56061)))
action filter_type
action union
action find
entity Q727
relation P190
action find
entity Q5621126
relation P20
type Q56061
{'OR': [['Q727', 'P190', {'concept': 'Q56061'}], ['Q5621126', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q727 property:P190 ?t } UNION { resource:Q5621126 property:P20 ?t } } . ?t rdf:type ontology:Q56061 }
Gustav Geley Amsterdam
action filter_type
action union
action find
entity Amsterdam
relation sister city
action find
entity Gustav Geley
relation place of death
type administrative territorial entity
{'OR': [['Amsterdam', 'sister city', {'concept': 'administrative territorial entity'}], ['Gustav Geley', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Amsterdam property:sister_city ?t } UNION { resource:Gustav_Geley property:place_of_death ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3561 Q18125 Q956 Q3274 Q649 Q51103 Q132679 Q270 Q211563 Q406
SYSTEM
Some of them are Algiers, Manchester, Beijing, Managua, Moscow, Cali, Willemstad, Warsaw, Beira, Istanbul
Q3856 Q3630 Q340 Q6506 Q18125 Q8678 Q649 Q132679 Q3561 Q1524 Q270 Q3274 Q956 Q211563 Q51103 Q406
OR((Q727,P190,c(Q56061)), (Q5621126,P20,c(Q56061)))
action filter_type
action union
action find
entity Q727
relation P190
action find
entity Q5621126
relation P20
type Q56061
[ANSWERS] are the sister cities of Amsterdam or did the demise of Gustav Geley occur
{'OR': [['Q727', 'P190', {'concept': 'Q56061'}], ['Q5621126', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q727 property:P190 ?t } UNION { resource:Q5621126 property:P20 ?t } } . ?t rdf:type ontology:Q56061 }
Nicosia Jakarta Montreal Varna Manchester Rio de Janeiro Moscow Willemstad Algiers Athens Warsaw Managua Beijing Beira Cali Istanbul
Algiers, Manchester, Beijing, Managua, Moscow, Cali, Willemstad, Warsaw, Beira and Istanbul are the sister cities of Amsterdam or did the demise of Gustav Geley occur
Algiers Manchester Beijing Managua Moscow Cali Willemstad Warsaw Beira Istanbul
action filter_type
action union
action find
entity Amsterdam
relation sister city
action find
entity Gustav Geley
relation place of death
type administrative territorial entity
{'OR': [['Amsterdam', 'sister city', {'concept': 'administrative territorial entity'}], ['Gustav Geley', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Amsterdam property:sister_city ?t } UNION { resource:Gustav_Geley property:place_of_death ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have min number of administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action argmin
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ontology:Q56061 . ?g rdf:type ontology:Q2235308 . ?g property:P532 ?a } GROUP BY ?g } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?d ) WHERE { ?n property:P532 ?e . ?n rdf:type ontology:Q2235308 . ?e rdf:type ontology:Q56061 } GROUP BY ?n } } }
action argmin
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:ship_type . ?g property:port_of_registry ?a } GROUP BY ?g } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?d ) WHERE { ?n property:port_of_registry ?e . ?n rdf:type ontology:ship_type . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?n } } }
[]
administrative territorial entity ship type
Q558338 Q10689324 Q56839
SYSTEM
RV Polarstern, T46, USNS Puerto Rico
Q24027529 Q24027524 Q24027523 Q24027520 Q24027521 Q558338 Q24027098 Q5416 Q23935687 Q24027294 Q24027295 Q24027296 Q24027297 Q24027290 Q24027291 Q24027293 Q24027355 Q24027354 Q24027357 Q24027356 Q24027298 Q24027350 Q24027353 Q24027352 Q24027450 Q24027456 Q24027457 Q10659232 Q24027455 Q24027458 Q24027459 Q671137 Q24027390 Q24027188 Q24027189 Q23936292 Q24027181 Q24027183 Q24027184 Q24027185 Q24027186 Q24027187 Q24026972 Q21590707 Q24026970 Q24026971 Q24026976 Q24026974 Q24026975 Q24026978 Q24026979 Q24027078 Q24027079 Q24027075 Q24027076 Q24027077 Q24027070 Q24027071 Q24027072 Q24027073 Q24027175 Q24027174 Q24027177 Q24027279 Q24027171 Q24027170 Q24027173 Q24027172 Q24027272 Q24027270 Q24027179 Q24027178 Q24027274 Q24027275 Q24027269 Q24027009 Q24027008 Q24027001 Q24027000 Q24027003 Q24027386 Q24027005 Q24027004 Q24027007 Q24027006 Q24027467 Q24027418 Q24027416 Q24027414 Q24027412 Q24027413 Q24027410 Q3432142 Q21546160 Q7393645 Q24027302 Q24027303 Q24027300 Q24027301 Q24027306 Q24027307 Q24027304 Q24027305 Q24027359 Q24027308 Q24027309 Q24027358 Q25933427 Q64846 Q24027251 Q24027452 Q24027234 Q24027235 Q24027232 Q24027233 Q24027230 Q24027231 Q24027238 Q24027239 Q24027025 Q24027364 Q24026989 Q24026988 Q6720075 Q24026983 Q24026982 Q24026981 Q24026980 Q24026986 Q24026985 Q24026984 Q24027045 Q24027044 Q24027128 Q24027129 Q24027041 Q24027040 Q24027043 Q24027042 Q24027122 Q24027123 Q24027120 Q24027121 Q24027126 Q24027127 Q24027124 Q24027125 Q24026938 Q24026939 Q24026936 Q24026937 Q24027180 Q24026935 Q24026932 Q24026933 Q24026930 Q24026931 Q24027513 Q24027512 Q24027511 Q24027510 Q24027517 Q24027516 Q24027514 Q24027401 Q24027519 Q24027518 Q24027299 Q24027400 Q1376616 Q321512 Q24027118 Q24027349 Q24027346 Q24027347 Q24027344 Q24027345 Q24027343 Q24027340 Q24027112 Q7394354 Q24027466 Q24027465 Q24027464 Q24027463 Q24027462 Q24027461 Q24027460 Q24027059 Q24027469 Q24027468 Q26884343 Q24027438 Q24027439 Q2017178 Q24027249 Q23930851 Q24026947 Q24026946 Q24026945 Q24026943 Q24026942 Q24026941 Q24026940 Q24026949 Q24026948 Q24027081 Q24027080 Q24027083 Q24027082 Q24027085 Q24027084 Q24027087 Q24027086 Q24027088 Q24027050 Q24027166 Q24027167 Q24027164 Q24027162 Q24027163 Q24027160 Q24027161 Q24027247 Q24027246 Q24027245 Q24027244 Q24027243 Q24027242 Q24027168 Q24027240 Q23936293 Q24027051 Q24027237 Q24027437 Q24027018 Q24027019 Q887782 Q24027012 Q24027013 Q24026934 Q24027017 Q24683722 Q24027015 Q24027422 Q24027421 Q24027420 Q24027427 Q24027426 Q24027425 Q24027424 Q24027429 Q24027428 Q24027337 Q24027336 Q24027335 Q24027334 Q24027333 Q24027332 Q24027331 Q24027330 Q24027339 Q24027338 Q24027192 Q872070 Q24027328 Q56839 Q24027208 Q24027203 Q24027200 Q24027206 Q24027205 Q24027204 Q4922515 Q24026998 Q24026999 Q24026994 Q24026995 Q24026996 Q24026997 Q24026990 Q24026991 Q24026992 Q24026993 Q24027056 Q24027057 Q24027054 Q24027055 Q24027052 Q24027053 Q24027119 Q1926275 Q24027117 Q24027116 Q24027115 Q24027113 Q24027111 Q24027110 Q24027010 Q19896387 Q24027506 Q24027507 Q24027500 Q24027501 Q24027502 Q24027503 Q24027016 Q24027508 Q24027509 Q10659340 Q24027448 Q24027478 Q24027479 Q24027371 Q24027370 Q24027377 Q24027375 Q24027374 Q24027470 Q24027471 Q24027472 Q24027378 Q24027476 Q24027475 Q24027046 Q2714285 Q24027477 Q24027248 Q24027049 Q24027047 Q24027485 Q24027481 Q24027480 Q24027483 Q24027489 Q24027488 Q190542 Q19875522 Q24027278 Q24027092 Q24027093 Q24027090 Q24027091 Q24027096 Q24027097 Q24027094 Q24027095 Q24027153 Q24027152 Q24027151 Q24027150 Q24027157 Q24027156 Q24027155 Q24027154 Q24027398 Q24027252 Q24027253 Q24027254 Q24027256 Q24027257 Q24027391 Q24027259 Q24027393 Q24027392 Q24027395 Q24027394 Q24027397 Q24027396 Q1328104 Q23935690 Q24027276 Q24027277 Q24027029 Q24027027 Q24027026 Q24026973 Q24027024 Q24027023 Q24027022 Q24027021 Q24027020 Q24026958 Q24026959 Q3273204 Q24026950 Q24026951 Q24026952 Q24026953 Q24026954 Q24026955 Q24026956 Q24026957 Q24027434 Q24027435 Q24027436 Q24027241 Q24027430 Q24027433 Q24027531 Q24027227 Q24027533 Q24027226 Q24027408 Q24027197 Q15804931 Q24027222 Q24027218 Q24027283 Q24027281 Q24027280 Q24027287 Q24027285 Q24027284 Q24027320 Q24027321 Q24027322 Q24027288 Q24027324 Q24027326 Q24027327 Q24027441 Q24027440 Q24027443 Q24027442 Q24027444 Q24027447 Q24027446 Q24027449 Q644078 Q24027217 Q15806486 Q2859581 Q23936306 Q6717728 Q24027194 Q24027193 Q24027219 Q24027191 Q24027190 Q24027214 Q24027215 Q24027216 Q24027210 Q24027211 Q24027212 Q24027213 Q23930837 Q24026961 Q24026960 Q24026963 Q24026962 Q24026965 Q24026964 Q24026967 Q24026966 Q24026969 Q24027069 Q24027068 Q24027061 Q24027060 Q24027067 Q24027066 Q24027065 Q24027064 Q24027101 Q24027103 Q24027104 Q24027105 Q24027106 Q24027107 Q24027108 Q24027109 Q24027262 Q24027265 Q24027264 Q24027267 Q24027266 Q24026915 Q24026916 Q17374114 Q1094175 Q24026919 Q885761 Q19277222 Q10542891 Q24027365 Q24027366 Q24027367 Q24027360 Q24027361 Q24027362 Q24027363 Q24027405 Q24027404 Q24027407 Q24027368 Q24027369 Q24027402 Q7440002 Q10689319 Q6718072 Q4833112 Q24027030 Q1844689 Q24027138 Q24027342 Q24027311 Q24027310 Q24027313 Q24027312 Q24027315 Q24027314 Q24027317 Q24027316 Q24027319 Q24027318 Q24027341 Q10689326 Q10689324 Q24027497 Q24027494 Q24027495 Q24027493 Q24027490 Q24027491 Q24027037 Q24027498 Q24027499 Q24027038 Q24027039 Q24027134 Q24027148 Q24027144 Q24027145 Q24027146 Q24027147 Q24027140 Q24027141 Q24027142 Q24027143 Q24027225 Q24027224 Q24027388 Q24027389 Q24027221 Q24027220 Q24027223 Q23936316 Q24027382 Q24027380 Q24027381 Q24027229 Q24027387 Q24027384 Q24027385 Q24027100 Q24027268 Q469715 Q24027139 Q24027031 Q24027032 Q24027033 Q24027034 Q24027035 Q24027036 Q24027131 Q24027130 Q24027133 Q24027132 Q24027135 Q24027159 Q24027137 Q24027136 Q24027261 Q24027158 Q24026929 Q24026928 Q24027260 Q24026925 Q24026924 Q24026927 Q24026926 Q24026921 Q24026920 Q24026923 Q24026922
(c(Q2235308),P532,c(Q56061))
action argmin
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWERS] have min number of administrative territories as registry port
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ontology:Q56061 . ?g rdf:type ontology:Q2235308 . ?g property:P532 ?a } GROUP BY ?g } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?d ) WHERE { ?n property:P532 ?e . ?n rdf:type ontology:Q2235308 . ?e rdf:type ontology:Q56061 } GROUP BY ?n } } }
Claverdale Cliftonian Florrie Glantivy Cheltonian RV Polarstern Eagle MS Isabelle Elizabeth Ann Catherine Anne Charlotte Pilgrim Martha Jane Alert Mary Retina Noah Rowland Evans Jane Maria Crusader Progress Solway Pleiades Fairy Owny Belle Dora Ann Adela S Hills S/S Blidösund Maglona Conovium Morning Star MV Brigitte Bardot Dovey Belle Dreadnought Jane Williams Agenoria Leander John James Lettice Catherine Farmers Lass Orcadia Anne Davies Diligence Ardmore Sealeader Salathiel Energy Urgent Letitia Brothers Ceres Aeron Lass Ellen Owen Mantura Urania Mary Anne Elizabeth Lewis George Ann Margaretta Friendship Catherine & Mary Equity Eagle Eyed Glenaros Mary Davies Queen of the Isles Prima Donna Thomas Confidence Hannah Nive Naomi Dewi Lass Anne Jane Helena Taliesin Cambrian Belle Atalanta Bee Mountain Lass William & Mary Turtle Dove Friends Ellen Adelaide Martha Lloyd Courier Lerry Claudia Ivanhoe Ina Lass Cecil Brindley Golar Spirit MV Maritec SS Empire Endurance Hind Fairlina Joan Cunllo Prince of Wales Aurora Ann Davies Montego Gertrude Ceredig Martha Lloyd William Landreth Retriever High Barbaree MS Skåne Panthea Ann Jones Killia Lass Jane Belem Alberta Agnes Fraser Main Volunteer Eunice Mary Hughes Lovina Bee Hope MV Spreewald Fair Hope Beryl Dovey Packet Candace Lydia Speculation Clara Nanteos Carn Brea Lady of the Forest Nathaniel Ontario Herald Anna Maria Margaret Jones Jane Gwynne Arica Jane Davies Hawendale Elizabeth & Margaret Rheidol Vale Candor Prince Llewelyn Clarissa Elizabeth Thomas New Diligence Ella Pacific Maria George Reynolds Mary Anna Argo Towy Santon Glanyrafon Harperly Glanhafren Venus Glanystwyth Pluvier J. Llewellyn Alton Towers Feliciana Catherine Morgan J.W.A. SS Norge Alster Sarah Bridget Castle Eden Walter J. Cummins Sea Queen Hetty Mary Zingara Ocean Dart Zulette Sarah SS Scharnhorst Eleanor & Jane Agenoria Maggie Phillips Rheidol Nerissa Caroline Spooner General Nott Adoram Lady Agnes George & Lizzie STI Poplar Plover Maggie Cummings Oker Glenara Capricorn Prudence Jane Adroit Primrose John & Ann Levant Ellen Eaglet Jane Ellen Dove Glynaeron Padarn Arcturus Edward John Eleanor Jane Jones Cwmsymlog John & Margaret Loyalty Maria & Ann Marmion Claudia Albion Mary Rees Two sisters Puella Berlin Nimrod Jane Elizabeth Anne Jenkins Credo Cricket Louisa Jane Morben Providence Anne & Mary Lima Agnes Cairnes Mary Lloyd Jane MY Bob Barker Jane Ellen Pyrenee Two Brothers Gwalia Cirrus Gowerian Champion Gipsy King John Ewing Cygnet P.M. Willcock Lorne Derby Ella Swallow Fanny Fothergill Catherine Acorn Albatross Isabella Julianna Oronsa John Elias General Nott Ellen Beatrice Maid of Meirion German frigate Lübeck Sarah Phillips USNS Puerto Rico Heather Bell Ocean Belle Maria Anna Aretas Ann & Margaret Syren Blackadder Orion Prima Dudgeon Margaret Ann Aeron Maid Reform Lovely Lass Conovium Major Nanney Amity Henry & Dora Heart of Oak Ann & Elizabeth Ruby Anne Jones Catherine Beatrice MY Steve Irwin Mary Jones Peerless Eliza & Hannah Eliza Jenkins All Right Jane Owens Viscata Asta av Smögen Porpoise Norseman Etonian Rugbeian Carthusian Breconian Victoria Crescent Blue & White S/S Storskär Desdemona Raymond Comet Dreadnought Napoleon Leah Swell Rheidol Queen Hero Isobel Queen's Cliff Hope Adrienne Pearl Ellen MS Rosella Lynwood Prairie Flower Active Egcrateia Glanwern Miss Hughes Advance Edith Eleanor Glanrheidol Cadwgan Costa Concordia Big Fish Susannah Knapp Philanthropist Magdalen Esther Eleanor Anne Warren Myra Union Packet Ellen Edwards Hagar Hedessa Messenger Spread Eagle Nymph Faithful Sister Caroline Maria Roseina Lizzie Jane Sarah Jane Wellington Bessie Messenger Bezaleel Jane Rowland Ann & Mary Antelope Jane Lois Henry E. Taylor Jane Catherine Alfa Nero Azorean J.W. James Bristol Packet Aeron Queen Melodia Malvina Velocity Jane & Mary Gleaner Dart Margaret Evans Martin Omnibus MV Barfleur Ospray Integrity Lively Lass Anne Elizabeth Waterloo John & Mary Faithful Mother Industry Eastward Ianthe Resolven Ionian Belle Alice & Eliza Fleetwing Erycina Utopia Mela Hetty Ellen Ethel Anne Eliza Jane Linzerin Thomas & Sons Elizabeth Jane Margaretta Bertie Squirrel Ann Eliza Emily Agnes Alicia Summer Cloud Ada & Alice Catherine Hendry George Evans Prince Cadwgan U. Larsing Annie Maude Sophia & Emily Nymph Cambrian Doris Shon Quilt Excelsior Martha & Harriet Lady Pryse Preußen Aeron Vale Dortmund Arawak Zouave MSC Geneva Heedful Emrys Eleanor Thomas Anne Catherine Ada Letitia Sarah Davies Eleanor Francis Margaret Jane John James Industry Marwood Rosina Jane Morriston Affines Excellent Nymph Mary Jane Alert Ann Sylph Bristol Trader Hope Enterprise Aeron Belle Fanny Taylor Ellen Express Brothers Castle Annsboro Drusus Jane Morgans Elizabeth Davies Meridian Strata Florida Majestic Mary Botwood Laura John William John William Keldhead Ceres Susanna Gwenllian Velocity M/S Elfkungen MV City of St. Petersburg Kate MV Blue Marlin Ceona Amazon Kalmarsund VIII Glad Tidings Star of Wales Sir Robert McClure Naomi Rheidol Queen Ellen Anne Levant Rosland Zenobia Clarita Patriot Priscilla M.A. Jones Sea Shepherd II T26 MS Gemini Azurite FDPSO Alice RV Farley Mowat Britannia Mela Kate Sophia Principality Elizabeth Gwladys Madona Native M. A. Evans Clarovine Annie Ramsay Maelota Isabel T56 T46 Johann Caradog Theodore Engels Glanystwyth General Picton Eleanor & Jane Ifor Firefly Jubilee Ceylon Susanna Nell Lois Mary Sarah Mary Jane Eigen Cambria Eugenia Battus Jane Griffiths Severn John Pierce Blue Jacket Mediterranean Triton Ann & Betsy Tirsah Jane Herbert Eliza Francis Rebecca Native Pearl Oneida Aberystwyth Emma Alice Rachel Lewis Sarah Ann Favourite Atlantic MV Colombo Express Sisters John & Mary Ellen Catherine Camden Marys Resolute MARY & ELLEN Truant Wasp Louisa Ann Countess of Lisburne Sarah & Mary Favourite Anne Bodotria Ystwyth Burncoose Exchange Honora Convoy Valentine Gambia Catherine & Jane Mair Perseverance Idea Pandora Ellen
RV Polarstern, T46 and USNS Puerto Rico have min number of administrative territories as registry port
RV Polarstern T46 USNS Puerto Rico
action argmin
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:ship_type . ?g property:port_of_registry ?a } GROUP BY ?g } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?d ) WHERE { ?n property:port_of_registry ?e . ?n rdf:type ontology:ship_type . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?n } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q15700808 Q2235308
USER
How many urban unit definitions have around 1 ship type as their port of registry ?
(c(Q2235308),P532,c(Q15700808))
action count
action approx
action find_reverse_tuple_counts
relation P532
type Q15700808
type Q2235308
value 1
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15700808'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P532 ?c . ?c rdf:type ontology:Q15700808 . ?k rdf:type ontology:Q2235308 } GROUP BY ?c } }
action count
action approx
action find_reverse_tuple_counts
relation port of registry
type urban unit definition
type ship type
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'urban unit definition'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:port_of_registry ?c . ?c rdf:type ontology:urban_unit_definition . ?k rdf:type ontology:ship_type } GROUP BY ?c } }
[]
urban unit definition ship type
SYSTEM
5
Q1001109 Q26943 Q2295696 Q54339 Q1478888
(c(Q2235308),P532,c(Q15700808))
action count
action approx
action find_reverse_tuple_counts
relation P532
type Q15700808
type Q2235308
value 1
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15700808'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P532 ?c . ?c rdf:type ontology:Q15700808 . ?k rdf:type ontology:Q2235308 } GROUP BY ?c } }
Vaxholm Trelleborg Smögen Trollhättan Färjestaden
5
action count
action approx
action find_reverse_tuple_counts
relation port of registry
type urban unit definition
type ship type
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'urban unit definition'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:port_of_registry ?c . ?c rdf:type ontology:urban_unit_definition . ?k rdf:type ontology:ship_type } GROUP BY ?c } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q2235308 Q5962346
USER
How many classification schemes are the eponym of exactly 1 ship type ?
(c(Q5962346),P138,c(Q2235308))
action count
action equal
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
value 1
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { ?f property:P138 ?m . ?f rdf:type ontology:Q5962346 . ?m rdf:type ontology:Q2235308 } GROUP BY ?f } . FILTER ( ?e = 1 ) }
action count
action equal
action find_tuple_counts
relation named after
type classification scheme
type ship type
value 1
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { ?f property:named_after ?m . ?f rdf:type ontology:classification_scheme . ?m rdf:type ontology:ship_type } GROUP BY ?f } . FILTER ( ?e = 1 ) }
[]
ship type classification scheme
SYSTEM
99
Q604884 Q2707876 Q19510619 Q633556 Q1785063 Q7862873 Q861626 Q699842 Q2478091 Q19735222 Q640482 Q1224797 Q864181 Q4001382 Q2599168 Q26721518 Q545685 Q864160 Q10669459 Q3496128 Q2455100 Q6378043 Q1956921 Q938245 Q1195377 Q5234874 Q3679320 Q1516486 Q1141901 Q11378713 Q3679483 Q3679481 Q16151071 Q3793687 Q2161866 Q1146715 Q625467 Q713262 Q4367169 Q2117340 Q4367162 Q294566 Q4367165 Q531597 Q18844669 Q18844668 Q736723 Q1324568 Q231533 Q389149 Q1476763 Q9771135 Q3496182 Q2449695 Q719824 Q917315 Q2212420 Q18759041 Q4367179 Q914213 Q4367170 Q274841 Q5551294 Q3679466 Q6405078 Q18702896 Q3679377 Q2975963 Q4367180 Q2519345 Q1506792 Q1124859 Q1800152 Q2596671 Q7108083 Q732680 Q11378714 Q2149669 Q1061181 Q665249 Q18702864 Q1541289 Q596164 Q116633 Q1078065 Q2914356 Q656321 Q6134876 Q6134878 Q1997574 Q7862868 Q10884810 Q7862861 Q2455127 Q3792101 Q3679282 Q121982 Q404541 Q7905814
(c(Q5962346),P138,c(Q2235308))
action count
action equal
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
value 1
[ANSWER]
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { ?f property:P138 ?m . ?f rdf:type ontology:Q5962346 . ?m rdf:type ontology:Q2235308 } GROUP BY ?f } . FILTER ( ?e = 1 ) }
Rainbow-class submarine Sjöormen-class submarine Narhvalen-class submarine Virginia-class submarine Grampus-class submarine U-27-class submarine Seawolf-class submarine Balao-class submarine Dolfijn-class submarine Salta-class submarine Borei-class submarine Sturgeon-class submarine Type C3 Japanese submarine German Type U 151 submarine Valiant-class submarine German Type U 17 submarine Cagni-class submarine Type B3 submarine Sjölejonet-class submarine Shishumar-class submarine Draken-class submarine Katsonis-class submarine Mystic-class deep-submergence rescue vehicle Vanguard-class submarine Oyashio-class submarine United States Barracuda-class submarine Glauco-class submarine Walrus-class submarine Gotland-class submarine I-156-class submarine Settembrini-class submarine Acciaio-class submarine Type J1 submarine Vetehinen-class submarine I-201-class submarine I-400-class submarine Circé-class submarine Hai Lung-class submarine Type J3 submarine Södermanland-class submarine I-162-class submarine Type AM submarine KD7-type Japanese submarine Odin-class submarine Type D3 submarine Type D2 submarine Benjamin Franklin-class submarine Type A1 submarine Zwaardvis-class submarine Ohio-class submarine Permit class submarine Tikuna-class submarine Sindhughosh-class submarine Type C1 Japanese submarine James Madison-class submarine Brin-class submarine I-121-class submarine Type C2 Japanese submarine Hajen-class submarine Ula-class submarine Ro-60-class submarine Émeraude-class submarine Type U 93 Consul class submersible Type A2 submarine Type J1M submarine Liuzzi-class submarine Parthian-class submarine Hrabri-class submarine Archimede-class submarine George Washington class submarine Oberon-class submarine Lafayette-class submarine Type B1 submarine Osvetnik-class submarine British R-class submarine I-153-class submarine K XI-class submarine Triomphant-class submarine Los Angeles-class submarine Type J2 submarine Västergötland-class submarine Ethan Allen-class submarine O 19-class submarine Lada-class submarine O 2-class submarine Calvi-class submarine KD6a-type Japanese submarine KD6b-type Japanese submarine Orzeł-class submarine U-20-class submarine KD5-type Japanese submarine U-10-class submarine Näcken-class submarine Pisces-class deep submergence vehicle Dupuy de Lôme-class submarine Astute-class submarine Aigrette-class submarine V-boat
99
action count
action equal
action find_tuple_counts
relation named after
type classification scheme
type ship type
value 1
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { ?f property:named_after ?m . ?f rdf:type ontology:classification_scheme . ?m rdf:type ontology:ship_type } GROUP BY ?f } . FILTER ( ?e = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q2235308 Q15700808
USER
Which urban unit definitions have atmost 1 ship type as their toponym ?
(c(Q15700808),P138,c(Q2235308))
action atmost
action find_tuple_counts
relation P138
type Q15700808
type Q2235308
value 1
[{'concept': 'Q15700808'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?p ) WHERE { ?k rdf:type ontology:Q15700808 . ?v rdf:type ontology:Q2235308 . ?k property:P138 ?v } GROUP BY ?k } . FILTER ( ?p <= 1 ) }
action atmost
action find_tuple_counts
relation named after
type urban unit definition
type ship type
value 1
[{'concept': 'urban unit definition'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?p ) WHERE { ?k rdf:type ontology:urban_unit_definition . ?v rdf:type ontology:ship_type . ?k property:named_after ?v } GROUP BY ?k } . FILTER ( ?p <= 1 ) }
[]
ship type urban unit definition
Q7989345 Q7626934 Q1421389
SYSTEM
Weston, Stuart Park, Fitzroy
Q1594002 Q1421389 Q7026520 Q5377277 Q14935141 Q692763 Q7338840 Q2896400 Q4476251 Q949824 Q7989345 Q7626934 Q6391446 Q7641406 Q6271274 Q673418 Q1012058 Q6722652 Q4894915 Q7185600 Q22525629 Q763513 Q2651034 Q2918153 Q6480572 Q5167620 Q660135 Q1521059 Q4999948 Q482055 Q2918803 Q2918802 Q7810475 Q1160037 Q5184107 Q5598698 Q516923 Q5148151 Q7002958 Q1003684 Q5102084 Q2900456 Q256948 Q291305 Q12060435 Q4977003 Q5455716 Q5125861 Q4942699 Q5315441 Q2236090 Q256629 Q443946 Q7244455 Q1001743 Q17007340 Q6938213 Q1011478 Q7330307 Q905081 Q5679492 Q910857 Q7968787 Q2975743 Q6813667 Q4530072 Q59593 Q617029 Q3764261 Q1004189 Q652017 Q7899493 Q5135073 Q12736886 Q1228554 Q24239665 Q4976165 Q257618 Q5048437 Q2895133 Q538592 Q1109698 Q4455973 Q8026553 Q591771 Q860086 Q7617547 Q4972237 Q532284 Q2918677 Q7798372 Q1200355 Q1109824 Q4155281 Q6933244 Q994135 Q848872 Q520022 Q5166874 Q1012076 Q13420360 Q5211219 Q7141839
(c(Q15700808),P138,c(Q2235308))
action atmost
action find_tuple_counts
relation P138
type Q15700808
type Q2235308
value 1
[ANSWERS] have atmost 1 ship type as their toponym
[{'concept': 'Q15700808'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?p ) WHERE { ?k rdf:type ontology:Q15700808 . ?v rdf:type ontology:Q2235308 . ?k property:P138 ?v } GROUP BY ?k } . FILTER ( ?p <= 1 ) }
Heidelberg Fitzroy Nicholls Enfield Fawkner Bonner Rivett Chifley Watson Sturt Weston Stuart Park Kensington Gardens Sunshine Tempe Bondi Beach Williamstown Macarthur Berserker Phillip Gillen Cremorne Alphington La Perouse Lalor Coombs Florey Tullamarine Burnley Acton Potts Point Camperdown Tiwi Lyons Cremorne Great Barr Evatt Colonel Light Gardens Neutral Bay Fraser Chisholm Darling Point Hackett Banks Holroyd Bruce Fitzroy North Clapham Bonython Dunlop Bankstown Scullin Altona Princes Hill Fisher Denman Prospect Murdoch Darlinghurst Richardson Dickson Hassall Grove Duffy Waramanga Kingsford Melrose Park Ainslie Fortitude Valley Holder Gilberton Frösön Crace Upwey Clontarf Normanhurst Palmerston Eaton Brown Hill Creek Waterloo Casey Phillip Bay Curtin Collingwood Turner Winthrop Albert Park Chapman Stirling Broadmeadows Chifley Waverley Throsby Derrimut Collinsvale Downer Muirhead Brunswick Braddon Forde Cook Richmond Barton Dallas Pascoe Vale
Weston, Stuart Park and Fitzroy have atmost 1 ship type as their toponym
Weston Stuart Park Fitzroy
action atmost
action find_tuple_counts
relation named after
type urban unit definition
type ship type
value 1
[{'concept': 'urban unit definition'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?p ) WHERE { ?k rdf:type ontology:urban_unit_definition . ?v rdf:type ontology:ship_type . ?k property:named_after ?v } GROUP BY ?k } . FILTER ( ?p <= 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have location of birth at that urban unit definition ?
(c(Q502895),P19,Q1421389)
[{'concept': 'Q502895'}, 'P19', 'Q1421389']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q21079620 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of birth', 'Fitzroy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Fitzroy . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q1421389
SYSTEM
Did you mean Fitzroy ?
(c(Q502895),P19,Q7989345) (c(Q502895),P19,Q7626934) (c(Q502895),P19,Q1421389)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q7989345'] [{'concept': 'Q502895'}, 'P19', 'Q7626934'] [{'concept': 'Q502895'}, 'P19', 'Q1421389']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q21079620 . ?z rdf:type ontology:Q502895 }
Did you mean Fitzroy ?
Fitzroy
[{'concept': 'common name'}, 'place of birth', 'Weston'] [{'concept': 'common name'}, 'place of birth', 'Stuart Park'] [{'concept': 'common name'}, 'place of birth', 'Fitzroy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Fitzroy . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P19,Q1421389)
[{'concept': 'Q502895'}, 'P19', 'Q1421389']
[{'concept': 'common name'}, 'place of birth', 'Fitzroy']
[]
SYSTEM
21
Q5487701 Q24284436 Q7052386 Q4895246 Q4785293 Q75643 Q5109288 Q8008565 Q18810058 Q16030691 Q16007742 Q4977359 Q6114401 Q5337330 Q5545274 Q21996699 Q6529731 Q17421411 Q5495909 Q5480241 Q2379882
(c(Q502895),P19,Q1421389)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1421389']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q21079620 . ?z rdf:type ontology:Q502895 }
Frank Kirby Jim Buntine Norman J. Barker Bert Newton Arch Corbett Will Lockwood Christian Argenti William Ellis Green Ambrose Tarrant Albert Tucker Bert Allen Bruce Dawe Jack O'Hagan Edgar Kneen George Topping Max Martin Les Millis Walter Reginald Hume Fred McIntosh Francis Birtles E. Phillips Fox
21
[{'concept': 'common name'}, 'place of birth', 'Fitzroy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Fitzroy . ?z rdf:type ontology:common_name }
[]