Simple Question (Direct)
Simple Question
Q786222
P344
Q502895
USER
Which person is the cinematographer of A Gentle Woman ?
(Q786222,P344,c(Q502895))
action filter_type
action find
entity Q786222
relation P344
type Q502895
['Q786222', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q786222 property:P344 ?f }
A Gentle Woman
action filter_type
action find
entity A Gentle Woman
relation director of photography
type common name
['A Gentle Woman', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:A_Gentle_Woman property:director_of_photography ?f }
[]
common name
Q1521771
SYSTEM
Ghislain Cloquet
Q1521771
(Q786222,P344,c(Q502895))
action filter_type
action find
entity Q786222
relation P344
type Q502895
[ANSWER] is the cinematographer of A Gentle Woman
['Q786222', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q786222 property:P344 ?f }
Ghislain Cloquet
Ghislain Cloquet is the cinematographer of A Gentle Woman
Ghislain Cloquet
action filter_type
action find
entity A Gentle Woman
relation director of photography
type common name
['A Gentle Woman', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:A_Gentle_Woman property:director_of_photography ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q786222
P840
Q56061
USER
What location is that work of art set in ?
(Q1521771,P840,c(Q56061))
action filter_type
action find
entity Q786222
relation P840
type Q56061
['Q1521771', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q786222 property:P840 ?f . ?f rdf:type ontology:Q56061 }
A Gentle Woman
action filter_type
action find
entity A Gentle Woman
relation narrative location
type administrative territorial entity
['Ghislain Cloquet', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:A_Gentle_Woman property:narrative_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q1521771,P840,c(Q56061))
action filter_type
action find
entity Q786222
relation P840
type Q56061
That work of art is set in [ANSWER]
['Q1521771', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q786222 property:P840 ?f . ?f rdf:type ontology:Q56061 }
Paris
That work of art is set in Paris
Paris
action filter_type
action find
entity A Gentle Woman
relation narrative location
type administrative territorial entity
['Ghislain Cloquet', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:A_Gentle_Woman property:narrative_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P417
Q1445650 Q56061
USER
How many administrative territories have more number of holidays as their patron saint than that administrative territory ?
(c(Q56061),P417,c(Q1445650))
action count
action greater
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_type
action find
entity Q90
relation P417
type Q56061
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?z ) WHERE { ?y rdf:type ontology:Q56061 . ?v rdf:type ontology:Q1445650 . ?y property:P417 ?v } GROUP BY ?y } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q90 property:P417 ?t . ?t rdf:type ontology:Q56061 } } }
action count
action greater
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_type
action find
entity Paris
relation patron saint
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?z ) WHERE { ?y rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:holiday . ?y property:patron_saint ?v } GROUP BY ?y } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Paris property:patron_saint ?t . ?t rdf:type ontology:administrative_territorial_entity } } }
[]
holiday administrative territorial entity
SYSTEM
5
Q491588 Q495798 Q428018 Q52215 Q433066
(c(Q56061),P417,c(Q1445650))
action count
action greater
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_type
action find
entity Q90
relation P417
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?z ) WHERE { ?y rdf:type ontology:Q56061 . ?v rdf:type ontology:Q1445650 . ?y property:P417 ?v } GROUP BY ?y } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q90 property:P417 ?t . ?t rdf:type ontology:Q56061 } } }
Camporeale Brolo Mölten Tuglie Moos in Passeier
5
action count
action greater
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_type
action find
entity Paris
relation patron saint
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?z ) WHERE { ?y rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:holiday . ?y property:patron_saint ?v } GROUP BY ?y } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Paris property:patron_saint ?t . ?t rdf:type ontology:administrative_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q786222
P58
Q502895
USER
Who wrote the script for A Gentle Woman ?
(Q786222,P58,c(Q502895))
action filter_type
action find
entity Q786222
relation P58
type Q502895
['Q786222', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q786222 property:P58 ?r . ?r rdf:type ontology:Q502895 }
A Gentle Woman
action filter_type
action find
entity A Gentle Woman
relation screenwriter
type common name
['A Gentle Woman', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:A_Gentle_Woman property:screenwriter ?r . ?r rdf:type ontology:common_name }
[]
common name
Q55391
SYSTEM
Robert Bresson
Q55391
(Q786222,P58,c(Q502895))
action filter_type
action find
entity Q786222
relation P58
type Q502895
[ANSWER] wrote the script for A Gentle Woman
['Q786222', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q786222 property:P58 ?r . ?r rdf:type ontology:Q502895 }
Robert Bresson
Robert Bresson wrote the script for A Gentle Woman
Robert Bresson
action filter_type
action find
entity A Gentle Woman
relation screenwriter
type common name
['A Gentle Woman', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:A_Gentle_Woman property:screenwriter ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q786222
P57
Q502895
USER
Who was that work of art directed by ?
(Q55391,P57,c(Q502895))
action filter_type
action find
entity Q786222
relation P57
type Q502895
['Q55391', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q786222 property:P57 ?o . ?o rdf:type ontology:Q502895 }
A Gentle Woman
action filter_type
action find
entity A Gentle Woman
relation director
type common name
['Robert Bresson', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:A_Gentle_Woman property:director ?o . ?o rdf:type ontology:common_name }
[]
common name
Q55391
SYSTEM
Robert Bresson
Q55391
(Q55391,P57,c(Q502895))
action filter_type
action find
entity Q786222
relation P57
type Q502895
By that work of art directed was the [ANSWER]
['Q55391', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q786222 property:P57 ?o . ?o rdf:type ontology:Q502895 }
Robert Bresson
By that work of art directed was the Robert Bresson
Robert Bresson
action filter_type
action find
entity A Gentle Woman
relation director
type common name
['Robert Bresson', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:A_Gentle_Woman property:director ?o . ?o rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2963160 Q1521771
P19
Q56061
USER
Which administrative territories are the places of birth of Ghislain Cloquet or Chez Damier ?
OR((Q1521771,P19,c(Q56061)), (Q2963160,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1521771
relation P19
action find
entity Q2963160
relation P19
type Q56061
{'OR': [['Q1521771', 'P19', {'concept': 'Q56061'}], ['Q2963160', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1521771 property:P19 ?n } UNION { resource:Q2963160 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
Chez Damier Ghislain Cloquet
action filter_type
action union
action find
entity Ghislain Cloquet
relation place of birth
action find
entity Chez Damier
relation place of birth
type administrative territorial entity
{'OR': [['Ghislain Cloquet', 'place of birth', {'concept': 'administrative territorial entity'}], ['Chez Damier', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Ghislain_Cloquet property:place_of_birth ?n } UNION { resource:Chez_Damier property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12892 Q1297
SYSTEM
Antwerp, Chicago
Q12892 Q1297
OR((Q1521771,P19,c(Q56061)), (Q2963160,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1521771
relation P19
action find
entity Q2963160
relation P19
type Q56061
[ANSWERS] are the places of birth of Ghislain Cloquet or Chez Damier
{'OR': [['Q1521771', 'P19', {'concept': 'Q56061'}], ['Q2963160', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1521771 property:P19 ?n } UNION { resource:Q2963160 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
Antwerp Chicago
Antwerp and Chicago are the places of birth of Ghislain Cloquet or Chez Damier
Antwerp Chicago
action filter_type
action union
action find
entity Ghislain Cloquet
relation place of birth
action find
entity Chez Damier
relation place of birth
type administrative territorial entity
{'OR': [['Ghislain Cloquet', 'place of birth', {'concept': 'administrative territorial entity'}], ['Chez Damier', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Ghislain_Cloquet property:place_of_birth ?n } UNION { resource:Chez_Damier property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q502967 Q55391
P1346
Q618779
USER
Which awards were won by Robert Bresson or Art of Noise ?
OR((c(Q618779),P1346,Q55391), (c(Q618779),P1346,Q502967))
action filter_type
action union
action find_reverse
entity Q55391
relation P1346
action find_reverse
entity Q502967
relation P1346
type Q618779
{'OR': [[{'concept': 'Q618779'}, 'P1346', 'Q55391'], [{'concept': 'Q618779'}, 'P1346', 'Q502967']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P1346 resource:Q502967 } UNION { ?w property:P1346 resource:Q55391 } } . ?w rdf:type ontology:Q618779 }
Art of Noise Robert Bresson
action filter_type
action union
action find_reverse
entity Robert Bresson
relation winner
action find_reverse
entity Art of Noise
relation winner
type award
{'OR': [[{'concept': 'award'}, 'winner', 'Robert Bresson'], [{'concept': 'award'}, 'winner', 'Art of Noise']]}
SELECT DISTINCT ?w WHERE { { { ?w property:winner resource:Art_of_Noise } UNION { ?w property:winner resource:Robert_Bresson } } . ?w rdf:type ontology:award }
[]
award
Q1161132 Q734335 Q847813
SYSTEM
MTV Video Music Award for Most Experimental Video, Louis Delluc Prize, MTV Video Music Award for Best Editing
Q1161132 Q734335 Q847813
OR((c(Q618779),P1346,Q55391), (c(Q618779),P1346,Q502967))
action filter_type
action union
action find_reverse
entity Q55391
relation P1346
action find_reverse
entity Q502967
relation P1346
type Q618779
[ANSWERS] were won by Robert Bresson or Art of Noise
{'OR': [[{'concept': 'Q618779'}, 'P1346', 'Q55391'], [{'concept': 'Q618779'}, 'P1346', 'Q502967']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P1346 resource:Q502967 } UNION { ?w property:P1346 resource:Q55391 } } . ?w rdf:type ontology:Q618779 }
MTV Video Music Award for Most Experimental Video Louis Delluc Prize MTV Video Music Award for Best Editing
MTV Video Music Award for Most Experimental Video, Louis Delluc Prize and MTV Video Music Award for Best Editing were won by Robert Bresson or Art of Noise
MTV Video Music Award for Most Experimental Video Louis Delluc Prize MTV Video Music Award for Best Editing
action filter_type
action union
action find_reverse
entity Robert Bresson
relation winner
action find_reverse
entity Art of Noise
relation winner
type award
{'OR': [[{'concept': 'award'}, 'winner', 'Robert Bresson'], [{'concept': 'award'}, 'winner', 'Art of Noise']]}
SELECT DISTINCT ?w WHERE { { { ?w property:winner resource:Art_of_Noise } UNION { ?w property:winner resource:Robert_Bresson } } . ?w rdf:type ontology:award }
[]