Simple Question (Direct)
Simple Question
Q26832868
P106
Q12737077
USER
What do Jaroslav Chmelík do for a living ?
(Q26832868,P106,c(Q12737077))
action filter_type
action find
entity Q26832868
relation P106
type Q12737077
['Q26832868', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q26832868 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Jaroslav Chmelík
action filter_type
action find
entity Jaroslav Chmelík
relation occupation
type occupation
['Jaroslav Chmelík', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Jaroslav_Chmelík property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q4991371 Q2095549
SYSTEM
soldier, aviator
Q4991371 Q2095549
(Q26832868,P106,c(Q12737077))
action filter_type
action find
entity Q26832868
relation P106
type Q12737077
Jaroslav Chmelík do for a living [ANSWERS]
['Q26832868', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q26832868 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
soldier aviator
Jaroslav Chmelík do for a living soldier and aviator
soldier aviator
action filter_type
action find
entity Jaroslav Chmelík
relation occupation
type occupation
['Jaroslav Chmelík', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Jaroslav_Chmelík property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26832868
P21
Q290
USER
Which sex does that person have ?
(Q4991371,P21,c(Q290)) (Q2095549,P21,c(Q290))
action filter_type
action find
entity Q26832868
relation P21
type Q290
['Q4991371', 'P21', {'concept': 'Q290'}] ['Q2095549', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q26832868 property:P21 ?i . ?i rdf:type ontology:Q290 }
Jaroslav Chmelík
action filter_type
action find
entity Jaroslav Chmelík
relation gender
type sex
['soldier', 'gender', {'concept': 'sex'}] ['aviator', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Jaroslav_Chmelík property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4991371,P21,c(Q290)) (Q2095549,P21,c(Q290))
action filter_type
action find
entity Q26832868
relation P21
type Q290
That person has a [ANSWER]
['Q4991371', 'P21', {'concept': 'Q290'}] ['Q2095549', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q26832868 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Jaroslav Chmelík
relation gender
type sex
['soldier', 'gender', {'concept': 'sex'}] ['aviator', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Jaroslav_Chmelík property:gender ?i . ?i rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q1526473 Q26832868
P21
Q290
USER
And also Julien-Léopold Boilly
AND((Q26832868,P21,c(Q290)), (Q1526473,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q26832868
relation P21
action find
entity Q1526473
relation P21
type Q290
{'AND': [['Q26832868', 'P21', {'concept': 'Q290'}], ['Q1526473', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?z WHERE { resource:Q26832868 property:P21 ?z . resource:Q1526473 property:P21 ?z . ?z rdf:type ontology:Q290 }
Julien-Léopold Boilly Jaroslav Chmelík
action filter_type
action intersection
action find
entity Jaroslav Chmelík
relation gender
action find
entity Julien-Léopold Boilly
relation gender
type sex
{'AND': [['Jaroslav Chmelík', 'gender', {'concept': 'sex'}], ['Julien-Léopold Boilly', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?z WHERE { resource:Jaroslav_Chmelík property:gender ?z . resource:Julien-Léopold_Boilly property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q26832868,P21,c(Q290)), (Q1526473,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q26832868
relation P21
action find
entity Q1526473
relation P21
type Q290
[ANSWER]
{'AND': [['Q26832868', 'P21', {'concept': 'Q290'}], ['Q1526473', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?z WHERE { resource:Q26832868 property:P21 ?z . resource:Q1526473 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Jaroslav Chmelík
relation gender
action find
entity Julien-Léopold Boilly
relation gender
type sex
{'AND': [['Jaroslav Chmelík', 'gender', {'concept': 'sex'}], ['Julien-Léopold Boilly', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?z WHERE { resource:Jaroslav_Chmelík property:gender ?z . resource:Julien-Léopold_Boilly property:gender ?z . ?z rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q4991371
P180
Q340169 Q14745
USER
How many medias or furniture demonstrate soldier ?
(c(Q340169),P180,Q4991371) (c(Q14745),P180,Q4991371)
action count
action union
action filter_type
action find_reverse
entity Q4991371
relation P180
type Q340169
action filter_type
action find_reverse
entity Q4991371
relation P180
type Q14745
[{'concept': 'Q340169'}, 'P180', 'Q4991371'] [{'concept': 'Q14745'}, 'P180', 'Q4991371']
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { ?g property:P180 resource:Q4991371 . ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q14745 . ?g property:P180 resource:Q4991371 } }
soldier
action count
action union
action filter_type
action find_reverse
entity soldier
relation depicts
type media
action filter_type
action find_reverse
entity soldier
relation depicts
type furniture
[{'concept': 'media'}, 'depicts', 'soldier'] [{'concept': 'furniture'}, 'depicts', 'soldier']
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { ?g property:depicts resource:soldier . ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:furniture . ?g property:depicts resource:soldier } }
[]
media furniture
SYSTEM
3
Q20668033 Q20392038 Q19904594
(c(Q340169),P180,Q4991371) (c(Q14745),P180,Q4991371)
action count
action union
action filter_type
action find_reverse
entity Q4991371
relation P180
type Q340169
action filter_type
action find_reverse
entity Q4991371
relation P180
type Q14745
[ANSWER]
[{'concept': 'Q340169'}, 'P180', 'Q4991371'] [{'concept': 'Q14745'}, 'P180', 'Q4991371']
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { ?g property:P180 resource:Q4991371 . ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q14745 . ?g property:P180 resource:Q4991371 } }
The Last Flag Raising Ceremony: Cession of New Orleans (1803) The Massacre of the Innocents The Massacres of the Triumvirate
3
action count
action union
action filter_type
action find_reverse
entity soldier
relation depicts
type media
action filter_type
action find_reverse
entity soldier
relation depicts
type furniture
[{'concept': 'media'}, 'depicts', 'soldier'] [{'concept': 'furniture'}, 'depicts', 'soldier']
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { ?g property:depicts resource:soldier . ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:furniture . ?g property:depicts resource:soldier } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4991371
P410
Q502895
USER
Which person possesses that occupation ?
action filter_type
action find_reverse
entity Q4991371
relation P410
type Q502895
SELECT DISTINCT ?n WHERE { ?n property:P410 resource:Q4991371 . ?n rdf:type ontology:Q502895 }
soldier
action filter_type
action find_reverse
entity soldier
relation military rank
type common name
SELECT DISTINCT ?n WHERE { ?n property:military_rank resource:soldier . ?n rdf:type ontology:common_name }
[]
common name
Q20727330
SYSTEM
Maurice Poedts
Q20727330
action filter_type
action find_reverse
entity Q4991371
relation P410
type Q502895
[ANSWER] possesses that occupation
SELECT DISTINCT ?n WHERE { ?n property:P410 resource:Q4991371 . ?n rdf:type ontology:Q502895 }
Maurice Poedts
Maurice Poedts possesses that occupation
Maurice Poedts
action filter_type
action find_reverse
entity soldier
relation military rank
type common name
SELECT DISTINCT ?n WHERE { ?n property:military_rank resource:soldier . ?n rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q551327
P725
Q502895 Q95074
USER
Which fictional characters did around the same number of people dub for as terminator ?
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q551327
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?u ) WHERE { ?f property:P725 ?k . ?k rdf:type ontology:Q502895 . ?f rdf:type ontology:Q95074 } GROUP BY ?f } . FILTER ( ?u = ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:Q95074 . resource:Q551327 property:P725 ?i } } }
terminator
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity terminator
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?u ) WHERE { ?f property:voice_actor ?k . ?k rdf:type ontology:common_name . ?f rdf:type ontology:fictional_character } GROUP BY ?f } . FILTER ( ?u = ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:fictional_character . resource:terminator property:voice_actor ?i } } }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q551327
relation P725
type Q95074
[ANSWERS] did around the same number of people dub for as terminator
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?u ) WHERE { ?f property:P725 ?k . ?k rdf:type ontology:Q502895 . ?f rdf:type ontology:Q95074 } GROUP BY ?f } . FILTER ( ?u = ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:Q95074 . resource:Q551327 property:P725 ?i } } }
Itsuki Tachibana Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Marge Simpson, Homer Simpson and Neo did around the same number of people dub for as terminator
Marge Simpson Homer Simpson Neo
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity terminator
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?u ) WHERE { ?f property:voice_actor ?k . ?k rdf:type ontology:common_name . ?f rdf:type ontology:fictional_character } GROUP BY ?f } . FILTER ( ?u = ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:fictional_character . resource:terminator property:voice_actor ?i } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q21847074
P725
Q502895 Q95074
USER
And also tell me about Kōichirō Iketani?
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q21847074
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?v ) WHERE { ?b property:P725 ?f . ?f rdf:type ontology:Q502895 . ?b rdf:type ontology:Q95074 } GROUP BY ?b } . FILTER ( ?v = ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Q21847074 property:P725 ?y . ?y rdf:type ontology:Q95074 } } }
Kōichirō Iketani
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Kōichirō Iketani
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?v ) WHERE { ?b property:voice_actor ?f . ?f rdf:type ontology:common_name . ?b rdf:type ontology:fictional_character } GROUP BY ?b } . FILTER ( ?v = ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Kōichirō_Iketani property:voice_actor ?y . ?y rdf:type ontology:fictional_character } } }
[]
common name fictional character
Q1621656 Q16027672 Q15710873
SYSTEM
Solid Snake, Dr. Stewart, Princess Celestia
Q16027672 Q21837832 Q21847115 Q15710873 Q21847074 Q21837038 Q2570349 Q21847089 Q21847086 Q17349786 Q21847215 Q21837905 Q1621656 Q2544561 Q1984009 Q21847105 Q21847103
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q21847074
relation P725
type Q95074
[ANSWERS]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?v ) WHERE { ?b property:P725 ?f . ?f rdf:type ontology:Q502895 . ?b rdf:type ontology:Q95074 } GROUP BY ?b } . FILTER ( ?v = ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Q21847074 property:P725 ?y . ?y rdf:type ontology:Q95074 } } }
Dr. Stewart Kyōichi Sudō Fumihiro Princess Celestia Kōichirō Iketani Keisuke Takahashi Spike Spiegel Kenji Natsuki Mogi Shulk Seiji Iwaki Itsuki Takeuchi Solid Snake Ike Death Kenta Nakamura Shingo Shōji
Solid Snake Dr. Stewart Princess Celestia
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Kōichirō Iketani
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?v ) WHERE { ?b property:voice_actor ?f . ?f rdf:type ontology:common_name . ?b rdf:type ontology:fictional_character } GROUP BY ?b } . FILTER ( ?v = ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Kōichirō_Iketani property:voice_actor ?y . ?y rdf:type ontology:fictional_character } } }
[]