Simple Question (Direct)
Simple Question
Q1286551
P840
Q852446
USER
What location is Jack Frost set in ?
(Q1286551,P840,c(Q852446))
action filter_type
action find
entity Q1286551
relation P840
type Q852446
['Q1286551', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?q WHERE { resource:Q1286551 property:P840 ?q . ?q rdf:type ontology:Q852446 }
Jack Frost
action filter_type
action find
entity Jack Frost
relation narrative location
type administrative territorial entity of the United States
['Jack Frost', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?q WHERE { resource:Jack_Frost property:narrative_location ?q . ?q rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1261
SYSTEM
Colorado
Q1261
(Q1286551,P840,c(Q852446))
action filter_type
action find
entity Q1286551
relation P840
type Q852446
Jack Frost is set in [ANSWER]
['Q1286551', 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?q WHERE { resource:Q1286551 property:P840 ?q . ?q rdf:type ontology:Q852446 }
Colorado
Jack Frost is set in Colorado
Colorado
action filter_type
action find
entity Jack Frost
relation narrative location
type administrative territorial entity of the United States
['Jack Frost', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?q WHERE { resource:Jack_Frost property:narrative_location ?q . ?q rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1286551
P750
Q375336
USER
Who distributes Jack Frost ?
(Q1286551,P750,c(Q375336))
action filter_type
action find
entity Q1286551
relation P750
type Q375336
['Q1286551', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?u WHERE { resource:Q1286551 property:P750 ?u . ?u rdf:type ontology:Q375336 }
Jack Frost
action filter_type
action find
entity Jack Frost
relation distributor
type film studio
['Jack Frost', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?u WHERE { resource:Jack_Frost property:distributor ?u . ?u rdf:type ontology:film_studio }
[]
film studio
Q126399
SYSTEM
Warner Bros.
Q126399
(Q1286551,P750,c(Q375336))
action filter_type
action find
entity Q1286551
relation P750
type Q375336
[ANSWER] distributes Jack Frost
['Q1286551', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?u WHERE { resource:Q1286551 property:P750 ?u . ?u rdf:type ontology:Q375336 }
Warner Bros.
Warner Bros. distributes Jack Frost
Warner Bros.
action filter_type
action find
entity Jack Frost
relation distributor
type film studio
['Jack Frost', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?u WHERE { resource:Jack_Frost property:distributor ?u . ?u rdf:type ontology:film_studio }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5185256
Q375336
USER
And also tell me about Crime by Night?
(Q5185256,P750,c(Q375336))
action filter_type
action find
entity Q5185256
relation P750
type Q375336
['Q5185256', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q375336 . resource:Q5185256 property:P750 ?p }
Crime by Night
action filter_type
action find
entity Crime by Night
relation distributor
type film studio
['Crime by Night', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:film_studio . resource:Crime_by_Night property:distributor ?p }
[]
film studio
Q126399
SYSTEM
Warner Bros.
Q126399
(Q5185256,P750,c(Q375336))
action filter_type
action find
entity Q5185256
relation P750
type Q375336
[ANSWER]
['Q5185256', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q375336 . resource:Q5185256 property:P750 ?p }
Warner Bros.
Warner Bros.
action filter_type
action find
entity Crime by Night
relation distributor
type film studio
['Crime by Night', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:film_studio . resource:Crime_by_Night property:distributor ?p }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P272
Q375336 Q838948 Q201658
USER
Which film studios were the producers of approximately 109 works of art or film genres ?
(c(Q838948)|c(Q201658),P272,c(Q375336))
action approx
action union
action find_reverse_tuple_counts
relation P272
type Q375336
type Q838948
action find_reverse_tuple_counts
relation P272
type Q375336
type Q201658
value 109
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?w WHERE { { ?f property:P272 ?w . ?w rdf:type ontology:Q375336 . ?f rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q201658 . ?w rdf:type ontology:Q375336 . ?f property:P272 ?w } } GROUP BY ?w } . FILTER ( ?x = 109 ) }
action approx
action union
action find_reverse_tuple_counts
relation production company
type film studio
type work of art
action find_reverse_tuple_counts
relation production company
type film studio
type film genre
value 109
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?w WHERE { { ?f property:production_company ?w . ?w rdf:type ontology:film_studio . ?f rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:film_genre . ?w rdf:type ontology:film_studio . ?f property:production_company ?w } } GROUP BY ?w } . FILTER ( ?x = 109 ) }
[]
film studio work of art film genre
Q192557 Q730179 Q457893
SYSTEM
DreamWorks, Toei Animation, Amblin Entertainment
Q192557 Q730179 Q457893
(c(Q838948)|c(Q201658),P272,c(Q375336))
action approx
action union
action find_reverse_tuple_counts
relation P272
type Q375336
type Q838948
action find_reverse_tuple_counts
relation P272
type Q375336
type Q201658
value 109
[ANSWERS] were the producers of approximately 109 works of art or film genres
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?w WHERE { { ?f property:P272 ?w . ?w rdf:type ontology:Q375336 . ?f rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q201658 . ?w rdf:type ontology:Q375336 . ?f property:P272 ?w } } GROUP BY ?w } . FILTER ( ?x = 109 ) }
DreamWorks Toei Animation Amblin Entertainment
DreamWorks, Toei Animation and Amblin Entertainment were the producers of approximately 109 works of art or film genres
DreamWorks Toei Animation Amblin Entertainment
action approx
action union
action find_reverse_tuple_counts
relation production company
type film studio
type work of art
action find_reverse_tuple_counts
relation production company
type film studio
type film genre
value 109
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?w WHERE { { ?f property:production_company ?w . ?w rdf:type ontology:film_studio . ?f rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:film_genre . ?w rdf:type ontology:film_studio . ?f property:production_company ?w } } GROUP BY ?w } . FILTER ( ?x = 109 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5185256
P57
Q502895
USER
Which person directed Crime by Night ?
(Q5185256,P57,c(Q502895))
action filter_type
action find
entity Q5185256
relation P57
type Q502895
['Q5185256', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q5185256 property:P57 ?n }
Crime by Night
action filter_type
action find
entity Crime by Night
relation director
type common name
['Crime by Night', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Crime_by_Night property:director ?n }
[]
common name
Q3568507
SYSTEM
William Clemens
Q3568507
(Q5185256,P57,c(Q502895))
action filter_type
action find
entity Q5185256
relation P57
type Q502895
[ANSWER] directed Crime by Night
['Q5185256', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q5185256 property:P57 ?n }
William Clemens
William Clemens directed Crime by Night
William Clemens
action filter_type
action find
entity Crime by Night
relation director
type common name
['Crime by Night', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Crime_by_Night property:director ?n }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17012099
Q502895
USER
And how about I Lost My Heart in Heidelberg?
(Q17012099,P57,c(Q502895))
action filter_type
action find
entity Q17012099
relation P57
type Q502895
['Q17012099', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q17012099 property:P57 ?n . ?n rdf:type ontology:Q502895 }
I Lost My Heart in Heidelberg
action filter_type
action find
entity I Lost My Heart in Heidelberg
relation director
type common name
['I Lost My Heart in Heidelberg', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:I_Lost_My_Heart_in_Heidelberg property:director ?n . ?n rdf:type ontology:common_name }
[]
common name
Q87283
SYSTEM
Arthur Bergen
Q87283
(Q17012099,P57,c(Q502895))
action filter_type
action find
entity Q17012099
relation P57
type Q502895
[ANSWER] in Heidelberg And I about Lost My Heart
['Q17012099', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q17012099 property:P57 ?n . ?n rdf:type ontology:Q502895 }
Arthur Bergen
Arthur Bergen in Heidelberg And I about Lost My Heart
Arthur Bergen
action filter_type
action find
entity I Lost My Heart in Heidelberg
relation director
type common name
['I Lost My Heart in Heidelberg', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:I_Lost_My_Heart_in_Heidelberg property:director ?n . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q87283 Q1741
P19
Q56061
USER
Was Arthur Bergen born in Vienna ?
(Q87283,P19,Q1741)
action is_in
entity Q1741
action find
entity Q87283
relation P19
['Q87283', 'P19', 'Q1741']
ASK WHERE { resource:Q87283 property:P19 resource:Q1741 }
Arthur Bergen Vienna
action is_in
entity Vienna
action find
entity Arthur Bergen
relation place of birth
['Arthur Bergen', 'place of birth', 'Vienna']
ASK WHERE { resource:Arthur_Bergen property:place_of_birth resource:Vienna }
[]
administrative territorial entity
SYSTEM
YES
(Q87283,P19,Q1741)
action is_in
entity Q1741
action find
entity Q87283
relation P19
[ANSWER]
['Q87283', 'P19', 'Q1741']
ASK WHERE { resource:Q87283 property:P19 resource:Q1741 }
Yes
action is_in
entity Vienna
action find
entity Arthur Bergen
relation place of birth
['Arthur Bergen', 'place of birth', 'Vienna']
ASK WHERE { resource:Arthur_Bergen property:place_of_birth resource:Vienna }
[]