Simple Question (Direct)
Simple Question
Q2754899
P344
Q502895
USER
Who is appointed as the cinematographer of The Bohemian Life ?
(Q2754899,P344,c(Q502895))
action filter_type
action find
entity Q2754899
relation P344
type Q502895
['Q2754899', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2754899 property:P344 ?t . ?t rdf:type ontology:Q502895 }
The Bohemian Life
action filter_type
action find
entity The Bohemian Life
relation director of photography
type common name
['The Bohemian Life', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:The_Bohemian_Life property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]
common name
Q330172
SYSTEM
Timo Salminen
Q330172
(Q2754899,P344,c(Q502895))
action filter_type
action find
entity Q2754899
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of The Bohemian Life
['Q2754899', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2754899 property:P344 ?t . ?t rdf:type ontology:Q502895 }
Timo Salminen
Timo Salminen is appointed as the cinematographer of The Bohemian Life
Timo Salminen
action filter_type
action find
entity The Bohemian Life
relation director of photography
type common name
['The Bohemian Life', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:The_Bohemian_Life property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2754899
P57
Q502895
USER
Which person directed The Bohemian Life ?
(Q2754899,P57,c(Q502895))
action filter_type
action find
entity Q2754899
relation P57
type Q502895
['Q2754899', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2754899 property:P57 ?h . ?h rdf:type ontology:Q502895 }
The Bohemian Life
action filter_type
action find
entity The Bohemian Life
relation director
type common name
['The Bohemian Life', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:The_Bohemian_Life property:director ?h . ?h rdf:type ontology:common_name }
[]
common name
Q276186
SYSTEM
Aki Kaurismäki
Q276186
(Q2754899,P57,c(Q502895))
action filter_type
action find
entity Q2754899
relation P57
type Q502895
[ANSWER] directed The Bohemian Life
['Q2754899', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2754899 property:P57 ?h . ?h rdf:type ontology:Q502895 }
Aki Kaurismäki
Aki Kaurismäki directed The Bohemian Life
Aki Kaurismäki
action filter_type
action find
entity The Bohemian Life
relation director
type common name
['The Bohemian Life', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:The_Bohemian_Life property:director ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q276186
P7
Q502895
USER
Who is that one a brother of ?
(c(Q502895),P7,Q276186)
action filter_type
action find
entity Q276186
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q276186']
SELECT DISTINCT ?j WHERE { resource:Q276186 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Aki Kaurismäki
action filter_type
action find
entity Aki Kaurismäki
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Aki Kaurismäki']
SELECT DISTINCT ?j WHERE { resource:Aki_Kaurismäki property:brother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q520747
SYSTEM
Mika Kaurismäki
Q520747
(c(Q502895),P7,Q276186)
action filter_type
action find
entity Q276186
relation P7
type Q502895
That one a brother of is [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q276186']
SELECT DISTINCT ?j WHERE { resource:Q276186 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Mika Kaurismäki
That one a brother of is Mika Kaurismäki
Mika Kaurismäki
action filter_type
action find
entity Aki Kaurismäki
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Aki Kaurismäki']
SELECT DISTINCT ?j WHERE { resource:Aki_Kaurismäki property:brother ?j . ?j rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q520747 Q3148783
P7
Q502895
USER
Is Ilona Gierak the brother of Mika Kaurismäki ?
(Q520747,P7,Q3148783)
action is_in
entity Q3148783
action find
entity Q520747
relation P7
['Q520747', 'P7', 'Q3148783']
ASK WHERE { resource:Q520747 property:P7 resource:Q3148783 }
Mika Kaurismäki Ilona Gierak
action is_in
entity Ilona Gierak
action find
entity Mika Kaurismäki
relation brother
['Mika Kaurismäki', 'brother', 'Ilona Gierak']
ASK WHERE { resource:Mika_Kaurismäki property:brother resource:Ilona_Gierak }
[]
common name
SYSTEM
NO
(Q520747,P7,Q3148783)
action is_in
entity Q3148783
action find
entity Q520747
relation P7
[ANSWER]
['Q520747', 'P7', 'Q3148783']
ASK WHERE { resource:Q520747 property:P7 resource:Q3148783 }
No
action is_in
entity Ilona Gierak
action find
entity Mika Kaurismäki
relation brother
['Mika Kaurismäki', 'brother', 'Ilona Gierak']
ASK WHERE { resource:Mika_Kaurismäki property:brother resource:Ilona_Gierak }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do atleast 1557 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1557
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?q >= 1557 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1557
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?q >= 1557 ) }
[]
musical instrument common name
SYSTEM
5
Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1557
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?q >= 1557 ) }
piano trumpet violin organ drum kit
5
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1557
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?q >= 1557 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q276186
P1411
Q618779
USER
What were Aki Kaurismäki nominated for ?
(Q276186,P1411,c(Q618779))
action filter_type
action find
entity Q276186
relation P1411
type Q618779
['Q276186', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q276186 property:P1411 ?v . ?v rdf:type ontology:Q618779 }
Aki Kaurismäki
action filter_type
action find
entity Aki Kaurismäki
relation nominated for
type award
['Aki Kaurismäki', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:Aki_Kaurismäki property:nominated_for ?v . ?v rdf:type ontology:award }
[]
award
Q24137 Q19395 Q645595
SYSTEM
César Award for Best Director, César Award for Best Film from the European Union, César Award for Best Film
Q24137 Q19395 Q645595
(Q276186,P1411,c(Q618779))
action filter_type
action find
entity Q276186
relation P1411
type Q618779
Aki Kaurismäki were nominated for [ANSWERS]
['Q276186', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q276186 property:P1411 ?v . ?v rdf:type ontology:Q618779 }
César Award for Best Director César Award for Best Film from the European Union César Award for Best Film
Aki Kaurismäki were nominated for César Award for Best Director, César Award for Best Film from the European Union and César Award for Best Film
César Award for Best Director César Award for Best Film from the European Union César Award for Best Film
action filter_type
action find
entity Aki Kaurismäki
relation nominated for
type award
['Aki Kaurismäki', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:Aki_Kaurismäki property:nominated_for ?v . ?v rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q276186
P26
Q502895
USER
Who is married to Aki Kaurismäki ?
(Q276186,P26,c(Q502895))
action filter_type
action find
entity Q276186
relation P26
type Q502895
['Q276186', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q276186 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Aki Kaurismäki
action filter_type
action find
entity Aki Kaurismäki
relation spouse
type common name
['Aki Kaurismäki', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Aki_Kaurismäki property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q5399320
SYSTEM
Paula Oinonen
Q5399320
(Q276186,P26,c(Q502895))
action filter_type
action find
entity Q276186
relation P26
type Q502895
[ANSWER] is married to Aki Kaurismäki
['Q276186', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q276186 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Paula Oinonen
Paula Oinonen is married to Aki Kaurismäki
Paula Oinonen
action filter_type
action find
entity Aki Kaurismäki
relation spouse
type common name
['Aki Kaurismäki', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Aki_Kaurismäki property:spouse ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q533649
Q502895
USER
And how about Lady Cynthia Mosley?
(Q533649,P26,c(Q502895))
action filter_type
action find
entity Q533649
relation P26
type Q502895
['Q533649', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q533649 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Lady Cynthia Mosley
action filter_type
action find
entity Lady Cynthia Mosley
relation spouse
type common name
['Lady Cynthia Mosley', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Lady_Cynthia_Mosley property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q332400
SYSTEM
Oswald Mosley
Q332400
(Q533649,P26,c(Q502895))
action filter_type
action find
entity Q533649
relation P26
type Q502895
[ANSWER]
['Q533649', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q533649 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Oswald Mosley
Oswald Mosley
action filter_type
action find
entity Lady Cynthia Mosley
relation spouse
type common name
['Lady Cynthia Mosley', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Lady_Cynthia_Mosley property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q332400
P22
Q502895
USER
Which person has that one as dad ?
(c(Q502895),P22,Q332400)
action filter_type
action find_reverse
entity Q332400
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q332400']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q332400 . ?x rdf:type ontology:Q502895 }
Oswald Mosley
action filter_type
action find_reverse
entity Oswald Mosley
relation father
type common name
[{'concept': 'common name'}, 'father', 'Oswald Mosley']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Oswald_Mosley . ?x rdf:type ontology:common_name }
[]
common name
Q173246
SYSTEM
Max Mosley
Q173246
(c(Q502895),P22,Q332400)
action filter_type
action find_reverse
entity Q332400
relation P22
type Q502895
[ANSWER] has that one as dad
[{'concept': 'Q502895'}, 'P22', 'Q332400']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q332400 . ?x rdf:type ontology:Q502895 }
Max Mosley
Max Mosley has that one as dad
Max Mosley
action filter_type
action find_reverse
entity Oswald Mosley
relation father
type common name
[{'concept': 'common name'}, 'father', 'Oswald Mosley']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Oswald_Mosley . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q173246
P40
Q502895
USER
Which people have that one as a child ?
(c(Q502895),P40,Q173246)
action filter_type
action find_reverse
entity Q173246
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q173246']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q173246 . ?b rdf:type ontology:Q502895 }
Max Mosley
action filter_type
action find_reverse
entity Max Mosley
relation child
type common name
[{'concept': 'common name'}, 'child', 'Max Mosley']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Max_Mosley . ?b rdf:type ontology:common_name }
[]
common name
Q462574 Q332400
SYSTEM
Diana Mitford, Oswald Mosley
Q462574 Q332400
(c(Q502895),P40,Q173246)
action filter_type
action find_reverse
entity Q173246
relation P40
type Q502895
[ANSWERS] have that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q173246']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q173246 . ?b rdf:type ontology:Q502895 }
Diana Mitford Oswald Mosley
Diana Mitford and Oswald Mosley have that one as a child
Diana Mitford Oswald Mosley
action filter_type
action find_reverse
entity Max Mosley
relation child
type common name
[{'concept': 'common name'}, 'child', 'Max Mosley']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Max_Mosley . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q330172
P19
Q56061
USER
Where was Timo Salminen born ?
(Q330172,P19,c(Q56061))
action filter_type
action find
entity Q330172
relation P19
type Q56061
['Q330172', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q330172 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Timo Salminen
action filter_type
action find
entity Timo Salminen
relation place of birth
type administrative territorial entity
['Timo Salminen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Timo_Salminen property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q330172,P19,c(Q56061))
action filter_type
action find
entity Q330172
relation P19
type Q56061
Timo Salminen was born in [ANSWER]
['Q330172', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q330172 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Helsinki
Timo Salminen was born in Helsinki
Helsinki
action filter_type
action find
entity Timo Salminen
relation place of birth
type administrative territorial entity
['Timo Salminen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Timo_Salminen property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q332400 Q2038001
P241
Q781132
USER
How many military branches are Oswald Mosley or Russian submarine B-585 Saint Petersburg affiliated to ?
(Q332400,P241,c(Q781132)) (Q2038001,P241,c(Q781132))
action count
action union
action filter_type
action find
entity Q332400
relation P241
type Q781132
action filter_type
action find
entity Q2038001
relation P241
type Q781132
['Q332400', 'P241', {'concept': 'Q781132'}] ['Q2038001', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?k ) { ( resource:Q2038001 ) ( resource:Q332400 ) } . ?k property:P241 ?y }
Oswald Mosley Russian submarine B-585 Saint Petersburg
action count
action union
action filter_type
action find
entity Oswald Mosley
relation military branch
type military branch
action filter_type
action find
entity Russian submarine B-585 Saint Petersburg
relation military branch
type military branch
['Oswald Mosley', 'military branch', {'concept': 'military branch'}] ['Russian submarine B-585 Saint Petersburg', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?k ) { ( resource:Russian_submarine_B-585_Saint_Petersburg ) ( resource:Oswald_Mosley ) } . ?k property:military_branch ?y }
[]
military branch
SYSTEM
2
Q465283 Q222595
(Q332400,P241,c(Q781132)) (Q2038001,P241,c(Q781132))
action count
action union
action filter_type
action find
entity Q332400
relation P241
type Q781132
action filter_type
action find
entity Q2038001
relation P241
type Q781132
[ANSWER]
['Q332400', 'P241', {'concept': 'Q781132'}] ['Q2038001', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?k ) { ( resource:Q2038001 ) ( resource:Q332400 ) } . ?k property:P241 ?y }
Russian Navy British Army
2
action count
action union
action filter_type
action find
entity Oswald Mosley
relation military branch
type military branch
action filter_type
action find
entity Russian submarine B-585 Saint Petersburg
relation military branch
type military branch
['Oswald Mosley', 'military branch', {'concept': 'military branch'}] ['Russian submarine B-585 Saint Petersburg', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?k ) { ( resource:Russian_submarine_B-585_Saint_Petersburg ) ( resource:Oswald_Mosley ) } . ?k property:military_branch ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q332400
P50
Q2342494
USER
What is the collectable written by Oswald Mosley ?
(c(Q2342494),P50,Q332400)
action filter_type
action find_reverse
entity Q332400
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q332400']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . ?c property:P50 resource:Q332400 }
Oswald Mosley
action filter_type
action find_reverse
entity Oswald Mosley
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Oswald Mosley']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . ?c property:author resource:Oswald_Mosley }
[]
collectable
Q3625106
SYSTEM
My Life
Q3625106
(c(Q2342494),P50,Q332400)
action filter_type
action find_reverse
entity Q332400
relation P50
type Q2342494
The collectable written by Oswald Mosley is This [ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q332400']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . ?c property:P50 resource:Q332400 }
My Life
The collectable written by Oswald Mosley is This My Life
My Life
action filter_type
action find_reverse
entity Oswald Mosley
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Oswald Mosley']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . ?c property:author resource:Oswald_Mosley }
[]