Simple Question (Direct)
Simple Question
Q5231330
P641
Q349
USER
Which sport was David Beresford a part of ?
(Q5231330,P641,c(Q349))
action filter_type
action find
entity Q5231330
relation P641
type Q349
['Q5231330', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q5231330 property:P641 ?b . ?b rdf:type ontology:Q349 }
David Beresford
action filter_type
action find
entity David Beresford
relation sport
type sport
['David Beresford', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:David_Beresford property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5231330,P641,c(Q349))
action filter_type
action find
entity Q5231330
relation P641
type Q349
Which sport was David Beresford a part of
['Q5231330', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q5231330 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
Which sport was David Beresford a part of
association football
action filter_type
action find
entity David Beresford
relation sport
type sport
['David Beresford', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:David_Beresford property:sport ?b . ?b rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5231330
P21
Q290
USER
Which sex does that person have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q5231330
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q5231330 property:P21 ?h . ?h rdf:type ontology:Q290 }
David Beresford
action filter_type
action find
entity David Beresford
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:David_Beresford property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q5231330
relation P21
type Q290
That person has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q5231330 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity David Beresford
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:David_Beresford property:gender ?h . ?h rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q678090
P1303
Q34379 Q502895
USER
How many musical instruments can less number of people perform with than Twelve-string guitar ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q678090
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P1303 resource:Q678090 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?o < ?e ) }
Twelve-string guitar
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Twelve-string guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:instrument resource:Twelve-string_guitar . ?m rdf:type ontology:common_name } } . FILTER ( ?o < ?e ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q678090
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P1303 resource:Q678090 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?o < ?e ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Twelve-string guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:instrument resource:Twelve-string_guitar . ?m rdf:type ontology:common_name } } . FILTER ( ?o < ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5231330
P19
Q56061
USER
Which administrative territory is the place of birth of David Beresford ?
(Q5231330,P19,c(Q56061))
action filter_type
action find
entity Q5231330
relation P19
type Q56061
['Q5231330', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q5231330 property:P19 ?p }
David Beresford
action filter_type
action find
entity David Beresford
relation place of birth
type administrative territorial entity
['David Beresford', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:David_Beresford property:place_of_birth ?p }
[]
administrative territorial entity
Q171866
SYSTEM
Middlesbrough
Q171866
(Q5231330,P19,c(Q56061))
action filter_type
action find
entity Q5231330
relation P19
type Q56061
[ANSWER] is the place of birth of David Beresford
['Q5231330', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q5231330 property:P19 ?p }
Middlesbrough
Middlesbrough is the place of birth of David Beresford
Middlesbrough
action filter_type
action find
entity David Beresford
relation place of birth
type administrative territorial entity
['David Beresford', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:David_Beresford property:place_of_birth ?p }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q232427
P417
Q502895 Q56061 Q16970
USER
How many people are the names of the patron saint of around the same number of administrative territories or churches as Saint Apollonia ?
(c(Q56061)|c(Q16970),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q232427
relation P417
type Q56061
type Q16970
[[{'concept': 'Q56061'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q16970 ) ( ontology:Q56061 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P417 resource:Q232427 . { { ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q16970 } } } } . FILTER ( ?b = ?v ) }
Saint Apollonia
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Saint Apollonia
relation patron saint
type administrative territorial entity
type church
[[{'concept': 'administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:church ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:patron_saint resource:Saint_Apollonia . { { ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:church } } } } . FILTER ( ?b = ?v ) }
[]
common name administrative territorial entity church
SYSTEM
304
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q3745904 Q191107 Q4210004 Q4282480 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q43982 Q58559 Q179718 Q445357 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q43600 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q56061)|c(Q16970),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q232427
relation P417
type Q56061
type Q16970
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q16970 ) ( ontology:Q56061 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P417 resource:Q232427 . { { ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q16970 } } } } . FILTER ( ?b = ?v ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch 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 Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great Fidelis of Como 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 Vitus 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 Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Sixtus I John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew 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 Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla 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 Simon the Zealot Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Saint Barbara Bartholomew the Apostle Leo IX Catherine of Alexandria Henry Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
304
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Saint Apollonia
relation patron saint
type administrative territorial entity
type church
[[{'concept': 'administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:church ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:patron_saint resource:Saint_Apollonia . { { ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:church } } } } . FILTER ( ?b = ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q171866
P190
Q56061
USER
Which administrative territory is partner town of Middlesbrough ?
(Q171866,P190,c(Q56061))
action filter_type
action find
entity Q171866
relation P190
type Q56061
['Q171866', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q171866 property:P190 ?l . ?l rdf:type ontology:Q56061 }
Middlesbrough
action filter_type
action find
entity Middlesbrough
relation sister city
type administrative territorial entity
['Middlesbrough', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Middlesbrough property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q601142
SYSTEM
Masvingo
Q601142
(Q171866,P190,c(Q56061))
action filter_type
action find
entity Q171866
relation P190
type Q56061
[ANSWER] is partner town of Middlesbrough
['Q171866', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q171866 property:P190 ?l . ?l rdf:type ontology:Q56061 }
Masvingo
Masvingo is partner town of Middlesbrough
Masvingo
action filter_type
action find
entity Middlesbrough
relation sister city
type administrative territorial entity
['Middlesbrough', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Middlesbrough property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q601142
P20
Q502895
USER
Who died in that administrative territory ?
(c(Q502895),P20,Q601142)
action filter_type
action find_reverse
entity Q601142
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q601142']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P20 resource:Q601142 }
Masvingo
action filter_type
action find_reverse
entity Masvingo
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Masvingo']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:place_of_death resource:Masvingo }
[]
common name
Q2112402
SYSTEM
Stan Mudenge
Q2112402
(c(Q502895),P20,Q601142)
action filter_type
action find_reverse
entity Q601142
relation P20
type Q502895
[ANSWER] died in that administrative territory
[{'concept': 'Q502895'}, 'P20', 'Q601142']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P20 resource:Q601142 }
Stan Mudenge
Stan Mudenge died in that administrative territory
Stan Mudenge
action filter_type
action find_reverse
entity Masvingo
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Masvingo']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:place_of_death resource:Masvingo }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2112402 Q534491
P27
Q15617994
USER
Does that person belong to Bad Marienberg ?
(Q2112402,P27,Q534491)
action is_in
entity Q534491
action find
entity Q2112402
relation P27
['Q2112402', 'P27', 'Q534491']
ASK WHERE { resource:Q2112402 property:P27 resource:Q534491 }
Stan Mudenge Bad Marienberg
action is_in
entity Bad Marienberg
action find
entity Stan Mudenge
relation country of citizenship
['Stan Mudenge', 'country of citizenship', 'Bad Marienberg']
ASK WHERE { resource:Stan_Mudenge property:country_of_citizenship resource:Bad_Marienberg }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2112402,P27,Q534491)
action is_in
entity Q534491
action find
entity Q2112402
relation P27
[ANSWER]
['Q2112402', 'P27', 'Q534491']
ASK WHERE { resource:Q2112402 property:P27 resource:Q534491 }
No
action is_in
entity Bad Marienberg
action find
entity Stan Mudenge
relation country of citizenship
['Stan Mudenge', 'country of citizenship', 'Bad Marienberg']
ASK WHERE { resource:Stan_Mudenge property:country_of_citizenship resource:Bad_Marienberg }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q171866 Q145
P17
Q15617994
USER
Is Middlesbrough present in United Kingdom ?
(Q171866,P17,Q145)
action is_in
entity Q145
action find
entity Q171866
relation P17
['Q171866', 'P17', 'Q145']
ASK WHERE { resource:Q171866 property:P17 resource:Q145 }
Middlesbrough United Kingdom
action is_in
entity United Kingdom
action find
entity Middlesbrough
relation country
['Middlesbrough', 'country', 'United Kingdom']
ASK WHERE { resource:Middlesbrough property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q171866,P17,Q145)
action is_in
entity Q145
action find
entity Q171866
relation P17
[ANSWER]
['Q171866', 'P17', 'Q145']
ASK WHERE { resource:Q171866 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Middlesbrough
relation country
['Middlesbrough', 'country', 'United Kingdom']
ASK WHERE { resource:Middlesbrough property:country resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q171866
P190
Q20667921 Q15617994
USER
How many french administrative divisions and administrative territories are twin cities of Middlesbrough ?
(Q171866,P190,c(Q20667921)) (Q171866,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q171866
relation P190
type Q20667921
action filter_type
action find
entity Q171866
relation P190
type Q15617994
['Q171866', 'P190', {'concept': 'Q20667921'}] ['Q171866', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } . ?u rdf:type ?r }
Middlesbrough
action count
action union
action filter_type
action find
entity Middlesbrough
relation sister city
type type of french administrative division
action filter_type
action find
entity Middlesbrough
relation sister city
type designation for an administrative territorial entity
['Middlesbrough', 'sister city', {'concept': 'type of french administrative division'}] ['Middlesbrough', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?u rdf:type ?r }
[]
type of french administrative division designation for an administrative territorial entity
SYSTEM
1 french administrative divisions and 1 administrative territories
Q2838 Q45797
(Q171866,P190,c(Q20667921)) (Q171866,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q171866
relation P190
type Q20667921
action filter_type
action find
entity Q171866
relation P190
type Q15617994
[ANSWER]
['Q171866', 'P190', {'concept': 'Q20667921'}] ['Q171866', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } . ?u rdf:type ?r }
Oberhausen Dunkirk
1 french administrative divisions and 1 administrative territories
action count
action union
action filter_type
action find
entity Middlesbrough
relation sister city
type type of french administrative division
action filter_type
action find
entity Middlesbrough
relation sister city
type designation for an administrative territorial entity
['Middlesbrough', 'sister city', {'concept': 'type of french administrative division'}] ['Middlesbrough', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?u rdf:type ?r }
[]