Simple Question (Direct)
Simple Question
Q6675438
P161
Q502895
USER
Which person is in Looking on the Bright Side ?
(Q6675438,P161,c(Q502895))
action filter_type
action find
entity Q6675438
relation P161
type Q502895
['Q6675438', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q6675438 property:P161 ?j . ?j rdf:type ontology:Q502895 }
Looking on the Bright Side
action filter_type
action find
entity Looking on the Bright Side
relation cast member
type common name
['Looking on the Bright Side', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Looking_on_the_Bright_Side property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
common name
Q463275
SYSTEM
Gracie Fields
Q463275
(Q6675438,P161,c(Q502895))
action filter_type
action find
entity Q6675438
relation P161
type Q502895
[ANSWER] is in Looking on the Bright Side
['Q6675438', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q6675438 property:P161 ?j . ?j rdf:type ontology:Q502895 }
Gracie Fields
Gracie Fields is in Looking on the Bright Side
Gracie Fields
action filter_type
action find
entity Looking on the Bright Side
relation cast member
type common name
['Looking on the Bright Side', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Looking_on_the_Bright_Side property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6675438
P136
Q1792379
USER
What can be considered as category for Looking on the Bright Side ?
(Q6675438,P136,c(Q1792379))
action filter_type
action find
entity Q6675438
relation P136
type Q1792379
['Q6675438', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { resource:Q6675438 property:P136 ?k . ?k rdf:type ontology:Q1792379 }
Looking on the Bright Side
action filter_type
action find
entity Looking on the Bright Side
relation genre
type art genre
['Looking on the Bright Side', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { resource:Looking_on_the_Bright_Side property:genre ?k . ?k rdf:type ontology:art_genre }
[]
art genre
Q1054574 Q842256
SYSTEM
romance film, musical film
Q1054574 Q842256
(Q6675438,P136,c(Q1792379))
action filter_type
action find
entity Q6675438
relation P136
type Q1792379
[ANSWERS] can be considered as category for Looking on the Bright Side
['Q6675438', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { resource:Q6675438 property:P136 ?k . ?k rdf:type ontology:Q1792379 }
romance film musical film
Romance film and musical film can be considered as category for Looking on the Bright Side
romance film musical film
action filter_type
action find
entity Looking on the Bright Side
relation genre
type art genre
['Looking on the Bright Side', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { resource:Looking_on_the_Bright_Side property:genre ?k . ?k rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q53115
P136
Q838948
USER
Do High School Musical 3: Senior Year have those art genres as their type ?
(Q53115,P136,Q1054574) (Q53115,P136,Q842256)
action is_in
entity prev_answer
action find
entity Q53115
relation P136
['Q53115', 'P136', 'Q1054574'] ['Q53115', 'P136', 'Q842256']
ASK WHERE { resource:Q53115 property:P136 ?q . VALUES ( ?q ) { ( resource:Q1054574 ) ( resource:Q842256 ) } }
High School Musical 3: Senior Year
action is_in
entity prev_answer
action find
entity High School Musical 3: Senior Year
relation genre
['High School Musical 3: Senior Year', 'genre', 'romance film'] ['High School Musical 3: Senior Year', 'genre', 'musical film']
ASK WHERE { resource:High_School_Musical_3:_Senior_Year property:genre ?q . VALUES ( ?q ) { ( resource:romance_film ) ( resource:musical_film ) } }
[]
work of art
SYSTEM
YES
(Q53115,P136,Q1054574) (Q53115,P136,Q842256)
action is_in
entity prev_answer
action find
entity Q53115
relation P136
[ANSWER]
['Q53115', 'P136', 'Q1054574'] ['Q53115', 'P136', 'Q842256']
ASK WHERE { resource:Q53115 property:P136 ?q . VALUES ( ?q ) { ( resource:Q1054574 ) ( resource:Q842256 ) } }
Yes
action is_in
entity prev_answer
action find
entity High School Musical 3: Senior Year
relation genre
['High School Musical 3: Senior Year', 'genre', 'romance film'] ['High School Musical 3: Senior Year', 'genre', 'musical film']
ASK WHERE { resource:High_School_Musical_3:_Senior_Year property:genre ?q . VALUES ( ?q ) { ( resource:romance_film ) ( resource:musical_film ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1054574
P86
Q838948
USER
Which work of art is composed by romance film ?
(c(Q838948),P86,Q1054574)
action filter_type
action find_reverse
entity Q1054574
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q1054574']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . ?s property:P86 resource:Q1054574 }
romance film
action filter_type
action find_reverse
entity romance film
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'romance film']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . ?s property:composer resource:romance_film }
[]
work of art
Q12126204
SYSTEM
Miss Julie
Q12126204
(c(Q838948),P86,Q1054574)
action filter_type
action find_reverse
entity Q1054574
relation P86
type Q838948
[ANSWER] is composed by romance film
[{'concept': 'Q838948'}, 'P86', 'Q1054574']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . ?s property:P86 resource:Q1054574 }
Miss Julie
Miss Julie is composed by romance film
Miss Julie
action filter_type
action find_reverse
entity romance film
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'romance film']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . ?s property:composer resource:romance_film }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12126204
P144
Q25379
USER
Which play is that work of art based on ?
(Q12126204,P144,c(Q25379))
action filter_type
action find
entity Q12126204
relation P144
type Q25379
['Q12126204', 'P144', {'concept': 'Q25379'}]
SELECT DISTINCT ?v WHERE { resource:Q12126204 property:P144 ?v . ?v rdf:type ontology:Q25379 }
Miss Julie
action filter_type
action find
entity Miss Julie
relation based on
type play
['Miss Julie', 'based on', {'concept': 'play'}]
SELECT DISTINCT ?v WHERE { resource:Miss_Julie property:based_on ?v . ?v rdf:type ontology:play }
[]
play
Q658557
SYSTEM
Miss Julie
Q658557
(Q12126204,P144,c(Q25379))
action filter_type
action find
entity Q12126204
relation P144
type Q25379
That work of art based on is called [ANSWER]
['Q12126204', 'P144', {'concept': 'Q25379'}]
SELECT DISTINCT ?v WHERE { resource:Q12126204 property:P144 ?v . ?v rdf:type ontology:Q25379 }
Miss Julie
That work of art based on is called Miss Julie
Miss Julie
action filter_type
action find
entity Miss Julie
relation based on
type play
['Miss Julie', 'based on', {'concept': 'play'}]
SELECT DISTINCT ?v WHERE { resource:Miss_Julie property:based_on ?v . ?v rdf:type ontology:play }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P800
Q502895
USER
How many people are author of that play ?
(c(Q502895),P800,Q658557)
action count
action filter_type
action find_reverse
entity Q658557
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q658557']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:P800 resource:Q658557 . ?s rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Miss Julie
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Miss Julie']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:notable_work resource:Miss_Julie . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q7724
(c(Q502895),P800,Q658557)
action count
action filter_type
action find_reverse
entity Q658557
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q658557']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:P800 resource:Q658557 . ?s rdf:type ontology:Q502895 }
August Strindberg
1
action count
action filter_type
action find_reverse
entity Miss Julie
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Miss Julie']
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:notable_work resource:Miss_Julie . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q463275
P734
Q82799
USER
Who is associated with Gracie Fields ?
(Q463275,P734,c(Q82799))
action filter_type
action find
entity Q463275
relation P734
type Q82799
['Q463275', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q463275 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Gracie Fields
action filter_type
action find
entity Gracie Fields
relation family name
type name
['Gracie Fields', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Gracie_Fields property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q16869936
SYSTEM
Fields
Q16869936
(Q463275,P734,c(Q82799))
action filter_type
action find
entity Q463275
relation P734
type Q82799
[ANSWER] is associated with Gracie [ANSWER]
['Q463275', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q463275 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Fields
Fields is associated with Gracie Fields
Fields
action filter_type
action find
entity Gracie Fields
relation family name
type name
['Gracie Fields', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Gracie_Fields property:family_name ?m . ?m rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q463275
P19
Q56061
USER
Which administrative territory is the place of birth of Gracie Fields ?
(Q463275,P19,c(Q56061))
action filter_type
action find
entity Q463275
relation P19
type Q56061
['Q463275', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q463275 property:P19 ?k }
Gracie Fields
action filter_type
action find
entity Gracie Fields
relation place of birth
type administrative territorial entity
['Gracie Fields', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Gracie_Fields property:place_of_birth ?k }
[]
administrative territorial entity
Q474605
SYSTEM
Rochdale
Q474605
(Q463275,P19,c(Q56061))
action filter_type
action find
entity Q463275
relation P19
type Q56061
[ANSWER] is the place of birth of Gracie Fields
['Q463275', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q463275 property:P19 ?k }
Rochdale
Rochdale is the place of birth of Gracie Fields
Rochdale
action filter_type
action find
entity Gracie Fields
relation place of birth
type administrative territorial entity
['Gracie Fields', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Gracie_Fields property:place_of_birth ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q474605 Q237594
P19
Q502895
USER
Was Anna Friel born at that administrative territory ?
(Q237594,P19,Q474605)
action is_in
entity Q474605
action find
entity Q237594
relation P19
['Q237594', 'P19', 'Q474605']
ASK WHERE { resource:Q237594 property:P19 resource:Q474605 }
Rochdale Anna Friel
action is_in
entity Rochdale
action find
entity Anna Friel
relation place of birth
['Anna Friel', 'place of birth', 'Rochdale']
ASK WHERE { resource:Anna_Friel property:place_of_birth resource:Rochdale }
[]
common name
SYSTEM
YES
(Q237594,P19,Q474605)
action is_in
entity Q474605
action find
entity Q237594
relation P19
[ANSWER]
['Q237594', 'P19', 'Q474605']
ASK WHERE { resource:Q237594 property:P19 resource:Q474605 }
Yes
action is_in
entity Rochdale
action find
entity Anna Friel
relation place of birth
['Anna Friel', 'place of birth', 'Rochdale']
ASK WHERE { resource:Anna_Friel property:place_of_birth resource:Rochdale }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q474605
P190
Q15617994
USER
Which administrative territory is twin city of that administrative territory ?
action filter_type
action find
entity Q474605
relation P190
type Q15617994
SELECT DISTINCT ?u WHERE { resource:Q474605 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Rochdale
action filter_type
action find
entity Rochdale
relation sister city
type designation for an administrative territorial entity
SELECT DISTINCT ?u WHERE { resource:Rochdale property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q6850
SYSTEM
Peine
Q6850
action filter_type
action find
entity Q474605
relation P190
type Q15617994
[ANSWER] is twin city of that administrative territory
SELECT DISTINCT ?u WHERE { resource:Q474605 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Peine
Peine is twin city of that administrative territory
Peine
action filter_type
action find
entity Rochdale
relation sister city
type designation for an administrative territorial entity
SELECT DISTINCT ?u WHERE { resource:Rochdale property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6850
P47
Q56061
USER
Who shares the border with that administrative territory ?
(Q6850,P47,c(Q56061))
action filter_type
action find
entity Q6850
relation P47
type Q56061
['Q6850', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6850 property:P47 ?r . ?r rdf:type ontology:Q56061 }
Peine
action filter_type
action find
entity Peine
relation shares border with
type administrative territorial entity
['Peine', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Peine property:shares_border_with ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7057
SYSTEM
Lehrte
Q7057
(Q6850,P47,c(Q56061))
action filter_type
action find
entity Q6850
relation P47
type Q56061
[ANSWER] shares the border with that administrative territory
['Q6850', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6850 property:P47 ?r . ?r rdf:type ontology:Q56061 }
Lehrte
Lehrte shares the border with that administrative territory
Lehrte
action filter_type
action find
entity Peine
relation shares border with
type administrative territorial entity
['Peine', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Peine property:shares_border_with ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7057 Q506640
P19
Q502895
USER
Does Sigismondo Pandolfo Malatesta have place of birth as that administrative territory ?
(Q506640,P19,Q7057)
action is_in
entity Q506640
action find
entity Q7057
relation P19
['Q506640', 'P19', 'Q7057']
ASK WHERE { resource:Q7057 property:P19 resource:Q506640 }
Lehrte Sigismondo Pandolfo Malatesta
action is_in
entity Sigismondo Pandolfo Malatesta
action find
entity Lehrte
relation place of birth
['Sigismondo Pandolfo Malatesta', 'place of birth', 'Lehrte']
ASK WHERE { resource:Lehrte property:place_of_birth resource:Sigismondo_Pandolfo_Malatesta }
[]
common name
SYSTEM
NO
(Q506640,P19,Q7057)
action is_in
entity Q506640
action find
entity Q7057
relation P19
[ANSWER]
['Q506640', 'P19', 'Q7057']
ASK WHERE { resource:Q7057 property:P19 resource:Q506640 }
No
action is_in
entity Sigismondo Pandolfo Malatesta
action find
entity Lehrte
relation place of birth
['Sigismondo Pandolfo Malatesta', 'place of birth', 'Lehrte']
ASK WHERE { resource:Lehrte property:place_of_birth resource:Sigismondo_Pandolfo_Malatesta }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q658557 Q7724
P50
Q502895
USER
Was August Strindberg the writer of Miss Julie ?
(Q658557,P50,Q7724)
action is_in
entity Q7724
action find
entity Q658557
relation P50
['Q658557', 'P50', 'Q7724']
ASK WHERE { resource:Q658557 property:P50 resource:Q7724 }
Miss Julie August Strindberg
action is_in
entity August Strindberg
action find
entity Miss Julie
relation author
['Miss Julie', 'author', 'August Strindberg']
ASK WHERE { resource:Miss_Julie property:author resource:August_Strindberg }
[]
common name
SYSTEM
YES
(Q658557,P50,Q7724)
action is_in
entity Q7724
action find
entity Q658557
relation P50
[ANSWER]
['Q658557', 'P50', 'Q7724']
ASK WHERE { resource:Q658557 property:P50 resource:Q7724 }
Yes
action is_in
entity August Strindberg
action find
entity Miss Julie
relation author
['Miss Julie', 'author', 'August Strindberg']
ASK WHERE { resource:Miss_Julie property:author resource:August_Strindberg }
[]