Simple Question (Direct)
Simple Question
Q18748700
P20
Q56061
USER
Where did the demise of Dickie Girling occur ?
(Q18748700,P20,c(Q56061))
action filter_type
action find
entity Q18748700
relation P20
type Q56061
['Q18748700', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q18748700 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Dickie Girling
action filter_type
action find
entity Dickie Girling
relation place of death
type administrative territorial entity
['Dickie Girling', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Dickie_Girling property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q149836
SYSTEM
Camden Town
Q149836
(Q18748700,P20,c(Q56061))
action filter_type
action find
entity Q18748700
relation P20
type Q56061
The demise of Dickie Girling occurred in [ANSWER]
['Q18748700', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q18748700 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Camden Town
The demise of Dickie Girling occurred in Camden Town
Camden Town
action filter_type
action find
entity Dickie Girling
relation place of death
type administrative territorial entity
['Dickie Girling', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Dickie_Girling property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18748700
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q149836,P106,c(Q12737077))
action filter_type
action find
entity Q18748700
relation P106
type Q12737077
['Q149836', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q18748700 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Dickie Girling
action filter_type
action find
entity Dickie Girling
relation occupation
type occupation
['Camden Town', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Dickie_Girling property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q149836,P106,c(Q12737077))
action filter_type
action find
entity Q18748700
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q149836', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q18748700 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Dickie Girling
relation occupation
type occupation
['Camden Town', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Dickie_Girling property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6097679 Q18748700
P106
Q12737077
USER
Or Erhan Kayar?
OR((Q18748700,P106,c(Q12737077)), (Q6097679,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q18748700
relation P106
action find
entity Q6097679
relation P106
type Q12737077
{'OR': [['Q18748700', 'P106', {'concept': 'Q12737077'}], ['Q6097679', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . { VALUES ( ?x ) { ( resource:Q18748700 ) ( resource:Q6097679 ) } . ?x property:P106 ?r } }
Erhan Kayar Dickie Girling
action filter_type
action union
action find
entity Dickie Girling
relation occupation
action find
entity Erhan Kayar
relation occupation
type occupation
{'OR': [['Dickie Girling', 'occupation', {'concept': 'occupation'}], ['Erhan Kayar', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . { VALUES ( ?x ) { ( resource:Dickie_Girling ) ( resource:Erhan_Kayar ) } . ?x property:occupation ?r } }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
OR((Q18748700,P106,c(Q12737077)), (Q6097679,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q18748700
relation P106
action find
entity Q6097679
relation P106
type Q12737077
[ANSWER]
{'OR': [['Q18748700', 'P106', {'concept': 'Q12737077'}], ['Q6097679', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . { VALUES ( ?x ) { ( resource:Q18748700 ) ( resource:Q6097679 ) } . ?x property:P106 ?r } }
association football player
association football player
action filter_type
action union
action find
entity Dickie Girling
relation occupation
action find
entity Erhan Kayar
relation occupation
type occupation
{'OR': [['Dickie Girling', 'occupation', {'concept': 'occupation'}], ['Erhan Kayar', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . { VALUES ( ?x ) { ( resource:Dickie_Girling ) ( resource:Erhan_Kayar ) } . ?x property:occupation ?r } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q937857 Q2736 Q335429
P425
Q349
USER
Does association football and Kundalini yoga belong to Q937857 ?
(Q937857,P425,Q2736) (Q937857,P425,Q335429)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q335429
relation P425
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q335429']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q335429 }
association football player association football Kundalini yoga
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity Kundalini yoga
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'Kundalini yoga']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Kundalini_yoga }
[]
sport
SYSTEM
YES and NO respectively
(Q937857,P425,Q2736) (Q937857,P425,Q335429)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q335429
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q335429']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q335429 }
YES and NO respectively
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity Kundalini yoga
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'Kundalini yoga']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Kundalini_yoga }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q149836 Q145
P17
Q15617994
USER
Is Camden Town located in United Kingdom ?
(Q149836,P17,Q145)
action is_in
entity Q145
action find
entity Q149836
relation P17
['Q149836', 'P17', 'Q145']
ASK WHERE { resource:Q149836 property:P17 resource:Q145 }
Camden Town United Kingdom
action is_in
entity United Kingdom
action find
entity Camden Town
relation country
['Camden Town', 'country', 'United Kingdom']
ASK WHERE { resource:Camden_Town property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q149836,P17,Q145)
action is_in
entity Q145
action find
entity Q149836
relation P17
[ANSWER]
['Q149836', 'P17', 'Q145']
ASK WHERE { resource:Q149836 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Camden Town
relation country
['Camden Town', 'country', 'United Kingdom']
ASK WHERE { resource:Camden_Town property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18748700 Q526007 Q145
P27
Q15617994
USER
Is Dickie Girling a citizen of Walderbach and United Kingdom ?
(Q18748700,P27,Q526007) (Q18748700,P27,Q145)
action is_in
entity Q18748700
action intersection
action find_reverse
entity Q526007
relation P27
action find_reverse
entity Q145
relation P27
['Q18748700', 'P27', 'Q526007'] ['Q18748700', 'P27', 'Q145']
ASK WHERE { resource:Q18748700 property:P27 resource:Q526007 . resource:Q18748700 property:P27 resource:Q145 }
Dickie Girling Walderbach United Kingdom
action is_in
entity Dickie Girling
action intersection
action find_reverse
entity Walderbach
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
['Dickie Girling', 'country of citizenship', 'Walderbach'] ['Dickie Girling', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Dickie_Girling property:country_of_citizenship resource:Walderbach . resource:Dickie_Girling property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q18748700,P27,Q526007) (Q18748700,P27,Q145)
action is_in
entity Q18748700
action intersection
action find_reverse
entity Q526007
relation P27
action find_reverse
entity Q145
relation P27
[ANSWER]
['Q18748700', 'P27', 'Q526007'] ['Q18748700', 'P27', 'Q145']
ASK WHERE { resource:Q18748700 property:P27 resource:Q526007 . resource:Q18748700 property:P27 resource:Q145 }
NO and YES respectively
action is_in
entity Dickie Girling
action intersection
action find_reverse
entity Walderbach
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
['Dickie Girling', 'country of citizenship', 'Walderbach'] ['Dickie Girling', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Dickie_Girling property:country_of_citizenship resource:Walderbach . resource:Dickie_Girling property:country_of_citizenship resource:United_Kingdom }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q102131
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of more number of occupations than Marcellus I ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q102131
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:P417 ?e . ?e rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?e } . FILTER ( ?l > ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q102131 property:P417 ?a . ?a rdf:type ontology:Q502895 } } }
Marcellus I
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Marcellus I
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:patron_saint ?e . ?e rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?e } . FILTER ( ?l > ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Marcellus_I property:patron_saint ?a . ?a rdf:type ontology:common_name } } }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q102131
relation P417
type Q502895
[ANSWERS] are the names of person who are the patron saints of more number of occupations than Marcellus I
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:P417 ?e . ?e rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?e } . FILTER ( ?l > ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q102131 property:P417 ?a . ?a rdf:type ontology:Q502895 } } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the names of person who are the patron saints of more number of occupations than Marcellus I
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Marcellus I
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:patron_saint ?e . ?e rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?e } . FILTER ( ?l > ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Marcellus_I property:patron_saint ?a . ?a rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q145746
P417
Q502895 Q12737077
USER
And also tell me about Joseph?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q145746
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P417 ?t . ?t rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q145746 property:P417 ?z . ?z rdf:type ontology:Q502895 } } . FILTER ( ?o > ?b ) }
Joseph
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Joseph
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:patron_saint ?t . ?t rdf:type ontology:common_name . ?u rdf:type ontology:occupation } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Joseph property:patron_saint ?z . ?z rdf:type ontology:common_name } } . FILTER ( ?o > ?b ) }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q145746
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P417 ?t . ?t rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q145746 property:P417 ?z . ?z rdf:type ontology:Q502895 } } . FILTER ( ?o > ?b ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Joseph
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:patron_saint ?t . ?t rdf:type ontology:common_name . ?u rdf:type ontology:occupation } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Joseph property:patron_saint ?z . ?z rdf:type ontology:common_name } } . FILTER ( ?o > ?b ) }
[]