Simple Question (Direct)
Simple Question
Q11818152
P27
Q15617994
USER
Which administrative territory does Piotr Szlezinger belong to ?
(Q11818152,P27,c(Q15617994))
action filter_type
action find
entity Q11818152
relation P27
type Q15617994
['Q11818152', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q11818152 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Piotr Szlezinger
action filter_type
action find
entity Piotr Szlezinger
relation country of citizenship
type designation for an administrative territorial entity
['Piotr Szlezinger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Piotr_Szlezinger property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q11818152,P27,c(Q15617994))
action filter_type
action find
entity Q11818152
relation P27
type Q15617994
Piotr Szlezinger belongs to [ANSWER]
['Q11818152', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q11818152 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Poland
Piotr Szlezinger belongs to Poland
Poland
action filter_type
action find
entity Piotr Szlezinger
relation country of citizenship
type designation for an administrative territorial entity
['Piotr Szlezinger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Piotr_Szlezinger property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11818152
P21
Q290
USER
Which sex does Piotr Szlezinger belong to ?
(Q11818152,P21,c(Q290))
action filter_type
action find
entity Q11818152
relation P21
type Q290
['Q11818152', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q11818152 property:P21 ?c }
Piotr Szlezinger
action filter_type
action find
entity Piotr Szlezinger
relation gender
type sex
['Piotr Szlezinger', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Piotr_Szlezinger property:gender ?c }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11818152,P21,c(Q290))
action filter_type
action find
entity Q11818152
relation P21
type Q290
Piotr Szlezinger belongs to [ANSWER]
['Q11818152', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q11818152 property:P21 ?c }
male
Piotr Szlezinger belongs to male
male
action filter_type
action find
entity Piotr Szlezinger
relation gender
type sex
['Piotr Szlezinger', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Piotr_Szlezinger property:gender ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11818152
P641
Q349
USER
Which sport was that person a part of ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q11818152
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q11818152 property:P641 ?w . ?w rdf:type ontology:Q349 }
Piotr Szlezinger
action filter_type
action find
entity Piotr Szlezinger
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Piotr_Szlezinger property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q11818152
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q11818152 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Piotr Szlezinger
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Piotr_Szlezinger property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11818152
P106
Q12737077
USER
What does that person do for a living ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q11818152
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q11818152 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Piotr Szlezinger
action filter_type
action find
entity Piotr Szlezinger
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Piotr_Szlezinger property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q11818152
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q11818152 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Piotr Szlezinger
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Piotr_Szlezinger property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2987904
P417
Q502895 Q12737077
USER
How many people are the patron saint of around the same number of occupations as Tryphon of Pechenga ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q2987904
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:P417 ?z . ?z rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q2987904 property:P417 ?s . ?s rdf:type ontology:Q502895 } } . FILTER ( ?c = ?t ) }
Tryphon of Pechenga
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Tryphon of Pechenga
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:patron_saint ?z . ?z rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Tryphon_of_Pechenga property:patron_saint ?s . ?s rdf:type ontology:common_name } } . FILTER ( ?c = ?t ) }
[]
common name occupation
SYSTEM
266
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 count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q2987904
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:P417 ?z . ?z rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q2987904 property:P417 ?s . ?s rdf:type ontology:Q502895 } } . FILTER ( ?c = ?t ) }
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
266
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Tryphon of Pechenga
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:patron_saint ?z . ?z rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Tryphon_of_Pechenga property:patron_saint ?s . ?s rdf:type ontology:common_name } } . FILTER ( ?c = ?t ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2987904
P411
Q82799
USER
Which name does that person belong to ?
action filter_type
action find
entity Q2987904
relation P411
type Q82799
SELECT DISTINCT ?u WHERE { resource:Q2987904 property:P411 ?u . ?u rdf:type ontology:Q82799 }
Tryphon of Pechenga
action filter_type
action find
entity Tryphon of Pechenga
relation canonization status
type name
SELECT DISTINCT ?u WHERE { resource:Tryphon_of_Pechenga property:canonization_status ?u . ?u rdf:type ontology:name }
[]
name
Q43115
SYSTEM
saint
Q43115
action filter_type
action find
entity Q2987904
relation P411
type Q82799
That person belongs to [ANSWER]
SELECT DISTINCT ?u WHERE { resource:Q2987904 property:P411 ?u . ?u rdf:type ontology:Q82799 }
saint
That person belongs to saint
saint
action filter_type
action find
entity Tryphon of Pechenga
relation canonization status
type name
SELECT DISTINCT ?u WHERE { resource:Tryphon_of_Pechenga property:canonization_status ?u . ?u rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P180
Q82799 Q1792379 Q18783400
USER
Which names are depicted in greater number of art genres or genres of sculpture than that name ?
(c(Q1792379)|c(Q18783400),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q43115
relation P180
type Q1792379
type Q18783400
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?x WHERE { { ?x rdf:type ontology:Q82799 . ?u rdf:type ontology:Q1792379 . ?u property:P180 ?x } UNION { ?x rdf:type ontology:Q82799 . ?u rdf:type ontology:Q18783400 . ?u property:P180 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1792379 ) ( ontology:Q18783400 ) } } . ?w property:P180 resource:Q43115 } } . FILTER ( ?e > ?p ) }
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity saint
relation depicts
type art genre
type genre of sculpture
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?x WHERE { { ?x rdf:type ontology:name . ?u rdf:type ontology:art_genre . ?u property:depicts ?x } UNION { ?x rdf:type ontology:name . ?u rdf:type ontology:genre_of_sculpture . ?u property:depicts ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:art_genre ) ( ontology:genre_of_sculpture ) } } . ?w property:depicts resource:saint } } . FILTER ( ?e > ?p ) }
[]
name art genre genre of sculpture
Q144 Q726 Q2092297
SYSTEM
dog, horse, eagle
Q726 Q2092297 Q144 Q1367
(c(Q1792379)|c(Q18783400),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q43115
relation P180
type Q1792379
type Q18783400
[ANSWERS] are depicted in greater number of art genres or genres of sculpture than that name
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?x WHERE { { ?x rdf:type ontology:Q82799 . ?u rdf:type ontology:Q1792379 . ?u property:P180 ?x } UNION { ?x rdf:type ontology:Q82799 . ?u rdf:type ontology:Q18783400 . ?u property:P180 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1792379 ) ( ontology:Q18783400 ) } } . ?w property:P180 resource:Q43115 } } . FILTER ( ?e > ?p ) }
horse eagle dog monkey
Dog, horse and eagle are depicted in greater number of art genres or genres of sculpture than that name
dog horse eagle
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity saint
relation depicts
type art genre
type genre of sculpture
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?x WHERE { { ?x rdf:type ontology:name . ?u rdf:type ontology:art_genre . ?u property:depicts ?x } UNION { ?x rdf:type ontology:name . ?u rdf:type ontology:genre_of_sculpture . ?u property:depicts ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:art_genre ) ( ontology:genre_of_sculpture ) } } . ?w property:depicts resource:saint } } . FILTER ( ?e > ?p ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2092297
P264
Q2031291
USER
Which release has that name as its record brand ?
(c(Q2031291),P264,Q2092297)
action filter_type
action find_reverse
entity Q2092297
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q2092297']
SELECT DISTINCT ?g WHERE { ?g property:P264 resource:Q2092297 . ?g rdf:type ontology:Q2031291 }
eagle
action filter_type
action find_reverse
entity eagle
relation record label
type release
[{'concept': 'release'}, 'record label', 'eagle']
SELECT DISTINCT ?g WHERE { ?g property:record_label resource:eagle . ?g rdf:type ontology:release }
[]
release
Clarification for simple ques.
Q144
SYSTEM
Did you mean dog ?
Q144 Q726 Q2092297
(c(Q2031291),P264,Q144) (c(Q2031291),P264,Q726) (c(Q2031291),P264,Q2092297)
[ANSWER]
[{'concept': 'Q2031291'}, 'P264', 'Q144'] [{'concept': 'Q2031291'}, 'P264', 'Q726'] [{'concept': 'Q2031291'}, 'P264', 'Q2092297']
SELECT DISTINCT ?g WHERE { ?g property:P264 resource:Q2092297 . ?g rdf:type ontology:Q2031291 }
dog horse eagle
Did you mean dog ?
dog
[{'concept': 'release'}, 'record label', 'dog'] [{'concept': 'release'}, 'record label', 'horse'] [{'concept': 'release'}, 'record label', 'eagle']
SELECT DISTINCT ?g WHERE { ?g property:record_label resource:eagle . ?g rdf:type ontology:release }
[]
Simple Question (Coreferenced)
USER
No, I meant eagle. Could you tell me the answer for that?
(c(Q2031291),P264,Q2092297)
Q2092297
[{'concept': 'Q2031291'}, 'P264', 'Q2092297']
[{'concept': 'release'}, 'record label', 'eagle']
[]
Q7339326
SYSTEM
Road Dogs
Q7339326
(c(Q2031291),P264,Q2092297)
action filter_type
action find_reverse
entity Q2092297
relation P264
type Q2031291
So [ANSWER] has that name as its record brand
[{'concept': 'Q2031291'}, 'P264', 'Q2092297']
SELECT DISTINCT ?g WHERE { ?g property:P264 resource:Q2092297 . ?g rdf:type ontology:Q2031291 }
Road Dogs
So Road Dogs has that name as its record brand
Road Dogs
action filter_type
action find_reverse
entity eagle
relation record label
type release
[{'concept': 'release'}, 'record label', 'eagle']
SELECT DISTINCT ?g WHERE { ?g property:record_label resource:eagle . ?g rdf:type ontology:release }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8785
P407
Q34770 Q2031291
USER
Which languages are greater number of releases composed in than Armenian ?
(c(Q2031291),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_type
action find
entity Q8785
relation P407
type Q34770
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P407 ?a . ?a rdf:type ontology:Q34770 . ?w rdf:type ontology:Q2031291 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q8785 property:P407 ?c . ?c rdf:type ontology:Q34770 } } . FILTER ( ?v > ?q ) }
Armenian
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_type
action find
entity Armenian
relation language of work or name
type language
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:language_of_work_or_name ?a . ?a rdf:type ontology:language . ?w rdf:type ontology:release } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Armenian property:language_of_work_or_name ?c . ?c rdf:type ontology:language } } . FILTER ( ?v > ?q ) }
[]
language release
Q1860 Q9056 Q1321
SYSTEM
English, Czech, Spanish
Q1860 Q1321 Q9056 Q652
(c(Q2031291),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_type
action find
entity Q8785
relation P407
type Q34770
[ANSWERS] are greater number of releases composed in than Armenian
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P407 ?a . ?a rdf:type ontology:Q34770 . ?w rdf:type ontology:Q2031291 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q8785 property:P407 ?c . ?c rdf:type ontology:Q34770 } } . FILTER ( ?v > ?q ) }
English Spanish Czech Italian
English, Czech and Spanish are greater number of releases composed in than Armenian
English Czech Spanish
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_type
action find
entity Armenian
relation language of work or name
type language
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:language_of_work_or_name ?a . ?a rdf:type ontology:language . ?w rdf:type ontology:release } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Armenian property:language_of_work_or_name ?c . ?c rdf:type ontology:language } } . FILTER ( ?v > ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q397
P407
Q34770 Q2031291
USER
And how about Latin?
(c(Q2031291),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_type
action find
entity Q397
relation P407
type Q34770
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P407 ?u . ?u rdf:type ontology:Q34770 . ?a rdf:type ontology:Q2031291 } GROUP BY ?u } . FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q397 property:P407 ?x . ?x rdf:type ontology:Q34770 } } }
Latin
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_type
action find
entity Latin
relation language of work or name
type language
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?a rdf:type ontology:release } GROUP BY ?u } . FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Latin property:language_of_work_or_name ?x . ?x rdf:type ontology:language } } }
[]
language release
Q1860 Q9056 Q1321
SYSTEM
English, Czech, Spanish
Q1860 Q1321 Q9056 Q652
(c(Q2031291),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_type
action find
entity Q397
relation P407
type Q34770
[ANSWERS]
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P407 ?u . ?u rdf:type ontology:Q34770 . ?a rdf:type ontology:Q2031291 } GROUP BY ?u } . FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q397 property:P407 ?x . ?x rdf:type ontology:Q34770 } } }
English Spanish Czech Italian
English Czech Spanish
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_type
action find
entity Latin
relation language of work or name
type language
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?a rdf:type ontology:release } GROUP BY ?u } . FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Latin property:language_of_work_or_name ?x . ?x rdf:type ontology:language } } }
[]