Simple Question (Direct)
Simple Question
Q23908428
P20
Q56061
USER
Where did Milan Albich expire ?
(Q23908428,P20,c(Q56061))
action filter_type
action find
entity Q23908428
relation P20
type Q56061
['Q23908428', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q23908428 property:P20 ?x }
Milan Albich
action filter_type
action find
entity Milan Albich
relation place of death
type administrative territorial entity
['Milan Albich', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Milan_Albich property:place_of_death ?x }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q23908428,P20,c(Q56061))
action filter_type
action find
entity Q23908428
relation P20
type Q56061
Milan Albich expired in [ANSWER]
['Q23908428', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q23908428 property:P20 ?x }
Prague
Milan Albich expired in Prague
Prague
action filter_type
action find
entity Milan Albich
relation place of death
type administrative territorial entity
['Milan Albich', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Milan_Albich property:place_of_death ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23908428
P27
Q15617994
USER
Which administrative territory does Milan Albich belong to ?
(Q23908428,P27,c(Q15617994))
action filter_type
action find
entity Q23908428
relation P27
type Q15617994
['Q23908428', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q23908428 property:P27 ?f }
Milan Albich
action filter_type
action find
entity Milan Albich
relation country of citizenship
type designation for an administrative territorial entity
['Milan Albich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Milan_Albich property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q23908428,P27,c(Q15617994))
action filter_type
action find
entity Q23908428
relation P27
type Q15617994
Milan Albich belongs to [ANSWER]
['Q23908428', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q23908428 property:P27 ?f }
Czech Republic
Milan Albich belongs to Czech Republic
Czech Republic
action filter_type
action find
entity Milan Albich
relation country of citizenship
type designation for an administrative territorial entity
['Milan Albich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Milan_Albich property:country_of_citizenship ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4408134
Q15617994
USER
And also tell me about Vladimir Sapronov?
(Q4408134,P27,c(Q15617994))
action filter_type
action find
entity Q4408134
relation P27
type Q15617994
['Q4408134', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q4408134 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Vladimir Sapronov
action filter_type
action find
entity Vladimir Sapronov
relation country of citizenship
type designation for an administrative territorial entity
['Vladimir Sapronov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Vladimir_Sapronov property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q4408134,P27,c(Q15617994))
action filter_type
action find
entity Q4408134
relation P27
type Q15617994
[ANSWER]
['Q4408134', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q4408134 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Russia
Russia
action filter_type
action find
entity Vladimir Sapronov
relation country of citizenship
type designation for an administrative territorial entity
['Vladimir Sapronov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Vladimir_Sapronov property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4408134
P106
Q12737077
USER
What are the professions of Vladimir Sapronov ?
(Q4408134,P106,c(Q12737077))
action filter_type
action find
entity Q4408134
relation P106
type Q12737077
['Q4408134', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q4408134 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Vladimir Sapronov
action filter_type
action find
entity Vladimir Sapronov
relation occupation
type occupation
['Vladimir Sapronov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Vladimir_Sapronov property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q36180 Q49757
SYSTEM
writer, poet
Q36180 Q49757
(Q4408134,P106,c(Q12737077))
action filter_type
action find
entity Q4408134
relation P106
type Q12737077
The professions of Vladimir Sapronov are the [ANSWERS]
['Q4408134', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q4408134 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
writer poet
The professions of Vladimir Sapronov are the writer and poet
writer poet
action filter_type
action find
entity Vladimir Sapronov
relation occupation
type occupation
['Vladimir Sapronov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Vladimir_Sapronov property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1515497
Q12737077
USER
And also tell me about Gertraut Last?
(Q1515497,P106,c(Q12737077))
action filter_type
action find
entity Q1515497
relation P106
type Q12737077
['Q1515497', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1515497 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Gertraut Last
action filter_type
action find
entity Gertraut Last
relation occupation
type occupation
['Gertraut Last', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Gertraut_Last property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q1515497,P106,c(Q12737077))
action filter_type
action find
entity Q1515497
relation P106
type Q12737077
[ANSWER]
['Q1515497', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1515497 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
actor
actor
action filter_type
action find
entity Gertraut Last
relation occupation
type occupation
['Gertraut Last', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Gertraut_Last property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1515497
P21
Q290
USER
Which sex does that person possess ?
(Q33999,P21,c(Q290))
action filter_type
action find
entity Q1515497
relation P21
type Q290
['Q33999', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q1515497 property:P21 ?f . ?f rdf:type ontology:Q290 }
Gertraut Last
action filter_type
action find
entity Gertraut Last
relation gender
type sex
['actor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Gertraut_Last property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q33999,P21,c(Q290))
action filter_type
action find
entity Q1515497
relation P21
type Q290
That person possesses the [ANSWER]
['Q33999', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q1515497 property:P21 ?f . ?f rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Gertraut Last
relation gender
type sex
['actor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Gertraut_Last property:gender ?f . ?f rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q188 Q1515497
P161 P364
Q838948
USER
Which works of art stars Gertraut Last as actor and were originally created in German language ?
AND((c(Q838948),P161,Q1515497), (c(Q838948),P364,Q188))
action filter_type
action intersection
action find_reverse
entity Q1515497
relation P161
action find_reverse
entity Q188
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q1515497'], [{'concept': 'Q838948'}, 'P364', 'Q188']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P161 resource:Q1515497 . ?e property:P364 resource:Q188 }
German Gertraut Last
action filter_type
action intersection
action find_reverse
entity Gertraut Last
relation cast member
action find_reverse
entity German
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Gertraut Last'], [{'concept': 'work of art'}, 'original language of work', 'German']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:cast_member resource:Gertraut_Last . ?e property:original_language_of_work resource:German }
[]
work of art
Q2288990
SYSTEM
Sing, Cowboy, sing
Q2288990
AND((c(Q838948),P161,Q1515497), (c(Q838948),P364,Q188))
action filter_type
action intersection
action find_reverse
entity Q1515497
relation P161
action find_reverse
entity Q188
relation P364
type Q838948
[ANSWER] stars Gertraut Last as actor and were originally created in German language
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q1515497'], [{'concept': 'Q838948'}, 'P364', 'Q188']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P161 resource:Q1515497 . ?e property:P364 resource:Q188 }
Sing, Cowboy, sing
Sing, Cowboy, sing stars Gertraut Last as actor and were originally created in German language
Sing, Cowboy, sing
action filter_type
action intersection
action find_reverse
entity Gertraut Last
relation cast member
action find_reverse
entity German
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Gertraut Last'], [{'concept': 'work of art'}, 'original language of work', 'German']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:cast_member resource:Gertraut_Last . ?e property:original_language_of_work resource:German }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2288990
P495
Q7275
USER
Which state is the country of origin of that work of art ?
(Q2288990,P495,c(Q7275))
action filter_type
action find
entity Q2288990
relation P495
type Q7275
['Q2288990', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q2288990 property:P495 ?w . ?w rdf:type ontology:Q7275 }
Sing, Cowboy, sing
action filter_type
action find
entity Sing, Cowboy, sing
relation country of origin
type state
['Sing, Cowboy, sing', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Sing,_Cowboy,_sing property:country_of_origin ?w . ?w rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q2288990,P495,c(Q7275))
action filter_type
action find
entity Q2288990
relation P495
type Q7275
[ANSWER] is the country of origin of that work of art
['Q2288990', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q2288990 property:P495 ?w . ?w rdf:type ontology:Q7275 }
East Germany
East Germany is the country of origin of that work of art
East Germany
action filter_type
action find
entity Sing, Cowboy, sing
relation country of origin
type state
['Sing, Cowboy, sing', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Sing,_Cowboy,_sing property:country_of_origin ?w . ?w rdf:type ontology:state }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q116314 Q1515497
P161
Q838948
USER
Which works of art do Gertraut Last or Jean-Luc Bideau star in ?
OR((c(Q838948),P161,Q1515497), (c(Q838948),P161,Q116314))
action filter_type
action union
action find_reverse
entity Q1515497
relation P161
action find_reverse
entity Q116314
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q1515497'], [{'concept': 'Q838948'}, 'P161', 'Q116314']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . { { ?d property:P161 resource:Q1515497 } UNION { ?d property:P161 resource:Q116314 } } }
Jean-Luc Bideau Gertraut Last
action filter_type
action union
action find_reverse
entity Gertraut Last
relation cast member
action find_reverse
entity Jean-Luc Bideau
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Gertraut Last'], [{'concept': 'work of art'}, 'cast member', 'Jean-Luc Bideau']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . { { ?d property:cast_member resource:Gertraut_Last } UNION { ?d property:cast_member resource:Jean-Luc_Bideau } } }
[]
work of art
Q3236871 Q594151 Q2943573 Q3415296 Q3746626 Q3535730 Q16681883 Q784195 Q1980797 Q2894712
SYSTEM
Some of them are Let My People Go!, A Heart in Winter, That Day, RPM, Flirt, All Fired Up, A Woman One Day, The Thief of Paris, Les Bons Vivants, Belle
Q1272933 Q3415296 Q2894712 Q3316949 Q3230689 Q2943573 Q384776 Q541707 Q3511341 Q582537 Q679483 Q3746626 Q376144 Q1406056 Q3148540 Q1403510 Q3346130 Q1980797 Q594151 Q16681883 Q1199755 Q784195 Q2288990 Q724770 Q570567 Q3535730 Q3496536 Q17984045 Q670633 Q3236871
OR((c(Q838948),P161,Q1515497), (c(Q838948),P161,Q116314))
action filter_type
action union
action find_reverse
entity Q1515497
relation P161
action find_reverse
entity Q116314
relation P161
type Q838948
Gertraut last or Jean-Luc in [ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q1515497'], [{'concept': 'Q838948'}, 'P161', 'Q116314']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . { { ?d property:P161 resource:Q1515497 } UNION { ?d property:P161 resource:Q116314 } } }
Revenge of the Musketeers RPM Belle Mr. Freedom The Surveyors That Day Charles, Dead or Alive Sorcerer Serious as Pleasure Sa majesté Minor Azzurro Flirt The Red Violin Inspecteur Lavardin Bacon on the Side The Invitation Golden Night Les Bons Vivants A Heart in Winter A Woman One Day State of Siege The Thief of Paris Sing, Cowboy, sing Ashanti Last Tango in Paris All Fired Up Stand-by Win Win Jonah Who Will Be 25 in the Year 2000 Let My People Go!
Gertraut last or Jean-Luc in Let My People Go!, A Heart in Winter, That Day, RPM, Flirt, All Fired Up, A Woman One Day, The Thief of Paris, Les Bons Vivants and Belle
Let My People Go! A Heart in Winter That Day RPM Flirt All Fired Up A Woman One Day The Thief of Paris Les Bons Vivants Belle
action filter_type
action union
action find_reverse
entity Gertraut Last
relation cast member
action find_reverse
entity Jean-Luc Bideau
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Gertraut Last'], [{'concept': 'work of art'}, 'cast member', 'Jean-Luc Bideau']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . { { ?d property:cast_member resource:Gertraut_Last } UNION { ?d property:cast_member resource:Jean-Luc_Bideau } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people were casted in that work of art ?
(Q3415296,P161,c(Q502895))
['Q3415296', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1344164 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
['RPM', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:RPM property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q2943573
SYSTEM
Did you mean That Day ?
(Q3236871,P161,c(Q502895)) (Q594151,P161,c(Q502895)) (Q2943573,P161,c(Q502895)) (Q3415296,P161,c(Q502895)) (Q3746626,P161,c(Q502895)) (Q3535730,P161,c(Q502895)) (Q16681883,P161,c(Q502895)) (Q784195,P161,c(Q502895)) (Q1980797,P161,c(Q502895)) (Q2894712,P161,c(Q502895))
[ANSWER]
['Q3236871', 'P161', {'concept': 'Q502895'}] ['Q594151', 'P161', {'concept': 'Q502895'}] ['Q2943573', 'P161', {'concept': 'Q502895'}] ['Q3415296', 'P161', {'concept': 'Q502895'}] ['Q3746626', 'P161', {'concept': 'Q502895'}] ['Q3535730', 'P161', {'concept': 'Q502895'}] ['Q16681883', 'P161', {'concept': 'Q502895'}] ['Q784195', 'P161', {'concept': 'Q502895'}] ['Q1980797', 'P161', {'concept': 'Q502895'}] ['Q2894712', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1344164 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Did you mean That Day ?
That Day
['Let My People Go!', 'cast member', {'concept': 'common name'}] ['A Heart in Winter', 'cast member', {'concept': 'common name'}] ['That Day', 'cast member', {'concept': 'common name'}] ['RPM', 'cast member', {'concept': 'common name'}] ['Flirt', 'cast member', {'concept': 'common name'}] ['All Fired Up', 'cast member', {'concept': 'common name'}] ['A Woman One Day', 'cast member', {'concept': 'common name'}] ['The Thief of Paris', 'cast member', {'concept': 'common name'}] ['Les Bons Vivants', 'cast member', {'concept': 'common name'}] ['Belle', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:RPM property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant RPM. Could you tell me the answer for that?
(Q3415296,P161,c(Q502895))
Q3415296
['Q3415296', 'P161', {'concept': 'Q502895'}]
['RPM', 'cast member', {'concept': 'common name'}]
[]
SYSTEM
7
Q190794 Q109147 Q1229052 Q234890 Q294185 Q116314 Q239476
(Q3415296,P161,c(Q502895))
[ANSWER]
['Q3415296', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1344164 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Famke Janssen Patrick Allen Kenneth Cranham Emmanuelle Seigner David Arquette Jean-Luc Bideau Jerry Hall
7
['RPM', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:RPM property:cast_member ?z . ?z rdf:type ontology:common_name }
[]