Simple Question (Direct)
Simple Question
Q3565236
P136
Q1792379
USER
What can be considered as category for Wake Up Sid ?
(Q3565236,P136,c(Q1792379))
action filter_type
action find
entity Q3565236
relation P136
type Q1792379
['Q3565236', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { resource:Q3565236 property:P136 ?g . ?g rdf:type ontology:Q1792379 }
Wake Up Sid
action filter_type
action find
entity Wake Up Sid
relation genre
type art genre
['Wake Up Sid', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { resource:Wake_Up_Sid property:genre ?g . ?g rdf:type ontology:art_genre }
[]
art genre
Q860626
SYSTEM
romantic comedy
Q860626
(Q3565236,P136,c(Q1792379))
action filter_type
action find
entity Q3565236
relation P136
type Q1792379
[ANSWER] can be considered as category for Wake Up Sid
['Q3565236', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { resource:Q3565236 property:P136 ?g . ?g rdf:type ontology:Q1792379 }
romantic comedy
Romantic comedy can be considered as category for Wake Up Sid
romantic comedy
action filter_type
action find
entity Wake Up Sid
relation genre
type art genre
['Wake Up Sid', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { resource:Wake_Up_Sid property:genre ?g . ?g rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P136
Q1001378 Q11424
USER
How many cinematic techniques or films have that art genre as their type ?
(c(Q1001378),P136,Q860626) (c(Q11424),P136,Q860626) (c(Q1001378),P136,Q860626) (c(Q11424),P136,Q860626)
action count
action union
action filter_type
action find_reverse
entity Q860626
relation P136
type Q1001378
action filter_type
action find_reverse
entity Q860626
relation P136
type Q11424
[{'concept': 'Q1001378'}, 'P136', 'Q860626'] [{'concept': 'Q11424'}, 'P136', 'Q860626'] [{'concept': 'Q1001378'}, 'P136', 'Q860626'] [{'concept': 'Q11424'}, 'P136', 'Q860626']
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { ?m rdf:type ontology:Q11424 . ?m property:P136 resource:Q860626 } UNION { ?m property:P136 resource:Q860626 . ?m rdf:type ontology:Q1001378 } }
action count
action union
action filter_type
action find_reverse
entity romantic comedy
relation genre
type cinematic technique
action filter_type
action find_reverse
entity romantic comedy
relation genre
type film
[{'concept': 'cinematic technique'}, 'genre', 'romantic comedy'] [{'concept': 'film'}, 'genre', 'romantic comedy'] [{'concept': 'cinematic technique'}, 'genre', 'romantic comedy'] [{'concept': 'film'}, 'genre', 'romantic comedy']
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { ?m rdf:type ontology:film . ?m property:genre resource:romantic_comedy } UNION { ?m property:genre resource:romantic_comedy . ?m rdf:type ontology:cinematic_technique } }
[]
cinematic technique film
SYSTEM
7
Q1753740 Q748412 Q104905 Q172284 Q11710613 Q753677 Q18517638
(c(Q1001378),P136,Q860626) (c(Q11424),P136,Q860626) (c(Q1001378),P136,Q860626) (c(Q11424),P136,Q860626)
action count
action union
action filter_type
action find_reverse
entity Q860626
relation P136
type Q1001378
action filter_type
action find_reverse
entity Q860626
relation P136
type Q11424
[ANSWER]
[{'concept': 'Q1001378'}, 'P136', 'Q860626'] [{'concept': 'Q11424'}, 'P136', 'Q860626'] [{'concept': 'Q1001378'}, 'P136', 'Q860626'] [{'concept': 'Q11424'}, 'P136', 'Q860626']
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { ?m rdf:type ontology:Q11424 . ?m property:P136 resource:Q860626 } UNION { ?m property:P136 resource:Q860626 . ?m rdf:type ontology:Q1001378 } }
Something's Got to Give Asterix and the Vikings WALL•E Lady and the Tramp I Loved a Soldier Gnomeo & Juliet Toy Story 4
7
action count
action union
action filter_type
action find_reverse
entity romantic comedy
relation genre
type cinematic technique
action filter_type
action find_reverse
entity romantic comedy
relation genre
type film
[{'concept': 'cinematic technique'}, 'genre', 'romantic comedy'] [{'concept': 'film'}, 'genre', 'romantic comedy'] [{'concept': 'cinematic technique'}, 'genre', 'romantic comedy'] [{'concept': 'film'}, 'genre', 'romantic comedy']
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { ?m rdf:type ontology:film . ?m property:genre resource:romantic_comedy } UNION { ?m property:genre resource:romantic_comedy . ?m rdf:type ontology:cinematic_technique } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3565236
P344
Q502895
USER
Who is the director of photography for Wake Up Sid ?
(Q3565236,P344,c(Q502895))
action filter_type
action find
entity Q3565236
relation P344
type Q502895
['Q3565236', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3565236 property:P344 ?c . ?c rdf:type ontology:Q502895 }
Wake Up Sid
action filter_type
action find
entity Wake Up Sid
relation director of photography
type common name
['Wake Up Sid', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Wake_Up_Sid property:director_of_photography ?c . ?c rdf:type ontology:common_name }
[]
common name
Q3617485
SYSTEM
Anil Mehta
Q3617485
(Q3565236,P344,c(Q502895))
action filter_type
action find
entity Q3565236
relation P344
type Q502895
The director of photography for Wake Up Sid is to [ANSWER]
['Q3565236', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3565236 property:P344 ?c . ?c rdf:type ontology:Q502895 }
Anil Mehta
The director of photography for Wake Up Sid is to Anil Mehta
Anil Mehta
action filter_type
action find
entity Wake Up Sid
relation director of photography
type common name
['Wake Up Sid', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Wake_Up_Sid property:director_of_photography ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3617485
P735
Q82799
USER
What is forename of that person ?
(Q3617485,P735,c(Q82799))
action filter_type
action find
entity Q3617485
relation P735
type Q82799
['Q3617485', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q82799 . resource:Q3617485 property:P735 ?g }
Anil Mehta
action filter_type
action find
entity Anil Mehta
relation given name
type name
['Anil Mehta', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:name . resource:Anil_Mehta property:given_name ?g }
[]
name
Q19827640
SYSTEM
Anil
Q19827640
(Q3617485,P735,c(Q82799))
action filter_type
action find
entity Q3617485
relation P735
type Q82799
Forename of that person is the [ANSWER]
['Q3617485', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q82799 . resource:Q3617485 property:P735 ?g }
Anil
Forename of that person is the Anil
Anil
action filter_type
action find
entity Anil Mehta
relation given name
type name
['Anil Mehta', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:name . resource:Anil_Mehta property:given_name ?g }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2888060 Q3617485
P735
Q82799
USER
Or Iris Chacón?
OR((Q3617485,P735,c(Q82799)), (Q2888060,P735,c(Q82799)))
action filter_type
action union
action find
entity Q3617485
relation P735
action find
entity Q2888060
relation P735
type Q82799
{'OR': [['Q3617485', 'P735', {'concept': 'Q82799'}], ['Q2888060', 'P735', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?s WHERE { { ?c property:P735 ?s . VALUES ( ?c ) { ( resource:Q2888060 ) ( resource:Q3617485 ) } } . ?s rdf:type ontology:Q82799 }
Iris Chacón Anil Mehta
action filter_type
action union
action find
entity Anil Mehta
relation given name
action find
entity Iris Chacón
relation given name
type name
{'OR': [['Anil Mehta', 'given name', {'concept': 'name'}], ['Iris Chacón', 'given name', {'concept': 'name'}]]}
SELECT DISTINCT ?s WHERE { { ?c property:given_name ?s . VALUES ( ?c ) { ( resource:Iris_Chacón ) ( resource:Anil_Mehta ) } } . ?s rdf:type ontology:name }
[]
name
Q378867 Q19827640
SYSTEM
Iris, Anil
Q378867 Q19827640
OR((Q3617485,P735,c(Q82799)), (Q2888060,P735,c(Q82799)))
action filter_type
action union
action find
entity Q3617485
relation P735
action find
entity Q2888060
relation P735
type Q82799
[ANSWERS]
{'OR': [['Q3617485', 'P735', {'concept': 'Q82799'}], ['Q2888060', 'P735', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?s WHERE { { ?c property:P735 ?s . VALUES ( ?c ) { ( resource:Q2888060 ) ( resource:Q3617485 ) } } . ?s rdf:type ontology:Q82799 }
Iris Anil
Iris Anil
action filter_type
action union
action find
entity Anil Mehta
relation given name
action find
entity Iris Chacón
relation given name
type name
{'OR': [['Anil Mehta', 'given name', {'concept': 'name'}], ['Iris Chacón', 'given name', {'concept': 'name'}]]}
SELECT DISTINCT ?s WHERE { { ?c property:given_name ?s . VALUES ( ?c ) { ( resource:Iris_Chacón ) ( resource:Anil_Mehta ) } } . ?s rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2888060
P26
Q502895
USER
How many people are married to Iris Chacón ?
(c(Q502895),P26,Q2888060)
action count
action filter_type
action find_reverse
entity Q2888060
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2888060']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P26 resource:Q2888060 . ?p rdf:type ontology:Q502895 }
Iris Chacón
action count
action filter_type
action find_reverse
entity Iris Chacón
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Iris Chacón']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:spouse resource:Iris_Chacón . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q4146448
(c(Q502895),P26,Q2888060)
action count
action filter_type
action find_reverse
entity Q2888060
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q2888060']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P26 resource:Q2888060 . ?p rdf:type ontology:Q502895 }
Elín Ortíz
1
action count
action filter_type
action find_reverse
entity Iris Chacón
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Iris Chacón']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:spouse resource:Iris_Chacón . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q378867
P1750
Q186081
USER
Which time intervals are linked with Iris ?
(Q378867,P1750,c(Q186081))
action filter_type
action find
entity Q378867
relation P1750
type Q186081
['Q378867', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?o WHERE { resource:Q378867 property:P1750 ?o . ?o rdf:type ontology:Q186081 }
Iris
action filter_type
action find
entity Iris
relation name day
type time interval
['Iris', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?o WHERE { resource:Iris property:name_day ?o . ?o rdf:type ontology:time_interval }
[]
time interval
Q2325 Q2584
SYSTEM
February 10, May 24
Q2325 Q2584
(Q378867,P1750,c(Q186081))
action filter_type
action find
entity Q378867
relation P1750
type Q186081
[ANSWERS] are linked with Iris
['Q378867', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?o WHERE { resource:Q378867 property:P1750 ?o . ?o rdf:type ontology:Q186081 }
February 10 May 24
February 10 and May 24 are linked with Iris
February 10 May 24
action filter_type
action find
entity Iris
relation name day
type time interval
['Iris', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?o WHERE { resource:Iris property:name_day ?o . ?o rdf:type ontology:time_interval }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19602858
Q186081
USER
And what about Václava?
(Q19602858,P1750,c(Q186081))
action filter_type
action find
entity Q19602858
relation P1750
type Q186081
['Q19602858', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?x WHERE { resource:Q19602858 property:P1750 ?x . ?x rdf:type ontology:Q186081 }
Václava
action filter_type
action find
entity Václava
relation name day
type time interval
['Václava', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?x WHERE { resource:Václava property:name_day ?x . ?x rdf:type ontology:time_interval }
[]
time interval
Q2883
SYSTEM
September 28
Q2883
(Q19602858,P1750,c(Q186081))
action filter_type
action find
entity Q19602858
relation P1750
type Q186081
[ANSWER]
['Q19602858', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?x WHERE { resource:Q19602858 property:P1750 ?x . ?x rdf:type ontology:Q186081 }
September 28
September 28
action filter_type
action find
entity Václava
relation name day
type time interval
['Václava', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?x WHERE { resource:Václava property:name_day ?x . ?x rdf:type ontology:time_interval }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3565236
P840
Q56061
USER
Which narrative location is Wake Up Sid set in ?
(Q3565236,P840,c(Q56061))
action filter_type
action find
entity Q3565236
relation P840
type Q56061
['Q3565236', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3565236 property:P840 ?k . ?k rdf:type ontology:Q56061 }
Wake Up Sid
action filter_type
action find
entity Wake Up Sid
relation narrative location
type administrative territorial entity
['Wake Up Sid', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Wake_Up_Sid property:narrative_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1156
SYSTEM
Mumbai
Q1156
(Q3565236,P840,c(Q56061))
action filter_type
action find
entity Q3565236
relation P840
type Q56061
Which narrative location is Wake Up Sid set in
['Q3565236', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3565236 property:P840 ?k . ?k rdf:type ontology:Q56061 }
Mumbai
Which narrative location is Wake Up Sid set in
Mumbai
action filter_type
action find
entity Wake Up Sid
relation narrative location
type administrative territorial entity
['Wake Up Sid', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Wake_Up_Sid property:narrative_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1156 Q2768427
P190
Q56061
USER
Is Matar sister town of Mumbai ?
(Q1156,P190,Q2768427)
action is_in
entity Q2768427
action find
entity Q1156
relation P190
['Q1156', 'P190', 'Q2768427']
ASK WHERE { resource:Q1156 property:P190 resource:Q2768427 }
Mumbai Matar
action is_in
entity Matar
action find
entity Mumbai
relation sister city
['Mumbai', 'sister city', 'Matar']
ASK WHERE { resource:Mumbai property:sister_city resource:Matar }
[]
administrative territorial entity
SYSTEM
NO
(Q1156,P190,Q2768427)
action is_in
entity Q2768427
action find
entity Q1156
relation P190
[ANSWER]
['Q1156', 'P190', 'Q2768427']
ASK WHERE { resource:Q1156 property:P190 resource:Q2768427 }
No
action is_in
entity Matar
action find
entity Mumbai
relation sister city
['Mumbai', 'sister city', 'Matar']
ASK WHERE { resource:Mumbai property:sister_city resource:Matar }
[]