Simple Question (Direct)
Simple Question
Q3506911
P19
Q515
USER
Which city is the place of birth of Sylvain Ageorges ?
(Q3506911,P19,c(Q515))
action filter_type
action find
entity Q3506911
relation P19
type Q515
['Q3506911', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q3506911 property:P19 ?q . ?q rdf:type ontology:Q515 }
Sylvain Ageorges
action filter_type
action find
entity Sylvain Ageorges
relation place of birth
type city
['Sylvain Ageorges', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Sylvain_Ageorges property:place_of_birth ?q . ?q rdf:type ontology:city }
[]
city
Q23482
SYSTEM
Marseille
Q23482
(Q3506911,P19,c(Q515))
action filter_type
action find
entity Q3506911
relation P19
type Q515
[ANSWER] is the place of birth of Sylvain Ageorges
['Q3506911', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q3506911 property:P19 ?q . ?q rdf:type ontology:Q515 }
Marseille
Marseille is the place of birth of Sylvain Ageorges
Marseille
action filter_type
action find
entity Sylvain Ageorges
relation place of birth
type city
['Sylvain Ageorges', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Sylvain_Ageorges property:place_of_birth ?q . ?q rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23482
P1444
Q2912397
USER
Which single-day race ends its journey at that city ?
(c(Q2912397),P1444,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P1444
type Q2912397
[{'concept': 'Q2912397'}, 'P1444', 'Q23482']
SELECT DISTINCT ?u WHERE { ?u property:P1444 resource:Q23482 . ?u rdf:type ontology:Q2912397 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation destination point
type single-day race
[{'concept': 'single-day race'}, 'destination point', 'Marseille']
SELECT DISTINCT ?u WHERE { ?u property:destination_point resource:Marseille . ?u rdf:type ontology:single-day_race }
[]
single-day race
Q18745059
SYSTEM
2015 Grand Prix d'Ouverture La Marseillaise
Q18745059
(c(Q2912397),P1444,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P1444
type Q2912397
Which single-day race ends its journey at that city
[{'concept': 'Q2912397'}, 'P1444', 'Q23482']
SELECT DISTINCT ?u WHERE { ?u property:P1444 resource:Q23482 . ?u rdf:type ontology:Q2912397 }
2015 Grand Prix d'Ouverture La Marseillaise
Which single-day race ends its journey at that city
2015 Grand Prix d'Ouverture La Marseillaise
action filter_type
action find_reverse
entity Marseille
relation destination point
type single-day race
[{'concept': 'single-day race'}, 'destination point', 'Marseille']
SELECT DISTINCT ?u WHERE { ?u property:destination_point resource:Marseille . ?u rdf:type ontology:single-day_race }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3506911
P108
Q11032
USER
Which newspaper is the workplace of Sylvain Ageorges ?
(Q3506911,P108,c(Q11032))
action filter_type
action find
entity Q3506911
relation P108
type Q11032
['Q3506911', 'P108', {'concept': 'Q11032'}]
SELECT DISTINCT ?z WHERE { resource:Q3506911 property:P108 ?z . ?z rdf:type ontology:Q11032 }
Sylvain Ageorges
action filter_type
action find
entity Sylvain Ageorges
relation employer
type newspaper
['Sylvain Ageorges', 'employer', {'concept': 'newspaper'}]
SELECT DISTINCT ?z WHERE { resource:Sylvain_Ageorges property:employer ?z . ?z rdf:type ontology:newspaper }
[]
newspaper
Q646229
SYSTEM
L'Express
Q646229
(Q3506911,P108,c(Q11032))
action filter_type
action find
entity Q3506911
relation P108
type Q11032
[ANSWER] is the workplace of Sylvain Ageorges
['Q3506911', 'P108', {'concept': 'Q11032'}]
SELECT DISTINCT ?z WHERE { resource:Q3506911 property:P108 ?z . ?z rdf:type ontology:Q11032 }
L'Express
L'Express is the workplace of Sylvain Ageorges
L'Express
action filter_type
action find
entity Sylvain Ageorges
relation employer
type newspaper
['Sylvain Ageorges', 'employer', {'concept': 'newspaper'}]
SELECT DISTINCT ?z WHERE { resource:Sylvain_Ageorges property:employer ?z . ?z rdf:type ontology:newspaper }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q553135
Q11032
USER
And how about Pierre Péan?
(Q553135,P108,c(Q11032))
action filter_type
action find
entity Q553135
relation P108
type Q11032
['Q553135', 'P108', {'concept': 'Q11032'}]
SELECT DISTINCT ?a WHERE { resource:Q553135 property:P108 ?a . ?a rdf:type ontology:Q11032 }
Pierre Péan
action filter_type
action find
entity Pierre Péan
relation employer
type newspaper
['Pierre Péan', 'employer', {'concept': 'newspaper'}]
SELECT DISTINCT ?a WHERE { resource:Pierre_Péan property:employer ?a . ?a rdf:type ontology:newspaper }
[]
newspaper
Q646229
SYSTEM
L'Express
Q646229
(Q553135,P108,c(Q11032))
action filter_type
action find
entity Q553135
relation P108
type Q11032
[ANSWER]
['Q553135', 'P108', {'concept': 'Q11032'}]
SELECT DISTINCT ?a WHERE { resource:Q553135 property:P108 ?a . ?a rdf:type ontology:Q11032 }
L'Express
L'Express
action filter_type
action find
entity Pierre Péan
relation employer
type newspaper
['Pierre Péan', 'employer', {'concept': 'newspaper'}]
SELECT DISTINCT ?a WHERE { resource:Pierre_Péan property:employer ?a . ?a rdf:type ontology:newspaper }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q389628 Q18745059
P1346
Q502895
USER
Which people won 2015 Grand Prix d'Ouverture La Marseillaise or Filmfare Award for Best Performance in a Comic Role ?
OR((Q18745059,P1346,c(Q502895)), (Q389628,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q18745059
relation P1346
action find
entity Q389628
relation P1346
type Q502895
{'OR': [['Q18745059', 'P1346', {'concept': 'Q502895'}], ['Q389628', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { ?t property:P1346 ?g . VALUES ( ?t ) { ( resource:Q18745059 ) ( resource:Q389628 ) } } . ?g rdf:type ontology:Q502895 }
Filmfare Award for Best Performance in a Comic Role 2015 Grand Prix d'Ouverture La Marseillaise
action filter_type
action union
action find
entity 2015 Grand Prix d'Ouverture La Marseillaise
relation winner
action find
entity Filmfare Award for Best Performance in a Comic Role
relation winner
type common name
{'OR': [["2015 Grand Prix d'Ouverture La Marseillaise", 'winner', {'concept': 'common name'}], ['Filmfare Award for Best Performance in a Comic Role', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { ?t property:winner ?g . VALUES ( ?t ) { ( resource:2015_Grand_Prix_d'Ouverture_La_Marseillaise ) ( resource:Filmfare_Award_for_Best_Performance_in_a_Comic_Role ) } } . ?g rdf:type ontology:common_name }
[]
common name
Q6395064 Q3595129 Q7296611 Q3182985 Q2347724 Q310867 Q2271567 Q11108314 Q983571 Q15792007
SYSTEM
Some of them are Keshto Mukherjee, Asrani, Ravi Baswani, Johnny Walker, Steven Tronet, Sanjay Dutt, Kenneth Vanbilsen, I. S. Johar, Johnny Lever, Antoine Demoitié
Q252290 Q2271567 Q3123705 Q3191765 Q15792007 Q704859 Q7124977 Q11108314 Q355748 Q233748 Q7296611 Q7089349 Q560163 Q18213964 Q983571 Q6395064 Q46392 Q2723876 Q1396883 Q312789 Q3121114 Q3595129 Q5266851 Q3182985 Q1992008 Q2347724 Q310867
OR((Q18745059,P1346,c(Q502895)), (Q389628,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q18745059
relation P1346
action find
entity Q389628
relation P1346
type Q502895
[ANSWERS] won 2015 Grand Prix d'Ouverture La Marseillaise or Filmfare Award for Best Performance in a Comic Role
{'OR': [['Q18745059', 'P1346', {'concept': 'Q502895'}], ['Q389628', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { ?t property:P1346 ?g . VALUES ( ?t ) { ( resource:Q18745059 ) ( resource:Q389628 ) } } . ?g rdf:type ontology:Q502895 }
Saif Ali Khan Kenneth Vanbilsen Paresh Rawal Kader Khan Antoine Demoitié Arshad Warsi Paintal I. S. Johar Mehmood Ali Akshay Kumar Ravi Baswani Om Prakash Anupam Kher Simone Antonini Johnny Lever Keshto Mukherjee Amjad Khan Utpal Dutt Pim Ligthart Shakti Kapoor Satish Kaushik Asrani Deven Verma Johnny Walker Govinda Steven Tronet Sanjay Dutt
Keshto Mukherjee, Asrani, Ravi Baswani, Johnny Walker, Steven Tronet, Sanjay Dutt, Kenneth Vanbilsen, I. S. Johar, Johnny Lever and Antoine Demoitié won 2015 Grand Prix d'Ouverture La Marseillaise or Filmfare Award for Best Performance in a Comic Role
Keshto Mukherjee Asrani Ravi Baswani Johnny Walker Steven Tronet Sanjay Dutt Kenneth Vanbilsen I. S. Johar Johnny Lever Antoine Demoitié
action filter_type
action union
action find
entity 2015 Grand Prix d'Ouverture La Marseillaise
relation winner
action find
entity Filmfare Award for Best Performance in a Comic Role
relation winner
type common name
{'OR': [["2015 Grand Prix d'Ouverture La Marseillaise", 'winner', {'concept': 'common name'}], ['Filmfare Award for Best Performance in a Comic Role', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { ?t property:winner ?g . VALUES ( ?t ) { ( resource:2015_Grand_Prix_d'Ouverture_La_Marseillaise ) ( resource:Filmfare_Award_for_Best_Performance_in_a_Comic_Role ) } } . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atleast 348 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 348
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P1303 ?r . ?x rdf:type ontology:Q502895 . ?r rdf:type ontology:Q34379 } GROUP BY ?r } . FILTER ( ?k >= 348 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 348
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:instrument ?r . ?x rdf:type ontology:common_name . ?r rdf:type ontology:musical_instrument } GROUP BY ?r } . FILTER ( ?k >= 348 ) }
[]
musical instrument common name
Q5994 Q80284 Q46185
SYSTEM
piano, viola, bass guitar
Q80284 Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 348
Atleast 348 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P1303 ?r . ?x rdf:type ontology:Q502895 . ?r rdf:type ontology:Q34379 } GROUP BY ?r } . FILTER ( ?k >= 348 ) }
viola bass guitar double bass piano trumpet cello violin organ drum kit
Atleast 348 people know about piano, viola and bass guitar
piano viola bass guitar
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 348
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:instrument ?r . ?x rdf:type ontology:common_name . ?r rdf:type ontology:musical_instrument } GROUP BY ?r } . FILTER ( ?k >= 348 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16006788
P1303
Q502895
USER
Does J. E. Stanley Lewis play those musical instruments ?
(Q16006788,P1303,Q5994) (Q16006788,P1303,Q80284) (Q16006788,P1303,Q46185)
action is_in
entity prev_answer
action find
entity Q16006788
relation P1303
['Q16006788', 'P1303', 'Q5994'] ['Q16006788', 'P1303', 'Q80284'] ['Q16006788', 'P1303', 'Q46185']
ASK WHERE { VALUES ( ?p ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q80019 ) } . resource:Q16006788 property:P1303 ?p }
J. E. Stanley Lewis
action is_in
entity prev_answer
action find
entity J. E. Stanley Lewis
relation instrument
['J. E. Stanley Lewis', 'instrument', 'piano'] ['J. E. Stanley Lewis', 'instrument', 'viola'] ['J. E. Stanley Lewis', 'instrument', 'bass guitar']
ASK WHERE { VALUES ( ?p ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:double_bass ) } . resource:J._E._Stanley_Lewis property:instrument ?p }
[]
common name
SYSTEM
NO
(Q16006788,P1303,Q5994) (Q16006788,P1303,Q80284) (Q16006788,P1303,Q46185)
action is_in
entity prev_answer
action find
entity Q16006788
relation P1303
[ANSWER]
['Q16006788', 'P1303', 'Q5994'] ['Q16006788', 'P1303', 'Q80284'] ['Q16006788', 'P1303', 'Q46185']
ASK WHERE { VALUES ( ?p ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q80019 ) } . resource:Q16006788 property:P1303 ?p }
No
action is_in
entity prev_answer
action find
entity J. E. Stanley Lewis
relation instrument
['J. E. Stanley Lewis', 'instrument', 'piano'] ['J. E. Stanley Lewis', 'instrument', 'viola'] ['J. E. Stanley Lewis', 'instrument', 'bass guitar']
ASK WHERE { VALUES ( ?p ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:double_bass ) } . resource:J._E._Stanley_Lewis property:instrument ?p }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q28782 Q18745059
P17
Q15617994
USER
Which administrative territories are 2015 Grand Prix d'Ouverture La Marseillaise or 2001–02 Greek Cup a part of ?
OR((Q18745059,P17,c(Q15617994)), (Q28782,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18745059
relation P17
action find
entity Q28782
relation P17
type Q15617994
{'OR': [['Q18745059', 'P17', {'concept': 'Q15617994'}], ['Q28782', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?m ) { ( resource:Q18745059 ) ( resource:Q28782 ) } . ?m property:P17 ?t } . ?t rdf:type ontology:Q15617994 }
2001–02 Greek Cup 2015 Grand Prix d'Ouverture La Marseillaise
action filter_type
action union
action find
entity 2015 Grand Prix d'Ouverture La Marseillaise
relation country
action find
entity 2001–02 Greek Cup
relation country
type designation for an administrative territorial entity
{'OR': [["2015 Grand Prix d'Ouverture La Marseillaise", 'country', {'concept': 'designation for an administrative territorial entity'}], ['2001–02 Greek Cup', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?m ) { ( resource:2015_Grand_Prix_d'Ouverture_La_Marseillaise ) ( resource:2001–02_Greek_Cup ) } . ?m property:country ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q41
SYSTEM
France, Greece
Q142 Q41
OR((Q18745059,P17,c(Q15617994)), (Q28782,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18745059
relation P17
action find
entity Q28782
relation P17
type Q15617994
[ANSWERS] are 2015 Grand Prix d'Ouverture La Marseillaise or 2001–02 Greek Cup a part of
{'OR': [['Q18745059', 'P17', {'concept': 'Q15617994'}], ['Q28782', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?m ) { ( resource:Q18745059 ) ( resource:Q28782 ) } . ?m property:P17 ?t } . ?t rdf:type ontology:Q15617994 }
France Greece
France and Greece are 2015 Grand Prix d'Ouverture La Marseillaise or 2001–02 Greek Cup a part of
France Greece
action filter_type
action union
action find
entity 2015 Grand Prix d'Ouverture La Marseillaise
relation country
action find
entity 2001–02 Greek Cup
relation country
type designation for an administrative territorial entity
{'OR': [["2015 Grand Prix d'Ouverture La Marseillaise", 'country', {'concept': 'designation for an administrative territorial entity'}], ['2001–02 Greek Cup', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?m ) { ( resource:2015_Grand_Prix_d'Ouverture_La_Marseillaise ) ( resource:2001–02_Greek_Cup ) } . ?m property:country ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]