Simple Question (Direct)
Simple Question
Q7775708
P344
Q502895
USER
Which person serves as the director of photography for The Wood ?
(Q7775708,P344,c(Q502895))
action filter_type
action find
entity Q7775708
relation P344
type Q502895
['Q7775708', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q7775708 property:P344 ?n . ?n rdf:type ontology:Q502895 }
The Wood
action filter_type
action find
entity The Wood
relation director of photography
type common name
['The Wood', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:The_Wood property:director_of_photography ?n . ?n rdf:type ontology:common_name }
[]
common name
Q7614491
SYSTEM
Steven Bernstein
Q7614491
(Q7775708,P344,c(Q502895))
action filter_type
action find
entity Q7775708
relation P344
type Q502895
[ANSWER] serves as the director of photography for The Wood
['Q7775708', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q7775708 property:P344 ?n . ?n rdf:type ontology:Q502895 }
Steven Bernstein
Steven Bernstein serves as the director of photography for The Wood
Steven Bernstein
action filter_type
action find
entity The Wood
relation director of photography
type common name
['The Wood', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:The_Wood property:director_of_photography ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7614491
P57
Q838948
USER
Which works of art are that person a director of ?
(c(Q838948),P57,Q7614491)
action filter_type
action find_reverse
entity Q7614491
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q7614491']
SELECT DISTINCT ?k WHERE { ?k property:P57 resource:Q7614491 . ?k rdf:type ontology:Q838948 }
Steven Bernstein
action filter_type
action find_reverse
entity Steven Bernstein
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Steven Bernstein']
SELECT DISTINCT ?k WHERE { ?k property:director resource:Steven_Bernstein . ?k rdf:type ontology:work_of_art }
[]
work of art
Q18703120 Q5249542
SYSTEM
Dominion, Decoding Annie Parker
Q18703120 Q5249542
(c(Q838948),P57,Q7614491)
action filter_type
action find_reverse
entity Q7614491
relation P57
type Q838948
[ANSWERS] are that person a director of
[{'concept': 'Q838948'}, 'P57', 'Q7614491']
SELECT DISTINCT ?k WHERE { ?k property:P57 resource:Q7614491 . ?k rdf:type ontology:Q838948 }
Dominion Decoding Annie Parker
Dominion and Decoding Annie Parker are that person a director of
Dominion Decoding Annie Parker
action filter_type
action find_reverse
entity Steven Bernstein
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Steven Bernstein']
SELECT DISTINCT ?k WHERE { ?k property:director resource:Steven_Bernstein . ?k rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7614491
P27
Q15617994
USER
How many administrative territories do Steven Bernstein belong to ?
(Q7614491,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7614491
relation P27
type Q15617994
['Q7614491', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q7614491 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Steven Bernstein
action count
action filter_type
action find
entity Steven Bernstein
relation country of citizenship
type designation for an administrative territorial entity
['Steven Bernstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Steven_Bernstein property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q7614491,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7614491
relation P27
type Q15617994
[ANSWER]
['Q7614491', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q7614491 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Steven Bernstein
relation country of citizenship
type designation for an administrative territorial entity
['Steven Bernstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Steven_Bernstein property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3509302
Q15617994
USER
And how about Zakayo Malekwa?
(Q3509302,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3509302
relation P27
type Q15617994
['Q3509302', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q3509302 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Zakayo Malekwa
action count
action filter_type
action find
entity Zakayo Malekwa
relation country of citizenship
type designation for an administrative territorial entity
['Zakayo Malekwa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Zakayo_Malekwa property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q3509302,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3509302
relation P27
type Q15617994
[ANSWER]
['Q3509302', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q3509302 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Zakayo Malekwa
relation country of citizenship
type designation for an administrative territorial entity
['Zakayo Malekwa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Zakayo_Malekwa property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3509302
P106
Q151885
USER
How many concepts have Zakayo Malekwa as his/her as a career ?
(Q3509302,P106,c(Q151885))
action count
action filter_type
action find
entity Q3509302
relation P106
type Q151885
['Q3509302', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q3509302 property:P106 ?r . ?r rdf:type ontology:Q151885 }
Zakayo Malekwa
action count
action filter_type
action find
entity Zakayo Malekwa
relation occupation
type concept
['Zakayo Malekwa', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Zakayo_Malekwa property:occupation ?r . ?r rdf:type ontology:concept }
[]
concept
SYSTEM
1
Q11513337
(Q3509302,P106,c(Q151885))
action count
action filter_type
action find
entity Q3509302
relation P106
type Q151885
[ANSWER]
['Q3509302', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q3509302 property:P106 ?r . ?r rdf:type ontology:Q151885 }
athletics competitor
1
action count
action filter_type
action find
entity Zakayo Malekwa
relation occupation
type concept
['Zakayo Malekwa', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Zakayo_Malekwa property:occupation ?r . ?r rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2907878
Q151885
USER
And also tell me about Bob Younger?
(Q2907878,P106,c(Q151885))
action count
action filter_type
action find
entity Q2907878
relation P106
type Q151885
['Q2907878', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:Q151885 . resource:Q2907878 property:P106 ?m }
Bob Younger
action count
action filter_type
action find
entity Bob Younger
relation occupation
type concept
['Bob Younger', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:concept . resource:Bob_Younger property:occupation ?m }
[]
concept
SYSTEM
1
(Q2907878,P106,c(Q151885))
action count
action filter_type
action find
entity Q2907878
relation P106
type Q151885
[ANSWER]
['Q2907878', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:Q151885 . resource:Q2907878 property:P106 ?m }
1
action count
action filter_type
action find
entity Bob Younger
relation occupation
type concept
['Bob Younger', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ontology:concept . resource:Bob_Younger property:occupation ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2907878 Q160213
P7
Q502895
USER
How many people had Bob Younger or Rama as brother ?
(c(Q502895),P7,Q2907878) (c(Q502895),P7,Q160213)
action count
action union
action filter_type
action find_reverse
entity Q2907878
relation P7
type Q502895
action filter_type
action find_reverse
entity Q160213
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2907878'] [{'concept': 'Q502895'}, 'P7', 'Q160213']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P7 ?s . VALUES ( ?s ) { ( resource:Q2907878 ) ( resource:Q160213 ) } }
Bob Younger Rama
action count
action union
action filter_type
action find_reverse
entity Bob Younger
relation brother
type common name
action filter_type
action find_reverse
entity Rama
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Bob Younger'] [{'concept': 'common name'}, 'brother', 'Rama']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:brother ?s . VALUES ( ?s ) { ( resource:Bob_Younger ) ( resource:Rama ) } }
[]
common name
SYSTEM
3
Q6265244 Q3178973 Q1108021
(c(Q502895),P7,Q2907878) (c(Q502895),P7,Q160213)
action count
action union
action filter_type
action find_reverse
entity Q2907878
relation P7
type Q502895
action filter_type
action find_reverse
entity Q160213
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q2907878'] [{'concept': 'Q502895'}, 'P7', 'Q160213']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P7 ?s . VALUES ( ?s ) { ( resource:Q2907878 ) ( resource:Q160213 ) } }
John Younger Jim Younger Cole Younger
3
action count
action union
action filter_type
action find_reverse
entity Bob Younger
relation brother
type common name
action filter_type
action find_reverse
entity Rama
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Bob Younger'] [{'concept': 'common name'}, 'brother', 'Rama']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:brother ?s . VALUES ( ?s ) { ( resource:Bob_Younger ) ( resource:Rama ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5249542
P161
Q502895
USER
Which people are in Decoding Annie Parker ?
(Q5249542,P161,c(Q502895))
action filter_type
action find
entity Q5249542
relation P161
type Q502895
['Q5249542', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q5249542 property:P161 ?j }
Decoding Annie Parker
action filter_type
action find
entity Decoding Annie Parker
relation cast member
type common name
['Decoding Annie Parker', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Decoding_Annie_Parker property:cast_member ?j }
[]
common name
Q230190 Q170574 Q302491
SYSTEM
Samantha Morton, Helen Hunt, Aaron Paul
Q230190 Q170574 Q302491
(Q5249542,P161,c(Q502895))
action filter_type
action find
entity Q5249542
relation P161
type Q502895
[ANSWERS] are in Decoding Annie Parker
['Q5249542', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q5249542 property:P161 ?j }
Samantha Morton Helen Hunt Aaron Paul
Samantha Morton, Helen Hunt and Aaron Paul are in Decoding Annie Parker
Samantha Morton Helen Hunt Aaron Paul
action filter_type
action find
entity Decoding Annie Parker
relation cast member
type common name
['Decoding Annie Parker', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Decoding_Annie_Parker property:cast_member ?j }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q230190 Q170574 Q302491
P161
Q15416
USER
Which television programs have Samantha Morton, Helen Hunt and Aaron Paul in their star cast ?
(c(Q15416),P161,Q230190) (c(Q15416),P161,Q170574) (c(Q15416),P161,Q302491)
action union
action filter_type
action find_reverse
entity Q230190
relation P161
type Q15416
action filter_type
action find_reverse
entity Q170574
relation P161
type Q15416
action filter_type
action find_reverse
entity Q302491
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q230190'] [{'concept': 'Q15416'}, 'P161', 'Q170574'] [{'concept': 'Q15416'}, 'P161', 'Q302491']
SELECT DISTINCT ?u WHERE { { ?u property:P161 resource:Q230190 . ?u rdf:type ontology:Q15416 } UNION { ?u property:P161 resource:Q170574 . ?u rdf:type ontology:Q15416 } }
Samantha Morton Helen Hunt Aaron Paul
action union
action filter_type
action find_reverse
entity Samantha Morton
relation cast member
type television program
action filter_type
action find_reverse
entity Helen Hunt
relation cast member
type television program
action filter_type
action find_reverse
entity Aaron Paul
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Samantha Morton'] [{'concept': 'television program'}, 'cast member', 'Helen Hunt'] [{'concept': 'television program'}, 'cast member', 'Aaron Paul']
SELECT DISTINCT ?u WHERE { { ?u property:cast_member resource:Samantha_Morton . ?u rdf:type ontology:television_program } UNION { ?u property:cast_member resource:Helen_Hunt . ?u rdf:type ontology:television_program } }
[]
television program
Q1079 Q2565731 Q116480
SYSTEM
Breaking Bad, Emma, Quarterback Princess
Q4854255 Q2565731 Q752365 Q4749352 Q116480 Q2585769 Q1079 Q20758225
(c(Q15416),P161,Q230190) (c(Q15416),P161,Q170574) (c(Q15416),P161,Q302491)
action union
action filter_type
action find_reverse
entity Q230190
relation P161
type Q15416
action filter_type
action find_reverse
entity Q170574
relation P161
type Q15416
action filter_type
action find_reverse
entity Q302491
relation P161
type Q15416
[ANSWERS] have Samantha Morton, Helen Hunt and Aaron Paul in their star cast
[{'concept': 'Q15416'}, 'P161', 'Q230190'] [{'concept': 'Q15416'}, 'P161', 'Q170574'] [{'concept': 'Q15416'}, 'P161', 'Q302491']
SELECT DISTINCT ?u WHERE { { ?u property:P161 resource:Q230190 . ?u rdf:type ontology:Q15416 } UNION { ?u property:P161 resource:Q170574 . ?u rdf:type ontology:Q15416 } }
Band of Gold Emma Mad About You Amy Prentiss Quarterback Princess fifth season of Breaking Bad Breaking Bad The Path
Breaking Bad, Emma and Quarterback Princess have Samantha Morton, Helen Hunt and Aaron Paul in their star cast
Breaking Bad Emma Quarterback Princess
action union
action filter_type
action find_reverse
entity Samantha Morton
relation cast member
type television program
action filter_type
action find_reverse
entity Helen Hunt
relation cast member
type television program
action filter_type
action find_reverse
entity Aaron Paul
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Samantha Morton'] [{'concept': 'television program'}, 'cast member', 'Helen Hunt'] [{'concept': 'television program'}, 'cast member', 'Aaron Paul']
SELECT DISTINCT ?u WHERE { { ?u property:cast_member resource:Samantha_Morton . ?u rdf:type ontology:television_program } UNION { ?u property:cast_member resource:Helen_Hunt . ?u rdf:type ontology:television_program } }
[]