Simple Question (Direct)
Simple Question
Q5813417
P463
Q19335303
USER
Which German business organization was Gunnar Hoppe a member of ?
(Q5813417,P463,c(Q19335303))
action filter_type
action find
entity Q5813417
relation P463
type Q19335303
['Q5813417', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?a WHERE { resource:Q5813417 property:P463 ?a . ?a rdf:type ontology:Q19335303 }
Gunnar Hoppe
action filter_type
action find
entity Gunnar Hoppe
relation member of
type type of business entity in Germany
['Gunnar Hoppe', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?a WHERE { resource:Gunnar_Hoppe property:member_of ?a . ?a rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q543804
SYSTEM
German Academy of Sciences Leopoldina
Q543804
(Q5813417,P463,c(Q19335303))
action filter_type
action find
entity Q5813417
relation P463
type Q19335303
The [ANSWER] was Gunnar Hoppe a member of
['Q5813417', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?a WHERE { resource:Q5813417 property:P463 ?a . ?a rdf:type ontology:Q19335303 }
German Academy of Sciences Leopoldina
The German Academy of Sciences Leopoldina was Gunnar Hoppe a member of
German Academy of Sciences Leopoldina
action filter_type
action find
entity Gunnar Hoppe
relation member of
type type of business entity in Germany
['Gunnar Hoppe', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?a WHERE { resource:Gunnar_Hoppe property:member_of ?a . ?a rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q543804
P166
Q502895
USER
Which person received the award titled that German business organization ?
(c(Q502895),P166,Q543804)
action filter_type
action find_reverse
entity Q543804
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q543804']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P166 resource:Q543804 }
German Academy of Sciences Leopoldina
action filter_type
action find_reverse
entity German Academy of Sciences Leopoldina
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'German Academy of Sciences Leopoldina']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:award_received resource:German_Academy_of_Sciences_Leopoldina }
[]
common name
Q5069186
SYSTEM
Geoffrey Lilley Smith
Q5069186
(c(Q502895),P166,Q543804)
action filter_type
action find_reverse
entity Q543804
relation P166
type Q502895
[ANSWER] received the award titled that German business organization
[{'concept': 'Q502895'}, 'P166', 'Q543804']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P166 resource:Q543804 }
Geoffrey Lilley Smith
Geoffrey Lilley Smith received the award titled that German business organization
Geoffrey Lilley Smith
action filter_type
action find_reverse
entity German Academy of Sciences Leopoldina
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'German Academy of Sciences Leopoldina']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:award_received resource:German_Academy_of_Sciences_Leopoldina }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5069186
P98
Q21114848
USER
Which magazine genre did that person act as an editor for ?
(c(Q21114848),P98,Q5069186)
action filter_type
action find_reverse
entity Q5069186
relation P98
type Q21114848
[{'concept': 'Q21114848'}, 'P98', 'Q5069186']
SELECT DISTINCT ?c WHERE { ?c property:P98 resource:Q5069186 . ?c rdf:type ontology:Q21114848 }
Geoffrey Lilley Smith
action filter_type
action find_reverse
entity Geoffrey Lilley Smith
relation editor
type magazine genre
[{'concept': 'magazine genre'}, 'editor', 'Geoffrey Lilley Smith']
SELECT DISTINCT ?c WHERE { ?c property:editor resource:Geoffrey_Lilley_Smith . ?c rdf:type ontology:magazine_genre }
[]
magazine genre
Q6295245
SYSTEM
Journal of General Virology
Q6295245
(c(Q21114848),P98,Q5069186)
action filter_type
action find_reverse
entity Q5069186
relation P98
type Q21114848
That person acted as an editor for the [ANSWER]
[{'concept': 'Q21114848'}, 'P98', 'Q5069186']
SELECT DISTINCT ?c WHERE { ?c property:P98 resource:Q5069186 . ?c rdf:type ontology:Q21114848 }
Journal of General Virology
That person acted as an editor for the Journal of General Virology
Journal of General Virology
action filter_type
action find_reverse
entity Geoffrey Lilley Smith
relation editor
type magazine genre
[{'concept': 'magazine genre'}, 'editor', 'Geoffrey Lilley Smith']
SELECT DISTINCT ?c WHERE { ?c property:editor resource:Geoffrey_Lilley_Smith . ?c rdf:type ontology:magazine_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5069186
P1038
Q502895
USER
Which person is a relative of that one ?
(c(Q502895),P1038,Q6295245)
action filter_type
action find_reverse
entity Q5069186
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q6295245']
SELECT DISTINCT ?l WHERE { ?l property:P1038 resource:Q5069186 . ?l rdf:type ontology:Q502895 }
Geoffrey Lilley Smith
action filter_type
action find_reverse
entity Geoffrey Lilley Smith
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Journal of General Virology']
SELECT DISTINCT ?l WHERE { ?l property:relative resource:Geoffrey_Lilley_Smith . ?l rdf:type ontology:common_name }
[]
common name
Q3379117
SYSTEM
Ralph Lilley Turner
Q3379117
(c(Q502895),P1038,Q6295245)
action filter_type
action find_reverse
entity Q5069186
relation P1038
type Q502895
[ANSWER] is a relative of that one
[{'concept': 'Q502895'}, 'P1038', 'Q6295245']
SELECT DISTINCT ?l WHERE { ?l property:P1038 resource:Q5069186 . ?l rdf:type ontology:Q502895 }
Ralph Lilley Turner
Ralph Lilley Turner is a relative of that one
Ralph Lilley Turner
action filter_type
action find_reverse
entity Geoffrey Lilley Smith
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Journal of General Virology']
SELECT DISTINCT ?l WHERE { ?l property:relative resource:Geoffrey_Lilley_Smith . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do approximately 3111 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3111
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?k = 3111 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3111
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?k = 3111 ) }
[]
musical instrument common name
SYSTEM
3
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3111
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?k = 3111 ) }
violin organ drum kit
3
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3111
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?k = 3111 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q208331
P417
Q502895 Q56061 Q12737077
USER
How many people are the patron saint of around the same number of administrative territories or occupations as Olaf II of Norway ?
(c(Q56061)|c(Q12737077),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 Q12737077
action count
action filter_multi_types
action find_reverse
entity Q208331
relation P417
type Q56061
type Q12737077
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?w ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } . ?h rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P417 resource:Q208331 . { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?j = ?z ) }
Olaf II of Norway
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 occupation
action count
action filter_multi_types
action find_reverse
entity Olaf II of Norway
relation patron saint
type administrative territorial entity
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?w ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } . ?h rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:patron_saint resource:Olaf_II_of_Norway . { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } } } } . FILTER ( ?j = ?z ) }
[]
common name administrative territorial entity occupation
SYSTEM
285
Q2366998 Q453698 Q561838 Q380092 Q129674 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 Q163900 Q31966 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 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q380345 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 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 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 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 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q208331
(c(Q56061)|c(Q12737077),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 Q12737077
action count
action filter_multi_types
action find_reverse
entity Q208331
relation P417
type Q56061
type Q12737077
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?w ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } . ?h rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P417 resource:Q208331 . { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?j = ?z ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola 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 Saint Francis Xavier Mark the Evangelist 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 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 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 Maurus Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi 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 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 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 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 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 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 Olaf II of Norway
285
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 occupation
action count
action filter_multi_types
action find_reverse
entity Olaf II of Norway
relation patron saint
type administrative territorial entity
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?j ) WHERE { VALUES ( ?w ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } . ?h rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:patron_saint resource:Olaf_II_of_Norway . { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } } } } . FILTER ( ?j = ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q115550
P417
Q502895 Q56061 Q12737077
USER
And also tell me about Nicholas of Flüe?
(c(Q56061)|c(Q12737077),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 Q12737077
action count
action filter_multi_types
action find_reverse
entity Q115550
relation P417
type Q56061
type Q12737077
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P417 resource:Q115550 . { { ?x rdf:type ontology:Q56061 } UNION { ?x rdf:type ontology:Q12737077 } } } } . FILTER ( ?g = ?k ) }
Nicholas of Flüe
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 occupation
action count
action filter_multi_types
action find_reverse
entity Nicholas of Flüe
relation patron saint
type administrative territorial entity
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:patron_saint resource:Nicholas_of_Flüe . { { ?x rdf:type ontology:administrative_territorial_entity } UNION { ?x rdf:type ontology:occupation } } } } . FILTER ( ?g = ?k ) }
[]
common name administrative territorial entity occupation
SYSTEM
285
Q2366998 Q453698 Q561838 Q380092 Q129674 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 Q163900 Q31966 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 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q380345 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 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 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 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 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q208331
(c(Q56061)|c(Q12737077),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 Q12737077
action count
action filter_multi_types
action find_reverse
entity Q115550
relation P417
type Q56061
type Q12737077
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P417 resource:Q115550 . { { ?x rdf:type ontology:Q56061 } UNION { ?x rdf:type ontology:Q12737077 } } } } . FILTER ( ?g = ?k ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola 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 Saint Francis Xavier Mark the Evangelist 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 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 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 Maurus Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi 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 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 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 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 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 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 Olaf II of Norway
285
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 occupation
action count
action filter_multi_types
action find_reverse
entity Nicholas of Flüe
relation patron saint
type administrative territorial entity
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:patron_saint resource:Nicholas_of_Flüe . { { ?x rdf:type ontology:administrative_territorial_entity } UNION { ?x rdf:type ontology:occupation } } } } . FILTER ( ?g = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3379117
P241
Q781132
USER
Which military branch did Ralph Lilley Turner belong to ?
(Q3379117,P241,c(Q781132))
action filter_type
action find
entity Q3379117
relation P241
type Q781132
['Q3379117', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q781132 . resource:Q3379117 property:P241 ?s }
Ralph Lilley Turner
action filter_type
action find
entity Ralph Lilley Turner
relation military branch
type military branch
['Ralph Lilley Turner', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:military_branch . resource:Ralph_Lilley_Turner property:military_branch ?s }
[]
military branch
Q642932
SYSTEM
Indian Army
Q642932
(Q3379117,P241,c(Q781132))
action filter_type
action find
entity Q3379117
relation P241
type Q781132
Ralph Lilley Turner belonged to the [ANSWER]
['Q3379117', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q781132 . resource:Q3379117 property:P241 ?s }
Indian Army
Ralph Lilley Turner belonged to the Indian Army
Indian Army
action filter_type
action find
entity Ralph Lilley Turner
relation military branch
type military branch
['Ralph Lilley Turner', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:military_branch . resource:Ralph_Lilley_Turner property:military_branch ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3379117
P26
Q502895
USER
Who is married to Ralph Lilley Turner ?
(c(Q502895),P26,Q3379117)
action filter_type
action find
entity Q3379117
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3379117']
SELECT DISTINCT ?o WHERE { resource:Q3379117 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Ralph Lilley Turner
action filter_type
action find
entity Ralph Lilley Turner
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ralph Lilley Turner']
SELECT DISTINCT ?o WHERE { resource:Ralph_Lilley_Turner property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q21334864
SYSTEM
Dorothy Rivers Turner
Q21334864
(c(Q502895),P26,Q3379117)
action filter_type
action find
entity Q3379117
relation P26
type Q502895
[ANSWER] is married to Ralph Lilley Turner
[{'concept': 'Q502895'}, 'P26', 'Q3379117']
SELECT DISTINCT ?o WHERE { resource:Q3379117 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Dorothy Rivers Turner
Dorothy Rivers Turner is married to Ralph Lilley Turner
Dorothy Rivers Turner
action filter_type
action find
entity Ralph Lilley Turner
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ralph Lilley Turner']
SELECT DISTINCT ?o WHERE { resource:Ralph_Lilley_Turner property:spouse ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3379117
P22
Q502895
USER
Which person has Ralph Lilley Turner as father ?
(c(Q502895),P22,Q3379117)
action filter_type
action find_reverse
entity Q3379117
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q3379117']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P22 resource:Q3379117 }
Ralph Lilley Turner
action filter_type
action find_reverse
entity Ralph Lilley Turner
relation father
type common name
[{'concept': 'common name'}, 'father', 'Ralph Lilley Turner']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:father resource:Ralph_Lilley_Turner }
[]
common name
Q5069500
SYSTEM
Irvine B. Smith
Q5069500
(c(Q502895),P22,Q3379117)
action filter_type
action find_reverse
entity Q3379117
relation P22
type Q502895
[ANSWER] has Ralph Lilley Turner as father
[{'concept': 'Q502895'}, 'P22', 'Q3379117']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P22 resource:Q3379117 }
Irvine B. Smith
Irvine B. Smith has Ralph Lilley Turner as father
Irvine B. Smith
action filter_type
action find_reverse
entity Ralph Lilley Turner
relation father
type common name
[{'concept': 'common name'}, 'father', 'Ralph Lilley Turner']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:father resource:Ralph_Lilley_Turner }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5069186
P108
Q3918
USER
Which universities are the employers of Geoffrey Lilley Smith ?
(Q5069186,P108,c(Q3918))
action filter_type
action find
entity Q5069186
relation P108
type Q3918
['Q5069186', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?r WHERE { resource:Q5069186 property:P108 ?r . ?r rdf:type ontology:Q3918 }
Geoffrey Lilley Smith
action filter_type
action find
entity Geoffrey Lilley Smith
relation employer
type university
['Geoffrey Lilley Smith', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?r WHERE { resource:Geoffrey_Lilley_Smith property:employer ?r . ?r rdf:type ontology:university }
[]
university
Q35794 Q34433
SYSTEM
University of Cambridge, University of Oxford
Q35794 Q34433
(Q5069186,P108,c(Q3918))
action filter_type
action find
entity Q5069186
relation P108
type Q3918
The employers of Geoffrey Lilley Smith are [ANSWERS]
['Q5069186', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?r WHERE { resource:Q5069186 property:P108 ?r . ?r rdf:type ontology:Q3918 }
University of Cambridge University of Oxford
The employers of Geoffrey Lilley Smith are University of Cambridge and University of Oxford
University of Cambridge University of Oxford
action filter_type
action find
entity Geoffrey Lilley Smith
relation employer
type university
['Geoffrey Lilley Smith', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?r WHERE { resource:Geoffrey_Lilley_Smith property:employer ?r . ?r rdf:type ontology:university }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5735477
Q3918
USER
And also tell me about Herbert S. Lewis?
(Q5735477,P108,c(Q3918))
action filter_type
action find
entity Q5735477
relation P108
type Q3918
['Q5735477', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q5735477 property:P108 ?c . ?c rdf:type ontology:Q3918 }
Herbert S. Lewis
action filter_type
action find
entity Herbert S. Lewis
relation employer
type university
['Herbert S. Lewis', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Herbert_S._Lewis property:employer ?c . ?c rdf:type ontology:university }
[]
university
Q838330
SYSTEM
University of Wisconsin–Madison
Q838330
(Q5735477,P108,c(Q3918))
action filter_type
action find
entity Q5735477
relation P108
type Q3918
[ANSWER]
['Q5735477', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q5735477 property:P108 ?c . ?c rdf:type ontology:Q3918 }
University of Wisconsin–Madison
University of Wisconsin–Madison
action filter_type
action find
entity Herbert S. Lewis
relation employer
type university
['Herbert S. Lewis', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Herbert_S._Lewis property:employer ?c . ?c rdf:type ontology:university }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4944720 Q5069186
P161 P22
Q502895
USER
Which people were the father of Geoffrey Lilley Smith or are in Bordertown Café ?
OR((Q5069186,P22,c(Q502895)), (Q4944720,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5069186
relation P22
action find
entity Q4944720
relation P161
type Q502895
{'OR': [['Q5069186', 'P22', {'concept': 'Q502895'}], ['Q4944720', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q5069186 property:P22 ?h } UNION { resource:Q4944720 property:P161 ?h } } . ?h rdf:type ontology:Q502895 }
Bordertown Café Geoffrey Lilley Smith
action filter_type
action union
action find
entity Geoffrey Lilley Smith
relation father
action find
entity Bordertown Café
relation cast member
type common name
{'OR': [['Geoffrey Lilley Smith', 'father', {'concept': 'common name'}], ['Bordertown Café', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Geoffrey_Lilley_Smith property:father ?h } UNION { resource:Bordertown_Café property:cast_member ?h } } . ?h rdf:type ontology:common_name }
[]
common name
Q2444251 Q3505573 Q1346972 Q5069500
SYSTEM
Janet Wright, Susan Hogan, Gordon Michael Woolvett, Irvine B. Smith
Q2444251 Q3505573 Q1346972 Q5069500
OR((Q5069186,P22,c(Q502895)), (Q4944720,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5069186
relation P22
action find
entity Q4944720
relation P161
type Q502895
[ANSWERS] were the father of Geoffrey Lilley Smith or are in Bordertown Café
{'OR': [['Q5069186', 'P22', {'concept': 'Q502895'}], ['Q4944720', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q5069186 property:P22 ?h } UNION { resource:Q4944720 property:P161 ?h } } . ?h rdf:type ontology:Q502895 }
Janet Wright Susan Hogan Gordon Michael Woolvett Irvine B. Smith
Janet Wright, Susan Hogan, Gordon Michael Woolvett and Irvine B. Smith were the father of Geoffrey Lilley Smith or are in Bordertown Café
Janet Wright Susan Hogan Gordon Michael Woolvett Irvine B. Smith
action filter_type
action union
action find
entity Geoffrey Lilley Smith
relation father
action find
entity Bordertown Café
relation cast member
type common name
{'OR': [['Geoffrey Lilley Smith', 'father', {'concept': 'common name'}], ['Bordertown Café', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Geoffrey_Lilley_Smith property:father ?h } UNION { resource:Bordertown_Café property:cast_member ?h } } . ?h rdf:type ontology:common_name }
[]