Simple Question (Direct)
Simple Question
Q1730011
P21
Q290
USER
Which sex does Karl-Heinz Vosteen possess ?
(Q1730011,P21,c(Q290))
action filter_type
action find
entity Q1730011
relation P21
type Q290
['Q1730011', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q1730011 property:P21 ?t . ?t rdf:type ontology:Q290 }
Karl-Heinz Vosteen
action filter_type
action find
entity Karl-Heinz Vosteen
relation gender
type sex
['Karl-Heinz Vosteen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Karl-Heinz_Vosteen property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1730011,P21,c(Q290))
action filter_type
action find
entity Q1730011
relation P21
type Q290
Karl-Heinz Vosteen possesses 1 [ANSWER]
['Q1730011', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q1730011 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Karl-Heinz Vosteen possesses 1 male
male
action filter_type
action find
entity Karl-Heinz Vosteen
relation gender
type sex
['Karl-Heinz Vosteen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Karl-Heinz_Vosteen property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1730011
P106
Q12737077
USER
What is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1730011
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1730011 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Karl-Heinz Vosteen
action filter_type
action find
entity Karl-Heinz Vosteen
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Karl-Heinz_Vosteen property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1730011
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1730011 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
university teacher
The profession of that person is a university teacher
university teacher
action filter_type
action find
entity Karl-Heinz Vosteen
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Karl-Heinz_Vosteen property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1730011
P20
Q486972
USER
Which human settlement is the place of death of Karl-Heinz Vosteen ?
(Q1730011,P20,c(Q486972))
action filter_type
action find
entity Q1730011
relation P20
type Q486972
['Q1730011', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { resource:Q1730011 property:P20 ?v . ?v rdf:type ontology:Q486972 }
Karl-Heinz Vosteen
action filter_type
action find
entity Karl-Heinz Vosteen
relation place of death
type human settlement
['Karl-Heinz Vosteen', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { resource:Karl-Heinz_Vosteen property:place_of_death ?v . ?v rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1730011,P20,c(Q486972))
action filter_type
action find
entity Q1730011
relation P20
type Q486972
[ANSWER] is the place of death of Karl-Heinz Vosteen
['Q1730011', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { resource:Q1730011 property:P20 ?v . ?v rdf:type ontology:Q486972 }
Hamburg
Hamburg is the place of death of Karl-Heinz Vosteen
Hamburg
action filter_type
action find
entity Karl-Heinz Vosteen
relation place of death
type human settlement
['Karl-Heinz Vosteen', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { resource:Karl-Heinz_Vosteen property:place_of_death ?v . ?v rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1730011
P27
Q1048835
USER
Which political territory is Karl-Heinz Vosteen a civilian of ?
(Q1730011,P27,c(Q1048835))
action filter_type
action find
entity Q1730011
relation P27
type Q1048835
['Q1730011', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1730011 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Karl-Heinz Vosteen
action filter_type
action find
entity Karl-Heinz Vosteen
relation country of citizenship
type political territorial entity
['Karl-Heinz Vosteen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Karl-Heinz_Vosteen property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1730011,P27,c(Q1048835))
action filter_type
action find
entity Q1730011
relation P27
type Q1048835
[ANSWER] is Karl-Heinz Vosteen a civilian of
['Q1730011', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1730011 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Germany
Germany is Karl-Heinz Vosteen a civilian of
Germany
action filter_type
action find
entity Karl-Heinz Vosteen
relation country of citizenship
type political territorial entity
['Karl-Heinz Vosteen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Karl-Heinz_Vosteen property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P1313
Q12737077
USER
Which occupation is fulfilled by that political territory ?
(Q183,P1313,c(Q12737077))
action filter_type
action find
entity Q183
relation P1313
type Q12737077
['Q183', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q183 property:P1313 ?j . ?j rdf:type ontology:Q12737077 }
Germany
action filter_type
action find
entity Germany
relation office held by head of government
type occupation
['Germany', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Germany property:office_held_by_head_of_government ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q4970706
SYSTEM
Federal Chancellor of Germany
Q4970706
(Q183,P1313,c(Q12737077))
action filter_type
action find
entity Q183
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that political territory
['Q183', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q183 property:P1313 ?j . ?j rdf:type ontology:Q12737077 }
Federal Chancellor of Germany
The Federal Chancellor of Germany is fulfilled by that political territory
Federal Chancellor of Germany
action filter_type
action find
entity Germany
relation office held by head of government
type occupation
['Germany', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Germany property:office_held_by_head_of_government ?j . ?j rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q838948 Q2342494
USER
Which occupations were discussed in max number of works of art and collectables ?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?f ) { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?e ) WHERE { { ?w property:P921 ?m . ?m rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q838948 } UNION { ?w property:P921 ?m . ?m rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q2342494 } } GROUP BY ?m } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?d rdf:type ?s } GROUP BY ?n } . FILTER ( ?g = ?f ) }
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?f ) { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?e ) WHERE { { ?w property:main_subject ?m . ?m rdf:type ontology:occupation . ?w rdf:type ontology:work_of_art } UNION { ?w property:main_subject ?m . ?m rdf:type ontology:occupation . ?w rdf:type ontology:collectable } } GROUP BY ?m } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?d rdf:type ?s } GROUP BY ?n } . FILTER ( ?g = ?f ) }
[]
occupation work of art collectable
Q9402
SYSTEM
ninja
Q9402
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
U [ANSWER] was discussed in max number of works of art and collectables
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?f ) { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?e ) WHERE { { ?w property:P921 ?m . ?m rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q838948 } UNION { ?w property:P921 ?m . ?m rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q2342494 } } GROUP BY ?m } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?d rdf:type ?s } GROUP BY ?n } . FILTER ( ?g = ?f ) }
ninja
U ninja was discussed in max number of works of art and collectables
ninja
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?f ) { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?e ) WHERE { { ?w property:main_subject ?m . ?m rdf:type ontology:occupation . ?w rdf:type ontology:work_of_art } UNION { ?w property:main_subject ?m . ?m rdf:type ontology:occupation . ?w rdf:type ontology:collectable } } GROUP BY ?m } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?d rdf:type ?s } GROUP BY ?n } . FILTER ( ?g = ?f ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9402 Q7238960
P921
Q838948
USER
Was Pray for Death primarily based on that occupation ?
(Q7238960,P921,Q9402)
action is_in
entity Q9402
action find
entity Q7238960
relation P921
['Q7238960', 'P921', 'Q9402']
ASK WHERE { resource:Q7238960 property:P921 resource:Q9402 }
ninja Pray for Death
action is_in
entity ninja
action find
entity Pray for Death
relation main subject
['Pray for Death', 'main subject', 'ninja']
ASK WHERE { resource:Pray_for_Death property:main_subject resource:ninja }
[]
work of art
SYSTEM
YES
(Q7238960,P921,Q9402)
action is_in
entity Q9402
action find
entity Q7238960
relation P921
[ANSWER]
['Q7238960', 'P921', 'Q9402']
ASK WHERE { resource:Q7238960 property:P921 resource:Q9402 }
Yes
action is_in
entity ninja
action find
entity Pray for Death
relation main subject
['Pray for Death', 'main subject', 'ninja']
ASK WHERE { resource:Pray_for_Death property:main_subject resource:ninja }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q40662
P417
Q502895 Q12737077
USER
Which people are the patron saints of lesser number of occupations than John the Baptist ?
(c(Q12737077),P417,c(Q502895))
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q40662
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P417 ?p . ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:P417 resource:Q40662 . ?a rdf:type ontology:Q12737077 } } . FILTER ( ?v < ?e ) }
John the Baptist
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity John the Baptist
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:patron_saint ?p . ?p rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:patron_saint resource:John_the_Baptist . ?a rdf:type ontology:occupation } } . FILTER ( ?v < ?e ) }
[]
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 less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q40662
relation P417
type Q12737077
[ANSWERS] are the patron saints of lesser number of occupations than John the Baptist
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P417 ?p . ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:P417 resource:Q40662 . ?a rdf:type ontology:Q12737077 } } . FILTER ( ?v < ?e ) }
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 and Louis IX of France are the patron saints of lesser number of occupations than John the Baptist
Elizabeth II Tadeusz Kościuszko Louis IX of France
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity John the Baptist
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:patron_saint ?p . ?p rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:patron_saint resource:John_the_Baptist . ?a rdf:type ontology:occupation } } . FILTER ( ?v < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q183240
P417
Q502895 Q12737077
USER
And also tell me about Saint Lucy?
(c(Q12737077),P417,c(Q502895))
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q183240
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:P417 ?n . ?n rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?n } . FILTER ( ?g < ?j ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P417 resource:Q183240 . ?x rdf:type ontology:Q12737077 } } }
Saint Lucy
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Saint Lucy
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:patron_saint ?n . ?n rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?n } . FILTER ( ?g < ?j ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:patron_saint resource:Saint_Lucy . ?x rdf:type ontology:occupation } } }
[]
common name occupation
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 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 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q163900 Q31966 Q603655 Q44024 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 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q508214 Q9200 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 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q183240
relation P417
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:P417 ?n . ?n rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?n } . FILTER ( ?g < ?j ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P417 resource:Q183240 . ?x rdf:type ontology:Q12737077 } } }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours 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 Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Saint Francis Xavier 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 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 Clement I Fiorenzo di Bastia Clare of Assisi 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 Dorothea of Caesarea 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 Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George 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 Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul 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 Saint Emeric of Hungary Simon the Zealot Thomas the Apostle 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 John the Baptist 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 Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid 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 Saint Anna 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 Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea 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 Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Saint Lucy
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:patron_saint ?n . ?n rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?n } . FILTER ( ?g < ?j ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:patron_saint resource:Saint_Lucy . ?x rdf:type ontology:occupation } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9682
P166
Q618779
USER
How many awards were received by Elizabeth II ?
(Q9682,P166,c(Q618779))
action count
action filter_type
action find
entity Q9682
relation P166
type Q618779
['Q9682', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Q9682 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Elizabeth II
action count
action filter_type
action find
entity Elizabeth II
relation award received
type award
['Elizabeth II', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Elizabeth_II property:award_received ?s . ?s rdf:type ontology:award }
[]
award
SYSTEM
10
Q20853482 Q20879799 Q94121 Q84020 Q950604 Q215248 Q10904959 Q20966612 Q13377517 Q20857526
(Q9682,P166,c(Q618779))
action count
action filter_type
action find
entity Q9682
relation P166
type Q618779
[ANSWER]
['Q9682', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Q9682 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Grand Cross of the Order of Merit of the Republic of Poland Knights Grand Cross of the Order of the Netherlands Lion Grand Order of King Tomislav Order of the White Eagle Order of the Star of Romania Order of the Garter Grand Cross Special Class of the Order of Merit of the Federal Republic of Germany Collar of the Order of the White Lion Knight Grand Cross with Collar of the Order of St. Olav‎ Collar of the Order of the Star of Romania
10
action count
action filter_type
action find
entity Elizabeth II
relation award received
type award
['Elizabeth II', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Elizabeth_II property:award_received ?s . ?s rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3364689
Q618779
USER
And what about David Manning?
(Q3364689,P166,c(Q618779))
action count
action filter_type
action find
entity Q3364689
relation P166
type Q618779
['Q3364689', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q3364689 property:P166 ?w . ?w rdf:type ontology:Q618779 }
David Manning
action count
action filter_type
action find
entity David Manning
relation award received
type award
['David Manning', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:David_Manning property:award_received ?w . ?w rdf:type ontology:award }
[]
award
SYSTEM
1
(Q3364689,P166,c(Q618779))
action count
action filter_type
action find
entity Q3364689
relation P166
type Q618779
[ANSWER]
['Q3364689', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q3364689 property:P166 ?w . ?w rdf:type ontology:Q618779 }
1
action count
action filter_type
action find
entity David Manning
relation award received
type award
['David Manning', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:David_Manning property:award_received ?w . ?w rdf:type ontology:award }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q17349786
P725
Q502895 Q95074
USER
Which fictional characters have been dubbed by lesser number of people than Shulk ?
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q17349786
relation P725
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?b ) WHERE { ?u property:P725 ?q . ?u rdf:type ontology:Q95074 . ?q rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q17349786 property:P725 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?b < ?d ) }
Shulk
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Shulk
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?b ) WHERE { ?u property:voice_actor ?q . ?u rdf:type ontology:fictional_character . ?q rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Shulk property:voice_actor ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?b < ?d ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q3498590 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q17349786
relation P725
type Q502895
[ANSWERS] have been dubbed by lesser number of people than Shulk
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?b ) WHERE { ?u property:P725 ?q . ?u rdf:type ontology:Q95074 . ?q rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q17349786 property:P725 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?b < ?d ) }
Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Marge Simpson, Homer Simpson and Neo have been dubbed by lesser number of people than Shulk
Marge Simpson Homer Simpson Neo
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Shulk
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?b ) WHERE { ?u property:voice_actor ?q . ?u rdf:type ontology:fictional_character . ?q rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Shulk property:voice_actor ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?b < ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q21847058
P725
Q502895 Q95074
USER
And how about Yūichi Tachibana?
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q21847058
relation P725
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?r ) WHERE { ?a property:P725 ?t . ?a rdf:type ontology:Q95074 . ?t rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:Q502895 . resource:Q21847058 property:P725 ?s } } . FILTER ( ?r < ?p ) }
Yūichi Tachibana
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Yūichi Tachibana
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?r ) WHERE { ?a property:voice_actor ?t . ?a rdf:type ontology:fictional_character . ?t rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:common_name . resource:Yūichi_Tachibana property:voice_actor ?s } } . FILTER ( ?r < ?p ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q16027672 Q21847055 Q3498590 Q308950 Q28465 Q551327 Q21837832 Q21847115 Q15710873 Q2442950 Q21847074 Q21837038 Q7828 Q3838346 Q2570349 Q8139731 Q247120 Q1529229 Q21847089 Q21847086 Q17349786 Q21847215 Q21837905 Q1621656 Q2544561 Q27493503 Q1984009 Q605125 Q21847105 Q21847103 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q21847058
relation P725
type Q502895
[ANSWERS]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?r ) WHERE { ?a property:P725 ?t . ?a rdf:type ontology:Q95074 . ?t rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:Q502895 . resource:Q21847058 property:P725 ?s } } . FILTER ( ?r < ?p ) }
Dr. Stewart Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Kyōichi Sudō Fumihiro Princess Celestia Max Rockatansky Kōichirō Iketani Keisuke Takahashi Marge Simpson Lucas Spike Spiegel G-Man Neo Darkwing Duck Kenji Natsuki Mogi Shulk Seiji Iwaki Itsuki Takeuchi Solid Snake Ike Desoto Death GLaDOS Kenta Nakamura Shingo Shōji Lisa Simpson Homer Simpson Ness
Marge Simpson Homer Simpson Neo
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Yūichi Tachibana
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?r ) WHERE { ?a property:voice_actor ?t . ?a rdf:type ontology:fictional_character . ?t rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:common_name . resource:Yūichi_Tachibana property:voice_actor ?s } } . FILTER ( ?r < ?p ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q247120
P40
Q6619679
USER
Who have that fictional character as an offspring ?
(c(Q6619679),P40,Q247120)
action filter_type
action find_reverse
entity Q247120
relation P40
type Q6619679
[{'concept': 'Q6619679'}, 'P40', 'Q247120']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q247120 . ?n rdf:type ontology:Q6619679 }
Neo
action filter_type
action find_reverse
entity Neo
relation child
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'child', 'Neo']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Neo . ?n rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Clarification for simple ques.
Q247120
SYSTEM
Did you mean Neo ?
Q7828 Q7810 Q247120
(c(Q6619679),P40,Q7828) (c(Q6619679),P40,Q7810) (c(Q6619679),P40,Q247120)
[ANSWER]
[{'concept': 'Q6619679'}, 'P40', 'Q7828'] [{'concept': 'Q6619679'}, 'P40', 'Q7810'] [{'concept': 'Q6619679'}, 'P40', 'Q247120']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q247120 . ?n rdf:type ontology:Q6619679 }
Marge Simpson Homer Simpson Neo
Did you mean Neo ?
Neo
[{'concept': 'fictional humanoid'}, 'child', 'Marge Simpson'] [{'concept': 'fictional humanoid'}, 'child', 'Homer Simpson'] [{'concept': 'fictional humanoid'}, 'child', 'Neo']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Neo . ?n rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q6619679),P40,Q247120)
[{'concept': 'Q6619679'}, 'P40', 'Q247120']
[{'concept': 'fictional humanoid'}, 'child', 'Neo']
[]
Q15710484 Q15710481
SYSTEM
John Anderson, Michelle McCahey-Anderson
Q15710484 Q15710481
(c(Q6619679),P40,Q247120)
action filter_type
action find_reverse
entity Q247120
relation P40
type Q6619679
[ANSWERS] have that fictional character as an offspring
[{'concept': 'Q6619679'}, 'P40', 'Q247120']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q247120 . ?n rdf:type ontology:Q6619679 }
John Anderson Michelle McCahey-Anderson
John Anderson and Michelle McCahey-Anderson have that fictional character as an offspring
John Anderson Michelle McCahey-Anderson
action filter_type
action find_reverse
entity Neo
relation child
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'child', 'Neo']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Neo . ?n rdf:type ontology:fictional_humanoid }
[]