Simple Question (Direct)
Simple Question
Q446222
P27
Q15617994
USER
Which administrative territory is Séverine Ferrer an inhabitant of ?
(Q446222,P27,c(Q15617994))
action filter_type
action find
entity Q446222
relation P27
type Q15617994
['Q446222', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q446222 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Séverine Ferrer
action filter_type
action find
entity Séverine Ferrer
relation country of citizenship
type designation for an administrative territorial entity
['Séverine Ferrer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Séverine_Ferrer property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q446222,P27,c(Q15617994))
action filter_type
action find
entity Q446222
relation P27
type Q15617994
[ANSWER] is Séverine Ferrer an inhabitant of
['Q446222', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q446222 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
France
France is Séverine Ferrer an inhabitant of
France
action filter_type
action find
entity Séverine Ferrer
relation country of citizenship
type designation for an administrative territorial entity
['Séverine Ferrer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Séverine_Ferrer property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q446222
P161
Q838948
USER
What are the name of works of art staring that person ?
(c(Q838948),P161,Q142)
action filter_type
action find_reverse
entity Q446222
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q142']
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q446222 . ?s rdf:type ontology:Q838948 }
Séverine Ferrer
action filter_type
action find_reverse
entity Séverine Ferrer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'France']
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Séverine_Ferrer . ?s rdf:type ontology:work_of_art }
[]
work of art
Q2293410 Q3021793
SYSTEM
Beaumarchais, Delphine 1, Yvan 0
Q2293410 Q3021793
(c(Q838948),P161,Q142)
action filter_type
action find_reverse
entity Q446222
relation P161
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q142']
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q446222 . ?s rdf:type ontology:Q838948 }
Beaumarchais Delphine 1, Yvan 0
The name of works of art staring that person are Beaumarchais and Delphine 1, Yvan 0
Beaumarchais Delphine 1, Yvan 0
action filter_type
action find_reverse
entity Séverine Ferrer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'France']
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Séverine_Ferrer . ?s rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1144983
P941
Q838948 Q11424 Q15416
USER
How many works of art were less number of films and television programs inspired by than Animal Kingdom ?
(c(Q11424)|c(Q15416),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1144983
relation P941
type Q11424
type Q15416
[[{'concept': 'Q11424'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?m . VALUES ( ?m ) { ( ontology:Q11424 ) ( ontology:Q15416 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q11424 ) ( ontology:Q15416 ) } } . ?w property:P941 resource:Q1144983 } } . FILTER ( ?q < ?n ) }
Animal Kingdom
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
action count
action filter_multi_types
action find_reverse
entity Animal Kingdom
relation inspired by
type film
type television program
[[{'concept': 'film'}, {'concept': 'television program'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?m . VALUES ( ?m ) { ( ontology:film ) ( ontology:television_program ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:film ) ( ontology:television_program ) } } . ?w property:inspired_by resource:Animal_Kingdom } } . FILTER ( ?q < ?n ) }
[]
work of art film television program
SYSTEM
28
Q125191 Q1136305 Q107724 Q1856846 Q7758112 Q46239 Q1852671 Q19560629 Q17738 Q1345920 Q181598 Q2568137 Q753298 Q201293 Q1754737 Q1432001 Q18668045 Q7445655 Q186014 Q4936847 Q3223805 Q5968141 Q379873 Q734834 Q375786 Q465478 Q493755 Q214619
(c(Q11424)|c(Q15416),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1144983
relation P941
type Q11424
type Q15416
[ANSWER]
[[{'concept': 'Q11424'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?m . VALUES ( ?m ) { ( ontology:Q11424 ) ( ontology:Q15416 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q11424 ) ( ontology:Q15416 ) } } . ?w property:P941 resource:Q1144983 } } . FILTER ( ?q < ?n ) }
photograph Doryphoros Thunderball The Ballad of Cable Hogue The Pretty Sister of Jose Statue of Zeus at Olympia Carnival of Souls 9/11 entschlüsselt Star Wars Episode IV: A New Hope Song of the South King Lear How to Explain Pictures to a Dead Hare Uncle Vanya Roman Holiday Lady Snowblood Torquato Tasso The Old Fisherman Seedbed Zeitgeist: The Movie Body Pressure The Judgement of Paris La sirena varada Who Framed Roger Rabbit Ghent Altarpiece Hippolytus Star Trek II: The Wrath of Khan Coming to America The Little Mermaid
28
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
action count
action filter_multi_types
action find_reverse
entity Animal Kingdom
relation inspired by
type film
type television program
[[{'concept': 'film'}, {'concept': 'television program'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?m . VALUES ( ?m ) { ( ontology:film ) ( ontology:television_program ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:film ) ( ontology:television_program ) } } . ?w property:inspired_by resource:Animal_Kingdom } } . FILTER ( ?q < ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q83186
P941
Q838948 Q11424 Q15416
USER
And also tell me about Romeo and Juliet?
(c(Q11424)|c(Q15416),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q83186
relation P941
type Q11424
type Q15416
[[{'concept': 'Q11424'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:P941 resource:Q83186 . { { ?t rdf:type ontology:Q11424 } UNION { ?t rdf:type ontology:Q15416 } } } } . FILTER ( ?l < ?m ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?x WHERE { { ?g property:P941 ?x . ?x rdf:type ontology:Q838948 . ?g rdf:type ontology:Q15416 } UNION { ?g property:P941 ?x . ?x rdf:type ontology:Q838948 . ?g rdf:type ontology:Q11424 } } GROUP BY ?x } }
Romeo and Juliet
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
action count
action filter_multi_types
action find_reverse
entity Romeo and Juliet
relation inspired by
type film
type television program
[[{'concept': 'film'}, {'concept': 'television program'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:inspired_by resource:Romeo_and_Juliet . { { ?t rdf:type ontology:film } UNION { ?t rdf:type ontology:television_program } } } } . FILTER ( ?l < ?m ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?x WHERE { { ?g property:inspired_by ?x . ?x rdf:type ontology:work_of_art . ?g rdf:type ontology:television_program } UNION { ?g property:inspired_by ?x . ?x rdf:type ontology:work_of_art . ?g rdf:type ontology:film } } GROUP BY ?x } }
[]
work of art film television program
SYSTEM
28
Q125191 Q1136305 Q107724 Q1856846 Q7758112 Q46239 Q1852671 Q19560629 Q17738 Q1345920 Q181598 Q2568137 Q753298 Q201293 Q1754737 Q1432001 Q18668045 Q7445655 Q186014 Q4936847 Q3223805 Q5968141 Q379873 Q734834 Q375786 Q465478 Q493755 Q214619
(c(Q11424)|c(Q15416),P941,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q83186
relation P941
type Q11424
type Q15416
[ANSWER]
[[{'concept': 'Q11424'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:P941 resource:Q83186 . { { ?t rdf:type ontology:Q11424 } UNION { ?t rdf:type ontology:Q15416 } } } } . FILTER ( ?l < ?m ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?x WHERE { { ?g property:P941 ?x . ?x rdf:type ontology:Q838948 . ?g rdf:type ontology:Q15416 } UNION { ?g property:P941 ?x . ?x rdf:type ontology:Q838948 . ?g rdf:type ontology:Q11424 } } GROUP BY ?x } }
photograph Doryphoros Thunderball The Ballad of Cable Hogue The Pretty Sister of Jose Statue of Zeus at Olympia Carnival of Souls 9/11 entschlüsselt Star Wars Episode IV: A New Hope Song of the South King Lear How to Explain Pictures to a Dead Hare Uncle Vanya Roman Holiday Lady Snowblood Torquato Tasso The Old Fisherman Seedbed Zeitgeist: The Movie Body Pressure The Judgement of Paris La sirena varada Who Framed Roger Rabbit Ghent Altarpiece Hippolytus Star Trek II: The Wrath of Khan Coming to America The Little Mermaid
28
action count
action less
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
action count
action filter_multi_types
action find_reverse
entity Romeo and Juliet
relation inspired by
type film
type television program
[[{'concept': 'film'}, {'concept': 'television program'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t property:inspired_by resource:Romeo_and_Juliet . { { ?t rdf:type ontology:film } UNION { ?t rdf:type ontology:television_program } } } } . FILTER ( ?l < ?m ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?x WHERE { { ?g property:inspired_by ?x . ?x rdf:type ontology:work_of_art . ?g rdf:type ontology:television_program } UNION { ?g property:inspired_by ?x . ?x rdf:type ontology:work_of_art . ?g rdf:type ontology:film } } GROUP BY ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2293410
P86
Q502895
USER
Who was Beaumarchais composed by ?
(Q2293410,P86,c(Q502895))
action filter_type
action find
entity Q2293410
relation P86
type Q502895
['Q2293410', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q2293410 property:P86 ?r }
Beaumarchais
action filter_type
action find
entity Beaumarchais
relation composer
type common name
['Beaumarchais', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Beaumarchais property:composer ?r }
[]
common name
Q327866
SYSTEM
Jean-Claude Petit
Q327866
(Q2293410,P86,c(Q502895))
action filter_type
action find
entity Q2293410
relation P86
type Q502895
By Beaumarchais was composed by [ANSWER]
['Q2293410', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q2293410 property:P86 ?r }
Jean-Claude Petit
By Beaumarchais was composed by Jean-Claude Petit
Jean-Claude Petit
action filter_type
action find
entity Beaumarchais
relation composer
type common name
['Beaumarchais', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Beaumarchais property:composer ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q327866
P1346
Q618779
USER
Where was that person decalred as a champion ?
(c(Q618779),P1346,Q327866)
action filter_type
action find_reverse
entity Q327866
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q327866']
SELECT DISTINCT ?u WHERE { ?u property:P1346 resource:Q327866 . ?u rdf:type ontology:Q618779 }
Jean-Claude Petit
action filter_type
action find_reverse
entity Jean-Claude Petit
relation winner
type award
[{'concept': 'award'}, 'winner', 'Jean-Claude Petit']
SELECT DISTINCT ?u WHERE { ?u property:winner resource:Jean-Claude_Petit . ?u rdf:type ontology:award }
[]
award
Q23091
SYSTEM
César Award for Best Music Written for a Film
Q23091
(c(Q618779),P1346,Q327866)
action filter_type
action find_reverse
entity Q327866
relation P1346
type Q618779
[ANSWER] that person was decalred as a champion
[{'concept': 'Q618779'}, 'P1346', 'Q327866']
SELECT DISTINCT ?u WHERE { ?u property:P1346 resource:Q327866 . ?u rdf:type ontology:Q618779 }
César Award for Best Music Written for a Film
César Award for Best Music Written for a Film that person was decalred as a champion
César Award for Best Music Written for a Film
action filter_type
action find_reverse
entity Jean-Claude Petit
relation winner
type award
[{'concept': 'award'}, 'winner', 'Jean-Claude Petit']
SELECT DISTINCT ?u WHERE { ?u property:winner resource:Jean-Claude_Petit . ?u rdf:type ontology:award }
[]