Simple Question (Direct)
Simple Question
Q15969816
P140
Q879146
USER
Which Christian denomination does Henri Belliot relate to ?
(Q15969816,P140,c(Q879146))
action filter_type
action find
entity Q15969816
relation P140
type Q879146
['Q15969816', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?k WHERE { resource:Q15969816 property:P140 ?k . ?k rdf:type ontology:Q879146 }
Henri Belliot
action filter_type
action find
entity Henri Belliot
relation religion
type Christian denomination
['Henri Belliot', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?k WHERE { resource:Henri_Belliot property:religion ?k . ?k rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q15969816,P140,c(Q879146))
action filter_type
action find
entity Q15969816
relation P140
type Q879146
Henri Belliot relates the [ANSWER]
['Q15969816', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?k WHERE { resource:Q15969816 property:P140 ?k . ?k rdf:type ontology:Q879146 }
Roman Catholic Church
Henri Belliot relates the Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Henri Belliot
relation religion
type Christian denomination
['Henri Belliot', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?k WHERE { resource:Henri_Belliot property:religion ?k . ?k rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15969816
P21
Q290
USER
What is the sex of Henri Belliot ?
(Q15969816,P21,c(Q290))
action filter_type
action find
entity Q15969816
relation P21
type Q290
['Q15969816', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q15969816 property:P21 ?t . ?t rdf:type ontology:Q290 }
Henri Belliot
action filter_type
action find
entity Henri Belliot
relation gender
type sex
['Henri Belliot', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Henri_Belliot property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15969816,P21,c(Q290))
action filter_type
action find
entity Q15969816
relation P21
type Q290
The sex of Henri Belliot is the [ANSWER]
['Q15969816', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q15969816 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Henri Belliot is the male
male
action filter_type
action find
entity Henri Belliot
relation gender
type sex
['Henri Belliot', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Henri_Belliot property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6048699
Q290
USER
And what about Octavio Sergio Pico?
(Q6048699,P21,c(Q290))
action filter_type
action find
entity Q6048699
relation P21
type Q290
['Q6048699', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q6048699 property:P21 ?n . ?n rdf:type ontology:Q290 }
Octavio Sergio Pico
action filter_type
action find
entity Octavio Sergio Pico
relation gender
type sex
['Octavio Sergio Pico', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Octavio_Sergio_Pico property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6048699,P21,c(Q290))
action filter_type
action find
entity Q6048699
relation P21
type Q290
[ANSWER]
['Q6048699', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q6048699 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Octavio Sergio Pico
relation gender
type sex
['Octavio Sergio Pico', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Octavio_Sergio_Pico property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9592
P112
Q15619164
USER
Which abstract being founded Roman Catholic Church ?
(Q9592,P112,c(Q15619164))
action filter_type
action find
entity Q9592
relation P112
type Q15619164
['Q9592', 'P112', {'concept': 'Q15619164'}]
SELECT DISTINCT ?g WHERE { resource:Q9592 property:P112 ?g . ?g rdf:type ontology:Q15619164 }
Roman Catholic Church
action filter_type
action find
entity Roman Catholic Church
relation founder
type abstract being
['Roman Catholic Church', 'founder', {'concept': 'abstract being'}]
SELECT DISTINCT ?g WHERE { resource:Roman_Catholic_Church property:founder ?g . ?g rdf:type ontology:abstract_being }
[]
abstract being
Q302
SYSTEM
Jesus Christ
Q302
(Q9592,P112,c(Q15619164))
action filter_type
action find
entity Q9592
relation P112
type Q15619164
[ANSWER] being founded Roman Catholic Church
['Q9592', 'P112', {'concept': 'Q15619164'}]
SELECT DISTINCT ?g WHERE { resource:Q9592 property:P112 ?g . ?g rdf:type ontology:Q15619164 }
Jesus Christ
Jesus Christ being founded Roman Catholic Church
Jesus Christ
action filter_type
action find
entity Roman Catholic Church
relation founder
type abstract being
['Roman Catholic Church', 'founder', {'concept': 'abstract being'}]
SELECT DISTINCT ?g WHERE { resource:Roman_Catholic_Church property:founder ?g . ?g rdf:type ontology:abstract_being }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q302 Q16934745
P180
Q340169
USER
Does Gbin language depict that abstract being ?
(Q16934745,P180,Q302)
action is_in
entity Q16934745
action find
entity Q302
relation P180
['Q16934745', 'P180', 'Q302']
ASK WHERE { resource:Q302 property:P180 resource:Q16934745 }
Jesus Christ Gbin language
action is_in
entity Gbin language
action find
entity Jesus Christ
relation depicts
['Gbin language', 'depicts', 'Jesus Christ']
ASK WHERE { resource:Jesus_Christ property:depicts resource:Gbin_language }
[]
media
SYSTEM
NO
(Q16934745,P180,Q302)
action is_in
entity Q16934745
action find
entity Q302
relation P180
[ANSWER]
['Q16934745', 'P180', 'Q302']
ASK WHERE { resource:Q302 property:P180 resource:Q16934745 }
No
action is_in
entity Gbin language
action find
entity Jesus Christ
relation depicts
['Gbin language', 'depicts', 'Jesus Christ']
ASK WHERE { resource:Jesus_Christ property:depicts resource:Gbin_language }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q15969816 Q80781 Q142
P27
Q15617994
USER
Is Henri Belliot a native of Castelcivita and France ?
(Q15969816,P27,Q80781) (Q15969816,P27,Q142)
action is_in
entity Q15969816
action intersection
action find_reverse
entity Q80781
relation P27
action find_reverse
entity Q142
relation P27
['Q15969816', 'P27', 'Q80781'] ['Q15969816', 'P27', 'Q142']
ASK WHERE { resource:Q15969816 property:P27 resource:Q80781 . resource:Q15969816 property:P27 resource:Q142 }
Henri Belliot Castelcivita France
action is_in
entity Henri Belliot
action intersection
action find_reverse
entity Castelcivita
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Henri Belliot', 'country of citizenship', 'Castelcivita'] ['Henri Belliot', 'country of citizenship', 'France']
ASK WHERE { resource:Henri_Belliot property:country_of_citizenship resource:Castelcivita . resource:Henri_Belliot property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q15969816,P27,Q80781) (Q15969816,P27,Q142)
action is_in
entity Q15969816
action intersection
action find_reverse
entity Q80781
relation P27
action find_reverse
entity Q142
relation P27
[ANSWER]
['Q15969816', 'P27', 'Q80781'] ['Q15969816', 'P27', 'Q142']
ASK WHERE { resource:Q15969816 property:P27 resource:Q80781 . resource:Q15969816 property:P27 resource:Q142 }
NO and YES respectively
action is_in
entity Henri Belliot
action intersection
action find_reverse
entity Castelcivita
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Henri Belliot', 'country of citizenship', 'Castelcivita'] ['Henri Belliot', 'country of citizenship', 'France']
ASK WHERE { resource:Henri_Belliot property:country_of_citizenship resource:Castelcivita . resource:Henri_Belliot property:country_of_citizenship resource:France }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7548342
P144
Q502895 Q95074 Q15619164
USER
How many abstract beings are adapted from lesser number of people or fictional characters than Snow White ?
(c(Q15619164),P144,c(Q502895)|c(Q95074))
action count
action less
action union
action find_tuple_counts
relation P144
type Q15619164
type Q502895
action find_tuple_counts
relation P144
type Q15619164
type Q95074
action count
action filter_multi_types
action find
entity Q7548342
relation P144
type Q502895
type Q95074
[{'concept': 'Q15619164'}, 'P144', [{'concept': 'Q502895'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?s ) WHERE { { ?p property:P144 ?j . ?j rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15619164 } UNION { ?p property:P144 ?j . ?p rdf:type ontology:Q15619164 . ?j rdf:type ontology:Q95074 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { { ?x rdf:type ontology:Q502895 } UNION { ?x rdf:type ontology:Q95074 } } . resource:Q7548342 property:P144 ?x } } . FILTER ( ?s < ?r ) }
Snow White
action count
action less
action union
action find_tuple_counts
relation based on
type abstract being
type common name
action find_tuple_counts
relation based on
type abstract being
type fictional character
action count
action filter_multi_types
action find
entity Snow White
relation based on
type common name
type fictional character
[{'concept': 'abstract being'}, 'based on', [{'concept': 'common name'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?s ) WHERE { { ?p property:based_on ?j . ?j rdf:type ontology:common_name . ?p rdf:type ontology:abstract_being } UNION { ?p property:based_on ?j . ?p rdf:type ontology:abstract_being . ?j rdf:type ontology:fictional_character } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { { ?x rdf:type ontology:common_name } UNION { ?x rdf:type ontology:fictional_character } } . resource:Snow_White property:based_on ?x } } . FILTER ( ?s < ?r ) }
[]
common name fictional character abstract being
SYSTEM
55
Q24046153 Q762731 Q10746594 Q3855188 Q3862983 Q2519747 Q5490053 Q4018278 Q26807245 Q6179261 Q4888938 Q19009060 Q12641206 Q6176504 Q26273475 Q3606848 Q27856752 Q26457958 Q2328889 Q26457697 Q12964216 Q26457794 Q18214896 Q26273854 Q26904354 Q26272761 Q27857527 Q24049994 Q24046160 Q26299681 Q1442062 Q2277376 Q24049999 Q26279193 Q3575323 Q26726740 Q24049976 Q27858286 Q1319513 Q27518127 Q26273544 Q14632819 Q20819887 Q9351 Q27856740 Q4003185 Q27857572 Q23895000 Q26390497 Q3240861 Q26987246 Q3678579 Q2013030 Q26458391 Q24049985
(c(Q15619164),P144,c(Q502895)|c(Q95074))
action count
action less
action union
action find_tuple_counts
relation P144
type Q15619164
type Q502895
action find_tuple_counts
relation P144
type Q15619164
type Q95074
action count
action filter_multi_types
action find
entity Q7548342
relation P144
type Q502895
type Q95074
[ANSWER]
[{'concept': 'Q15619164'}, 'P144', [{'concept': 'Q502895'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?s ) WHERE { { ?p property:P144 ?j . ?j rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15619164 } UNION { ?p property:P144 ?j . ?p rdf:type ontology:Q15619164 . ?j rdf:type ontology:Q95074 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { { ?x rdf:type ontology:Q502895 } UNION { ?x rdf:type ontology:Q95074 } } . resource:Q7548342 property:P144 ?x } } . FILTER ( ?s < ?r ) }
Laufey Aslan The Emperor-Over-the-Sea Merlin Morgana Pendragon Ozymandias Frank Underwood Robin of Earth-Two Ken Jenny Everywhere Benjamin L. Willard Rölli-peikko Richard Van Helsing Jehovah 1 Terpsichore Agravaine Atropos Hephaestus Hades Ares Geppetto Athena Hercules Calliope Cupid Hermes Clio Lady Sif Volstagg Charon Count Orlok Robby the Robot Frigga Sugar Plum Fairy Zeus Chess King Hogun Apollo Odin Zeus Thalia Mega Man X Blacula Pikachu Lachesis Ultimate Thor Melpomene Pepper Potts Hera Lilith Clotho Jehovah Jim Halpert Cupid Fandral
55
action count
action less
action union
action find_tuple_counts
relation based on
type abstract being
type common name
action find_tuple_counts
relation based on
type abstract being
type fictional character
action count
action filter_multi_types
action find
entity Snow White
relation based on
type common name
type fictional character
[{'concept': 'abstract being'}, 'based on', [{'concept': 'common name'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?s ) WHERE { { ?p property:based_on ?j . ?j rdf:type ontology:common_name . ?p rdf:type ontology:abstract_being } UNION { ?p property:based_on ?j . ?p rdf:type ontology:abstract_being . ?j rdf:type ontology:fictional_character } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { { ?x rdf:type ontology:common_name } UNION { ?x rdf:type ontology:fictional_character } } . resource:Snow_White property:based_on ?x } } . FILTER ( ?s < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q545694
P144
Q502895 Q95074 Q15619164
USER
And also tell me about Xena?
(c(Q15619164),P144,c(Q502895)|c(Q95074))
action count
action less
action union
action find_tuple_counts
relation P144
type Q15619164
type Q502895
action find_tuple_counts
relation P144
type Q15619164
type Q95074
action count
action filter_multi_types
action find
entity Q545694
relation P144
type Q502895
type Q95074
[{'concept': 'Q15619164'}, 'P144', [{'concept': 'Q502895'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q95074 ) } } GROUP BY ?m } . FILTER ( ?q < ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q545694 property:P144 ?u . { { ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q95074 } } } } }
Xena
action count
action less
action union
action find_tuple_counts
relation based on
type abstract being
type common name
action find_tuple_counts
relation based on
type abstract being
type fictional character
action count
action filter_multi_types
action find
entity Xena
relation based on
type common name
type fictional character
[{'concept': 'abstract being'}, 'based on', [{'concept': 'common name'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:common_name ) ( ontology:fictional_character ) } } GROUP BY ?m } . FILTER ( ?q < ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Xena property:based_on ?u . { { ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:fictional_character } } } } }
[]
common name fictional character abstract being
SYSTEM
55
Q24046153 Q762731 Q10746594 Q3855188 Q3862983 Q2519747 Q5490053 Q4018278 Q26807245 Q6179261 Q4888938 Q19009060 Q12641206 Q6176504 Q26273475 Q3606848 Q27856752 Q26457958 Q2328889 Q26457697 Q12964216 Q26457794 Q18214896 Q26273854 Q26904354 Q26272761 Q27857527 Q24049994 Q24046160 Q26299681 Q1442062 Q2277376 Q24049999 Q26279193 Q3575323 Q26726740 Q24049976 Q27858286 Q1319513 Q27518127 Q26273544 Q14632819 Q20819887 Q9351 Q27856740 Q4003185 Q27857572 Q23895000 Q26390497 Q3240861 Q26987246 Q3678579 Q2013030 Q26458391 Q24049985
(c(Q15619164),P144,c(Q502895)|c(Q95074))
action count
action less
action union
action find_tuple_counts
relation P144
type Q15619164
type Q502895
action find_tuple_counts
relation P144
type Q15619164
type Q95074
action count
action filter_multi_types
action find
entity Q545694
relation P144
type Q502895
type Q95074
[ANSWER]
[{'concept': 'Q15619164'}, 'P144', [{'concept': 'Q502895'}, {'concept': 'Q95074'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q95074 ) } } GROUP BY ?m } . FILTER ( ?q < ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q545694 property:P144 ?u . { { ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q95074 } } } } }
Laufey Aslan The Emperor-Over-the-Sea Merlin Morgana Pendragon Ozymandias Frank Underwood Robin of Earth-Two Ken Jenny Everywhere Benjamin L. Willard Rölli-peikko Richard Van Helsing Jehovah 1 Terpsichore Agravaine Atropos Hephaestus Hades Ares Geppetto Athena Hercules Calliope Cupid Hermes Clio Lady Sif Volstagg Charon Count Orlok Robby the Robot Frigga Sugar Plum Fairy Zeus Chess King Hogun Apollo Odin Zeus Thalia Mega Man X Blacula Pikachu Lachesis Ultimate Thor Melpomene Pepper Potts Hera Lilith Clotho Jehovah Jim Halpert Cupid Fandral
55
action count
action less
action union
action find_tuple_counts
relation based on
type abstract being
type common name
action find_tuple_counts
relation based on
type abstract being
type fictional character
action count
action filter_multi_types
action find
entity Xena
relation based on
type common name
type fictional character
[{'concept': 'abstract being'}, 'based on', [{'concept': 'common name'}, {'concept': 'fictional character'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ?d . VALUES ( ?d ) { ( ontology:common_name ) ( ontology:fictional_character ) } } GROUP BY ?m } . FILTER ( ?q < ?a ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Xena property:based_on ?u . { { ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:fictional_character } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q2342494 Q6619679
USER
How many people inspired atleast 1 collectables or fictional humanoids ?
(c(Q2342494)|c(Q6619679),P941,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?y ) WHERE { { ?d property:P941 ?c . ?c rdf:type ontology:Q502895 . ?d rdf:type ontology:Q2342494 } UNION { ?d property:P941 ?c . ?c rdf:type ontology:Q502895 . ?d rdf:type ontology:Q6619679 } } GROUP BY ?c } . FILTER ( ?y >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
value 1
[[{'concept': 'collectable'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?y ) WHERE { { ?d property:inspired_by ?c . ?c rdf:type ontology:common_name . ?d rdf:type ontology:collectable } UNION { ?d property:inspired_by ?c . ?c rdf:type ontology:common_name . ?d rdf:type ontology:fictional_humanoid } } GROUP BY ?c } . FILTER ( ?y >= 1 ) }
[]
common name collectable fictional humanoid
SYSTEM
6
Q2907490 Q299271 Q849 Q22686 Q5545355 Q2409128
(c(Q2342494)|c(Q6619679),P941,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
value 1
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?y ) WHERE { { ?d property:P941 ?c . ?c rdf:type ontology:Q502895 . ?d rdf:type ontology:Q2342494 } UNION { ?d property:P941 ?c . ?c rdf:type ontology:Q502895 . ?d rdf:type ontology:Q6619679 } } GROUP BY ?c } . FILTER ( ?y >= 1 ) }
Bo Gritz Bahram V François Villon Donald Trump George Turberville Dušan Popov
6
action count
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
value 1
[[{'concept': 'collectable'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?y ) WHERE { { ?d property:inspired_by ?c . ?c rdf:type ontology:common_name . ?d rdf:type ontology:collectable } UNION { ?d property:inspired_by ?c . ?c rdf:type ontology:common_name . ?d rdf:type ontology:fictional_humanoid } } GROUP BY ?c } . FILTER ( ?y >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q302
P825
Q16970
USER
What is dedicated to Jesus Christ ?
(c(Q16970),P825,Q302)
action filter_type
action find_reverse
entity Q302
relation P825
type Q16970
[{'concept': 'Q16970'}, 'P825', 'Q302']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q16970 . ?d property:P825 resource:Q302 }
Jesus Christ
action filter_type
action find_reverse
entity Jesus Christ
relation dedicated to
type church
[{'concept': 'church'}, 'dedicated to', 'Jesus Christ']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:church . ?d property:dedicated_to resource:Jesus_Christ }
[]
church
Q84090
SYSTEM
Archbasilica of St. John Lateran
Q84090
(c(Q16970),P825,Q302)
action filter_type
action find_reverse
entity Q302
relation P825
type Q16970
[ANSWER] is dedicated to Jesus Christ
[{'concept': 'Q16970'}, 'P825', 'Q302']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q16970 . ?d property:P825 resource:Q302 }
Archbasilica of St. John Lateran
Archbasilica of St. John Lateran is dedicated to Jesus Christ
Archbasilica of St. John Lateran
action filter_type
action find_reverse
entity Jesus Christ
relation dedicated to
type church
[{'concept': 'church'}, 'dedicated to', 'Jesus Christ']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:church . ?d property:dedicated_to resource:Jesus_Christ }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84090
P119
Q502895
USER
Which people have that church as place of burial ?
(c(Q502895),P119,Q84090)
action filter_type
action find_reverse
entity Q84090
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q84090']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P119 resource:Q84090 }
Archbasilica of St. John Lateran
action filter_type
action find_reverse
entity Archbasilica of St. John Lateran
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Archbasilica of St. John Lateran']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:place_of_burial resource:Archbasilica_of_St._John_Lateran }
[]
common name
Q172383 Q43922 Q1583939
SYSTEM
Sylvester II, Leo XIII, Gerardo Bianchi
Q323557 Q172933 Q1583939 Q172383 Q43922 Q646971 Q708666 Q133108 Q160116 Q128076 Q3484495 Q227970 Q2947016
(c(Q502895),P119,Q84090)
action filter_type
action find_reverse
entity Q84090
relation P119
type Q502895
[ANSWERS] have that church as place of burial
[{'concept': 'Q502895'}, 'P119', 'Q84090']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P119 resource:Q84090 }
Alberto Alberti John XII Gerardo Bianchi Sylvester II Leo XIII Riccardo Annibaldi Ranuccio Farnese Clement XII Alexander III Innocent III Simon van Limburg Sergius IV Cesare Maria Antonio Rasponi
Sylvester II, Leo XIII and Gerardo Bianchi have that church as place of burial
Sylvester II Leo XIII Gerardo Bianchi
action filter_type
action find_reverse
entity Archbasilica of St. John Lateran
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Archbasilica of St. John Lateran']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:place_of_burial resource:Archbasilica_of_St._John_Lateran }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15619164
USER
How many abstract beings have been dubbed by atmost 4 people ?
(c(Q15619164),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 4
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?s ) WHERE { ?l rdf:type ontology:Q15619164 . ?e rdf:type ontology:Q502895 . ?l property:P725 ?e } GROUP BY ?l } . FILTER ( ?s <= 4 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 4
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?s ) WHERE { ?l rdf:type ontology:abstract_being . ?e rdf:type ontology:common_name . ?l property:voice_actor ?e } GROUP BY ?l } . FILTER ( ?s <= 4 ) }
[]
common name abstract being
SYSTEM
126
Q21009638 Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q15055569 Q11339793 Q820011 Q819644 Q15648502 Q15725453 Q15502566 Q638630 Q15728188 Q15648510 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q21036253 Q12739035 Q9300505 Q3152983 Q2079562 Q10343913 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q2270749 Q11331437 Q15632348 Q819748 Q21027734 Q4023191 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q819519 Q2558257 Q15520173 Q15712269 Q15502620 Q977511 Q17628767 Q15710705 Q27334870 Q27265636 Q49352 Q552682 Q5957609 Q728718 Q15502538 Q15490560 Q3631585 Q16040855 Q27300001 Q849700 Q15502637 Q27613927 Q11297446 Q819804 Q282514 Q3858633 Q16995485 Q18292066 Q844697 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q2291154 Q15966747 Q3482136 Q18292143 Q18934600 Q27493776 Q2151996 Q15730337 Q3201327 Q2663645 Q819544 Q15961663 Q3479120 Q909655 Q16005386 Q16003600 Q2566378 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q6076547 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q3966728 Q4810757 Q4874693 Q2738631 Q819851 Q15846552 Q5480 Q935079 Q18468944 Q15537046 Q14429586
(c(Q15619164),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 4
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?s ) WHERE { ?l rdf:type ontology:Q15619164 . ?e rdf:type ontology:Q502895 . ?l property:P725 ?e } GROUP BY ?l } . FILTER ( ?s <= 4 ) }
Beltino Toad Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco Jeremiah Gottwald My Melody Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Queen Chrysalis Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa Tricky Rainbow Dash Rarity Integra Hellsing SHODAN Palutena MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pit Pikmin Mika Kujiin Maiev Shadowsong Young Link Yui Hirasawa Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Gul'dan Rose Ui Hirasawa Mitsuki Sonoda Rise Matsumoto Shizuka Minamoto Diablo Discord Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Azusa Nakano Pico Adam Jensen Deathwing Akane Akaza Thomas Burke Kyūbey Malfurion Stormrage Alucard Mio Akiyama Hiro Takachiho Sora Takenouchi Shinichi Kudo Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Kratos Seiji Amasawa Alexander Anderson Koushirou "Izzy" Izumi Asuna Yūki Miku Hatsune Append (Sweet) Constance Harm Babs Seed Kōzō Fuyutsuki Krystal Illidan Stormrage Shijuku Tsukishima Seras Victoria Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Garrosh Hellscream Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Danny Burke Yamato "Matt" Ishida Midna Pip Bernadotte Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Spike Tyrael Bayonetta Anna Williams Mannoroth Natsumi Koshigaya Bart Simpson SpongeBob SquarePants Kirito Kirino Kosaka Panther Caroso
126
action count
action atmost
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 4
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?s ) WHERE { ?l rdf:type ontology:abstract_being . ?e rdf:type ontology:common_name . ?l property:voice_actor ?e } GROUP BY ?l } . FILTER ( ?s <= 4 ) }
[]