Simple Question (Direct)
Simple Question
Q16194157
P21
Q290
USER
Which sex does Stan Lee belong to ?
(Q16194157,P21,c(Q290))
action filter_type
action find
entity Q16194157
relation P21
type Q290
['Q16194157', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q16194157 property:P21 ?e . ?e rdf:type ontology:Q290 }
Stan Lee
action filter_type
action find
entity Stan Lee
relation gender
type sex
['Stan Lee', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Stan_Lee property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16194157,P21,c(Q290))
action filter_type
action find
entity Q16194157
relation P21
type Q290
Stan Lee belongs to [ANSWER]
['Q16194157', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q16194157 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Stan Lee belongs to male
male
action filter_type
action find
entity Stan Lee
relation gender
type sex
['Stan Lee', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Stan_Lee property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16194157
P106
Q12737077
USER
What is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q16194157
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16194157 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Stan Lee
action filter_type
action find
entity Stan Lee
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Stan_Lee property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q16194157
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16194157 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
politician
The profession of that person is a politician
politician
action filter_type
action find
entity Stan Lee
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Stan_Lee property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of atleast 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?n >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P417 ?u . ?u rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?u } }
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?n >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:patron_saint ?u . ?u rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?u } }
[]
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 atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWERS] are the patron saint of atleast 1 occupation
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?n >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P417 ?u . ?u rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?u } }
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 patron saint of atleast 1 occupation
Thomas Aquinas Albertus Magnus Isidore of Seville
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?n >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:patron_saint ?u . ?u rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?u } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3577531
P674
Q223393
USER
Do Éclipse have the character those people ?
(Q3577531,P674,Q9438) (Q3577531,P674,Q60059) (Q3577531,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q3577531
relation P674
['Q3577531', 'P674', 'Q9438'] ['Q3577531', 'P674', 'Q60059'] ['Q3577531', 'P674', 'Q166876']
ASK WHERE { resource:Q3577531 property:P674 ?p . VALUES ( ?p ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
Éclipse
action is_in
entity prev_answer
action find
entity Éclipse
relation characters
['Éclipse', 'characters', 'Thomas Aquinas'] ['Éclipse', 'characters', 'Albertus Magnus'] ['Éclipse', 'characters', 'Isidore of Seville']
ASK WHERE { resource:Éclipse property:characters ?p . VALUES ( ?p ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]
literary genre
SYSTEM
NO
(Q3577531,P674,Q9438) (Q3577531,P674,Q60059) (Q3577531,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q3577531
relation P674
[ANSWER]
['Q3577531', 'P674', 'Q9438'] ['Q3577531', 'P674', 'Q60059'] ['Q3577531', 'P674', 'Q166876']
ASK WHERE { resource:Q3577531 property:P674 ?p . VALUES ( ?p ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
No
action is_in
entity prev_answer
action find
entity Éclipse
relation characters
['Éclipse', 'characters', 'Thomas Aquinas'] ['Éclipse', 'characters', 'Albertus Magnus'] ['Éclipse', 'characters', 'Isidore of Seville']
ASK WHERE { resource:Éclipse property:characters ?p . VALUES ( ?p ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9438
P1576
Q151885
USER
Which concept is the lifestyle of Thomas Aquinas ?
(Q9438,P1576,c(Q151885))
action filter_type
action find
entity Q9438
relation P1576
type Q151885
['Q9438', 'P1576', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q151885 . resource:Q9438 property:P1576 ?d }
Thomas Aquinas
action filter_type
action find
entity Thomas Aquinas
relation lifestyle
type concept
['Thomas Aquinas', 'lifestyle', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:concept . resource:Thomas_Aquinas property:lifestyle ?d }
[]
concept
Q12328016
SYSTEM
mystic
Q12328016
(Q9438,P1576,c(Q151885))
action filter_type
action find
entity Q9438
relation P1576
type Q151885
The [ANSWER] is the lifestyle of Thomas Aquinas
['Q9438', 'P1576', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q151885 . resource:Q9438 property:P1576 ?d }
mystic
The mystic is the lifestyle of Thomas Aquinas
mystic
action filter_type
action find
entity Thomas Aquinas
relation lifestyle
type concept
['Thomas Aquinas', 'lifestyle', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:concept . resource:Thomas_Aquinas property:lifestyle ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9438
P802
Q502895
USER
Who were that one a pupil of ?
(Q12328016,P802,c(Q502895))
action filter_type
action find
entity Q9438
relation P802
type Q502895
['Q12328016', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q9438 property:P802 ?e . ?e rdf:type ontology:Q502895 }
Thomas Aquinas
action filter_type
action find
entity Thomas Aquinas
relation student
type common name
['mystic', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Thomas_Aquinas property:student ?e . ?e rdf:type ontology:common_name }
[]
common name
Q676267 Q1636083
SYSTEM
Henry Bate of Malines, Remigio dei Girolami
Q676267 Q1636083
(Q12328016,P802,c(Q502895))
action filter_type
action find
entity Q9438
relation P802
type Q502895
[ANSWERS] were that one a pupil of
['Q12328016', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q9438 property:P802 ?e . ?e rdf:type ontology:Q502895 }
Henry Bate of Malines Remigio dei Girolami
Henry Bate of Malines and Remigio dei Girolami were that one a pupil of
Henry Bate of Malines Remigio dei Girolami
action filter_type
action find
entity Thomas Aquinas
relation student
type common name
['mystic', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Thomas_Aquinas property:student ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
How many cinematic techniques had approximately 22 people as the dubbing artist ?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 22
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?t ) WHERE { ?m property:P725 ?n . ?n rdf:type ontology:Q502895 . ?m rdf:type ontology:Q1001378 } GROUP BY ?m } . FILTER ( ?t = 22 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 22
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?t ) WHERE { ?m property:voice_actor ?n . ?n rdf:type ontology:common_name . ?m rdf:type ontology:cinematic_technique } GROUP BY ?m } . FILTER ( ?t = 22 ) }
[]
common name cinematic technique
SYSTEM
4
Q2329413 Q392530 Q2388653 Q246283
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 22
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?t ) WHERE { ?m property:P725 ?n . ?n rdf:type ontology:Q502895 . ?m rdf:type ontology:Q1001378 } GROUP BY ?m } . FILTER ( ?t = 22 ) }
Barbie as the Princess and the Pauper Treasure Planet Tom Sawyer Frozen
4
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 22
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?t ) WHERE { ?m property:voice_actor ?n . ?n rdf:type ontology:common_name . ?m rdf:type ontology:cinematic_technique } GROUP BY ?m } . FILTER ( ?t = 22 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9438
P737
Q502895
USER
How many people were influenced by Thomas Aquinas ?
(c(Q502895),P737,Q9438)
action count
action filter_type
action find_reverse
entity Q9438
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q9438']
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q502895 . ?x property:P737 resource:Q9438 }
Thomas Aquinas
action count
action filter_type
action find_reverse
entity Thomas Aquinas
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Thomas Aquinas']
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:common_name . ?x property:influenced_by resource:Thomas_Aquinas }
[]
common name
SYSTEM
4
Q10337407 Q1067 Q229646 Q12807
(c(Q502895),P737,Q9438)
action count
action filter_type
action find_reverse
entity Q9438
relation P737
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q9438']
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:Q502895 . ?x property:P737 resource:Q9438 }
Norman Geisler Dante Alighieri G. E. M. Anscombe Umberto Eco
4
action count
action filter_type
action find_reverse
entity Thomas Aquinas
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Thomas Aquinas']
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x rdf:type ontology:common_name . ?x property:influenced_by resource:Thomas_Aquinas }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q694774
P737
Q502895
USER
And how about Joseph Cornell?
(c(Q502895),P737,Q694774)
action count
action filter_type
action find_reverse
entity Q694774
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q694774']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P737 resource:Q694774 . ?a rdf:type ontology:Q502895 }
Joseph Cornell
action count
action filter_type
action find_reverse
entity Joseph Cornell
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Joseph Cornell']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:influenced_by resource:Joseph_Cornell . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q1077842
(c(Q502895),P737,Q694774)
action count
action filter_type
action find_reverse
entity Q694774
relation P737
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q694774']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P737 resource:Q694774 . ?a rdf:type ontology:Q502895 }
Chris Ware
1
action count
action filter_type
action find_reverse
entity Joseph Cornell
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Joseph Cornell']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:influenced_by resource:Joseph_Cornell . ?a rdf:type ontology:common_name }
[]