Simple Question (Direct)
Simple Question
Q2004009
P22
Q502895
USER
Which male person was the parent of Raymond II of Rouergue ?
(Q2004009,P22,c(Q502895))
action filter_type
action find
entity Q2004009
relation P22
type Q502895
['Q2004009', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2004009 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Raymond II of Rouergue
action filter_type
action find
entity Raymond II of Rouergue
relation father
type common name
['Raymond II of Rouergue', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Raymond_II_of_Rouergue property:father ?o . ?o rdf:type ontology:common_name }
[]
common name
Q681922
SYSTEM
Ermengol of Rouergue
Q681922
(Q2004009,P22,c(Q502895))
action filter_type
action find
entity Q2004009
relation P22
type Q502895
[ANSWER] was the parent of Raymond II of Rouergue
['Q2004009', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2004009 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Ermengol of Rouergue
Ermengol of Rouergue was the parent of Raymond II of Rouergue
Ermengol of Rouergue
action filter_type
action find
entity Raymond II of Rouergue
relation father
type common name
['Raymond II of Rouergue', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Raymond_II_of_Rouergue property:father ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q681922
P7
Q502895
USER
Which person is the brother of that one ?
(Q681922,P7,c(Q502895))
action filter_type
action find
entity Q681922
relation P7
type Q502895
['Q681922', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q681922 property:P7 ?g . ?g rdf:type ontology:Q502895 }
Ermengol of Rouergue
action filter_type
action find
entity Ermengol of Rouergue
relation brother
type common name
['Ermengol of Rouergue', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ermengol_of_Rouergue property:brother ?g . ?g rdf:type ontology:common_name }
[]
common name
Q940165
SYSTEM
Raymond II, Count of Toulouse
Q940165
(Q681922,P7,c(Q502895))
action filter_type
action find
entity Q681922
relation P7
type Q502895
[ANSWER] is the brother of that one
['Q681922', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q681922 property:P7 ?g . ?g rdf:type ontology:Q502895 }
Raymond II, Count of Toulouse
Raymond II, Count of Toulouse is the brother of that one
Raymond II, Count of Toulouse
action filter_type
action find
entity Ermengol of Rouergue
relation brother
type common name
['Ermengol of Rouergue', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ermengol_of_Rouergue property:brother ?g . ?g rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3747531 Q681922
P161 P7
Q502895
USER
Which people have Ermengol of Rouergue as their brother or were casted in Fool's Gold ?
OR((Q681922,P7,c(Q502895)), (Q3747531,P161,c(Q502895)))
action filter_type
action union
action find
entity Q681922
relation P7
action find
entity Q3747531
relation P161
type Q502895
{'OR': [['Q681922', 'P7', {'concept': 'Q502895'}], ['Q3747531', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . { { resource:Q681922 property:P7 ?b } UNION { resource:Q3747531 property:P161 ?b } } }
Fool's Gold Ermengol of Rouergue
action filter_type
action union
action find
entity Ermengol of Rouergue
relation brother
action find
entity Fool's Gold
relation cast member
type common name
{'OR': [['Ermengol of Rouergue', 'brother', {'concept': 'common name'}], ["Fool's Gold", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . { { resource:Ermengol_of_Rouergue property:brother ?b } UNION { resource:Fool's_Gold property:cast_member ?b } } }
[]
common name
Q940165 Q31221 Q3317080 Q1975914
SYSTEM
Raymond II, Count of Toulouse, Evelyn Brent, Mitchell Lewis, Florence Turner
Q940165 Q31221 Q3317080 Q1975914
OR((Q681922,P7,c(Q502895)), (Q3747531,P161,c(Q502895)))
action filter_type
action union
action find
entity Q681922
relation P7
action find
entity Q3747531
relation P161
type Q502895
[ANSWERS] have Ermengol of Rouergue as their brother or were casted in Fool's Gold
{'OR': [['Q681922', 'P7', {'concept': 'Q502895'}], ['Q3747531', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . { { resource:Q681922 property:P7 ?b } UNION { resource:Q3747531 property:P161 ?b } } }
Raymond II, Count of Toulouse Evelyn Brent Mitchell Lewis Florence Turner
Raymond II, Count of Toulouse, Evelyn Brent, Mitchell Lewis and Florence Turner have Ermengol of Rouergue as their brother or were casted in Fool's Gold
Raymond II, Count of Toulouse Evelyn Brent Mitchell Lewis Florence Turner
action filter_type
action union
action find
entity Ermengol of Rouergue
relation brother
action find
entity Fool's Gold
relation cast member
type common name
{'OR': [['Ermengol of Rouergue', 'brother', {'concept': 'common name'}], ["Fool's Gold", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . { { resource:Ermengol_of_Rouergue property:brother ?b } UNION { resource:Fool's_Gold property:cast_member ?b } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
Which cinematic techniques had atleast 44 people as the dubbing artist ?
(c(Q1001378),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 44
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?b ) WHERE { ?z rdf:type ontology:Q1001378 . ?d rdf:type ontology:Q502895 . ?z property:P725 ?d } GROUP BY ?z } . FILTER ( ?b >= 44 ) }
action atleast
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 44
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?b ) WHERE { ?z rdf:type ontology:cinematic_technique . ?d rdf:type ontology:common_name . ?z property:voice_actor ?d } GROUP BY ?z } . FILTER ( ?b >= 44 ) }
[]
common name cinematic technique
Q15270647 Q9321426
SYSTEM
Zootopia, Finding Dory
Q15270647 Q9321426
(c(Q1001378),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 44
[ANSWERS] had atleast 44 people as the dubbing artist
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?b ) WHERE { ?z rdf:type ontology:Q1001378 . ?d rdf:type ontology:Q502895 . ?z property:P725 ?d } GROUP BY ?z } . FILTER ( ?b >= 44 ) }
Zootopia Finding Dory
Zootopia and Finding Dory had atleast 44 people as the dubbing artist
Zootopia Finding Dory
action atleast
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 44
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?b ) WHERE { ?z rdf:type ontology:cinematic_technique . ?d rdf:type ontology:common_name . ?z property:voice_actor ?d } GROUP BY ?z } . FILTER ( ?b >= 44 ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P725
Q502895 Q1001378
USER
Which cinematic techniques had their voice dubbing done by approximately the same number of people as that cinematic technique ?
(c(Q1001378),P725,c(Q502895))
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q2405480 ?y . ?z rdf:type ontology:Q1001378 . ?y rdf:type ontology:Q502895 }
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:cinematic_technique . ?y rdf:type ontology:common_name }
[]
common name cinematic technique
Comparative|More/Less|Single entity type|Clarification
Q15270647
SYSTEM
Did you mean Zootopia ?
(c(Q1001378),P725,c(Q502895))
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q2405480 ?y . ?z rdf:type ontology:Q1001378 . ?y rdf:type ontology:Q502895 }
Did you mean Zootopia ?
Zootopia
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:cinematic_technique . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q1001378),P725,c(Q502895))
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
[]
Q104905 Q6144664 Q15728879
SYSTEM
WALL•E, Inside Out, My Little Pony: Equestria Girls 2 – Rainbow Rocks
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))
[ANSWERS] had their voice dubbing done by approximately the same number of people as that cinematic technique
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q2405480 ?y . ?z rdf:type ontology:Q1001378 . ?y rdf:type ontology:Q502895 }
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
WALL•E, Inside Out and My Little Pony: Equestria Girls 2 – Rainbow Rocks had their voice dubbing done by approximately the same number of people as that cinematic technique
WALL•E Inside Out My Little Pony: Equestria Girls 2 – Rainbow Rocks
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:cinematic_technique . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15728879
P495
Q1048835
USER
Which political territory is the origin of that cinematic technique ?
(Q15728879,P495,c(Q1048835))
action filter_type
action find
entity Q15728879
relation P495
type Q1048835
['Q15728879', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q15728879 property:P495 ?b . ?b rdf:type ontology:Q1048835 }
My Little Pony: Equestria Girls 2 – Rainbow Rocks
action filter_type
action find
entity My Little Pony: Equestria Girls 2 – Rainbow Rocks
relation country of origin
type political territorial entity
['My Little Pony: Equestria Girls 2 – Rainbow Rocks', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:My_Little_Pony:_Equestria_Girls_2_–_Rainbow_Rocks property:country_of_origin ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q15728879
SYSTEM
Did you mean My Little Pony: Equestria Girls 2 – Rainbow Rocks ?
Q104905 Q6144664 Q15728879
(Q104905,P495,c(Q1048835)) (Q6144664,P495,c(Q1048835)) (Q15728879,P495,c(Q1048835))
[ANSWER]
['Q104905', 'P495', {'concept': 'Q1048835'}] ['Q6144664', 'P495', {'concept': 'Q1048835'}] ['Q15728879', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q15728879 property:P495 ?b . ?b rdf:type ontology:Q1048835 }
WALL•E Inside Out My Little Pony: Equestria Girls 2 – Rainbow Rocks
Did you mean My Little Pony: Equestria Girls 2 – Rainbow Rocks ?
My Little Pony: Equestria Girls 2 – Rainbow Rocks
['WALL•E', 'country of origin', {'concept': 'political territorial entity'}] ['Inside Out', 'country of origin', {'concept': 'political territorial entity'}] ['My Little Pony: Equestria Girls 2 – Rainbow Rocks', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:My_Little_Pony:_Equestria_Girls_2_–_Rainbow_Rocks property:country_of_origin ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q15728879,P495,c(Q1048835))
['Q15728879', 'P495', {'concept': 'Q1048835'}]
['My Little Pony: Equestria Girls 2 – Rainbow Rocks', 'country of origin', {'concept': 'political territorial entity'}]
[]
Q16
SYSTEM
Canada
Q16
(Q15728879,P495,c(Q1048835))
action filter_type
action find
entity Q15728879
relation P495
type Q1048835
[ANSWER] is the origin of that cinematic technique
['Q15728879', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q15728879 property:P495 ?b . ?b rdf:type ontology:Q1048835 }
Canada
Canada is the origin of that cinematic technique
Canada
action filter_type
action find
entity My Little Pony: Equestria Girls 2 – Rainbow Rocks
relation country of origin
type political territorial entity
['My Little Pony: Equestria Girls 2 – Rainbow Rocks', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:My_Little_Pony:_Equestria_Girls_2_–_Rainbow_Rocks property:country_of_origin ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q940165
P40
Q502895
USER
Who is a child of Raymond II, Count of Toulouse ?
(Q940165,P40,c(Q502895))
action filter_type
action find
entity Q940165
relation P40
type Q502895
['Q940165', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q940165 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Raymond II, Count of Toulouse
action filter_type
action find
entity Raymond II, Count of Toulouse
relation child
type common name
['Raymond II, Count of Toulouse', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Raymond_II,_Count_of_Toulouse property:child ?a . ?a rdf:type ontology:common_name }
[]
common name
Q1338833
SYSTEM
Raymond Pons, Count of Toulouse
Q1338833
(Q940165,P40,c(Q502895))
action filter_type
action find
entity Q940165
relation P40
type Q502895
A child of Raymond II , Count of Toulouse is called [ANSWER]
['Q940165', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q940165 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Raymond Pons, Count of Toulouse
A child of Raymond II , Count of Toulouse is called Raymond Pons, Count of Toulouse
Raymond Pons, Count of Toulouse
action filter_type
action find
entity Raymond II, Count of Toulouse
relation child
type common name
['Raymond II, Count of Toulouse', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Raymond_II,_Count_of_Toulouse property:child ?a . ?a rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q739694 Q940165
P40 P1346
Q502895
USER
Which people are children of Raymond II, Count of Toulouse or were the winners of BAFTA Award for Best Adapted Screenplay ?
OR((Q940165,P40,c(Q502895)), (Q739694,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q940165
relation P40
action find
entity Q739694
relation P1346
type Q502895
{'OR': [['Q940165', 'P40', {'concept': 'Q502895'}], ['Q739694', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q739694 property:P1346 ?w } UNION { resource:Q940165 property:P40 ?w } } . ?w rdf:type ontology:Q502895 }
BAFTA Award for Best Adapted Screenplay Raymond II, Count of Toulouse
action filter_type
action union
action find
entity Raymond II, Count of Toulouse
relation child
action find
entity BAFTA Award for Best Adapted Screenplay
relation winner
type common name
{'OR': [['Raymond II, Count of Toulouse', 'child', {'concept': 'common name'}], ['BAFTA Award for Best Adapted Screenplay', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:BAFTA_Award_for_Best_Adapted_Screenplay property:winner ?w } UNION { resource:Raymond_II,_Count_of_Toulouse property:child ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q235759 Q991798 Q450279 Q250545 Q711682 Q553234 Q942914 Q1723417 Q176126 Q573610
SYSTEM
Some of them are Ruth Prawer Jhabvala, Bruce Robinson, Nicholas Pileggi, Baz Luhrmann, Dick Clement, Paul Attanasio, Terry Rossio, Michael Tolkin, Philip Kaufman, Anthony McCarten
Q942914 Q314342 Q73506 Q711682 Q553234 Q312751 Q344955 Q316709 Q41148 Q4442602 Q943506 Q7177144 Q116861 Q313566 Q55428 Q3137925 Q298905 Q573610 Q715318 Q235759 Q4340905 Q337976 Q5982007 Q981246 Q250545 Q454156 Q176126 Q1793822 Q706668 Q3002053 Q1971984 Q116854 Q188726 Q611672 Q1723417 Q4465 Q299194 Q460684 Q314502 Q948122 Q1335583 Q291141 Q991798 Q931009 Q6174714 Q551429 Q450279 Q3430903 Q515274 Q1338833
OR((Q940165,P40,c(Q502895)), (Q739694,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q940165
relation P40
action find
entity Q739694
relation P1346
type Q502895
[ANSWERS] are children of Raymond II, Count of Toulouse or were the winners of BAFTA Award for Best Adapted Screenplay
{'OR': [['Q940165', 'P40', {'concept': 'Q502895'}], ['Q739694', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q739694 property:P1346 ?w } UNION { resource:Q940165 property:P40 ?w } } . ?w rdf:type ontology:Q502895 }
Terry Rossio David O. Russell Roddy Doyle Dick Clement Paul Attanasio Charlie Kaufman Richard Condon Steve Coogan Martin Scorsese Joe Stillman Ted Elliott Peter Straughan Fran Walsh Alexander Payne Neil Jordan Roger S. H. Schulman Claude Berri Anthony McCarten Jeremy Brock Ruth Prawer Jhabvala Bridget O'Connor John Hodge Ian La Frenais Gérard Brach Baz Luhrmann Elaine May Philip Kaufman Kurt Luedtke Ronald Harwood Craig Pearce Stephen Gaghan Philippa Boyens Anthony Minghella Larry McMurtry Michael Tolkin Peter Jackson Aaron Sorkin Diana Ossana Jason Reitman Peter Morgan Jim Taylor Steven Zaillian Bruce Robinson Simon Beaufoy Jeff Pope Jean-Claude Carrière Nicholas Pileggi Sheldon Turner Christopher Hampton Raymond Pons, Count of Toulouse
Ruth Prawer Jhabvala, Bruce Robinson, Nicholas Pileggi, Baz Luhrmann, Dick Clement, Paul Attanasio, Terry Rossio, Michael Tolkin, Philip Kaufman and Anthony McCarten are children of Raymond II, Count of Toulouse or were the winners of BAFTA Award for Best Adapted Screenplay
Ruth Prawer Jhabvala Bruce Robinson Nicholas Pileggi Baz Luhrmann Dick Clement Paul Attanasio Terry Rossio Michael Tolkin Philip Kaufman Anthony McCarten
action filter_type
action union
action find
entity Raymond II, Count of Toulouse
relation child
action find
entity BAFTA Award for Best Adapted Screenplay
relation winner
type common name
{'OR': [['Raymond II, Count of Toulouse', 'child', {'concept': 'common name'}], ['BAFTA Award for Best Adapted Screenplay', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:BAFTA_Award_for_Best_Adapted_Screenplay property:winner ?w } UNION { resource:Raymond_II,_Count_of_Toulouse property:child ?w } } . ?w rdf:type ontology:common_name }
[]