Simple Question (Direct)
Simple Question
Q1595822
P364
Q34770
USER
Which language was used originally for the creation of The Tenth One in Hiding ?
(Q1595822,P364,c(Q34770))
action filter_type
action find
entity Q1595822
relation P364
type Q34770
['Q1595822', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q1595822 property:P364 ?n }
The Tenth One in Hiding
action filter_type
action find
entity The Tenth One in Hiding
relation original language of work
type language
['The Tenth One in Hiding', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:The_Tenth_One_in_Hiding property:original_language_of_work ?n }
[]
language
Q652
SYSTEM
Italian
Q652
(Q1595822,P364,c(Q34770))
action filter_type
action find
entity Q1595822
relation P364
type Q34770
In [ANSWER] was used originally for the creation of The Tenth One in Hiding
['Q1595822', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q1595822 property:P364 ?n }
Italian
In Italian was used originally for the creation of The Tenth One in Hiding
Italian
action filter_type
action find
entity The Tenth One in Hiding
relation original language of work
type language
['The Tenth One in Hiding', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:The_Tenth_One_in_Hiding property:original_language_of_work ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1595822
P495
Q15617994
USER
What is the country of origin of that work of art ?
(Q652,P495,c(Q15617994))
action filter_type
action find
entity Q1595822
relation P495
type Q15617994
['Q652', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1595822 property:P495 ?o }
The Tenth One in Hiding
action filter_type
action find
entity The Tenth One in Hiding
relation country of origin
type designation for an administrative territorial entity
['Italian', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Tenth_One_in_Hiding property:country_of_origin ?o }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q652,P495,c(Q15617994))
action filter_type
action find
entity Q1595822
relation P495
type Q15617994
The country of origin of that work of art is in [ANSWER]
['Q652', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1595822 property:P495 ?o }
Italy
The country of origin of that work of art is in Italy
Italy
action filter_type
action find
entity The Tenth One in Hiding
relation country of origin
type designation for an administrative territorial entity
['Italian', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Tenth_One_in_Hiding property:country_of_origin ?o }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with max number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?z ) { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?x ) WHERE { ?f rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?f property:P530 ?o } GROUP BY ?f } } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?k ) WHERE { ?q property:P530 ?p . ?q rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?q } }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?z ) { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?x ) WHERE { ?f rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?o } GROUP BY ?f } } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?k ) WHERE { ?q property:diplomatic_relation ?p . ?q rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } }
[]
designation for an administrative territorial entity political territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic relations with max number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?z ) { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?x ) WHERE { ?f rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?f property:P530 ?o } GROUP BY ?f } } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?k ) WHERE { ?q property:P530 ?p . ?q rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?q } }
Germany
Germany have diplomatic relations with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?z ) { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?x ) WHERE { ?f rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?o } GROUP BY ?f } } . FILTER ( ?k = ?z ) . { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?k ) WHERE { ?q property:diplomatic_relation ?p . ?q rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q7809
P463
Q43229
USER
Did United Nations Educational, Scientific and Cultural Organization have that political territory as its member ?
(Q183,P463,Q7809)
action is_in
entity Q7809
action find
entity Q183
relation P463
['Q183', 'P463', 'Q7809']
ASK WHERE { resource:Q183 property:P463 resource:Q7809 }
Germany United Nations Educational, Scientific and Cultural Organization
action is_in
entity United Nations Educational, Scientific and Cultural Organization
action find
entity Germany
relation member of
['Germany', 'member of', 'United Nations Educational, Scientific and Cultural Organization']
ASK WHERE { resource:Germany property:member_of resource:United_Nations_Educational,_Scientific_and_Cultural_Organization }
[]
organization
SYSTEM
YES
(Q183,P463,Q7809)
action is_in
entity Q7809
action find
entity Q183
relation P463
[ANSWER]
['Q183', 'P463', 'Q7809']
ASK WHERE { resource:Q183 property:P463 resource:Q7809 }
Yes
action is_in
entity United Nations Educational, Scientific and Cultural Organization
action find
entity Germany
relation member of
['Germany', 'member of', 'United Nations Educational, Scientific and Cultural Organization']
ASK WHERE { resource:Germany property:member_of resource:United_Nations_Educational,_Scientific_and_Cultural_Organization }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1595822 Q3938456 Q4880994
P162
Q502895
USER
Has The Tenth One in Hiding been developed by Robert W. Mann and Behrokh Khoshnevis ?
(Q1595822,P162,Q3938456) (Q1595822,P162,Q4880994)
action is_in
entity Q1595822
action intersection
action find_reverse
entity Q3938456
relation P162
action find_reverse
entity Q4880994
relation P162
['Q1595822', 'P162', 'Q3938456'] ['Q1595822', 'P162', 'Q4880994']
ASK WHERE { resource:Q1595822 property:P162 resource:Q3938456 . resource:Q1595822 property:P162 resource:Q4880994 }
The Tenth One in Hiding Robert W. Mann Behrokh Khoshnevis
action is_in
entity The Tenth One in Hiding
action intersection
action find_reverse
entity Robert W. Mann
relation producer
action find_reverse
entity Behrokh Khoshnevis
relation producer
['The Tenth One in Hiding', 'producer', 'Robert W. Mann'] ['The Tenth One in Hiding', 'producer', 'Behrokh Khoshnevis']
ASK WHERE { resource:The_Tenth_One_in_Hiding property:producer resource:Robert_W._Mann . resource:The_Tenth_One_in_Hiding property:producer resource:Behrokh_Khoshnevis }
[]
common name
SYSTEM
NO
(Q1595822,P162,Q3938456) (Q1595822,P162,Q4880994)
action is_in
entity Q1595822
action intersection
action find_reverse
entity Q3938456
relation P162
action find_reverse
entity Q4880994
relation P162
[ANSWER]
['Q1595822', 'P162', 'Q3938456'] ['Q1595822', 'P162', 'Q4880994']
ASK WHERE { resource:Q1595822 property:P162 resource:Q3938456 . resource:Q1595822 property:P162 resource:Q4880994 }
No
action is_in
entity The Tenth One in Hiding
action intersection
action find_reverse
entity Robert W. Mann
relation producer
action find_reverse
entity Behrokh Khoshnevis
relation producer
['The Tenth One in Hiding', 'producer', 'Robert W. Mann'] ['The Tenth One in Hiding', 'producer', 'Behrokh Khoshnevis']
ASK WHERE { resource:The_Tenth_One_in_Hiding property:producer resource:Robert_W._Mann . resource:The_Tenth_One_in_Hiding property:producer resource:Behrokh_Khoshnevis }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3038878 Q1595822
P161
Q502895
USER
Which people were casted in The Tenth One in Hiding or Sweet and Sour ?
OR((Q1595822,P161,c(Q502895)), (Q3038878,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1595822
relation P161
action find
entity Q3038878
relation P161
type Q502895
{'OR': [['Q1595822', 'P161', {'concept': 'Q502895'}], ['Q3038878', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Q3038878 ) ( resource:Q1595822 ) } . ?h property:P161 ?v } . ?v rdf:type ontology:Q502895 }
Sweet and Sour The Tenth One in Hiding
action filter_type
action union
action find
entity The Tenth One in Hiding
relation cast member
action find
entity Sweet and Sour
relation cast member
type common name
{'OR': [['The Tenth One in Hiding', 'cast member', {'concept': 'common name'}], ['Sweet and Sour', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Sweet_and_Sour ) ( resource:The_Tenth_One_in_Hiding ) } . ?h property:cast_member ?v } . ?v rdf:type ontology:common_name }
[]
common name
Q3433253 Q739325 Q1451173 Q738208 Q451524 Q615795 Q3490902 Q3765793 Q739521 Q1933823
SYSTEM
Some of them are Rita Renoir, Francis Blanche, François Périer, Jean-Baptiste Thierrée, Alexandra Stewart, Jacques Dufilho, Sophie Daumier, Giorgio Trestini, Jean-Pierre Marielle, Sophie Desmarets
Q537809 Q16011431 Q3554281 Q106126 Q3121553 Q451524 Q615795 Q106255 Q383420 Q3159989 Q232113 Q738208 Q2728330 Q3490902 Q3129225 Q3490942 Q240896 Q3433253 Q179152 Q106544 Q3367708 Q122806 Q3170487 Q2848910 Q739325 Q3154671 Q1360888 Q2884676 Q739521 Q1451173 Q3080886 Q677496 Q3167336 Q1933823 Q3765793 Q1849086 Q106881
OR((Q1595822,P161,c(Q502895)), (Q3038878,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1595822
relation P161
action find
entity Q3038878
relation P161
type Q502895
[ANSWERS] were casted in The Tenth One in Hiding or Sweet and Sour
{'OR': [['Q1595822', 'P161', {'concept': 'Q502895'}], ['Q3038878', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Q3038878 ) ( resource:Q1595822 ) } . ?h property:P161 ?v } . ?v rdf:type ontology:Q502895 }
Tsilla Chelton Daniel Laloux Valérie Lagrange Simone Signoret Guy Bedos Alexandra Stewart Jacques Dufilho Jean-Paul Belmondo Roger Vadim Jacques Seiler Anna Karina Jean-Baptiste Thierrée Françoise Brion Sophie Daumier Élisabeth Wiener Sophie Grimaldi Marina Vlady Rita Renoir Dominique Sanda Claude Brasseur Pascale Roberts Hartmut Becker Jean Babilée Andréa Parisy Francis Blanche Irène Tunc Jean Richard Piera Degli Esposti Jean-Pierre Marielle François Périer Francesca Solleville Georges Wilson Jean-Marc Bory Sophie Desmarets Giorgio Trestini Romolo Valli Monica Vitti
Rita Renoir, Francis Blanche, François Périer, Jean-Baptiste Thierrée, Alexandra Stewart, Jacques Dufilho, Sophie Daumier, Giorgio Trestini, Jean-Pierre Marielle and Sophie Desmarets were casted in The Tenth One in Hiding or Sweet and Sour
Rita Renoir Francis Blanche François Périer Jean-Baptiste Thierrée Alexandra Stewart Jacques Dufilho Sophie Daumier Giorgio Trestini Jean-Pierre Marielle Sophie Desmarets
action filter_type
action union
action find
entity The Tenth One in Hiding
relation cast member
action find
entity Sweet and Sour
relation cast member
type common name
{'OR': [['The Tenth One in Hiding', 'cast member', {'concept': 'common name'}], ['Sweet and Sour', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Sweet_and_Sour ) ( resource:The_Tenth_One_in_Hiding ) } . ?h property:cast_member ?v } . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 1922 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1922
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?d >= 1922 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1922
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?d >= 1922 ) }
[]
musical instrument common name
Q5994 Q8355 Q1444
SYSTEM
piano, violin, organ
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1922
[ANSWERS] can atleast 1922 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?d >= 1922 ) }
piano violin organ drum kit
Piano, violin and organ can atleast 1922 people perform with
piano violin organ
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1922
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?d >= 1922 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21460095
P1303
Q502895
USER
Does Bernard Lawson play those musical instruments ?
(Q21460095,P1303,Q5994) (Q21460095,P1303,Q8355) (Q21460095,P1303,Q1444)
action is_in
entity prev_answer
action find
entity Q21460095
relation P1303
['Q21460095', 'P1303', 'Q5994'] ['Q21460095', 'P1303', 'Q8355'] ['Q21460095', 'P1303', 'Q1444']
ASK WHERE { VALUES ( ?m ) { ( resource:Q5994 ) ( resource:Q8355 ) ( resource:Q1444 ) } . resource:Q21460095 property:P1303 ?m }
Bernard Lawson
action is_in
entity prev_answer
action find
entity Bernard Lawson
relation instrument
['Bernard Lawson', 'instrument', 'piano'] ['Bernard Lawson', 'instrument', 'violin'] ['Bernard Lawson', 'instrument', 'organ']
ASK WHERE { VALUES ( ?m ) { ( resource:piano ) ( resource:violin ) ( resource:organ ) } . resource:Bernard_Lawson property:instrument ?m }
[]
common name
SYSTEM
NO
(Q21460095,P1303,Q5994) (Q21460095,P1303,Q8355) (Q21460095,P1303,Q1444)
action is_in
entity prev_answer
action find
entity Q21460095
relation P1303
[ANSWER]
['Q21460095', 'P1303', 'Q5994'] ['Q21460095', 'P1303', 'Q8355'] ['Q21460095', 'P1303', 'Q1444']
ASK WHERE { VALUES ( ?m ) { ( resource:Q5994 ) ( resource:Q8355 ) ( resource:Q1444 ) } . resource:Q21460095 property:P1303 ?m }
No
action is_in
entity prev_answer
action find
entity Bernard Lawson
relation instrument
['Bernard Lawson', 'instrument', 'piano'] ['Bernard Lawson', 'instrument', 'violin'] ['Bernard Lawson', 'instrument', 'organ']
ASK WHERE { VALUES ( ?m ) { ( resource:piano ) ( resource:violin ) ( resource:organ ) } . resource:Bernard_Lawson property:instrument ?m }
[]