Simple Question (Direct)
Simple Question
Q3429749
P344
Q502895
USER
Who is appointed as the cinematographer of Mukti ?
(Q3429749,P344,c(Q502895))
action filter_type
action find
entity Q3429749
relation P344
type Q502895
['Q3429749', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q3429749 property:P344 ?b . ?b rdf:type ontology:Q502895 }
Mukti
action filter_type
action find
entity Mukti
relation director of photography
type common name
['Mukti', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Mukti property:director_of_photography ?b . ?b rdf:type ontology:common_name }
[]
common name
Q11031640
SYSTEM
K. K. Mahajan
Q11031640
(Q3429749,P344,c(Q502895))
action filter_type
action find
entity Q3429749
relation P344
type Q502895
K. Mahajan is appointed as the cinematographer of Mukti
['Q3429749', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q3429749 property:P344 ?b . ?b rdf:type ontology:Q502895 }
K. K. Mahajan
K. Mahajan is appointed as the cinematographer of Mukti
K. K. Mahajan
action filter_type
action find
entity Mukti
relation director of photography
type common name
['Mukti', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Mukti property:director_of_photography ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3429749
P58
Q502895
USER
Who was the screenwriter for that work of art ?
(Q11031640,P58,c(Q502895))
action filter_type
action find
entity Q3429749
relation P58
type Q502895
['Q11031640', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q3429749 property:P58 ?m . ?m rdf:type ontology:Q502895 }
Mukti
action filter_type
action find
entity Mukti
relation screenwriter
type common name
['K. K. Mahajan', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Mukti property:screenwriter ?m . ?m rdf:type ontology:common_name }
[]
common name
Q5269818
SYSTEM
Dhruva Chatterjee
Q5269818
(Q11031640,P58,c(Q502895))
action filter_type
action find
entity Q3429749
relation P58
type Q502895
The screenwriter for that work of art was titled [ANSWER]
['Q11031640', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q3429749 property:P58 ?m . ?m rdf:type ontology:Q502895 }
Dhruva Chatterjee
The screenwriter for that work of art was titled Dhruva Chatterjee
Dhruva Chatterjee
action filter_type
action find
entity Mukti
relation screenwriter
type common name
['K. K. Mahajan', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Mukti property:screenwriter ?m . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5269818 Q822590
P58
Q838948
USER
Is that person a screenwriter of Mr. & Mrs. '55 ?
(Q822590,P58,Q5269818)
action is_in
entity Q822590
action find
entity Q5269818
relation P58
['Q822590', 'P58', 'Q5269818']
ASK WHERE { resource:Q5269818 property:P58 resource:Q822590 }
Dhruva Chatterjee Mr. & Mrs. '55
action is_in
entity Mr. & Mrs. '55
action find
entity Dhruva Chatterjee
relation screenwriter
["Mr. & Mrs. '55", 'screenwriter', 'Dhruva Chatterjee']
ASK WHERE { resource:Dhruva_Chatterjee property:screenwriter resource:Mr._&_Mrs._'55 }
[]
work of art
SYSTEM
NO
(Q822590,P58,Q5269818)
action is_in
entity Q822590
action find
entity Q5269818
relation P58
[ANSWER]
['Q822590', 'P58', 'Q5269818']
ASK WHERE { resource:Q5269818 property:P58 resource:Q822590 }
No
action is_in
entity Mr. & Mrs. '55
action find
entity Dhruva Chatterjee
relation screenwriter
["Mr. & Mrs. '55", 'screenwriter', 'Dhruva Chatterjee']
ASK WHERE { resource:Dhruva_Chatterjee property:screenwriter resource:Mr._&_Mrs._'55 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11031640
P735
Q82799
USER
What is the firstname of K. K. Mahajan ?
(Q11031640,P735,c(Q82799))
action filter_type
action find
entity Q11031640
relation P735
type Q82799
['Q11031640', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q11031640 property:P735 ?t . ?t rdf:type ontology:Q82799 }
K. K. Mahajan
action filter_type
action find
entity K. K. Mahajan
relation given name
type name
['K. K. Mahajan', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:K._K._Mahajan property:given_name ?t . ?t rdf:type ontology:name }
[]
name
Q19803508
SYSTEM
K.
Q19803508
(Q11031640,P735,c(Q82799))
action filter_type
action find
entity Q11031640
relation P735
type Q82799
The firstname of [ANSWER] K . Mahajan is of [ANSWER]
['Q11031640', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q11031640 property:P735 ?t . ?t rdf:type ontology:Q82799 }
K.
The firstname of K. K . Mahajan is of K.
K.
action filter_type
action find
entity K. K. Mahajan
relation given name
type name
['K. K. Mahajan', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:K._K._Mahajan property:given_name ?t . ?t rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11031640
P20
Q56061
USER
Where did K. K. Mahajan expire ?
(Q11031640,P20,c(Q56061))
action filter_type
action find
entity Q11031640
relation P20
type Q56061
['Q11031640', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q11031640 property:P20 ?t . ?t rdf:type ontology:Q56061 }
K. K. Mahajan
action filter_type
action find
entity K. K. Mahajan
relation place of death
type administrative territorial entity
['K. K. Mahajan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:K._K._Mahajan property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1156
SYSTEM
Mumbai
Q1156
(Q11031640,P20,c(Q56061))
action filter_type
action find
entity Q11031640
relation P20
type Q56061
K. K Mahajan expired in [ANSWER] .
['Q11031640', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q11031640 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Mumbai
K. K Mahajan expired in Mumbai .
Mumbai
action filter_type
action find
entity K. K. Mahajan
relation place of death
type administrative territorial entity
['K. K. Mahajan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:K._K._Mahajan property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2178060
Q56061
USER
And also tell me about Louis Tytgadt?
(Q2178060,P20,c(Q56061))
action filter_type
action find
entity Q2178060
relation P20
type Q56061
['Q2178060', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q2178060 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Louis Tytgadt
action filter_type
action find
entity Louis Tytgadt
relation place of death
type administrative territorial entity
['Louis Tytgadt', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Louis_Tytgadt property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1296
SYSTEM
Ghent
Q1296
(Q2178060,P20,c(Q56061))
action filter_type
action find
entity Q2178060
relation P20
type Q56061
[ANSWER]
['Q2178060', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q2178060 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Ghent
Ghent
action filter_type
action find
entity Louis Tytgadt
relation place of death
type administrative territorial entity
['Louis Tytgadt', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Louis_Tytgadt property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1296
P190
Q20667921
USER
Which french administrative division is twin town of that administrative territory ?
(Q1296,P190,c(Q20667921))
action filter_type
action find
entity Q1296
relation P190
type Q20667921
['Q1296', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q1296 property:P190 ?g . ?g rdf:type ontology:Q20667921 }
Ghent
action filter_type
action find
entity Ghent
relation sister city
type type of french administrative division
['Ghent', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Ghent property:sister_city ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q234281
SYSTEM
Saint-Raphaël
Q234281
(Q1296,P190,c(Q20667921))
action filter_type
action find
entity Q1296
relation P190
type Q20667921
[ANSWER] is twin town of that administrative territory
['Q1296', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q1296 property:P190 ?g . ?g rdf:type ontology:Q20667921 }
Saint-Raphaël
Saint-Raphaël is twin town of that administrative territory
Saint-Raphaël
action filter_type
action find
entity Ghent
relation sister city
type type of french administrative division
['Ghent', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Ghent property:sister_city ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1156 Q758635
P190
Q486972
USER
How many human settlements are sister towns of Mumbai or Auckland Council ?
(Q1156,P190,c(Q486972)) (Q758635,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q1156
relation P190
type Q486972
action filter_type
action find
entity Q758635
relation P190
type Q486972
['Q1156', 'P190', {'concept': 'Q486972'}] ['Q758635', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { resource:Q758635 property:P190 ?s . ?s rdf:type ontology:Q486972 } UNION { resource:Q1156 property:P190 ?s . ?s rdf:type ontology:Q486972 } }
Mumbai Auckland Council
action count
action union
action filter_type
action find
entity Mumbai
relation sister city
type human settlement
action filter_type
action find
entity Auckland Council
relation sister city
type human settlement
['Mumbai', 'sister city', {'concept': 'human settlement'}] ['Auckland Council', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { resource:Auckland_Council property:sister_city ?s . ?s rdf:type ontology:human_settlement } UNION { resource:Mumbai property:sister_city ?s . ?s rdf:type ontology:human_settlement } }
[]
human settlement
SYSTEM
2
Q233495 Q1055
(Q1156,P190,c(Q486972)) (Q758635,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q1156
relation P190
type Q486972
action filter_type
action find
entity Q758635
relation P190
type Q486972
[ANSWER]
['Q1156', 'P190', {'concept': 'Q486972'}] ['Q758635', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { resource:Q758635 property:P190 ?s . ?s rdf:type ontology:Q486972 } UNION { resource:Q1156 property:P190 ?s . ?s rdf:type ontology:Q486972 } }
Shinagawa-ku Hamburg
2
action count
action union
action filter_type
action find
entity Mumbai
relation sister city
type human settlement
action filter_type
action find
entity Auckland Council
relation sister city
type human settlement
['Mumbai', 'sister city', {'concept': 'human settlement'}] ['Auckland Council', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { resource:Auckland_Council property:sister_city ?s . ?s rdf:type ontology:human_settlement } UNION { resource:Mumbai property:sister_city ?s . ?s rdf:type ontology:human_settlement } }
[]