Simple Question (Direct)
Simple Question
Q3191042
P39
Q12737077
USER
What was the position held by Jérôme Rivière ?
(Q3191042,P39,c(Q12737077))
action filter_type
action find
entity Q3191042
relation P39
type Q12737077
['Q3191042', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3191042 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Jérôme Rivière
action filter_type
action find
entity Jérôme Rivière
relation position held
type occupation
['Jérôme Rivière', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Jérôme_Rivière property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3191042,P39,c(Q12737077))
action filter_type
action find
entity Q3191042
relation P39
type Q12737077
The position held by Jérôme Rivière was a member of the French National Assembly
['Q3191042', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3191042 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by Jérôme Rivière was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Jérôme Rivière
relation position held
type occupation
['Jérôme Rivière', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Jérôme_Rivière property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3044918
P1001
Q15617994
USER
Which administrative territory comes under the supervision of that occupation ?
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q3044918 property:P1001 ?h . ?h rdf:type ontology:Q15617994 }
member of the French National Assembly
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
[ANSWER] comes under the supervision of that occupation
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q3044918 property:P1001 ?h . ?h rdf:type ontology:Q15617994 }
France
France comes under the supervision of that occupation
France
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P291
Q838948
USER
Which work of art has that administrative territory as its release location ?
(c(Q838948),P291,Q142)
action filter_type
action find_reverse
entity Q142
relation P291
type Q838948
[{'concept': 'Q838948'}, 'P291', 'Q142']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . ?j property:P291 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation place of publication
type work of art
[{'concept': 'work of art'}, 'place of publication', 'France']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:work_of_art . ?j property:place_of_publication resource:France }
[]
work of art
Q17092250
SYSTEM
The Idea
Q17092250
(c(Q838948),P291,Q142)
action filter_type
action find_reverse
entity Q142
relation P291
type Q838948
[ANSWER] has that administrative territory as its release location
[{'concept': 'Q838948'}, 'P291', 'Q142']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . ?j property:P291 resource:Q142 }
The Idea
The Idea has that administrative territory as its release location
The Idea
action filter_type
action find_reverse
entity France
relation place of publication
type work of art
[{'concept': 'work of art'}, 'place of publication', 'France']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:work_of_art . ?j property:place_of_publication resource:France }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q17092250 Q142 Q1006431
P495
Q15617994
USER
Did that work of art originated in France and Samba ?
(Q17092250,P495,Q142) (Q17092250,P495,Q1006431)
action is_in
entity Q17092250
action intersection
action find_reverse
entity Q142
relation P495
action find_reverse
entity Q1006431
relation P495
['Q17092250', 'P495', 'Q142'] ['Q17092250', 'P495', 'Q1006431']
ASK WHERE { resource:Q17092250 property:P495 resource:Q142 . resource:Q17092250 property:P495 resource:Q1006431 }
The Idea France Samba
action is_in
entity The Idea
action intersection
action find_reverse
entity France
relation country of origin
action find_reverse
entity Samba
relation country of origin
['The Idea', 'country of origin', 'France'] ['The Idea', 'country of origin', 'Samba']
ASK WHERE { resource:The_Idea property:country_of_origin resource:France . resource:The_Idea property:country_of_origin resource:Samba }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q17092250,P495,Q142) (Q17092250,P495,Q1006431)
action is_in
entity Q17092250
action intersection
action find_reverse
entity Q142
relation P495
action find_reverse
entity Q1006431
relation P495
[ANSWER]
['Q17092250', 'P495', 'Q142'] ['Q17092250', 'P495', 'Q1006431']
ASK WHERE { resource:Q17092250 property:P495 resource:Q142 . resource:Q17092250 property:P495 resource:Q1006431 }
YES and NO respectively
action is_in
entity The Idea
action intersection
action find_reverse
entity France
relation country of origin
action find_reverse
entity Samba
relation country of origin
['The Idea', 'country of origin', 'France'] ['The Idea', 'country of origin', 'Samba']
ASK WHERE { resource:The_Idea property:country_of_origin resource:France . resource:The_Idea property:country_of_origin resource:Samba }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q142 Q40
P530
Q1048835
USER
Does Austria hold diplomatic relationship with France ?
(Q142,P530,Q40)
action is_in
entity Q40
action find
entity Q142
relation P530
['Q142', 'P530', 'Q40']
ASK WHERE { resource:Q142 property:P530 resource:Q40 }
France Austria
action is_in
entity Austria
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Austria']
ASK WHERE { resource:France property:diplomatic_relation resource:Austria }
[]
political territorial entity
SYSTEM
YES
(Q142,P530,Q40)
action is_in
entity Q40
action find
entity Q142
relation P530
[ANSWER]
['Q142', 'P530', 'Q40']
ASK WHERE { resource:Q142 property:P530 resource:Q40 }
Yes
action is_in
entity Austria
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Austria']
ASK WHERE { resource:France property:diplomatic_relation resource:Austria }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P272
Q838948
USER
Which works of art were released from the production company named that administrative territory ?
action filter_type
action find_reverse
entity Q142
relation P272
type Q838948
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q838948 . ?x property:P272 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation production company
type work of art
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:work_of_art . ?x property:production_company resource:France }
[]
work of art
Q1407653 Q3720922
SYSTEM
The Naked Maja, El Greco
Q1407653 Q3720922
action filter_type
action find_reverse
entity Q142
relation P272
type Q838948
[ANSWERS] were released from the production company named that administrative territory
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q838948 . ?x property:P272 resource:Q142 }
The Naked Maja El Greco
The Naked Maja and El Greco were released from the production company named that administrative territory
The Naked Maja El Greco
action filter_type
action find_reverse
entity France
relation production company
type work of art
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:work_of_art . ?x property:production_company resource:France }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1407653 Q3720922
P344
Q502895
USER
Which people are the cinematographers of The Naked Maja and El Greco ?
(Q1407653,P344,c(Q502895)) (Q3720922,P344,c(Q502895))
action union
action filter_type
action find
entity Q1407653
relation P344
type Q502895
action filter_type
action find
entity Q3720922
relation P344
type Q502895
['Q1407653', 'P344', {'concept': 'Q502895'}] ['Q3720922', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { resource:Q1407653 property:P344 ?a . ?a rdf:type ontology:Q502895 } UNION { resource:Q3720922 property:P344 ?a . ?a rdf:type ontology:Q502895 } }
The Naked Maja El Greco
action union
action filter_type
action find
entity The Naked Maja
relation director of photography
type common name
action filter_type
action find
entity El Greco
relation director of photography
type common name
['The Naked Maja', 'director of photography', {'concept': 'common name'}] ['El Greco', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { resource:The_Naked_Maja property:director_of_photography ?a . ?a rdf:type ontology:common_name } UNION { resource:El_Greco property:director_of_photography ?a . ?a rdf:type ontology:common_name } }
[]
common name
Q1347338 Q3830622
SYSTEM
Giuseppe Rotunno, Leonida Barboni
Q1347338 Q3830622
(Q1407653,P344,c(Q502895)) (Q3720922,P344,c(Q502895))
action union
action filter_type
action find
entity Q1407653
relation P344
type Q502895
action filter_type
action find
entity Q3720922
relation P344
type Q502895
[ANSWERS] are the cinematographers of The Naked Maja and El Greco
['Q1407653', 'P344', {'concept': 'Q502895'}] ['Q3720922', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { resource:Q1407653 property:P344 ?a . ?a rdf:type ontology:Q502895 } UNION { resource:Q3720922 property:P344 ?a . ?a rdf:type ontology:Q502895 } }
Giuseppe Rotunno Leonida Barboni
Giuseppe Rotunno and Leonida Barboni are the cinematographers of The Naked Maja and El Greco
Giuseppe Rotunno Leonida Barboni
action union
action filter_type
action find
entity The Naked Maja
relation director of photography
type common name
action filter_type
action find
entity El Greco
relation director of photography
type common name
['The Naked Maja', 'director of photography', {'concept': 'common name'}] ['El Greco', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { resource:The_Naked_Maja property:director_of_photography ?a . ?a rdf:type ontology:common_name } UNION { resource:El_Greco property:director_of_photography ?a . ?a rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1347338 Q3830622
P27
Q15617994
USER
Which administrative territories are those people a civilian of ?
(Q1347338,P27,c(Q15617994)) (Q3830622,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q1347338', 'P27', {'concept': 'Q15617994'}] ['Q3830622', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Q1347338 ) ( resource:Q3830622 ) } . ?m rdf:type ontology:Q15617994 . ?l property:P27 ?m }
Giuseppe Rotunno Leonida Barboni
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Giuseppe Rotunno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Leonida Barboni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Giuseppe_Rotunno ) ( resource:Leonida_Barboni ) } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q38 Q38
SYSTEM
Italy
Q38 Q38
(Q1347338,P27,c(Q15617994)) (Q3830622,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
Which administrative territories are those people a civilian of
['Q1347338', 'P27', {'concept': 'Q15617994'}] ['Q3830622', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Q1347338 ) ( resource:Q3830622 ) } . ?m rdf:type ontology:Q15617994 . ?l property:P27 ?m }
Italy Italy
Which administrative territories are those people a civilian of
Italy Italy
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Giuseppe Rotunno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Leonida Barboni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Giuseppe_Rotunno ) ( resource:Leonida_Barboni ) } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:country_of_citizenship ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1347338
P1411
Q4220917
USER
Which film award was Giuseppe Rotunno nominated for ?
(Q1347338,P1411,c(Q4220917))
action filter_type
action find
entity Q1347338
relation P1411
type Q4220917
['Q1347338', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?v WHERE { resource:Q1347338 property:P1411 ?v . ?v rdf:type ontology:Q4220917 }
Giuseppe Rotunno
action filter_type
action find
entity Giuseppe Rotunno
relation nominated for
type film award
['Giuseppe Rotunno', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?v WHERE { resource:Giuseppe_Rotunno property:nominated_for ?v . ?v rdf:type ontology:film_award }
[]
film award
Q131520
SYSTEM
Academy Award for Best Cinematography
Q131520
(Q1347338,P1411,c(Q4220917))
action filter_type
action find
entity Q1347338
relation P1411
type Q4220917
Giuseppe Rotunno was nominated for [ANSWER]
['Q1347338', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?v WHERE { resource:Q1347338 property:P1411 ?v . ?v rdf:type ontology:Q4220917 }
Academy Award for Best Cinematography
Giuseppe Rotunno was nominated for Academy Award for Best Cinematography
Academy Award for Best Cinematography
action filter_type
action find
entity Giuseppe Rotunno
relation nominated for
type film award
['Giuseppe Rotunno', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?v WHERE { resource:Giuseppe_Rotunno property:nominated_for ?v . ?v rdf:type ontology:film_award }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P1411
Q4220917 Q838948 Q502895
USER
How many film awards were approximately the same number of works of art or people a recipient of as that film award ?
(c(Q838948)|c(Q502895),P1411,c(Q4220917))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q131520
relation P1411
type Q838948
type Q502895
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?z rdf:type ?u } GROUP BY ?k } . FILTER ( ?x = ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:P1411 resource:Q131520 . { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } } } }
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type film award
type work of art
action find_reverse_tuple_counts
relation nominated for
type film award
type common name
action count
action filter_multi_types
action find_reverse
entity Academy Award for Best Cinematography
relation nominated for
type work of art
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?z rdf:type ?u } GROUP BY ?k } . FILTER ( ?x = ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:nominated_for resource:Academy_Award_for_Best_Cinematography . { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:common_name ) } } } } }
[]
film award work of art common name
SYSTEM
9
Q488651 Q22253133 Q1425151 Q22253131 Q277536 Q131520 Q1324407 Q917808 Q393686
(c(Q838948)|c(Q502895),P1411,c(Q4220917))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q131520
relation P1411
type Q838948
type Q502895
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?z rdf:type ?u } GROUP BY ?k } . FILTER ( ?x = ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:P1411 resource:Q131520 . { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } } } }
Academy Award for Best Original Score Academy Award for Best Art Direction, Black and White Academy Award for Best Documentary, Short Subject Academy Award for Best Art Direction, Color Academy Award for Best Costume Design Academy Award for Best Cinematography Academy Award for Best Live Action Short Film Academy Award for Best Animated Short Film Academy Award for Best Visual Effects
9
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type film award
type work of art
action find_reverse_tuple_counts
relation nominated for
type film award
type common name
action count
action filter_multi_types
action find_reverse
entity Academy Award for Best Cinematography
relation nominated for
type work of art
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?x ) WHERE { VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?z rdf:type ?u } GROUP BY ?k } . FILTER ( ?x = ?a ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:nominated_for resource:Academy_Award_for_Best_Cinematography . { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:common_name ) } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P180
Q3305213
USER
Which paintings depict Italy ?
(c(Q3305213),P180,Q38)
action filter_type
action find_reverse
entity Q38
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q38']
SELECT DISTINCT ?v WHERE { ?v property:P180 resource:Q38 . ?v rdf:type ontology:Q3305213 }
Italy
action filter_type
action find_reverse
entity Italy
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Italy']
SELECT DISTINCT ?v WHERE { ?v property:depicts resource:Italy . ?v rdf:type ontology:painting }
[]
painting
Q20022416 Q577165
SYSTEM
View of a Roman house, Sermon and Deeds of the Antichrist
Q20022416 Q577165
(c(Q3305213),P180,Q38)
action filter_type
action find_reverse
entity Q38
relation P180
type Q3305213
[ANSWERS] depict Italy
[{'concept': 'Q3305213'}, 'P180', 'Q38']
SELECT DISTINCT ?v WHERE { ?v property:P180 resource:Q38 . ?v rdf:type ontology:Q3305213 }
View of a Roman house Sermon and Deeds of the Antichrist
View of a Roman house and Sermon and Deeds of the Antichrist depict Italy
View of a Roman house Sermon and Deeds of the Antichrist
action filter_type
action find_reverse
entity Italy
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Italy']
SELECT DISTINCT ?v WHERE { ?v property:depicts resource:Italy . ?v rdf:type ontology:painting }
[]