Simple Question (Direct)
Simple Question
Q7415926
P21
Q290
USER
Which sex does Sanda Oumarou possess ?
(Q7415926,P21,c(Q290))
action filter_type
action find
entity Q7415926
relation P21
type Q290
['Q7415926', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q7415926 property:P21 ?l . ?l rdf:type ontology:Q290 }
Sanda Oumarou
action filter_type
action find
entity Sanda Oumarou
relation gender
type sex
['Sanda Oumarou', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Sanda_Oumarou property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7415926,P21,c(Q290))
action filter_type
action find
entity Q7415926
relation P21
type Q290
Sanda Oumarou possesses un [ANSWER]
['Q7415926', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q7415926 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Sanda Oumarou possesses un male
male
action filter_type
action find
entity Sanda Oumarou
relation gender
type sex
['Sanda Oumarou', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Sanda_Oumarou property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7415926
P19
Q56061
USER
Where was Sanda Oumarou born ?
(Q7415926,P19,c(Q56061))
action filter_type
action find
entity Q7415926
relation P19
type Q56061
['Q7415926', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q7415926 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Sanda Oumarou
action filter_type
action find
entity Sanda Oumarou
relation place of birth
type administrative territorial entity
['Sanda Oumarou', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Sanda_Oumarou property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q745906
SYSTEM
Ngaoundéré
Q745906
(Q7415926,P19,c(Q56061))
action filter_type
action find
entity Q7415926
relation P19
type Q56061
Sanda Oumarou was born in [ANSWER]
['Q7415926', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q7415926 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Ngaoundéré
Sanda Oumarou was born in Ngaoundéré
Ngaoundéré
action filter_type
action find
entity Sanda Oumarou
relation place of birth
type administrative territorial entity
['Sanda Oumarou', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Sanda_Oumarou property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7415926
P106
Q12737077
USER
Which occupation has Sanda Oumarou as his/her 's career ?
(Q7415926,P106,c(Q12737077))
action filter_type
action find
entity Q7415926
relation P106
type Q12737077
['Q7415926', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7415926 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Sanda Oumarou
action filter_type
action find
entity Sanda Oumarou
relation occupation
type occupation
['Sanda Oumarou', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Sanda_Oumarou property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7415926,P106,c(Q12737077))
action filter_type
action find
entity Q7415926
relation P106
type Q12737077
As [ANSWER] has Sanda Oumarou as his/her 's career
['Q7415926', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7415926 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
As association football player has Sanda Oumarou as his/her 's career
association football player
action filter_type
action find
entity Sanda Oumarou
relation occupation
type occupation
['Sanda Oumarou', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Sanda_Oumarou property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q447925
Q12737077
USER
And how about Konrad Kujau?
(Q447925,P106,c(Q12737077))
action filter_type
action find
entity Q447925
relation P106
type Q12737077
['Q447925', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q447925 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Konrad Kujau
action filter_type
action find
entity Konrad Kujau
relation occupation
type occupation
['Konrad Kujau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Konrad_Kujau property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q1028181 Q18511668
SYSTEM
painter, art forger
Q1028181 Q18511668
(Q447925,P106,c(Q12737077))
action filter_type
action find
entity Q447925
relation P106
type Q12737077
[ANSWERS]
['Q447925', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q447925 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
painter art forger
painter art forger
action filter_type
action find
entity Konrad Kujau
relation occupation
type occupation
['Konrad Kujau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Konrad_Kujau property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18511668
P425
Q1914636
USER
What activities have that one as thier associated field of occupation ?
(Q18511668,P425,c(Q1914636))
action filter_type
action find
entity Q18511668
relation P425
type Q1914636
['Q18511668', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1914636 . resource:Q18511668 property:P425 ?b }
art forger
action filter_type
action find
entity art forger
relation field of this occupation
type activity
['art forger', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:activity . resource:art_forger property:field_of_this_occupation ?b }
[]
activity
Clarification for simple ques.
Q1028181
SYSTEM
Did you mean painter ?
Q1028181 Q18511668
(Q1028181,P425,c(Q1914636)) (Q18511668,P425,c(Q1914636))
[ANSWER]
['Q1028181', 'P425', {'concept': 'Q1914636'}] ['Q18511668', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1914636 . resource:Q18511668 property:P425 ?b }
painter art forger
Did you mean painter ?
painter
['painter', 'field of this occupation', {'concept': 'activity'}] ['art forger', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:activity . resource:art_forger property:field_of_this_occupation ?b }
[]
Simple Question (Coreferenced)
USER
No, I meant art forger. Could you tell me the answer for that?
(Q18511668,P425,c(Q1914636))
Q18511668
['Q18511668', 'P425', {'concept': 'Q1914636'}]
['art forger', 'field of this occupation', {'concept': 'activity'}]
[]
Q1400612 Q502918
SYSTEM
art forgery, counterfeit
Q1400612 Q502918
(Q18511668,P425,c(Q1914636))
action filter_type
action find
entity Q18511668
relation P425
type Q1914636
[ANSWERS] have that one as thier associated field of occupation
['Q18511668', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1914636 . resource:Q18511668 property:P425 ?b }
art forgery counterfeit
Art forgery and counterfeit have that one as thier associated field of occupation
art forgery counterfeit
action filter_type
action find
entity art forger
relation field of this occupation
type activity
['art forger', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:activity . resource:art_forger property:field_of_this_occupation ?b }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18511668
P425
Q12737077
USER
Do those activities belong to art forger ?
(Q18511668,P425,Q1400612) (Q18511668,P425,Q502918)
action is_in
entity prev_answer
action find
entity Q18511668
relation P425
['Q18511668', 'P425', 'Q1400612'] ['Q18511668', 'P425', 'Q502918']
ASK WHERE { resource:Q18511668 property:P425 ?k . VALUES ( ?k ) { ( resource:Q1400612 ) ( resource:Q502918 ) } }
art forger
action is_in
entity prev_answer
action find
entity art forger
relation field of this occupation
['art forger', 'field of this occupation', 'art forgery'] ['art forger', 'field of this occupation', 'counterfeit']
ASK WHERE { resource:art_forger property:field_of_this_occupation ?k . VALUES ( ?k ) { ( resource:art_forgery ) ( resource:counterfeit ) } }
[]
occupation
SYSTEM
YES
(Q18511668,P425,Q1400612) (Q18511668,P425,Q502918)
action is_in
entity prev_answer
action find
entity Q18511668
relation P425
[ANSWER]
['Q18511668', 'P425', 'Q1400612'] ['Q18511668', 'P425', 'Q502918']
ASK WHERE { resource:Q18511668 property:P425 ?k . VALUES ( ?k ) { ( resource:Q1400612 ) ( resource:Q502918 ) } }
Yes
action is_in
entity prev_answer
action find
entity art forger
relation field of this occupation
['art forger', 'field of this occupation', 'art forgery'] ['art forger', 'field of this occupation', 'counterfeit']
ASK WHERE { resource:art_forger property:field_of_this_occupation ?k . VALUES ( ?k ) { ( resource:art_forgery ) ( resource:counterfeit ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028181
P417
Q502895
USER
What is the name of the patron saint of painter ?
(Q1028181,P417,c(Q502895))
action filter_type
action find
entity Q1028181
relation P417
type Q502895
['Q1028181', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1028181 property:P417 ?n . ?n rdf:type ontology:Q502895 }
painter
action filter_type
action find
entity painter
relation patron saint
type common name
['painter', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:painter property:patron_saint ?n . ?n rdf:type ontology:common_name }
[]
common name
Q128538
SYSTEM
Luke the Evangelist
Q128538
(Q1028181,P417,c(Q502895))
action filter_type
action find
entity Q1028181
relation P417
type Q502895
The name of the patron saint of painter is Saint [ANSWER]
['Q1028181', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1028181 property:P417 ?n . ?n rdf:type ontology:Q502895 }
Luke the Evangelist
The name of the patron saint of painter is Saint Luke the Evangelist
Luke the Evangelist
action filter_type
action find
entity painter
relation patron saint
type common name
['painter', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:painter property:patron_saint ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17677
Q502895
USER
And how about Spineto Scrivia?
(Q17677,P417,c(Q502895))
action filter_type
action find
entity Q17677
relation P417
type Q502895
['Q17677', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q17677 property:P417 ?r . ?r rdf:type ontology:Q502895 }
Spineto Scrivia
action filter_type
action find
entity Spineto Scrivia
relation patron saint
type common name
['Spineto Scrivia', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Spineto_Scrivia property:patron_saint ?r . ?r rdf:type ontology:common_name }
[]
common name
Q43999
SYSTEM
James
Q43999
(Q17677,P417,c(Q502895))
action filter_type
action find
entity Q17677
relation P417
type Q502895
[ANSWER]
['Q17677', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q17677 property:P417 ?r . ?r rdf:type ontology:Q502895 }
James
James
action filter_type
action find
entity Spineto Scrivia
relation patron saint
type common name
['Spineto Scrivia', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Spineto_Scrivia property:patron_saint ?r . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q43999 Q3862683
P180
Q3305213
USER
Does Equestrian Statue of Niccolò da Tolentino express that person ?
(Q3862683,P180,Q43999)
action is_in
entity Q3862683
action find
entity Q43999
relation P180
['Q3862683', 'P180', 'Q43999']
ASK WHERE { resource:Q43999 property:P180 resource:Q3862683 }
James Equestrian Statue of Niccolò da Tolentino
action is_in
entity Equestrian Statue of Niccolò da Tolentino
action find
entity James
relation depicts
['Equestrian Statue of Niccolò da Tolentino', 'depicts', 'James']
ASK WHERE { resource:James property:depicts resource:Equestrian_Statue_of_Niccolò_da_Tolentino }
[]
painting
SYSTEM
NO
(Q3862683,P180,Q43999)
action is_in
entity Q3862683
action find
entity Q43999
relation P180
[ANSWER]
['Q3862683', 'P180', 'Q43999']
ASK WHERE { resource:Q43999 property:P180 resource:Q3862683 }
No
action is_in
entity Equestrian Statue of Niccolò da Tolentino
action find
entity James
relation depicts
['Equestrian Statue of Niccolò da Tolentino', 'depicts', 'James']
ASK WHERE { resource:James property:depicts resource:Equestrian_Statue_of_Niccolò_da_Tolentino }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43999
P20
Q2221906
USER
Where did that person expire ?
action filter_type
action find
entity Q43999
relation P20
type Q2221906
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . resource:Q43999 property:P20 ?h }
James
action filter_type
action find
entity James
relation place of death
type geographic location
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . resource:James property:place_of_death ?h }
[]
geographic location
Q104028
SYSTEM
Judea
Q104028
action filter_type
action find
entity Q43999
relation P20
type Q2221906
That person expired in [ANSWER]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . resource:Q43999 property:P20 ?h }
Judea
That person expired in Judea
Judea
action filter_type
action find
entity James
relation place of death
type geographic location
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . resource:James property:place_of_death ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43999
P825
Q44539
USER
Which temples have dedication towards that person ?
(c(Q44539),P825,Q104028)
action filter_type
action find_reverse
entity Q43999
relation P825
type Q44539
[{'concept': 'Q44539'}, 'P825', 'Q104028']
SELECT DISTINCT ?p WHERE { ?p property:P825 resource:Q43999 . ?p rdf:type ontology:Q44539 }
James
action filter_type
action find_reverse
entity James
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Judea']
SELECT DISTINCT ?p WHERE { ?p property:dedicated_to resource:James . ?p rdf:type ontology:temple }
[]
temple
Q18708279 Q23691663
SYSTEM
St James's Church, San Giacomo della Giudecca
Q18708279 Q23691663
(c(Q44539),P825,Q104028)
action filter_type
action find_reverse
entity Q43999
relation P825
type Q44539
[ANSWERS] have dedication towards that person
[{'concept': 'Q44539'}, 'P825', 'Q104028']
SELECT DISTINCT ?p WHERE { ?p property:P825 resource:Q43999 . ?p rdf:type ontology:Q44539 }
St James's Church San Giacomo della Giudecca
St James's Church and San Giacomo della Giudecca have dedication towards that person
St James's Church San Giacomo della Giudecca
action filter_type
action find_reverse
entity James
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Judea']
SELECT DISTINCT ?p WHERE { ?p property:dedicated_to resource:James . ?p rdf:type ontology:temple }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q558148
P417
Q502895 Q44539
USER
How many people are the patron saint of greater number of temples than Leonard of Noblac ?
(c(Q44539),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action count
action filter_type
action find
entity Q558148
relation P417
type Q502895
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P417 ?p . ?p rdf:type ontology:Q502895 . ?s rdf:type ontology:Q44539 } GROUP BY ?p } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q558148 property:P417 ?l } } }
Leonard of Noblac
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action count
action filter_type
action find
entity Leonard of Noblac
relation patron saint
type common name
[{'concept': 'temple'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:patron_saint ?p . ?p rdf:type ontology:common_name . ?s rdf:type ontology:temple } GROUP BY ?p } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ontology:common_name . resource:Leonard_of_Noblac property:patron_saint ?l } } }
[]
common name temple
SYSTEM
108
Q453698 Q133704 Q152457 Q394727 Q268087 Q61914 Q315640 Q719683 Q118087 Q320199 Q43689 Q378656 Q61620 Q128267 Q2987904 Q2574015 Q1834624 Q328804 Q174044 Q163900 Q31966 Q170547 Q676555 Q244380 Q192236 Q44091 Q181715 Q2617668 Q670456 Q1284971 Q188411 Q727316 Q686948 Q309953 Q515953 Q177903 Q207113 Q8018 Q43675 Q618214 Q216946 Q33923 Q161775 Q221522 Q44047 Q128538 Q183240 Q145746 Q15284282 Q360798 Q298845 Q167477 Q297742 Q48438 Q159834 Q44281 Q63070 Q43399 Q379914 Q196527 Q336731 Q913528 Q231256 Q560531 Q9200 Q174880 Q346 Q180936 Q7226 Q243427 Q417686 Q43999 Q64196 Q359259 Q43669 Q369691 Q44269 Q831571 Q44265 Q192816 Q43982 Q179718 Q445357 Q40662 Q210096 Q160374 Q80513 Q43600 Q283447 Q158504 Q151967 Q312314 Q149727 Q367208 Q164294 Q103556 Q60059 Q651226 Q159862 Q17590 Q235619 Q200895 Q160445 Q44248 Q470608 Q196157 Q310633 Q208331
(c(Q44539),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action count
action filter_type
action find
entity Q558148
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P417 ?p . ?p rdf:type ontology:Q502895 . ?s rdf:type ontology:Q44539 } GROUP BY ?p } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q558148 property:P417 ?l } } }
Saint Amand Martin of Tours Saint Roch Agnes of Bohemia Pudentiana Gotthard of Hildesheim Francis of Paola Ludger Ludmila of Bohemia Apollinaris of Ravenna Ambrose Saint Pantaleon Cunigunde of Luxembourg Joseph Tryphon of Pechenga Nestor of Magydos Gummarus John the Evangelist Alexander Nevsky Saint Francis Xavier Mark the Evangelist Anthony the Great Francis of Assisi Saint Denis Thomas Becket Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Victor Maurus Bernard of Clairvaux Renaud de Montauban Alban of Mainz Gregory the Illuminator Maximilian of Lorch Stephen I of Hungary Hippolytus Augustine of Hippo Philip the Apostle Aper of Toul Charles Borromeo Peter Stephen John of Nepomuk James, son of Alphaeus Luke the Evangelist Saint Lucy Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Margaret the Virgin Saint George Hubertus Ignatius of Loyola Mary Magdalene Andrew Saint Cajetan Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Paul Teresa of Ávila Louis IX of France Saint Gall Joan of Arc Adalbert of Prague Nazarius James Adelaide, Abbess of Vilich Saint Emeric of Hungary Thomas the Apostle Saint Ursula Saint Nicholas Eusebius of Esztergom Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Henry John the Baptist Agnes of Rome Norbert of Xanten Saint Cecilia Matthew the Apostle Lambert of Maastricht Clement of Ohrid Saint Blaise Bruno of Cologne Saint Giles Saint Remigius Saint Anna Henry II, Holy Roman Emperor Albertus Magnus Viktor of Xanten Elizabeth of Hungary Lawrence of Rome Gertrude of Nivelles Agatha of Sicily Saint Boniface Jerome Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
108
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action count
action filter_type
action find
entity Leonard of Noblac
relation patron saint
type common name
[{'concept': 'temple'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:patron_saint ?p . ?p rdf:type ontology:common_name . ?s rdf:type ontology:temple } GROUP BY ?p } . FILTER ( ?a > ?n ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ontology:common_name . resource:Leonard_of_Noblac property:patron_saint ?l } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q231256
P417
Q502895 Q44539
USER
And also tell me about Francis de Sales?
(c(Q44539),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action count
action filter_type
action find
entity Q231256
relation P417
type Q502895
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P417 ?p . ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q44539 } GROUP BY ?p } . FILTER ( ?s > ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:Q502895 . resource:Q231256 property:P417 ?b } } }
Francis de Sales
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action count
action filter_type
action find
entity Francis de Sales
relation patron saint
type common name
[{'concept': 'temple'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:patron_saint ?p . ?p rdf:type ontology:common_name . ?h rdf:type ontology:temple } GROUP BY ?p } . FILTER ( ?s > ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:common_name . resource:Francis_de_Sales property:patron_saint ?b } } }
[]
common name temple
SYSTEM
46
Q133704 Q152457 Q394727 Q61914 Q320199 Q43689 Q128267 Q328804 Q163900 Q170547 Q676555 Q244380 Q181715 Q686948 Q177903 Q207113 Q8018 Q33923 Q161775 Q221522 Q145746 Q167477 Q297742 Q48438 Q63070 Q43399 Q196527 Q560531 Q9200 Q346 Q180936 Q43999 Q43669 Q44269 Q44265 Q43982 Q179718 Q40662 Q210096 Q80513 Q149727 Q164294 Q159862 Q17590 Q200895 Q310633
(c(Q44539),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action count
action filter_type
action find
entity Q231256
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P417 ?p . ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q44539 } GROUP BY ?p } . FILTER ( ?s > ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:Q502895 . resource:Q231256 property:P417 ?b } } }
Martin of Tours Saint Roch Agnes of Bohemia Gotthard of Hildesheim Apollinaris of Ravenna Ambrose Joseph John the Evangelist Saint Francis Xavier Anthony the Great Francis of Assisi Saint Denis Thérèse of Lisieux Alban of Mainz Stephen I of Hungary Hippolytus Augustine of Hippo Peter Stephen John of Nepomuk Joseph Anthony of Padua Margaret the Virgin Saint George Mary Magdalene Andrew Saint Wenceslaus I, Duke of Bohemia Suitbert of Kaiserswerdt Paul Louis IX of France Saint Gall James Thomas the Apostle Saint Nicholas Benedict of Nursia Bartholomew the Apostle Catherine of Alexandria John the Baptist Agnes of Rome Saint Cecilia Saint Giles Saint Anna Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Demetrius of Thessaloniki
46
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action count
action filter_type
action find
entity Francis de Sales
relation patron saint
type common name
[{'concept': 'temple'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:patron_saint ?p . ?p rdf:type ontology:common_name . ?h rdf:type ontology:temple } GROUP BY ?p } . FILTER ( ?s > ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b rdf:type ontology:common_name . resource:Francis_de_Sales property:patron_saint ?b } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q231256
P7
Q502895
USER
Which person has that one as their brother ?
action filter_type
action find_reverse
entity Q231256
relation P7
type Q502895
SELECT DISTINCT ?d WHERE { ?d property:P7 resource:Q231256 . ?d rdf:type ontology:Q502895 }
Francis de Sales
action filter_type
action find_reverse
entity Francis de Sales
relation brother
type common name
SELECT DISTINCT ?d WHERE { ?d property:brother resource:Francis_de_Sales . ?d rdf:type ontology:common_name }
[]
common name
Q3165969
SYSTEM
Jean-François de Sales
Q3165969
action filter_type
action find_reverse
entity Q231256
relation P7
type Q502895
[ANSWER] has that one as their brother
SELECT DISTINCT ?d WHERE { ?d property:P7 resource:Q231256 . ?d rdf:type ontology:Q502895 }
Jean-François de Sales
Jean-François de Sales has that one as their brother
Jean-François de Sales
action filter_type
action find_reverse
entity Francis de Sales
relation brother
type common name
SELECT DISTINCT ?d WHERE { ?d property:brother resource:Francis_de_Sales . ?d rdf:type ontology:common_name }
[]