Simple Question (Direct)
Simple Question
Q98779
P106
Q12737077
USER
What are the job of Will Grohmann ?
(Q98779,P106,c(Q12737077))
action filter_type
action find
entity Q98779
relation P106
type Q12737077
['Q98779', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q98779 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Will Grohmann
action filter_type
action find
entity Will Grohmann
relation occupation
type occupation
['Will Grohmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Will_Grohmann property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q1622272 Q1792450
SYSTEM
university teacher, art historian
Q1622272 Q1792450
(Q98779,P106,c(Q12737077))
action filter_type
action find
entity Q98779
relation P106
type Q12737077
The job of Will Grohmann are a [ANSWERS]
['Q98779', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q98779 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
university teacher art historian
The job of Will Grohmann are a university teacher and art historian
university teacher art historian
action filter_type
action find
entity Will Grohmann
relation occupation
type occupation
['Will Grohmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Will_Grohmann property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q98779
P1066
Q502895
USER
Which person was advised by that one ?
(c(Q502895),P1066,Q1622272) (c(Q502895),P1066,Q1792450)
action filter_type
action find_reverse
entity Q98779
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q1622272'] [{'concept': 'Q502895'}, 'P1066', 'Q1792450']
SELECT DISTINCT ?f WHERE { ?f property:P1066 resource:Q98779 . ?f rdf:type ontology:Q502895 }
Will Grohmann
action filter_type
action find_reverse
entity Will Grohmann
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'university teacher'] [{'concept': 'common name'}, 'student of', 'art historian']
SELECT DISTINCT ?f WHERE { ?f property:student_of resource:Will_Grohmann . ?f rdf:type ontology:common_name }
[]
common name
Q2076300
SYSTEM
Peter Klasen
Q2076300
(c(Q502895),P1066,Q1622272) (c(Q502895),P1066,Q1792450)
action filter_type
action find_reverse
entity Q98779
relation P1066
type Q502895
[ANSWER] was advised by that one
[{'concept': 'Q502895'}, 'P1066', 'Q1622272'] [{'concept': 'Q502895'}, 'P1066', 'Q1792450']
SELECT DISTINCT ?f WHERE { ?f property:P1066 resource:Q98779 . ?f rdf:type ontology:Q502895 }
Peter Klasen
Peter Klasen was advised by that one
Peter Klasen
action filter_type
action find_reverse
entity Will Grohmann
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'university teacher'] [{'concept': 'common name'}, 'student of', 'art historian']
SELECT DISTINCT ?f WHERE { ?f property:student_of resource:Will_Grohmann . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1148698
P725
Q502895 Q6619679
USER
How many fictional humanoids had less number of people as the dubbing artist than Ai Haibara ?
(c(Q6619679),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1148698
relation P725
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?j ) WHERE { ?m rdf:type ontology:Q6619679 . ?p rdf:type ontology:Q502895 . ?m property:P725 ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Q1148698 property:P725 ?a . ?a rdf:type ontology:Q502895 } } . FILTER ( ?j < ?c ) }
Ai Haibara
action count
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Ai Haibara
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?j ) WHERE { ?m rdf:type ontology:fictional_humanoid . ?p rdf:type ontology:common_name . ?m property:voice_actor ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Ai_Haibara property:voice_actor ?a . ?a rdf:type ontology:common_name } } . FILTER ( ?j < ?c ) }
[]
common name fictional humanoid
SYSTEM
16
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q4006757 Q15614636 Q1056953 Q250221 Q3149148 Q757015 Q15620419 Q13471616 Q12879 Q1154920
(c(Q6619679),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1148698
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?j ) WHERE { ?m rdf:type ontology:Q6619679 . ?p rdf:type ontology:Q502895 . ?m property:P725 ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Q1148698 property:P725 ?a . ?a rdf:type ontology:Q502895 } } . FILTER ( ?j < ?c ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Utena Tenjo Anna (Disney) Minsc Alyx Vance Imoen Sailor Moon Elsa Mr. Bean Toph Beifong Father Grigori
16
action count
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Ai Haibara
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?j ) WHERE { ?m rdf:type ontology:fictional_humanoid . ?p rdf:type ontology:common_name . ?m property:voice_actor ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { resource:Ai_Haibara property:voice_actor ?a . ?a rdf:type ontology:common_name } } . FILTER ( ?j < ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1148698
P674
Q26971562
USER
What the name of the comic format which Ai Haibara is a character of ?
(c(Q26971562),P674,Q1148698)
action filter_type
action find_reverse
entity Q1148698
relation P674
type Q26971562
[{'concept': 'Q26971562'}, 'P674', 'Q1148698']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q26971562 . ?c property:P674 resource:Q1148698 }
Ai Haibara
action filter_type
action find_reverse
entity Ai Haibara
relation characters
type comic format
[{'concept': 'comic format'}, 'characters', 'Ai Haibara']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:comic_format . ?c property:characters resource:Ai_Haibara }
[]
comic format
Q185143
SYSTEM
Detective Conan
Q185143
(c(Q26971562),P674,Q1148698)
action filter_type
action find_reverse
entity Q1148698
relation P674
type Q26971562
[ANSWER]
[{'concept': 'Q26971562'}, 'P674', 'Q1148698']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q26971562 . ?c property:P674 resource:Q1148698 }
Detective Conan
Detective Conan
Detective Conan
action filter_type
action find_reverse
entity Ai Haibara
relation characters
type comic format
[{'concept': 'comic format'}, 'characters', 'Ai Haibara']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:comic_format . ?c property:characters resource:Ai_Haibara }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q185143
P144
Q15416
USER
Which television program is derived from that comic format ?
(c(Q15416),P144,Q185143)
action filter_type
action find_reverse
entity Q185143
relation P144
type Q15416
[{'concept': 'Q15416'}, 'P144', 'Q185143']
SELECT DISTINCT ?g WHERE { ?g property:P144 resource:Q185143 . ?g rdf:type ontology:Q15416 }
Detective Conan
action filter_type
action find_reverse
entity Detective Conan
relation based on
type television program
[{'concept': 'television program'}, 'based on', 'Detective Conan']
SELECT DISTINCT ?g WHERE { ?g property:based_on resource:Detective_Conan . ?g rdf:type ontology:television_program }
[]
television program
Q1364951
SYSTEM
Lupin the 3rd vs Detective Conan
Q1364951
(c(Q15416),P144,Q185143)
action filter_type
action find_reverse
entity Q185143
relation P144
type Q15416
[ANSWER] is derived from that comic format
[{'concept': 'Q15416'}, 'P144', 'Q185143']
SELECT DISTINCT ?g WHERE { ?g property:P144 resource:Q185143 . ?g rdf:type ontology:Q15416 }
Lupin the 3rd vs Detective Conan
Lupin the 3rd vs Detective Conan is derived from that comic format
Lupin the 3rd vs Detective Conan
action filter_type
action find_reverse
entity Detective Conan
relation based on
type television program
[{'concept': 'television program'}, 'based on', 'Detective Conan']
SELECT DISTINCT ?g WHERE { ?g property:based_on resource:Detective_Conan . ?g rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q185143
P1441
Q6619679 Q15619164
USER
How many fictional humanoids or abstract beings appear in Detective Conan ?
(c(Q6619679),P1441,Q185143) (c(Q15619164),P1441,Q185143)
action count
action union
action filter_type
action find_reverse
entity Q185143
relation P1441
type Q6619679
action filter_type
action find_reverse
entity Q185143
relation P1441
type Q15619164
[{'concept': 'Q6619679'}, 'P1441', 'Q185143'] [{'concept': 'Q15619164'}, 'P1441', 'Q185143']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:P1441 resource:Q185143 . ?y rdf:type ontology:Q15619164 } UNION { ?y property:P1441 resource:Q185143 . ?y rdf:type ontology:Q6619679 } }
Detective Conan
action count
action union
action filter_type
action find_reverse
entity Detective Conan
relation present in work
type fictional humanoid
action filter_type
action find_reverse
entity Detective Conan
relation present in work
type abstract being
[{'concept': 'fictional humanoid'}, 'present in work', 'Detective Conan'] [{'concept': 'abstract being'}, 'present in work', 'Detective Conan']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:present_in_work resource:Detective_Conan . ?y rdf:type ontology:abstract_being } UNION { ?y property:present_in_work resource:Detective_Conan . ?y rdf:type ontology:fictional_humanoid } }
[]
fictional humanoid abstract being
SYSTEM
9
Q2551293 Q844697 Q1328992 Q7468032 Q1191249 Q599685 Q1194808 Q1148698 Q2548929
(c(Q6619679),P1441,Q185143) (c(Q15619164),P1441,Q185143)
action count
action union
action filter_type
action find_reverse
entity Q185143
relation P1441
type Q6619679
action filter_type
action find_reverse
entity Q185143
relation P1441
type Q15619164
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q185143'] [{'concept': 'Q15619164'}, 'P1441', 'Q185143']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:P1441 resource:Q185143 . ?y rdf:type ontology:Q15619164 } UNION { ?y property:P1441 resource:Q185143 . ?y rdf:type ontology:Q6619679 } }
Gin Shinichi Kudo Hiroshi Agasa Vodka Ran Mori Kogoro Mori Sonoko Suzuki Ai Haibara Vermouth
9
action count
action union
action filter_type
action find_reverse
entity Detective Conan
relation present in work
type fictional humanoid
action filter_type
action find_reverse
entity Detective Conan
relation present in work
type abstract being
[{'concept': 'fictional humanoid'}, 'present in work', 'Detective Conan'] [{'concept': 'abstract being'}, 'present in work', 'Detective Conan']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:present_in_work resource:Detective_Conan . ?y rdf:type ontology:abstract_being } UNION { ?y property:present_in_work resource:Detective_Conan . ?y rdf:type ontology:fictional_humanoid } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q185143
P1441
Q6619679
USER
Which fictional humanoids are seen in Detective Conan ?
(c(Q6619679),P1441,Q185143)
action filter_type
action find_reverse
entity Q185143
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q185143']
SELECT DISTINCT ?i WHERE { ?i property:P1441 resource:Q185143 . ?i rdf:type ontology:Q6619679 }
Detective Conan
action filter_type
action find_reverse
entity Detective Conan
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Detective Conan']
SELECT DISTINCT ?i WHERE { ?i property:present_in_work resource:Detective_Conan . ?i rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q1148698 Q599685
SYSTEM
Ai Haibara, Kogoro Mori
Q1148698 Q599685
(c(Q6619679),P1441,Q185143)
action filter_type
action find_reverse
entity Q185143
relation P1441
type Q6619679
[ANSWERS] are seen in Detective Conan
[{'concept': 'Q6619679'}, 'P1441', 'Q185143']
SELECT DISTINCT ?i WHERE { ?i property:P1441 resource:Q185143 . ?i rdf:type ontology:Q6619679 }
Ai Haibara Kogoro Mori
Ai Haibara and Kogoro Mori are seen in Detective Conan
Ai Haibara Kogoro Mori
action filter_type
action find_reverse
entity Detective Conan
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Detective Conan']
SELECT DISTINCT ?i WHERE { ?i property:present_in_work resource:Detective_Conan . ?i rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1148698 Q599685
P21
Q290
USER
Which sexes do those fictional humanoids possess ?
(Q1148698,P21,c(Q290)) (Q599685,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1148698', 'P21', {'concept': 'Q290'}] ['Q599685', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . ?b property:P21 ?v . VALUES ( ?b ) { ( resource:Q1148698 ) ( resource:Q599685 ) } }
Ai Haibara Kogoro Mori
action filter_type
action find
entity prev_answer
relation gender
type sex
['Ai Haibara', 'gender', {'concept': 'sex'}] ['Kogoro Mori', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . ?b property:gender ?v . VALUES ( ?b ) { ( resource:Ai_Haibara ) ( resource:Kogoro_Mori ) } }
[]
sex
Q6581072 Q6581097
SYSTEM
female, male
Q6581072 Q6581097
(Q1148698,P21,c(Q290)) (Q599685,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those fictional humanoids possess both [ANSWERS]
['Q1148698', 'P21', {'concept': 'Q290'}] ['Q599685', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . ?b property:P21 ?v . VALUES ( ?b ) { ( resource:Q1148698 ) ( resource:Q599685 ) } }
female male
Those fictional humanoids possess both female and male
female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Ai Haibara', 'gender', {'concept': 'sex'}] ['Kogoro Mori', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . ?b property:gender ?v . VALUES ( ?b ) { ( resource:Ai_Haibara ) ( resource:Kogoro_Mori ) } }
[]