Simple Question (Direct)
Simple Question
Q6241443
P495
Q15617994
USER
Which administrative territory is the country of origin of John Jaffer Janardhanan ?
(Q6241443,P495,c(Q15617994))
action filter_type
action find
entity Q6241443
relation P495
type Q15617994
['Q6241443', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q6241443 property:P495 ?w . ?w rdf:type ontology:Q15617994 }
John Jaffer Janardhanan
action filter_type
action find
entity John Jaffer Janardhanan
relation country of origin
type designation for an administrative territorial entity
['John Jaffer Janardhanan', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:John_Jaffer_Janardhanan property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q6241443,P495,c(Q15617994))
action filter_type
action find
entity Q6241443
relation P495
type Q15617994
Of [ANSWER] is the country of origin of John Jaffer Janardhanan
['Q6241443', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q6241443 property:P495 ?w . ?w rdf:type ontology:Q15617994 }
India
Of India is the country of origin of John Jaffer Janardhanan
India
action filter_type
action find
entity John Jaffer Janardhanan
relation country of origin
type designation for an administrative territorial entity
['John Jaffer Janardhanan', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:John_Jaffer_Janardhanan property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6241443
P86
Q502895
USER
Who did the compostion for John Jaffer Janardhanan ?
(Q6241443,P86,c(Q502895))
action filter_type
action find
entity Q6241443
relation P86
type Q502895
['Q6241443', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q6241443 property:P86 ?i . ?i rdf:type ontology:Q502895 }
John Jaffer Janardhanan
action filter_type
action find
entity John Jaffer Janardhanan
relation composer
type common name
['John Jaffer Janardhanan', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:John_Jaffer_Janardhanan property:composer ?i . ?i rdf:type ontology:common_name }
[]
common name
Q7505912
SYSTEM
Shyam
Q7505912
(Q6241443,P86,c(Q502895))
action filter_type
action find
entity Q6241443
relation P86
type Q502895
[ANSWER] did the compostion for John Jaffer Janardhanan
['Q6241443', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q6241443 property:P86 ?i . ?i rdf:type ontology:Q502895 }
Shyam
Shyam did the compostion for John Jaffer Janardhanan
Shyam
action filter_type
action find
entity John Jaffer Janardhanan
relation composer
type common name
['John Jaffer Janardhanan', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:John_Jaffer_Janardhanan property:composer ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2313239
Q502895
USER
And also tell me about The Murderer Lives at Number 21?
(Q2313239,P86,c(Q502895))
action filter_type
action find
entity Q2313239
relation P86
type Q502895
['Q2313239', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q2313239 property:P86 ?k }
The Murderer Lives at Number 21
action filter_type
action find
entity The Murderer Lives at Number 21
relation composer
type common name
['The Murderer Lives at Number 21', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:The_Murderer_Lives_at_Number_21 property:composer ?k }
[]
common name
Q1911484
SYSTEM
Maurice Yvain
Q1911484
(Q2313239,P86,c(Q502895))
action filter_type
action find
entity Q2313239
relation P86
type Q502895
[ANSWER]
['Q2313239', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q2313239 property:P86 ?k }
Maurice Yvain
Maurice Yvain
action filter_type
action find
entity The Murderer Lives at Number 21
relation composer
type common name
['The Murderer Lives at Number 21', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:The_Murderer_Lives_at_Number_21 property:composer ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1911484 Q19818439
P86
Q838948
USER
Does Youthful Folly have that person as the composer ?
(Q19818439,P86,Q1911484)
action is_in
entity Q19818439
action find
entity Q1911484
relation P86
['Q19818439', 'P86', 'Q1911484']
ASK WHERE { resource:Q1911484 property:P86 resource:Q19818439 }
Maurice Yvain Youthful Folly
action is_in
entity Youthful Folly
action find
entity Maurice Yvain
relation composer
['Youthful Folly', 'composer', 'Maurice Yvain']
ASK WHERE { resource:Maurice_Yvain property:composer resource:Youthful_Folly }
[]
work of art
SYSTEM
NO
(Q19818439,P86,Q1911484)
action is_in
entity Q19818439
action find
entity Q1911484
relation P86
[ANSWER]
['Q19818439', 'P86', 'Q1911484']
ASK WHERE { resource:Q1911484 property:P86 resource:Q19818439 }
No
action is_in
entity Youthful Folly
action find
entity Maurice Yvain
relation composer
['Youthful Folly', 'composer', 'Maurice Yvain']
ASK WHERE { resource:Maurice_Yvain property:composer resource:Youthful_Folly }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 778 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 778
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?b rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?b } GROUP BY ?b } . FILTER ( ?z = 778 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 778
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?b rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?b } GROUP BY ?b } . FILTER ( ?z = 778 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 778
[ANSWERS] are played by around 778 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?b rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?b } GROUP BY ?b } . FILTER ( ?z = 778 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by around 778 people
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 778
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?b rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?b } GROUP BY ?b } . FILTER ( ?z = 778 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P361
Q3918
USER
Which university is a component of India ?
(c(Q3918),P361,Q668)
action filter_type
action find_reverse
entity Q668
relation P361
type Q3918
[{'concept': 'Q3918'}, 'P361', 'Q668']
SELECT DISTINCT ?c WHERE { ?c property:P361 resource:Q668 . ?c rdf:type ontology:Q3918 }
India
action filter_type
action find_reverse
entity India
relation part of
type university
[{'concept': 'university'}, 'part of', 'India']
SELECT DISTINCT ?c WHERE { ?c property:part_of resource:India . ?c rdf:type ontology:university }
[]
university
Q6733405
SYSTEM
Maharishi Markandeshwar University, Mullana
Q6733405
(c(Q3918),P361,Q668)
action filter_type
action find_reverse
entity Q668
relation P361
type Q3918
[ANSWER] is a component of India
[{'concept': 'Q3918'}, 'P361', 'Q668']
SELECT DISTINCT ?c WHERE { ?c property:P361 resource:Q668 . ?c rdf:type ontology:Q3918 }
Maharishi Markandeshwar University, Mullana
Maharishi Markandeshwar University, Mullana is a component of India
Maharishi Markandeshwar University, Mullana
action filter_type
action find_reverse
entity India
relation part of
type university
[{'concept': 'university'}, 'part of', 'India']
SELECT DISTINCT ?c WHERE { ?c property:part_of resource:India . ?c rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6733405
P30
Q2221906
USER
Which geographic location is that university situated in ?
(Q6733405,P30,c(Q2221906))
action filter_type
action find
entity Q6733405
relation P30
type Q2221906
['Q6733405', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q6733405 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Maharishi Markandeshwar University, Mullana
action filter_type
action find
entity Maharishi Markandeshwar University, Mullana
relation continent
type geographic location
['Maharishi Markandeshwar University, Mullana', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Maharishi_Markandeshwar_University,_Mullana property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q6733405,P30,c(Q2221906))
action filter_type
action find
entity Q6733405
relation P30
type Q2221906
That university is situated in [ANSWER]
['Q6733405', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q6733405 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Asia
That university is situated in Asia
Asia
action filter_type
action find
entity Maharishi Markandeshwar University, Mullana
relation continent
type geographic location
['Maharishi Markandeshwar University, Mullana', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Maharishi_Markandeshwar_University,_Mullana property:continent ?y . ?y rdf:type ontology:geographic_location }
[]