Simple Question (Direct)
Simple Question
Q383488
P25
Q502895
USER
Which female person was the parent of Louis Frederick of Saxe-Hildburghausen ?
(Q383488,P25,c(Q502895))
action filter_type
action find
entity Q383488
relation P25
type Q502895
['Q383488', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q383488 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Louis Frederick of Saxe-Hildburghausen
action filter_type
action find
entity Louis Frederick of Saxe-Hildburghausen
relation mother
type common name
['Louis Frederick of Saxe-Hildburghausen', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Louis_Frederick_of_Saxe-Hildburghausen property:mother ?c . ?c rdf:type ontology:common_name }
[]
common name
Q463339
SYSTEM
Countess Sophia Albertine of Erbach-Erbach
Q463339
(Q383488,P25,c(Q502895))
action filter_type
action find
entity Q383488
relation P25
type Q502895
[ANSWER]
['Q383488', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q383488 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Countess Sophia Albertine of Erbach-Erbach
Countess Sophia Albertine of Erbach-Erbach
action filter_type
action find
entity Louis Frederick of Saxe-Hildburghausen
relation mother
type common name
['Louis Frederick of Saxe-Hildburghausen', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Louis_Frederick_of_Saxe-Hildburghausen property:mother ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q383488
P22
Q502895
USER
Which person was the father of Louis Frederick of Saxe-Hildburghausen ?
(Q383488,P22,c(Q502895))
action filter_type
action find
entity Q383488
relation P22
type Q502895
['Q383488', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q383488 property:P22 ?s . ?s rdf:type ontology:Q502895 }
Louis Frederick of Saxe-Hildburghausen
action filter_type
action find
entity Louis Frederick of Saxe-Hildburghausen
relation father
type common name
['Louis Frederick of Saxe-Hildburghausen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Louis_Frederick_of_Saxe-Hildburghausen property:father ?s . ?s rdf:type ontology:common_name }
[]
common name
Q169080
SYSTEM
Ernest Frederick I, Duke of Saxe-Hildburghausen
Q169080
(Q383488,P22,c(Q502895))
action filter_type
action find
entity Q383488
relation P22
type Q502895
[ANSWER]
['Q383488', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q383488 property:P22 ?s . ?s rdf:type ontology:Q502895 }
Ernest Frederick I, Duke of Saxe-Hildburghausen
Ernest Frederick I, Duke of Saxe-Hildburghausen
action filter_type
action find
entity Louis Frederick of Saxe-Hildburghausen
relation father
type common name
['Louis Frederick of Saxe-Hildburghausen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Louis_Frederick_of_Saxe-Hildburghausen property:father ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10729465
Q502895
USER
And also tell me about Matsudaira Norimoto?
(Q10729465,P22,c(Q502895))
action filter_type
action find
entity Q10729465
relation P22
type Q502895
['Q10729465', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q10729465 property:P22 ?k }
Matsudaira Norimoto
action filter_type
action find
entity Matsudaira Norimoto
relation father
type common name
['Matsudaira Norimoto', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Matsudaira_Norimoto property:father ?k }
[]
common name
Q11239171
SYSTEM
Matsudaira Chikatada
Q11239171
(Q10729465,P22,c(Q502895))
action filter_type
action find
entity Q10729465
relation P22
type Q502895
[ANSWER]
['Q10729465', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q10729465 property:P22 ?k }
Matsudaira Chikatada
Matsudaira Chikatada
action filter_type
action find
entity Matsudaira Norimoto
relation father
type common name
['Matsudaira Norimoto', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Matsudaira_Norimoto property:father ?k }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q182153
P725
Q502895 Q1001378
USER
Which cinematic techniques did lesser number of people dub for than Cars ?
(c(Q1001378),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q182153
relation P725
type Q502895
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?p ) WHERE { ?o property:P725 ?t . ?o rdf:type ontology:Q1001378 . ?t rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Q182153 property:P725 ?u . ?u rdf:type ontology:Q502895 } } . FILTER ( ?p < ?j ) }
Cars
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Cars
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?p ) WHERE { ?o property:voice_actor ?t . ?o rdf:type ontology:cinematic_technique . ?t rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Cars property:voice_actor ?u . ?u rdf:type ontology:common_name } } . FILTER ( ?p < ?j ) }
[]
common name cinematic technique
Q104905 Q192212 Q170035
SYSTEM
WALL•E, Cars 2, Ratatouille
Q656998 Q2388260 Q21079862 Q27229786 Q562140 Q221679 Q192212 Q23647031 Q908816 Q3623997 Q4096274 Q655133 Q2615381 Q170035 Q2613318 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q656396 Q187266 Q15975680 Q104905
(c(Q1001378),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q182153
relation P725
type Q502895
[ANSWERS]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?p ) WHERE { ?o property:P725 ?t . ?o rdf:type ontology:Q1001378 . ?t rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Q182153 property:P725 ?u . ?u rdf:type ontology:Q502895 } } . FILTER ( ?p < ?j ) }
Garfield's Pet Force The Humpbacked Horse Cars 3 The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Meet the Robinsons Cars 2 Batman: The Killing Joke The Secret of Kells FernGully 2: The Magical Rescue The Bremen Town Musicians Treasure Island Korgoth of Barbaria Ratatouille Garfield's Fun Fest The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story WALL•E
WALL•E Cars 2 Ratatouille
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Cars
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?p ) WHERE { ?o property:voice_actor ?t . ?o rdf:type ontology:cinematic_technique . ?t rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Cars property:voice_actor ?u . ?u rdf:type ontology:common_name } } . FILTER ( ?p < ?j ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P840
Q15617994 Q56061
USER
How many administrative territories or administrative territories are that cinematic technique set in ?
(Q192212,P840,c(Q15617994)) (Q192212,P840,c(Q56061)) (Q104905,P840,c(Q15617994)) (Q104905,P840,c(Q56061)) (Q192212,P840,c(Q15617994)) (Q192212,P840,c(Q56061)) (Q170035,P840,c(Q15617994)) (Q170035,P840,c(Q56061))
['Q192212', 'P840', {'concept': 'Q15617994'}] ['Q192212', 'P840', {'concept': 'Q56061'}] ['Q104905', 'P840', {'concept': 'Q15617994'}] ['Q104905', 'P840', {'concept': 'Q56061'}] ['Q192212', 'P840', {'concept': 'Q15617994'}] ['Q192212', 'P840', {'concept': 'Q56061'}] ['Q170035', 'P840', {'concept': 'Q15617994'}] ['Q170035', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Q94355 property:P840 ?z } UNION { resource:Q94355 property:P840 ?y } UNION { resource:Q104905 property:P840 ?z } UNION { resource:Q104905 property:P840 ?y } UNION { resource:Q94355 property:P840 ?z } UNION { resource:Q94355 property:P840 ?y } UNION { resource:Q397790 property:P840 ?z } UNION { resource:Q397790 property:P840 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
['Cars 2', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Cars 2', 'narrative location', {'concept': 'administrative territorial entity'}] ['WALL•E', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['WALL•E', 'narrative location', {'concept': 'administrative territorial entity'}] ['Cars 2', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Cars 2', 'narrative location', {'concept': 'administrative territorial entity'}] ['Ratatouille', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Ratatouille', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Cars_2 property:narrative_location ?z } UNION { resource:Cars_2 property:narrative_location ?y } UNION { resource:WALL•E property:narrative_location ?z } UNION { resource:WALL•E property:narrative_location ?y } UNION { resource:Cars_2 property:narrative_location ?z } UNION { resource:Cars_2 property:narrative_location ?y } UNION { resource:Ratatouille property:narrative_location ?z } UNION { resource:Ratatouille property:narrative_location ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
designation for an administrative territorial entity administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q104905
SYSTEM
Did you mean WALL•E ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Q94355 property:P840 ?z } UNION { resource:Q94355 property:P840 ?y } UNION { resource:Q104905 property:P840 ?z } UNION { resource:Q104905 property:P840 ?y } UNION { resource:Q94355 property:P840 ?z } UNION { resource:Q94355 property:P840 ?y } UNION { resource:Q397790 property:P840 ?z } UNION { resource:Q397790 property:P840 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
Did you mean WALL•E ?
WALL•E
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Cars_2 property:narrative_location ?z } UNION { resource:Cars_2 property:narrative_location ?y } UNION { resource:WALL•E property:narrative_location ?z } UNION { resource:WALL•E property:narrative_location ?y } UNION { resource:Cars_2 property:narrative_location ?z } UNION { resource:Cars_2 property:narrative_location ?y } UNION { resource:Ratatouille property:narrative_location ?z } UNION { resource:Ratatouille property:narrative_location ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Cars 2. Could you tell me the answer for that?
(Q192212,P840,c(Q15617994)) (Q192212,P840,c(Q56061)) (Q104905,P840,c(Q15617994)) (Q104905,P840,c(Q56061)) (Q192212,P840,c(Q15617994)) (Q192212,P840,c(Q56061)) (Q170035,P840,c(Q15617994)) (Q170035,P840,c(Q56061))
Q192212
['Q192212', 'P840', {'concept': 'Q15617994'}] ['Q192212', 'P840', {'concept': 'Q56061'}] ['Q104905', 'P840', {'concept': 'Q15617994'}] ['Q104905', 'P840', {'concept': 'Q56061'}] ['Q192212', 'P840', {'concept': 'Q15617994'}] ['Q192212', 'P840', {'concept': 'Q56061'}] ['Q170035', 'P840', {'concept': 'Q15617994'}] ['Q170035', 'P840', {'concept': 'Q56061'}]
['Cars 2', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Cars 2', 'narrative location', {'concept': 'administrative territorial entity'}] ['WALL•E', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['WALL•E', 'narrative location', {'concept': 'administrative territorial entity'}] ['Cars 2', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Cars 2', 'narrative location', {'concept': 'administrative territorial entity'}] ['Ratatouille', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Ratatouille', 'narrative location', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
4
Q1490 Q38 Q90 Q84
(Q192212,P840,c(Q15617994)) (Q192212,P840,c(Q56061)) (Q104905,P840,c(Q15617994)) (Q104905,P840,c(Q56061)) (Q192212,P840,c(Q15617994)) (Q192212,P840,c(Q56061)) (Q170035,P840,c(Q15617994)) (Q170035,P840,c(Q56061))
[ANSWER]
['Q192212', 'P840', {'concept': 'Q15617994'}] ['Q192212', 'P840', {'concept': 'Q56061'}] ['Q104905', 'P840', {'concept': 'Q15617994'}] ['Q104905', 'P840', {'concept': 'Q56061'}] ['Q192212', 'P840', {'concept': 'Q15617994'}] ['Q192212', 'P840', {'concept': 'Q56061'}] ['Q170035', 'P840', {'concept': 'Q15617994'}] ['Q170035', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Q94355 property:P840 ?z } UNION { resource:Q94355 property:P840 ?y } UNION { resource:Q104905 property:P840 ?z } UNION { resource:Q104905 property:P840 ?y } UNION { resource:Q94355 property:P840 ?z } UNION { resource:Q94355 property:P840 ?y } UNION { resource:Q397790 property:P840 ?z } UNION { resource:Q397790 property:P840 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
Tokyo Italy Paris London
4
['Cars 2', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Cars 2', 'narrative location', {'concept': 'administrative territorial entity'}] ['WALL•E', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['WALL•E', 'narrative location', {'concept': 'administrative territorial entity'}] ['Cars 2', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Cars 2', 'narrative location', {'concept': 'administrative territorial entity'}] ['Ratatouille', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['Ratatouille', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Cars_2 property:narrative_location ?z } UNION { resource:Cars_2 property:narrative_location ?y } UNION { resource:WALL•E property:narrative_location ?z } UNION { resource:WALL•E property:narrative_location ?y } UNION { resource:Cars_2 property:narrative_location ?z } UNION { resource:Cars_2 property:narrative_location ?y } UNION { resource:Ratatouille property:narrative_location ?z } UNION { resource:Ratatouille property:narrative_location ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11239171
P40
Q502895
USER
Who are an offsprings of Matsudaira Chikatada ?
(Q11239171,P40,c(Q502895))
action filter_type
action find
entity Q11239171
relation P40
type Q502895
['Q11239171', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q11239171 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Matsudaira Chikatada
action filter_type
action find
entity Matsudaira Chikatada
relation child
type common name
['Matsudaira Chikatada', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Matsudaira_Chikatada property:child ?p . ?p rdf:type ontology:common_name }
[]
common name
Q11239108 Q11530587 Q10729465
SYSTEM
Matsudaira Nagachika, Matsudaira Chikanaga, Matsudaira Norimoto
Q11530587 Q10729465 Q11530420 Q11239108
(Q11239171,P40,c(Q502895))
action filter_type
action find
entity Q11239171
relation P40
type Q502895
[ANSWERS]
['Q11239171', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q11239171 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Matsudaira Chikanaga Matsudaira Norimoto Matsudaira Harutada Matsudaira Nagachika
Matsudaira Nagachika Matsudaira Chikanaga Matsudaira Norimoto
action filter_type
action find
entity Matsudaira Chikatada
relation child
type common name
['Matsudaira Chikatada', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Matsudaira_Chikatada property:child ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q11239108 Q11530587 Q10729465
P7
Q502895
USER
Who have Matsudaira Nagachika, Matsudaira Chikanaga and Matsudaira Norimoto as their sibling ?
(c(Q502895),P7,Q11239108) (c(Q502895),P7,Q11530587) (c(Q502895),P7,Q10729465)
action union
action filter_type
action find
entity Q11239108
relation P7
type Q502895
action filter_type
action find
entity Q11530587
relation P7
type Q502895
action filter_type
action find
entity Q10729465
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q11239108'] [{'concept': 'Q502895'}, 'P7', 'Q11530587'] [{'concept': 'Q502895'}, 'P7', 'Q10729465']
SELECT DISTINCT ?y WHERE { VALUES ( ?g ) { ( resource:Q11239108 ) ( resource:Q11530587 ) } . ?g property:P7 ?y }
Matsudaira Nagachika Matsudaira Chikanaga Matsudaira Norimoto
action union
action filter_type
action find
entity Matsudaira Nagachika
relation brother
type common name
action filter_type
action find
entity Matsudaira Chikanaga
relation brother
type common name
action filter_type
action find
entity Matsudaira Norimoto
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Matsudaira Nagachika'] [{'concept': 'common name'}, 'brother', 'Matsudaira Chikanaga'] [{'concept': 'common name'}, 'brother', 'Matsudaira Norimoto']
SELECT DISTINCT ?y WHERE { VALUES ( ?g ) { ( resource:Matsudaira_Nagachika ) ( resource:Matsudaira_Chikanaga ) } . ?g property:brother ?y }
[]
common name
Q11239108 Q11239108 Q10729465
SYSTEM
Matsudaira Norimoto for 3rd, Matsudaira Nagachika for 1st, 2nd
Q11530420 Q10729465 Q11530587 Q11530420 Q11239108 Q10729465 Q11530420 Q11239108 Q11530587
(c(Q502895),P7,Q11239108) (c(Q502895),P7,Q11530587) (c(Q502895),P7,Q10729465)
action union
action filter_type
action find
entity Q11239108
relation P7
type Q502895
action filter_type
action find
entity Q11530587
relation P7
type Q502895
action filter_type
action find
entity Q10729465
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q11239108'] [{'concept': 'Q502895'}, 'P7', 'Q11530587'] [{'concept': 'Q502895'}, 'P7', 'Q10729465']
SELECT DISTINCT ?y WHERE { VALUES ( ?g ) { ( resource:Q11239108 ) ( resource:Q11530587 ) } . ?g property:P7 ?y }
Matsudaira Harutada Matsudaira Norimoto Matsudaira Chikanaga Matsudaira Harutada Matsudaira Nagachika Matsudaira Norimoto Matsudaira Harutada Matsudaira Nagachika Matsudaira Chikanaga
Matsudaira Nagachika Matsudaira Nagachika Matsudaira Norimoto
action union
action filter_type
action find
entity Matsudaira Nagachika
relation brother
type common name
action filter_type
action find
entity Matsudaira Chikanaga
relation brother
type common name
action filter_type
action find
entity Matsudaira Norimoto
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Matsudaira Nagachika'] [{'concept': 'common name'}, 'brother', 'Matsudaira Chikanaga'] [{'concept': 'common name'}, 'brother', 'Matsudaira Norimoto']
SELECT DISTINCT ?y WHERE { VALUES ( ?g ) { ( resource:Matsudaira_Nagachika ) ( resource:Matsudaira_Chikanaga ) } . ?g property:brother ?y }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11239108
P53
Q8436
USER
What dynasty does that person belong to ?
(Q11239108,P53,c(Q8436))
action filter_type
action find
entity Q11239108
relation P53
type Q8436
['Q11239108', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?b WHERE { resource:Q11239108 property:P53 ?b . ?b rdf:type ontology:Q8436 }
Matsudaira Nagachika
action filter_type
action find
entity Matsudaira Nagachika
relation noble family
type family
['Matsudaira Nagachika', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?b WHERE { resource:Matsudaira_Nagachika property:noble_family ?b . ?b rdf:type ontology:family }
[]
family
Clarification for simple ques.
Q10729465
SYSTEM
Did you mean Matsudaira Norimoto ?
Q11239108 Q11239108 Q10729465
(Q11239108,P53,c(Q8436)) (Q11239108,P53,c(Q8436)) (Q10729465,P53,c(Q8436))
[ANSWER]
['Q11239108', 'P53', {'concept': 'Q8436'}] ['Q11239108', 'P53', {'concept': 'Q8436'}] ['Q10729465', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?b WHERE { resource:Q11239108 property:P53 ?b . ?b rdf:type ontology:Q8436 }
Matsudaira Nagachika Matsudaira Nagachika Matsudaira Norimoto
Did you mean Matsudaira Norimoto ?
Matsudaira Norimoto
['Matsudaira Nagachika', 'noble family', {'concept': 'family'}] ['Matsudaira Nagachika', 'noble family', {'concept': 'family'}] ['Matsudaira Norimoto', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?b WHERE { resource:Matsudaira_Nagachika property:noble_family ?b . ?b rdf:type ontology:family }
[]
Simple Question (Coreferenced)
USER
No, I meant Matsudaira Nagachika. Could you tell me the answer for that?
(Q11239108,P53,c(Q8436))
Q11239108
['Q11239108', 'P53', {'concept': 'Q8436'}]
['Matsudaira Nagachika', 'noble family', {'concept': 'family'}]
[]
Q1141077
SYSTEM
Matsudaira clan
Q1141077
(Q11239108,P53,c(Q8436))
action filter_type
action find
entity Q11239108
relation P53
type Q8436
[ANSWER]
['Q11239108', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?b WHERE { resource:Q11239108 property:P53 ?b . ?b rdf:type ontology:Q8436 }
Matsudaira clan
Matsudaira clan
action filter_type
action find
entity Matsudaira Nagachika
relation noble family
type family
['Matsudaira Nagachika', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?b WHERE { resource:Matsudaira_Nagachika property:noble_family ?b . ?b rdf:type ontology:family }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1967719 Q11239108
P22 P1346
Q502895
USER
Which people were the dad of Matsudaira Nagachika or were the champions of National Society of Film Critics Award for Best Supporting Actress ?
OR((Q11239108,P22,c(Q502895)), (Q1967719,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q11239108
relation P22
action find
entity Q1967719
relation P1346
type Q502895
{'OR': [['Q11239108', 'P22', {'concept': 'Q502895'}], ['Q1967719', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q11239108 property:P22 ?f } UNION { resource:Q1967719 property:P1346 ?f } } }
National Society of Film Critics Award for Best Supporting Actress Matsudaira Nagachika
action filter_type
action union
action find
entity Matsudaira Nagachika
relation father
action find
entity National Society of Film Critics Award for Best Supporting Actress
relation winner
type common name
{'OR': [['Matsudaira Nagachika', 'father', {'concept': 'common name'}], ['National Society of Film Critics Award for Best Supporting Actress', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:Matsudaira_Nagachika property:father ?f } UNION { resource:National_Society_of_Film_Critics_Award_for_Best_Supporting_Actress property:winner ?f } } }
[]
common name
Q272613 Q80966 Q211144 Q217573 Q231163 Q6766329 Q190602 Q80405 Q237178 Q229784
SYSTEM
Some of them are Billie Whitelaw, Cate Blanchett, Ellen Burstyn, Dianne Wiest, Olivia Williams, Marjorie Rhodes, Annette Bening, Julianne Moore, Jane Horrocks, Virginia Madsen
Q481832 Q217573 Q237178 Q229271 Q234921 Q229784 Q229169 Q189490 Q176455 Q209098 Q236181 Q259986 Q80405 Q237778 Q229268 Q229042 Q349391 Q258246 Q229305 Q231163 Q442907 Q272613 Q190602 Q11239171 Q232933 Q873 Q230841 Q454156 Q80966 Q28921 Q41351 Q28054 Q190998 Q215976 Q211144 Q261456 Q235870 Q4766738 Q236250 Q173585 Q108935 Q307882 Q6766329 Q229313
OR((Q11239108,P22,c(Q502895)), (Q1967719,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q11239108
relation P22
action find
entity Q1967719
relation P1346
type Q502895
[ANSWERS]
{'OR': [['Q11239108', 'P22', {'concept': 'Q502895'}], ['Q1967719', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q11239108 property:P22 ?f } UNION { resource:Q1967719 property:P1346 ?f } } }
Amy Adams Dianne Wiest Jane Horrocks Lily Tomlin Bibi Andersson Virginia Madsen Mo'Nique Jennifer Lawrence Melanie Griffith Madeleine Stowe Sandra Bernhard Valentina Cortese Julianne Moore Siân Phillips Patricia Clarkson Barbara Hershey Helen Mirren Lois Smith Joan Allen Olivia Williams Jeannie Berlin Billie Whitelaw Annette Bening Matsudaira Chikatada Mercedes Ruehl Meryl Streep Maureen Stapleton Elaine May Cate Blanchett Hanna Schygulla Jodie Foster Judi Dench Anjelica Huston Patricia Arquette Ellen Burstyn Delphine Seyrig Chloë Sevigny Ann Wedgeworth Kathy Baker Jessica Lange Mary Steenburgen Judy Davis Marjorie Rhodes Jessica Chastain
Billie Whitelaw Cate Blanchett Ellen Burstyn Dianne Wiest Olivia Williams Marjorie Rhodes Annette Bening Julianne Moore Jane Horrocks Virginia Madsen
action filter_type
action union
action find
entity Matsudaira Nagachika
relation father
action find
entity National Society of Film Critics Award for Best Supporting Actress
relation winner
type common name
{'OR': [['Matsudaira Nagachika', 'father', {'concept': 'common name'}], ['National Society of Film Critics Award for Best Supporting Actress', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:Matsudaira_Nagachika property:father ?f } UNION { resource:National_Society_of_Film_Critics_Award_for_Best_Supporting_Actress property:winner ?f } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4806631
P1346
Q618779
USER
Were Asian Film Award for Best Director won by those people ?
(Q4806631,P1346,Q272613) (Q4806631,P1346,Q80966) (Q4806631,P1346,Q211144) (Q4806631,P1346,Q217573) (Q4806631,P1346,Q231163) (Q4806631,P1346,Q6766329) (Q4806631,P1346,Q190602) (Q4806631,P1346,Q80405) (Q4806631,P1346,Q237178) (Q4806631,P1346,Q229784)
action is_in
entity prev_answer
action find
entity Q4806631
relation P1346
['Q4806631', 'P1346', 'Q272613'] ['Q4806631', 'P1346', 'Q80966'] ['Q4806631', 'P1346', 'Q211144'] ['Q4806631', 'P1346', 'Q217573'] ['Q4806631', 'P1346', 'Q231163'] ['Q4806631', 'P1346', 'Q6766329'] ['Q4806631', 'P1346', 'Q190602'] ['Q4806631', 'P1346', 'Q80405'] ['Q4806631', 'P1346', 'Q237178'] ['Q4806631', 'P1346', 'Q229784']
ASK WHERE { resource:Q4806631 property:P1346 ?y . VALUES ( ?y ) { ( resource:Q481832 ) ( resource:Q217573 ) ( resource:Q237178 ) } }
Asian Film Award for Best Director
action is_in
entity prev_answer
action find
entity Asian Film Award for Best Director
relation winner
['Asian Film Award for Best Director', 'winner', 'Billie Whitelaw'] ['Asian Film Award for Best Director', 'winner', 'Cate Blanchett'] ['Asian Film Award for Best Director', 'winner', 'Ellen Burstyn'] ['Asian Film Award for Best Director', 'winner', 'Dianne Wiest'] ['Asian Film Award for Best Director', 'winner', 'Olivia Williams'] ['Asian Film Award for Best Director', 'winner', 'Marjorie Rhodes'] ['Asian Film Award for Best Director', 'winner', 'Annette Bening'] ['Asian Film Award for Best Director', 'winner', 'Julianne Moore'] ['Asian Film Award for Best Director', 'winner', 'Jane Horrocks'] ['Asian Film Award for Best Director', 'winner', 'Virginia Madsen']
ASK WHERE { resource:Asian_Film_Award_for_Best_Director property:winner ?y . VALUES ( ?y ) { ( resource:Amy_Adams ) ( resource:Dianne_Wiest ) ( resource:Jane_Horrocks ) } }
[]
award
SYSTEM
NO
(Q4806631,P1346,Q272613) (Q4806631,P1346,Q80966) (Q4806631,P1346,Q211144) (Q4806631,P1346,Q217573) (Q4806631,P1346,Q231163) (Q4806631,P1346,Q6766329) (Q4806631,P1346,Q190602) (Q4806631,P1346,Q80405) (Q4806631,P1346,Q237178) (Q4806631,P1346,Q229784)
action is_in
entity prev_answer
action find
entity Q4806631
relation P1346
[ANSWER]
['Q4806631', 'P1346', 'Q272613'] ['Q4806631', 'P1346', 'Q80966'] ['Q4806631', 'P1346', 'Q211144'] ['Q4806631', 'P1346', 'Q217573'] ['Q4806631', 'P1346', 'Q231163'] ['Q4806631', 'P1346', 'Q6766329'] ['Q4806631', 'P1346', 'Q190602'] ['Q4806631', 'P1346', 'Q80405'] ['Q4806631', 'P1346', 'Q237178'] ['Q4806631', 'P1346', 'Q229784']
ASK WHERE { resource:Q4806631 property:P1346 ?y . VALUES ( ?y ) { ( resource:Q481832 ) ( resource:Q217573 ) ( resource:Q237178 ) } }
No
action is_in
entity prev_answer
action find
entity Asian Film Award for Best Director
relation winner
['Asian Film Award for Best Director', 'winner', 'Billie Whitelaw'] ['Asian Film Award for Best Director', 'winner', 'Cate Blanchett'] ['Asian Film Award for Best Director', 'winner', 'Ellen Burstyn'] ['Asian Film Award for Best Director', 'winner', 'Dianne Wiest'] ['Asian Film Award for Best Director', 'winner', 'Olivia Williams'] ['Asian Film Award for Best Director', 'winner', 'Marjorie Rhodes'] ['Asian Film Award for Best Director', 'winner', 'Annette Bening'] ['Asian Film Award for Best Director', 'winner', 'Julianne Moore'] ['Asian Film Award for Best Director', 'winner', 'Jane Horrocks'] ['Asian Film Award for Best Director', 'winner', 'Virginia Madsen']
ASK WHERE { resource:Asian_Film_Award_for_Best_Director property:winner ?y . VALUES ( ?y ) { ( resource:Amy_Adams ) ( resource:Dianne_Wiest ) ( resource:Jane_Horrocks ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q133050 Q80405
P166
Q4220917
USER
Which film awards were awarded to Julianne Moore and Susan Sarandon ?
AND((Q80405,P166,c(Q4220917)), (Q133050,P166,c(Q4220917)))
action filter_type
action intersection
action find
entity Q80405
relation P166
action find
entity Q133050
relation P166
type Q4220917
{'AND': [['Q80405', 'P166', {'concept': 'Q4220917'}], ['Q133050', 'P166', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?l WHERE { resource:Q80405 property:P166 ?l . resource:Q133050 property:P166 ?l . ?l rdf:type ontology:Q4220917 }
Susan Sarandon Julianne Moore
action filter_type
action intersection
action find
entity Julianne Moore
relation award received
action find
entity Susan Sarandon
relation award received
type film award
{'AND': [['Julianne Moore', 'award received', {'concept': 'film award'}], ['Susan Sarandon', 'award received', {'concept': 'film award'}]]}
SELECT DISTINCT ?l WHERE { resource:Julianne_Moore property:award_received ?l . resource:Susan_Sarandon property:award_received ?l . ?l rdf:type ontology:film_award }
[]
film award
Q103618
SYSTEM
Academy Award for Best Actress
Q103618
AND((Q80405,P166,c(Q4220917)), (Q133050,P166,c(Q4220917)))
action filter_type
action intersection
action find
entity Q80405
relation P166
action find
entity Q133050
relation P166
type Q4220917
[ANSWER]
{'AND': [['Q80405', 'P166', {'concept': 'Q4220917'}], ['Q133050', 'P166', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?l WHERE { resource:Q80405 property:P166 ?l . resource:Q133050 property:P166 ?l . ?l rdf:type ontology:Q4220917 }
Academy Award for Best Actress
Academy Award for Best Actress
action filter_type
action intersection
action find
entity Julianne Moore
relation award received
action find
entity Susan Sarandon
relation award received
type film award
{'AND': [['Julianne Moore', 'award received', {'concept': 'film award'}], ['Susan Sarandon', 'award received', {'concept': 'film award'}]]}
SELECT DISTINCT ?l WHERE { resource:Julianne_Moore property:award_received ?l . resource:Susan_Sarandon property:award_received ?l . ?l rdf:type ontology:film_award }
[]