Simple Question (Direct)
Simple Question
Q3346130
P57
Q502895
USER
Who directed Golden Night ?
(Q3346130,P57,c(Q502895))
action filter_type
action find
entity Q3346130
relation P57
type Q502895
['Q3346130', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3346130 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Golden Night
action filter_type
action find
entity Golden Night
relation director
type common name
['Golden Night', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Golden_Night property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q348890
SYSTEM
Serge Moati
Q348890
(Q3346130,P57,c(Q502895))
action filter_type
action find
entity Q3346130
relation P57
type Q502895
[ANSWER] directed Golden Night
['Q3346130', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3346130 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Serge Moati
Serge Moati directed Golden Night
Serge Moati
action filter_type
action find
entity Golden Night
relation director
type common name
['Golden Night', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Golden_Night property:director ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3346130
P161
Q502895
USER
Who were casted in that work of art ?
(Q348890,P161,c(Q502895))
action filter_type
action find
entity Q3346130
relation P161
type Q502895
['Q348890', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3346130 property:P161 ?w . ?w rdf:type ontology:Q502895 }
Golden Night
action filter_type
action find
entity Golden Night
relation cast member
type common name
['Serge Moati', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Golden_Night property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
common name
Q55419 Q449640 Q2406963
SYSTEM
Klaus Kinski, Anny Duperey, Jean-Pierre Sentier
Q1549201 Q3069183 Q3311701 Q55419 Q2406963 Q2941811 Q92249 Q599249 Q3295846 Q449640 Q3554303 Q965918 Q965584 Q128820 Q116314
(Q348890,P161,c(Q502895))
action filter_type
action find
entity Q3346130
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q348890', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3346130 property:P161 ?w . ?w rdf:type ontology:Q502895 }
Raymond Bussières Fernand Guiot Michèle Simonnet Klaus Kinski Jean-Pierre Sentier Catherine Arditi Elisabeth Flickenschildt Bernard Blier Martine de Breteuil Anny Duperey Valérie Pascal Charles Vanel Maurice Ronet Marie Dubois Jean-Luc Bideau
Klaus Kinski, Anny Duperey and Jean-Pierre Sentier were casted in that work of art
Klaus Kinski Anny Duperey Jean-Pierre Sentier
action filter_type
action find
entity Golden Night
relation cast member
type common name
['Serge Moati', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Golden_Night property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3346130
P161
Q838948
USER
Do Golden Night have those people in their star cast ?
(Q3346130,P161,Q55419) (Q3346130,P161,Q449640) (Q3346130,P161,Q2406963)
action is_in
entity prev_answer
action find
entity Q3346130
relation P161
['Q3346130', 'P161', 'Q55419'] ['Q3346130', 'P161', 'Q449640'] ['Q3346130', 'P161', 'Q2406963']
ASK WHERE { resource:Q3346130 property:P161 ?q . VALUES ( ?q ) { ( resource:Q1549201 ) ( resource:Q3069183 ) ( resource:Q3311701 ) } }
Golden Night
action is_in
entity prev_answer
action find
entity Golden Night
relation cast member
['Golden Night', 'cast member', 'Klaus Kinski'] ['Golden Night', 'cast member', 'Anny Duperey'] ['Golden Night', 'cast member', 'Jean-Pierre Sentier']
ASK WHERE { resource:Golden_Night property:cast_member ?q . VALUES ( ?q ) { ( resource:Raymond_Bussières ) ( resource:Fernand_Guiot ) ( resource:Michèle_Simonnet ) } }
[]
work of art
SYSTEM
YES
(Q3346130,P161,Q55419) (Q3346130,P161,Q449640) (Q3346130,P161,Q2406963)
action is_in
entity prev_answer
action find
entity Q3346130
relation P161
[ANSWER]
['Q3346130', 'P161', 'Q55419'] ['Q3346130', 'P161', 'Q449640'] ['Q3346130', 'P161', 'Q2406963']
ASK WHERE { resource:Q3346130 property:P161 ?q . VALUES ( ?q ) { ( resource:Q1549201 ) ( resource:Q3069183 ) ( resource:Q3311701 ) } }
Yes
action is_in
entity prev_answer
action find
entity Golden Night
relation cast member
['Golden Night', 'cast member', 'Klaus Kinski'] ['Golden Night', 'cast member', 'Anny Duperey'] ['Golden Night', 'cast member', 'Jean-Pierre Sentier']
ASK WHERE { resource:Golden_Night property:cast_member ?q . VALUES ( ?q ) { ( resource:Raymond_Bussières ) ( resource:Fernand_Guiot ) ( resource:Michèle_Simonnet ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q449640 Q142
P27
Q15617994
USER
Is France the country of citizenship of that person ?
(Q449640,P27,Q142)
action is_in
entity Q142
action find
entity Q449640
relation P27
['Q449640', 'P27', 'Q142']
ASK WHERE { resource:Q449640 property:P27 resource:Q142 }
Anny Duperey France
action is_in
entity France
action find
entity Anny Duperey
relation country of citizenship
['Anny Duperey', 'country of citizenship', 'France']
ASK WHERE { resource:Anny_Duperey property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q449640,P27,Q142)
action is_in
entity Q142
action find
entity Q449640
relation P27
[ANSWER]
['Q449640', 'P27', 'Q142']
ASK WHERE { resource:Q449640 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Anny Duperey
relation country of citizenship
['Anny Duperey', 'country of citizenship', 'France']
ASK WHERE { resource:Anny_Duperey property:country_of_citizenship resource:France }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q449640
P108
Q4830453
USER
Which business enterprise does Anny Duperey work for ?
(Q449640,P108,c(Q4830453))
action filter_type
action find
entity Q449640
relation P108
type Q4830453
['Q449640', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q4830453 . resource:Q449640 property:P108 ?g }
Anny Duperey
action filter_type
action find
entity Anny Duperey
relation employer
type business enterprise
['Anny Duperey', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:business_enterprise . resource:Anny_Duperey property:employer ?g }
[]
business enterprise
Q1340362
SYSTEM
Radio Classique
Q1340362
(Q449640,P108,c(Q4830453))
action filter_type
action find
entity Q449640
relation P108
type Q4830453
Anny Duperey works with [ANSWER]
['Q449640', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q4830453 . resource:Q449640 property:P108 ?g }
Radio Classique
Anny Duperey works with Radio Classique
Radio Classique
action filter_type
action find
entity Anny Duperey
relation employer
type business enterprise
['Anny Duperey', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:business_enterprise . resource:Anny_Duperey property:employer ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q4830453 Q28640
USER
How many professions are exactly 1 business enterprise the subordinate of ?
(c(Q28640),P355,c(Q4830453))
action count
action equal
action find_tuple_counts
relation P355
type Q28640
type Q4830453
value 1
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?i ) WHERE { ?d property:P355 ?o . ?d rdf:type ontology:Q28640 . ?o rdf:type ontology:Q4830453 } GROUP BY ?d } }
action count
action equal
action find_tuple_counts
relation subsidiary
type profession
type business enterprise
value 1
[{'concept': 'profession'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?i ) WHERE { ?d property:subsidiary ?o . ?d rdf:type ontology:profession . ?o rdf:type ontology:business_enterprise } GROUP BY ?d } }
[]
business enterprise profession
SYSTEM
2
Q94933 Q188273
(c(Q28640),P355,c(Q4830453))
action count
action equal
action find_tuple_counts
relation P355
type Q28640
type Q4830453
value 1
[ANSWER]
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?i ) WHERE { ?d property:P355 ?o . ?d rdf:type ontology:Q28640 . ?o rdf:type ontology:Q4830453 } GROUP BY ?d } }
Take-Two Interactive Ubisoft
2
action count
action equal
action find_tuple_counts
relation subsidiary
type profession
type business enterprise
value 1
[{'concept': 'profession'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?i ) WHERE { ?d property:subsidiary ?o . ?d rdf:type ontology:profession . ?o rdf:type ontology:business_enterprise } GROUP BY ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q55419 Q15572940
P57
Q838948
USER
How many works of art are Klaus Kinski or Gaurav a director of ?
(c(Q838948),P57,Q55419) (c(Q838948),P57,Q15572940)
action count
action union
action filter_type
action find_reverse
entity Q55419
relation P57
type Q838948
action filter_type
action find_reverse
entity Q15572940
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q55419'] [{'concept': 'Q838948'}, 'P57', 'Q15572940']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { ?b property:P57 resource:Q55419 . ?b rdf:type ontology:Q838948 } UNION { ?b property:P57 resource:Q15572940 . ?b rdf:type ontology:Q838948 } }
Klaus Kinski Gaurav
action count
action union
action filter_type
action find_reverse
entity Klaus Kinski
relation director
type work of art
action filter_type
action find_reverse
entity Gaurav
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Klaus Kinski'] [{'concept': 'work of art'}, 'director', 'Gaurav']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { ?b property:director resource:Klaus_Kinski . ?b rdf:type ontology:work_of_art } UNION { ?b property:director resource:Gaurav . ?b rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
3
Q7795991 Q1762187 Q611052
(c(Q838948),P57,Q55419) (c(Q838948),P57,Q15572940)
action count
action union
action filter_type
action find_reverse
entity Q55419
relation P57
type Q838948
action filter_type
action find_reverse
entity Q15572940
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q55419'] [{'concept': 'Q838948'}, 'P57', 'Q15572940']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { ?b property:P57 resource:Q55419 . ?b rdf:type ontology:Q838948 } UNION { ?b property:P57 resource:Q15572940 . ?b rdf:type ontology:Q838948 } }
Thoonga Nagaram Vampire in Venice Paganini
3
action count
action union
action filter_type
action find_reverse
entity Klaus Kinski
relation director
type work of art
action filter_type
action find_reverse
entity Gaurav
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Klaus Kinski'] [{'concept': 'work of art'}, 'director', 'Gaurav']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { ?b property:director resource:Klaus_Kinski . ?b rdf:type ontology:work_of_art } UNION { ?b property:director resource:Gaurav . ?b rdf:type ontology:work_of_art } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q4830453 Q4830453
USER
How many business enterprises have exactly 2 business enterprises as their subsidiary ?
(c(Q4830453),P355,c(Q4830453))
action count
action equal
action find_tuple_counts
relation P355
type Q4830453
type Q4830453
value 2
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?l ) WHERE { ?c property:P355 ?r . ?c rdf:type ontology:Q4830453 . ?r rdf:type ontology:Q4830453 } GROUP BY ?c } . FILTER ( ?l = 2 ) }
action count
action equal
action find_tuple_counts
relation subsidiary
type business enterprise
type business enterprise
value 2
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?l ) WHERE { ?c property:subsidiary ?r . ?c rdf:type ontology:business_enterprise . ?r rdf:type ontology:business_enterprise } GROUP BY ?c } . FILTER ( ?l = 2 ) }
[]
business enterprise business enterprise
SYSTEM
6
Q11319692 Q10954015 Q2667719 Q266087 Q66 Q2373435
(c(Q4830453),P355,c(Q4830453))
action count
action equal
action find_tuple_counts
relation P355
type Q4830453
type Q4830453
value 2
[ANSWER]
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?l ) WHERE { ?c property:P355 ?r . ?c rdf:type ontology:Q4830453 . ?r rdf:type ontology:Q4830453 } GROUP BY ?c } . FILTER ( ?l = 2 ) }
TV Tokyo Holdings Fuji Media Holdings Aviation Industry Corporation of China Infor Global Solutions Boeing Volvo Buses
6
action count
action equal
action find_tuple_counts
relation subsidiary
type business enterprise
type business enterprise
value 2
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?l ) WHERE { ?c property:subsidiary ?r . ?c rdf:type ontology:business_enterprise . ?r rdf:type ontology:business_enterprise } GROUP BY ?c } . FILTER ( ?l = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55419
P26
Q502895
USER
Which person is married to Klaus Kinski ?
(c(Q502895),P26,Q55419)
action filter_type
action find
entity Q55419
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q55419']
SELECT DISTINCT ?u WHERE { resource:Q55419 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Klaus Kinski
action filter_type
action find
entity Klaus Kinski
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Klaus Kinski']
SELECT DISTINCT ?u WHERE { resource:Klaus_Kinski property:spouse ?u . ?u rdf:type ontology:common_name }
[]
common name
Q466703
SYSTEM
Debora Caprioglio
Q466703
(c(Q502895),P26,Q55419)
action filter_type
action find
entity Q55419
relation P26
type Q502895
[ANSWER] is married to Klaus Kinski
[{'concept': 'Q502895'}, 'P26', 'Q55419']
SELECT DISTINCT ?u WHERE { resource:Q55419 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Debora Caprioglio
Debora Caprioglio is married to Klaus Kinski
Debora Caprioglio
action filter_type
action find
entity Klaus Kinski
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Klaus Kinski']
SELECT DISTINCT ?u WHERE { resource:Klaus_Kinski property:spouse ?u . ?u rdf:type ontology:common_name }
[]