Simple Question (Direct)
Simple Question
Q11584769
P9
Q502895
USER
Who are the siblings of Imperial Prince Iso no Kami ?
(Q11584769,P9,c(Q502895))
action filter_type
action find
entity Q11584769
relation P9
type Q502895
['Q11584769', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q11584769 property:P9 ?f . ?f rdf:type ontology:Q502895 }
Imperial Prince Iso no Kami
action filter_type
action find
entity Imperial Prince Iso no Kami
relation sister
type common name
['Imperial Prince Iso no Kami', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Imperial_Prince_Iso_no_Kami property:sister ?f . ?f rdf:type ontology:common_name }
[]
common name
Q298057 Q11597250
SYSTEM
Suiko, Anahobe no Hashihito no Himemiko
Q298057 Q11597250
(Q11584769,P9,c(Q502895))
action filter_type
action find
entity Q11584769
relation P9
type Q502895
The siblings of Imperial Prince Iso no Kami are named [ANSWERS]
['Q11584769', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q11584769 property:P9 ?f . ?f rdf:type ontology:Q502895 }
Suiko Anahobe no Hashihito no Himemiko
The siblings of Imperial Prince Iso no Kami are named Suiko and Anahobe no Hashihito no Himemiko
Suiko Anahobe no Hashihito no Himemiko
action filter_type
action find
entity Imperial Prince Iso no Kami
relation sister
type common name
['Imperial Prince Iso no Kami', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Imperial_Prince_Iso_no_Kami property:sister ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q298057
P27
Q15617994
USER
Which administrative territory is Suiko a civilian of ?
(Q298057,P27,c(Q15617994))
action filter_type
action find
entity Q298057
relation P27
type Q15617994
['Q298057', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q298057 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Suiko
action filter_type
action find
entity Suiko
relation country of citizenship
type designation for an administrative territorial entity
['Suiko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Suiko property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q298057,P27,c(Q15617994))
action filter_type
action find
entity Q298057
relation P27
type Q15617994
[ANSWER] is Suiko a civilian of
['Q298057', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q298057 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Japan
Japan is Suiko a civilian of
Japan
action filter_type
action find
entity Suiko
relation country of citizenship
type designation for an administrative territorial entity
['Suiko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Suiko property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17 Q1028334
P463
Q874405
USER
How many social groups were Japan or Cambridge University Library a member of ?
(Q17,P463,c(Q874405)) (Q1028334,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q17
relation P463
type Q874405
action filter_type
action find
entity Q1028334
relation P463
type Q874405
['Q17', 'P463', {'concept': 'Q874405'}] ['Q1028334', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { resource:Q17 property:P463 ?o . ?o rdf:type ontology:Q874405 } UNION { resource:Q1028334 property:P463 ?o . ?o rdf:type ontology:Q874405 } }
Japan Cambridge University Library
action count
action union
action filter_type
action find
entity Japan
relation member of
type social group
action filter_type
action find
entity Cambridge University Library
relation member of
type social group
['Japan', 'member of', {'concept': 'social group'}] ['Cambridge University Library', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { resource:Japan property:member_of ?o . ?o rdf:type ontology:social_group } UNION { resource:Cambridge_University_Library property:member_of ?o . ?o rdf:type ontology:social_group } }
[]
social group
SYSTEM
2
Q782942 Q5275956
(Q17,P463,c(Q874405)) (Q1028334,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q17
relation P463
type Q874405
action filter_type
action find
entity Q1028334
relation P463
type Q874405
[ANSWER]
['Q17', 'P463', {'concept': 'Q874405'}] ['Q1028334', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { resource:Q17 property:P463 ?o . ?o rdf:type ontology:Q874405 } UNION { resource:Q1028334 property:P463 ?o . ?o rdf:type ontology:Q874405 } }
Australia Group Digital Preservation Coalition
2
action count
action union
action filter_type
action find
entity Japan
relation member of
type social group
action filter_type
action find
entity Cambridge University Library
relation member of
type social group
['Japan', 'member of', {'concept': 'social group'}] ['Cambridge University Library', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { resource:Japan property:member_of ?o . ?o rdf:type ontology:social_group } UNION { resource:Cambridge_University_Library property:member_of ?o . ?o rdf:type ontology:social_group } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q298057
P25
Q502895
USER
Who are the offspring of Suiko ?
(c(Q502895),P25,Q298057)
action filter_type
action find_reverse
entity Q298057
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q298057']
SELECT DISTINCT ?z WHERE { ?z property:P25 resource:Q298057 . ?z rdf:type ontology:Q502895 }
Suiko
action filter_type
action find_reverse
entity Suiko
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Suiko']
SELECT DISTINCT ?z WHERE { ?z property:mother resource:Suiko . ?z rdf:type ontology:common_name }
[]
common name
Q11459566 Q10509070 Q11577210
SYSTEM
Princess Woharida, Princess Uji no Shitsukahi, Princess Tame
Q11459566 Q10509070 Q11577210 Q11620912 Q11599359
(c(Q502895),P25,Q298057)
action filter_type
action find_reverse
entity Q298057
relation P25
type Q502895
The offspring of Suiko are the [ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q298057']
SELECT DISTINCT ?z WHERE { ?z property:P25 resource:Q298057 . ?z rdf:type ontology:Q502895 }
Princess Woharida Princess Uji no Shitsukahi Princess Tame Prince Wohari Prince Takeda
The offspring of Suiko are the Princess Woharida, Princess Uji no Shitsukahi and Princess Tame
Princess Woharida Princess Uji no Shitsukahi Princess Tame
action filter_type
action find_reverse
entity Suiko
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Suiko']
SELECT DISTINCT ?z WHERE { ?z property:mother resource:Suiko . ?z rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10509070
P22
Q502895
USER
Who was the father of that one ?
(Q10509070,P22,c(Q502895))
action filter_type
action find
entity Q10509070
relation P22
type Q502895
['Q10509070', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q10509070 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Princess Uji no Shitsukahi
action filter_type
action find
entity Princess Uji no Shitsukahi
relation father
type common name
['Princess Uji no Shitsukahi', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Princess_Uji_no_Shitsukahi property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q10509070
SYSTEM
Did you mean Princess Uji no Shitsukahi ?
Q11459566 Q10509070 Q11577210
(Q11459566,P22,c(Q502895)) (Q10509070,P22,c(Q502895)) (Q11577210,P22,c(Q502895))
[ANSWER]
['Q11459566', 'P22', {'concept': 'Q502895'}] ['Q10509070', 'P22', {'concept': 'Q502895'}] ['Q11577210', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q10509070 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Princess Woharida Princess Uji no Shitsukahi Princess Tame
Did you mean Princess Uji no Shitsukahi ?
Princess Uji no Shitsukahi
['Princess Woharida', 'father', {'concept': 'common name'}] ['Princess Uji no Shitsukahi', 'father', {'concept': 'common name'}] ['Princess Tame', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Princess_Uji_no_Shitsukahi property:father ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q10509070,P22,c(Q502895))
['Q10509070', 'P22', {'concept': 'Q502895'}]
['Princess Uji no Shitsukahi', 'father', {'concept': 'common name'}]
[]
Q316637
SYSTEM
Bidatsu
Q316637
(Q10509070,P22,c(Q502895))
action filter_type
action find
entity Q10509070
relation P22
type Q502895
The father of that one was [ANSWER]
['Q10509070', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q10509070 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Bidatsu
The father of that one was Bidatsu
Bidatsu
action filter_type
action find
entity Princess Uji no Shitsukahi
relation father
type common name
['Princess Uji no Shitsukahi', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Princess_Uji_no_Shitsukahi property:father ?f . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
How many works of art had around 26 people as the dubbing artist ?
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 26
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?y rdf:type ontology:Q838948 . ?m rdf:type ontology:Q502895 . ?y property:P725 ?m } GROUP BY ?y } . FILTER ( ?j = 26 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
value 26
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?y rdf:type ontology:work_of_art . ?m rdf:type ontology:common_name . ?y property:voice_actor ?m } GROUP BY ?y } . FILTER ( ?j = 26 ) }
[]
common name work of art
SYSTEM
3
Q477365 Q16857406 Q19263748
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 26
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?y rdf:type ontology:Q838948 . ?m rdf:type ontology:Q502895 . ?y property:P725 ?m } GROUP BY ?y } . FILTER ( ?j = 26 ) }
101 Dalmatians II: Patch's London Adventure The Jungle Book The Anthem of the Heart
3
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
value 26
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { ?y rdf:type ontology:work_of_art . ?m rdf:type ontology:common_name . ?y property:voice_actor ?m } GROUP BY ?y } . FILTER ( ?j = 26 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q15728879
P725
Q502895 Q1001378
USER
How many cinematic techniques had their voice dubbing done by approximately the same number of people as My Little Pony: Equestria Girls 2 – Rainbow Rocks ?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q15728879
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?z ) WHERE { ?m property:P725 ?j . ?m rdf:type ontology:Q1001378 . ?j rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Q15728879 property:P725 ?c . ?c rdf:type ontology:Q1001378 } } . FILTER ( ?z = ?t ) }
My Little Pony: Equestria Girls 2 – Rainbow Rocks
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity My Little Pony: Equestria Girls 2 – Rainbow Rocks
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?z ) WHERE { ?m property:voice_actor ?j . ?m rdf:type ontology:cinematic_technique . ?j rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:My_Little_Pony:_Equestria_Girls_2_–_Rainbow_Rocks property:voice_actor ?c . ?c rdf:type ontology:cinematic_technique } } . FILTER ( ?z = ?t ) }
[]
common name cinematic technique
SYSTEM
42
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q2388653 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q15728879
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?z ) WHERE { ?m property:P725 ?j . ?m rdf:type ontology:Q1001378 . ?j rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Q15728879 property:P725 ?c . ?c rdf:type ontology:Q1001378 } } . FILTER ( ?z = ?t ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Tom Sawyer Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
42
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity My Little Pony: Equestria Girls 2 – Rainbow Rocks
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?z ) WHERE { ?m property:voice_actor ?j . ?m rdf:type ontology:cinematic_technique . ?j rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:My_Little_Pony:_Equestria_Girls_2_–_Rainbow_Rocks property:voice_actor ?c . ?c rdf:type ontology:cinematic_technique } } . FILTER ( ?z = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q244434
P725
Q502895 Q1001378
USER
And what about Lady and the Tramp II: Scamp's Adventure?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q244434
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?d ) WHERE { ?l property:P725 ?n . ?l rdf:type ontology:Q1001378 . ?n rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q244434 property:P725 ?j . ?j rdf:type ontology:Q1001378 } } . FILTER ( ?d = ?o ) }
Lady and the Tramp II: Scamp's Adventure
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Lady and the Tramp II: Scamp's Adventure
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?d ) WHERE { ?l property:voice_actor ?n . ?l rdf:type ontology:cinematic_technique . ?n rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Lady_and_the_Tramp_II:_Scamp's_Adventure property:voice_actor ?j . ?j rdf:type ontology:cinematic_technique } } . FILTER ( ?d = ?o ) }
[]
common name cinematic technique
SYSTEM
42
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q2388653 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q244434
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?d ) WHERE { ?l property:P725 ?n . ?l rdf:type ontology:Q1001378 . ?n rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Q244434 property:P725 ?j . ?j rdf:type ontology:Q1001378 } } . FILTER ( ?d = ?o ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Tom Sawyer Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
42
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Lady and the Tramp II: Scamp's Adventure
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?d ) WHERE { ?l property:voice_actor ?n . ?l rdf:type ontology:cinematic_technique . ?n rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { resource:Lady_and_the_Tramp_II:_Scamp's_Adventure property:voice_actor ?j . ?j rdf:type ontology:cinematic_technique } } . FILTER ( ?d = ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q316637
P40
Q502895
USER
Who have Bidatsu as a child ?
(c(Q502895),P40,Q316637)
action filter_type
action find_reverse
entity Q316637
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q316637']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P40 resource:Q316637 }
Bidatsu
action filter_type
action find_reverse
entity Bidatsu
relation child
type common name
[{'concept': 'common name'}, 'child', 'Bidatsu']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:child resource:Bidatsu }
[]
common name
Q329792 Q11585498
SYSTEM
Kimmei, Princesse Kura no Wayaka-Hime
Q329792 Q11585498
(c(Q502895),P40,Q316637)
action filter_type
action find_reverse
entity Q316637
relation P40
type Q502895
[ANSWERS] have Bidatsu as a child
[{'concept': 'Q502895'}, 'P40', 'Q316637']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P40 resource:Q316637 }
Kimmei Princesse Kura no Wayaka-Hime
Kimmei and Princesse Kura no Wayaka-Hime have Bidatsu as a child
Kimmei Princesse Kura no Wayaka-Hime
action filter_type
action find_reverse
entity Bidatsu
relation child
type common name
[{'concept': 'common name'}, 'child', 'Bidatsu']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:child resource:Bidatsu }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q329792 Q11585498
P26
Q502895
USER
Which people are the spouses of Kimmei and Princesse Kura no Wayaka-Hime ?
(Q329792,P26,c(Q502895)) (Q11585498,P26,c(Q502895))
action union
action filter_type
action find
entity Q329792
relation P26
type Q502895
action filter_type
action find
entity Q11585498
relation P26
type Q502895
['Q329792', 'P26', {'concept': 'Q502895'}] ['Q11585498', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q502895 . resource:Q329792 property:P26 ?j } UNION { ?j rdf:type ontology:Q502895 . resource:Q11585498 property:P26 ?j } }
Kimmei Princesse Kura no Wayaka-Hime
action union
action filter_type
action find
entity Kimmei
relation spouse
type common name
action filter_type
action find
entity Princesse Kura no Wayaka-Hime
relation spouse
type common name
['Kimmei', 'spouse', {'concept': 'common name'}] ['Princesse Kura no Wayaka-Hime', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:common_name . resource:Kimmei property:spouse ?j } UNION { ?j rdf:type ontology:common_name . resource:Princesse_Kura_no_Wayaka-Hime property:spouse ?j } }
[]
common name
Q11585498 Q7554458 Q329792
SYSTEM
Princesse Kura no Wayaka-Hime, Soga no Kitashihime, Kimmei
Q11585498 Q7554458 Q329792
(Q329792,P26,c(Q502895)) (Q11585498,P26,c(Q502895))
action union
action filter_type
action find
entity Q329792
relation P26
type Q502895
action filter_type
action find
entity Q11585498
relation P26
type Q502895
[ANSWERS] are the spouses of Kimmei and Princesse Kura no Wayaka-Hime
['Q329792', 'P26', {'concept': 'Q502895'}] ['Q11585498', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q502895 . resource:Q329792 property:P26 ?j } UNION { ?j rdf:type ontology:Q502895 . resource:Q11585498 property:P26 ?j } }
Princesse Kura no Wayaka-Hime Soga no Kitashihime Kimmei
Princesse Kura no Wayaka-Hime, Soga no Kitashihime and Kimmei are the spouses of Kimmei and Princesse Kura no Wayaka-Hime
Princesse Kura no Wayaka-Hime Soga no Kitashihime Kimmei
action union
action filter_type
action find
entity Kimmei
relation spouse
type common name
action filter_type
action find
entity Princesse Kura no Wayaka-Hime
relation spouse
type common name
['Kimmei', 'spouse', {'concept': 'common name'}] ['Princesse Kura no Wayaka-Hime', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:common_name . resource:Kimmei property:spouse ?j } UNION { ?j rdf:type ontology:common_name . resource:Princesse_Kura_no_Wayaka-Hime property:spouse ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q329792
P22
Q502895
USER
Which people have Kimmei as a parent ?
(c(Q502895),P22,Q11585498) (c(Q502895),P22,Q7554458) (c(Q502895),P22,Q329792)
action filter_type
action find_reverse
entity Q329792
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q11585498'] [{'concept': 'Q502895'}, 'P22', 'Q7554458'] [{'concept': 'Q502895'}, 'P22', 'Q329792']
SELECT DISTINCT ?r WHERE { ?r property:P22 resource:Q329792 . ?r rdf:type ontology:Q502895 }
Kimmei
action filter_type
action find_reverse
entity Kimmei
relation father
type common name
[{'concept': 'common name'}, 'father', 'Princesse Kura no Wayaka-Hime'] [{'concept': 'common name'}, 'father', 'Soga no Kitashihime'] [{'concept': 'common name'}, 'father', 'Kimmei']
SELECT DISTINCT ?r WHERE { ?r property:father resource:Kimmei . ?r rdf:type ontology:common_name }
[]
common name
Q316637 Q349281 Q349238
SYSTEM
Bidatsu, Yōmei, Sushun
Q11537858 Q11597248 Q349238 Q11584775 Q11620913 Q316637 Q298057 Q349281 Q11597250 Q11584769
(c(Q502895),P22,Q11585498) (c(Q502895),P22,Q7554458) (c(Q502895),P22,Q329792)
action filter_type
action find_reverse
entity Q329792
relation P22
type Q502895
[ANSWERS] have Kimmei as a parent
[{'concept': 'Q502895'}, 'P22', 'Q11585498'] [{'concept': 'Q502895'}, 'P22', 'Q7554458'] [{'concept': 'Q502895'}, 'P22', 'Q329792']
SELECT DISTINCT ?r WHERE { ?r property:P22 resource:Q329792 . ?r rdf:type ontology:Q502895 }
Imperial Prince Sakurawi Imperial Prince Amatsukabe Anahobe Sushun Imperial Prince Iso no Kami Be Imperial Prince Katsuraki Bidatsu Suiko Yōmei Anahobe no Hashihito no Himemiko Imperial Prince Iso no Kami
Bidatsu, Yōmei and Sushun have Kimmei as a parent
Bidatsu Yōmei Sushun
action filter_type
action find_reverse
entity Kimmei
relation father
type common name
[{'concept': 'common name'}, 'father', 'Princesse Kura no Wayaka-Hime'] [{'concept': 'common name'}, 'father', 'Soga no Kitashihime'] [{'concept': 'common name'}, 'father', 'Kimmei']
SELECT DISTINCT ?r WHERE { ?r property:father resource:Kimmei . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q349281
P7
Q502895
USER
Who are siblings of that one ?
(c(Q502895),P7,Q349281)
action filter_type
action find_reverse
entity Q349281
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q349281']
SELECT DISTINCT ?n WHERE { ?n property:P7 resource:Q349281 . ?n rdf:type ontology:Q502895 }
Yōmei
action filter_type
action find_reverse
entity Yōmei
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Yōmei']
SELECT DISTINCT ?n WHERE { ?n property:brother resource:Yōmei . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q316637
SYSTEM
Did you mean Bidatsu ?
Q316637 Q349281 Q349238
(c(Q502895),P7,Q316637) (c(Q502895),P7,Q349281) (c(Q502895),P7,Q349238)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q316637'] [{'concept': 'Q502895'}, 'P7', 'Q349281'] [{'concept': 'Q502895'}, 'P7', 'Q349238']
SELECT DISTINCT ?n WHERE { ?n property:P7 resource:Q349281 . ?n rdf:type ontology:Q502895 }
Bidatsu Yōmei Sushun
Did you mean Bidatsu ?
Bidatsu
[{'concept': 'common name'}, 'brother', 'Bidatsu'] [{'concept': 'common name'}, 'brother', 'Yōmei'] [{'concept': 'common name'}, 'brother', 'Sushun']
SELECT DISTINCT ?n WHERE { ?n property:brother resource:Yōmei . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Yōmei. Could you tell me the answer for that?
(c(Q502895),P7,Q349281)
Q349281
[{'concept': 'Q502895'}, 'P7', 'Q349281']
[{'concept': 'common name'}, 'brother', 'Yōmei']
[]
Q316637 Q298057 Q349238
SYSTEM
Bidatsu, Suiko, Sushun
Q11537858 Q11597248 Q349238 Q11584775 Q11620913 Q316637 Q298057 Q11597250 Q11584769
(c(Q502895),P7,Q349281)
action filter_type
action find_reverse
entity Q349281
relation P7
type Q502895
Siblings of that one are the [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q349281']
SELECT DISTINCT ?n WHERE { ?n property:P7 resource:Q349281 . ?n rdf:type ontology:Q502895 }
Imperial Prince Sakurawi Imperial Prince Amatsukabe Anahobe Sushun Imperial Prince Iso no Kami Be Imperial Prince Katsuraki Bidatsu Suiko Anahobe no Hashihito no Himemiko Imperial Prince Iso no Kami
Siblings of that one are the Bidatsu, Suiko and Sushun
Bidatsu Suiko Sushun
action filter_type
action find_reverse
entity Yōmei
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Yōmei']
SELECT DISTINCT ?n WHERE { ?n property:brother resource:Yōmei . ?n rdf:type ontology:common_name }
[]