Simple Question (Direct)
Simple Question
Q2710851
P344
Q502895
USER
Who is appointed as the cinematographer of In the Beginning ?
(Q2710851,P344,c(Q502895))
action filter_type
action find
entity Q2710851
relation P344
type Q502895
['Q2710851', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2710851 property:P344 ?d . ?d rdf:type ontology:Q502895 }
In the Beginning
action filter_type
action find
entity In the Beginning
relation director of photography
type common name
['In the Beginning', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:In_the_Beginning property:director_of_photography ?d . ?d rdf:type ontology:common_name }
[]
common name
Q3109371
SYSTEM
Glynn Speeckaert
Q3109371
(Q2710851,P344,c(Q502895))
action filter_type
action find
entity Q2710851
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of In the Beginning
['Q2710851', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2710851 property:P344 ?d . ?d rdf:type ontology:Q502895 }
Glynn Speeckaert
Glynn Speeckaert is appointed as the cinematographer of In the Beginning
Glynn Speeckaert
action filter_type
action find
entity In the Beginning
relation director of photography
type common name
['In the Beginning', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:In_the_Beginning property:director_of_photography ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2710851
P57
Q502895
USER
Which person served as the directed of that work of art ?
(Q3109371,P57,c(Q502895))
action filter_type
action find
entity Q2710851
relation P57
type Q502895
['Q3109371', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2710851 property:P57 ?y . ?y rdf:type ontology:Q502895 }
In the Beginning
action filter_type
action find
entity In the Beginning
relation director
type common name
['Glynn Speeckaert', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:In_the_Beginning property:director ?y . ?y rdf:type ontology:common_name }
[]
common name
Q2364234
SYSTEM
Xavier Giannoli
Q2364234
(Q3109371,P57,c(Q502895))
action filter_type
action find
entity Q2710851
relation P57
type Q502895
[ANSWER] served as the directed of that work of art
['Q3109371', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2710851 property:P57 ?y . ?y rdf:type ontology:Q502895 }
Xavier Giannoli
Xavier Giannoli served as the directed of that work of art
Xavier Giannoli
action filter_type
action find
entity In the Beginning
relation director
type common name
['Glynn Speeckaert', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:In_the_Beginning property:director ?y . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q838948 Q2342494 Q107425
USER
Which works of art are max number of collectables or landscapes a component of ?
(c(Q2342494)|c(Q107425),P361,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
[[{'concept': 'Q2342494'}, {'concept': 'Q107425'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?u WHERE { { ?t rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q838948 . ?t property:P361 ?u } UNION { ?t property:P361 ?u . ?u rdf:type ontology:Q838948 . ?t rdf:type ontology:Q107425 } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?s WHERE { { ?s rdf:type ontology:Q838948 . ?z rdf:type ontology:Q2342494 . ?z property:P361 ?s } UNION { ?z property:P361 ?s . ?z rdf:type ontology:Q107425 . ?s rdf:type ontology:Q838948 } } GROUP BY ?s } . FILTER ( ?w = ?m ) }
action argmax
action union
action find_reverse_tuple_counts
relation part of
type work of art
type collectable
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
[[{'concept': 'collectable'}, {'concept': 'landscape'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?u WHERE { { ?t rdf:type ontology:collectable . ?u rdf:type ontology:work_of_art . ?t property:part_of ?u } UNION { ?t property:part_of ?u . ?u rdf:type ontology:work_of_art . ?t rdf:type ontology:landscape } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?s WHERE { { ?s rdf:type ontology:work_of_art . ?z rdf:type ontology:collectable . ?z property:part_of ?s } UNION { ?z property:part_of ?s . ?z rdf:type ontology:landscape . ?s rdf:type ontology:work_of_art } } GROUP BY ?s } . FILTER ( ?w = ?m ) }
[]
work of art collectable landscape
Q1195466 Q1297233 Q22260775
SYSTEM
The Man on the Roof, Ferdinand the Bull, Sonar Kella
Q22260775 Q1195466 Q489772 Q1297233
(c(Q2342494)|c(Q107425),P361,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2342494
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
[ANSWERS] are max number of collectables or landscapes a component of
[[{'concept': 'Q2342494'}, {'concept': 'Q107425'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?u WHERE { { ?t rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q838948 . ?t property:P361 ?u } UNION { ?t property:P361 ?u . ?u rdf:type ontology:Q838948 . ?t rdf:type ontology:Q107425 } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?s WHERE { { ?s rdf:type ontology:Q838948 . ?z rdf:type ontology:Q2342494 . ?z property:P361 ?s } UNION { ?z property:P361 ?s . ?z rdf:type ontology:Q107425 . ?s rdf:type ontology:Q838948 } } GROUP BY ?s } . FILTER ( ?w = ?m ) }
Sonar Kella The Man on the Roof Seven Wonders of the Ancient World Ferdinand the Bull
The Man on the Roof, Ferdinand the Bull and Sonar Kella are max number of collectables or landscapes a component of
The Man on the Roof Ferdinand the Bull Sonar Kella
action argmax
action union
action find_reverse_tuple_counts
relation part of
type work of art
type collectable
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
[[{'concept': 'collectable'}, {'concept': 'landscape'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?u WHERE { { ?t rdf:type ontology:collectable . ?u rdf:type ontology:work_of_art . ?t property:part_of ?u } UNION { ?t property:part_of ?u . ?u rdf:type ontology:work_of_art . ?t rdf:type ontology:landscape } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?s WHERE { { ?s rdf:type ontology:work_of_art . ?z rdf:type ontology:collectable . ?z property:part_of ?s } UNION { ?z property:part_of ?s . ?z rdf:type ontology:landscape . ?s rdf:type ontology:work_of_art } } GROUP BY ?s } . FILTER ( ?w = ?m ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q1297233
P361 P364
Q2342494
USER
Which collectables are a part of Ferdinand the Bull and were done in English language during their inception ?
AND((c(Q2342494),P361,Q1297233), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1297233
relation P361
action find_reverse
entity Q1860
relation P364
type Q2342494
{'AND': [[{'concept': 'Q2342494'}, 'P361', 'Q1297233'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2342494 . ?x property:P361 resource:Q1297233 . ?x property:P364 resource:Q1860 }
English Ferdinand the Bull
action filter_type
action intersection
action find_reverse
entity Ferdinand the Bull
relation part of
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'part of', 'Ferdinand the Bull'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:collectable . ?x property:part_of resource:Ferdinand_the_Bull . ?x property:original_language_of_work resource:English }
[]
collectable
Q1367374
SYSTEM
The Story of Ferdinand
Q1367374
AND((c(Q2342494),P361,Q1297233), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1297233
relation P361
action find_reverse
entity Q1860
relation P364
type Q2342494
[ANSWER] is a part of Ferdinand the Bull and were done in English language during their inception
{'AND': [[{'concept': 'Q2342494'}, 'P361', 'Q1297233'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2342494 . ?x property:P361 resource:Q1297233 . ?x property:P364 resource:Q1860 }
The Story of Ferdinand
The Story of Ferdinand is a part of Ferdinand the Bull and were done in English language during their inception
The Story of Ferdinand
action filter_type
action intersection
action find_reverse
entity Ferdinand the Bull
relation part of
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'part of', 'Ferdinand the Bull'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:collectable . ?x property:part_of resource:Ferdinand_the_Bull . ?x property:original_language_of_work resource:English }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q220745 Q2710851
P61 P161
Q502895
USER
Which people were casted in In the Beginning or were the inventors or discoverers of 2901 Bagehot ?
OR((Q2710851,P161,c(Q502895)), (Q220745,P61,c(Q502895)))
action filter_type
action union
action find
entity Q2710851
relation P161
action find
entity Q220745
relation P61
type Q502895
{'OR': [['Q2710851', 'P161', {'concept': 'Q502895'}], ['Q220745', 'P61', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q220745 property:P61 ?e } UNION { resource:Q2710851 property:P161 ?e } } . ?e rdf:type ontology:Q502895 }
2901 Bagehot In the Beginning
action filter_type
action union
action find
entity In the Beginning
relation cast member
action find
entity 2901 Bagehot
relation discoverer or inventor
type common name
{'OR': [['In the Beginning', 'cast member', {'concept': 'common name'}], ['2901 Bagehot', 'discoverer or inventor', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:2901_Bagehot property:discoverer_or_inventor ?e } UNION { resource:In_the_Beginning property:cast_member ?e } } . ?e rdf:type ontology:common_name }
[]
common name
Q3164850 Q3369254 Q1678002 Q3501539 Q2925088 Q27122 Q3336549 Q2997347 Q15144508 Q2405609
SYSTEM
Some of them are Jean-Claude Bolle-Reddat, Patrick Bonnel, Jacques Herlin, Stéphan Wojtowicz, Brice Fournier, Luboš Kohoutek, Nathalie Boutefeu, Corinne Masiero, Stéphane Jobert, Patrick Descamps
Q3369254 Q27122 Q241043 Q1678002 Q600051 Q3501539 Q3336549 Q2405609 Q3559680 Q15144508 Q3591178 Q3559829 Q3164850 Q2925088 Q2997347 Q257551 Q106508
OR((Q2710851,P161,c(Q502895)), (Q220745,P61,c(Q502895)))
action filter_type
action union
action find
entity Q2710851
relation P161
action find
entity Q220745
relation P61
type Q502895
[ANSWERS] were casted in In the Beginning or were the inventors or discoverers of 2901 Bagehot
{'OR': [['Q2710851', 'P161', {'concept': 'Q502895'}], ['Q220745', 'P61', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q220745 property:P61 ?e } UNION { resource:Q2710851 property:P161 ?e } } . ?e rdf:type ontology:Q502895 }
Patrick Bonnel Luboš Kohoutek Emmanuelle Devos Jacques Herlin François Cluzet Stéphan Wojtowicz Nathalie Boutefeu Patrick Descamps Vincent Jouan Stéphane Jobert Éric Herson-Macarel Vincent Rottiers Jean-Claude Bolle-Reddat Brice Fournier Corinne Masiero Soko Gérard Depardieu
Jean-Claude Bolle-Reddat, Patrick Bonnel, Jacques Herlin, Stéphan Wojtowicz, Brice Fournier, Luboš Kohoutek, Nathalie Boutefeu, Corinne Masiero, Stéphane Jobert and Patrick Descamps were casted in In the Beginning or were the inventors or discoverers of 2901 Bagehot
Jean-Claude Bolle-Reddat Patrick Bonnel Jacques Herlin Stéphan Wojtowicz Brice Fournier Luboš Kohoutek Nathalie Boutefeu Corinne Masiero Stéphane Jobert Patrick Descamps
action filter_type
action union
action find
entity In the Beginning
relation cast member
action find
entity 2901 Bagehot
relation discoverer or inventor
type common name
{'OR': [['In the Beginning', 'cast member', {'concept': 'common name'}], ['2901 Bagehot', 'discoverer or inventor', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:2901_Bagehot property:discoverer_or_inventor ?e } UNION { resource:In_the_Beginning property:cast_member ?e } } . ?e rdf:type ontology:common_name }
[]