Simple Question (Direct)
Simple Question
Q1766274
P58
Q502895
USER
Who served as the screenwriter for Long Flat Balls II ?
(Q1766274,P58,c(Q502895))
action filter_type
action find
entity Q1766274
relation P58
type Q502895
['Q1766274', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1766274 property:P58 ?b . ?b rdf:type ontology:Q502895 }
Long Flat Balls II
action filter_type
action find
entity Long Flat Balls II
relation screenwriter
type common name
['Long Flat Balls II', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Long_Flat_Balls_II property:screenwriter ?b . ?b rdf:type ontology:common_name }
[]
common name
Q22328322
SYSTEM
Pål Sparre-Enger
Q22328322
(Q1766274,P58,c(Q502895))
action filter_type
action find
entity Q1766274
relation P58
type Q502895
[ANSWER] served as the screenwriter for Long Flat Balls II
['Q1766274', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1766274 property:P58 ?b . ?b rdf:type ontology:Q502895 }
Pål Sparre-Enger
Pål Sparre-Enger served as the screenwriter for Long Flat Balls II
Pål Sparre-Enger
action filter_type
action find
entity Long Flat Balls II
relation screenwriter
type common name
['Long Flat Balls II', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Long_Flat_Balls_II property:screenwriter ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22328322
P106
Q28640
USER
What is the job of that person ?
(Q22328322,P106,c(Q28640))
action filter_type
action find
entity Q22328322
relation P106
type Q28640
['Q22328322', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?j WHERE { resource:Q22328322 property:P106 ?j . ?j rdf:type ontology:Q28640 }
Pål Sparre-Enger
action filter_type
action find
entity Pål Sparre-Enger
relation occupation
type profession
['Pål Sparre-Enger', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?j WHERE { resource:Pål_Sparre-Enger property:occupation ?j . ?j rdf:type ontology:profession }
[]
profession
Q28389
SYSTEM
screenwriter
Q28389
(Q22328322,P106,c(Q28640))
action filter_type
action find
entity Q22328322
relation P106
type Q28640
The job of that person is a [ANSWER]
['Q22328322', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?j WHERE { resource:Q22328322 property:P106 ?j . ?j rdf:type ontology:Q28640 }
screenwriter
The job of that person is a screenwriter
screenwriter
action filter_type
action find
entity Pål Sparre-Enger
relation occupation
type profession
['Pål Sparre-Enger', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?j WHERE { resource:Pål_Sparre-Enger property:occupation ?j . ?j rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1766274
P344
Q502895
USER
Who is the cinematographer of Long Flat Balls II ?
(Q1766274,P344,c(Q502895))
action filter_type
action find
entity Q1766274
relation P344
type Q502895
['Q1766274', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q1766274 property:P344 ?e }
Long Flat Balls II
action filter_type
action find
entity Long Flat Balls II
relation director of photography
type common name
['Long Flat Balls II', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Long_Flat_Balls_II property:director_of_photography ?e }
[]
common name
Q1248073
SYSTEM
Geir Hartly Andreassen
Q1248073
(Q1766274,P344,c(Q502895))
action filter_type
action find
entity Q1766274
relation P344
type Q502895
The cinematographer of Long Flat Balls II is the [ANSWER]
['Q1766274', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q1766274 property:P344 ?e }
Geir Hartly Andreassen
The cinematographer of Long Flat Balls II is the Geir Hartly Andreassen
Geir Hartly Andreassen
action filter_type
action find
entity Long Flat Balls II
relation director of photography
type common name
['Long Flat Balls II', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Long_Flat_Balls_II property:director_of_photography ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15915435
Q502895
USER
And also tell me about A Most Violent Year?
(Q15915435,P344,c(Q502895))
action filter_type
action find
entity Q15915435
relation P344
type Q502895
['Q15915435', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q15915435 property:P344 ?i . ?i rdf:type ontology:Q502895 }
A Most Violent Year
action filter_type
action find
entity A Most Violent Year
relation director of photography
type common name
['A Most Violent Year', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:A_Most_Violent_Year property:director_of_photography ?i . ?i rdf:type ontology:common_name }
[]
common name
Q16216857
SYSTEM
Bradford Young
Q16216857
(Q15915435,P344,c(Q502895))
action filter_type
action find
entity Q15915435
relation P344
type Q502895
[ANSWER]
['Q15915435', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q15915435 property:P344 ?i . ?i rdf:type ontology:Q502895 }
Bradford Young
Bradford Young
action filter_type
action find
entity A Most Violent Year
relation director of photography
type common name
['A Most Violent Year', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:A_Most_Violent_Year property:director_of_photography ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q22328322 Q8704
P58
Q201658
USER
How many film genres have Pål Sparre-Enger or Walt Disney as screenwriter ?
(c(Q201658),P58,Q22328322) (c(Q201658),P58,Q8704)
action count
action union
action filter_type
action find_reverse
entity Q22328322
relation P58
type Q201658
action filter_type
action find_reverse
entity Q8704
relation P58
type Q201658
[{'concept': 'Q201658'}, 'P58', 'Q22328322'] [{'concept': 'Q201658'}, 'P58', 'Q8704']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:P58 resource:Q8704 . ?s rdf:type ontology:Q201658 } UNION { ?s property:P58 resource:Q22328322 . ?s rdf:type ontology:Q201658 } }
Pål Sparre-Enger Walt Disney
action count
action union
action filter_type
action find_reverse
entity Pål Sparre-Enger
relation screenwriter
type film genre
action filter_type
action find_reverse
entity Walt Disney
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'Pål Sparre-Enger'] [{'concept': 'film genre'}, 'screenwriter', 'Walt Disney']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:screenwriter resource:Walt_Disney . ?s rdf:type ontology:film_genre } UNION { ?s property:screenwriter resource:Pål_Sparre-Enger . ?s rdf:type ontology:film_genre } }
[]
film genre
SYSTEM
2
Q816038 Q1753096
(c(Q201658),P58,Q22328322) (c(Q201658),P58,Q8704)
action count
action union
action filter_type
action find_reverse
entity Q22328322
relation P58
type Q201658
action filter_type
action find_reverse
entity Q8704
relation P58
type Q201658
[ANSWER]
[{'concept': 'Q201658'}, 'P58', 'Q22328322'] [{'concept': 'Q201658'}, 'P58', 'Q8704']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:P58 resource:Q8704 . ?s rdf:type ontology:Q201658 } UNION { ?s property:P58 resource:Q22328322 . ?s rdf:type ontology:Q201658 } }
Steamboat Willie Plane Crazy
2
action count
action union
action filter_type
action find_reverse
entity Pål Sparre-Enger
relation screenwriter
type film genre
action filter_type
action find_reverse
entity Walt Disney
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'Pål Sparre-Enger'] [{'concept': 'film genre'}, 'screenwriter', 'Walt Disney']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:screenwriter resource:Walt_Disney . ?s rdf:type ontology:film_genre } UNION { ?s property:screenwriter resource:Pål_Sparre-Enger . ?s rdf:type ontology:film_genre } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16216857
P69
Q163740
USER
Which nonprofit organization is Bradford Young an alumni of ?
(Q16216857,P69,c(Q163740))
action filter_type
action find
entity Q16216857
relation P69
type Q163740
['Q16216857', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q16216857 property:P69 ?o . ?o rdf:type ontology:Q163740 }
Bradford Young
action filter_type
action find
entity Bradford Young
relation educated at
type nonprofit organization
['Bradford Young', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:Bradford_Young property:educated_at ?o . ?o rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1068752
SYSTEM
Howard University
Q1068752
(Q16216857,P69,c(Q163740))
action filter_type
action find
entity Q16216857
relation P69
type Q163740
University [ANSWER] is Bradford Young an alumni of
['Q16216857', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q16216857 property:P69 ?o . ?o rdf:type ontology:Q163740 }
Howard University
University Howard University is Bradford Young an alumni of
Howard University
action filter_type
action find
entity Bradford Young
relation educated at
type nonprofit organization
['Bradford Young', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:Bradford_Young property:educated_at ?o . ?o rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1068752 Q1341817
P138
Q502895
USER
Is Jerry Coker the origin of Howard University ?
(Q1068752,P138,Q1341817)
action is_in
entity Q1341817
action find
entity Q1068752
relation P138
['Q1068752', 'P138', 'Q1341817']
ASK WHERE { resource:Q1068752 property:P138 resource:Q1341817 }
Howard University Jerry Coker
action is_in
entity Jerry Coker
action find
entity Howard University
relation named after
['Howard University', 'named after', 'Jerry Coker']
ASK WHERE { resource:Howard_University property:named_after resource:Jerry_Coker }
[]
common name
SYSTEM
NO
(Q1068752,P138,Q1341817)
action is_in
entity Q1341817
action find
entity Q1068752
relation P138
[ANSWER]
['Q1068752', 'P138', 'Q1341817']
ASK WHERE { resource:Q1068752 property:P138 resource:Q1341817 }
No
action is_in
entity Jerry Coker
action find
entity Howard University
relation named after
['Howard University', 'named after', 'Jerry Coker']
ASK WHERE { resource:Howard_University property:named_after resource:Jerry_Coker }
[]