Simple Question (Direct)
Simple Question
Q2405701
P734
Q82799
USER
Who is associated with Terry Miller ?
(Q2405701,P734,c(Q82799))
action filter_type
action find
entity Q2405701
relation P734
type Q82799
['Q2405701', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q2405701 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Terry Miller
action filter_type
action find
entity Terry Miller
relation family name
type name
['Terry Miller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Terry_Miller property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q1605060
SYSTEM
Miller
Q1605060
(Q2405701,P734,c(Q82799))
action filter_type
action find
entity Q2405701
relation P734
type Q82799
The [ANSWER] is associated with Terry [ANSWER]
['Q2405701', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q2405701 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Miller
The Miller is associated with Terry Miller
Miller
action filter_type
action find
entity Terry Miller
relation family name
type name
['Terry Miller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Terry_Miller property:family_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2405701
P1196
Q1931388
USER
What situation did that person die in ?
(Q1605060,P1196,c(Q1931388))
action filter_type
action find
entity Q2405701
relation P1196
type Q1931388
['Q1605060', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q2405701 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
Terry Miller
action filter_type
action find
entity Terry Miller
relation manner of death
type cause of death
['Miller', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Terry_Miller property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1605060,P1196,c(Q1931388))
action filter_type
action find
entity Q2405701
relation P1196
type Q1931388
That person died in [ANSWER]
['Q1605060', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q2405701 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Terry Miller
relation manner of death
type cause of death
['Miller', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Terry_Miller property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2405701
P27
Q15617994
USER
How many administrative territories are Terry Miller a civilian of ?
(Q2405701,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2405701
relation P27
type Q15617994
['Q2405701', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q2405701 property:P27 ?u }
Terry Miller
action count
action filter_type
action find
entity Terry Miller
relation country of citizenship
type designation for an administrative territorial entity
['Terry Miller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Terry_Miller property:country_of_citizenship ?u }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q2405701,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2405701
relation P27
type Q15617994
[ANSWER]
['Q2405701', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q2405701 property:P27 ?u }
United States of America
1
action count
action filter_type
action find
entity Terry Miller
relation country of citizenship
type designation for an administrative territorial entity
['Terry Miller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Terry_Miller property:country_of_citizenship ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1605060
P407
Q34770
USER
Which language is Miller in ?
(Q1605060,P407,c(Q34770))
action filter_type
action find
entity Q1605060
relation P407
type Q34770
['Q1605060', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q1605060 property:P407 ?m }
Miller
action filter_type
action find
entity Miller
relation language of work or name
type language
['Miller', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:Miller property:language_of_work_or_name ?m }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1605060,P407,c(Q34770))
action filter_type
action find
entity Q1605060
relation P407
type Q34770
Which language is Miller in
['Q1605060', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q1605060 property:P407 ?m }
English
Which language is Miller in
English
action filter_type
action find
entity Miller
relation language of work or name
type language
['Miller', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:Miller property:language_of_work_or_name ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q930644
Q34770
USER
And what about Neighborhoods?
(Q930644,P407,c(Q34770))
action filter_type
action find
entity Q930644
relation P407
type Q34770
['Q930644', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q930644 property:P407 ?r . ?r rdf:type ontology:Q34770 }
Neighborhoods
action filter_type
action find
entity Neighborhoods
relation language of work or name
type language
['Neighborhoods', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Neighborhoods property:language_of_work_or_name ?r . ?r rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q930644,P407,c(Q34770))
action filter_type
action find
entity Q930644
relation P407
type Q34770
[ANSWER]
['Q930644', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q930644 property:P407 ?r . ?r rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Neighborhoods
relation language of work or name
type language
['Neighborhoods', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Neighborhoods property:language_of_work_or_name ?r . ?r rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7262537 Q930644
P495 P17
Q15617994
USER
Which administrative territories are the countries of origin of Neighborhoods or do Puugutaa Island belong to ?
OR((Q930644,P495,c(Q15617994)), (Q7262537,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q930644
relation P495
action find
entity Q7262537
relation P17
type Q15617994
{'OR': [['Q930644', 'P495', {'concept': 'Q15617994'}], ['Q7262537', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q930644 property:P495 ?m } UNION { resource:Q7262537 property:P17 ?m } } }
Puugutaa Island Neighborhoods
action filter_type
action union
action find
entity Neighborhoods
relation country of origin
action find
entity Puugutaa Island
relation country
type designation for an administrative territorial entity
{'OR': [['Neighborhoods', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Puugutaa Island', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Neighborhoods property:country_of_origin ?m } UNION { resource:Puugutaa_Island property:country ?m } } }
[]
designation for an administrative territorial entity
Q30 Q223
SYSTEM
United States of America, Greenland
Q30 Q223
OR((Q930644,P495,c(Q15617994)), (Q7262537,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q930644
relation P495
action find
entity Q7262537
relation P17
type Q15617994
[ANSWERS] are the countries of origin of Neighborhoods or do Puugutaa Island belong to
{'OR': [['Q930644', 'P495', {'concept': 'Q15617994'}], ['Q7262537', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q930644 property:P495 ?m } UNION { resource:Q7262537 property:P17 ?m } } }
United States of America Greenland
United States of America and Greenland are the countries of origin of Neighborhoods or do Puugutaa Island belong to
United States of America Greenland
action filter_type
action union
action find
entity Neighborhoods
relation country of origin
action find
entity Puugutaa Island
relation country
type designation for an administrative territorial entity
{'OR': [['Neighborhoods', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Puugutaa Island', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Neighborhoods property:country_of_origin ?m } UNION { resource:Puugutaa_Island property:country ?m } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q223
P172
Q502895
USER
Which person has that administrative territory as his/her race ?
(c(Q502895),P172,Q223)
action filter_type
action find_reverse
entity Q223
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q223']
SELECT DISTINCT ?y WHERE { ?y property:P172 resource:Q223 . ?y rdf:type ontology:Q502895 }
Greenland
action filter_type
action find_reverse
entity Greenland
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Greenland']
SELECT DISTINCT ?y WHERE { ?y property:ethnic_group resource:Greenland . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q30
SYSTEM
Did you mean United States of America ?
Q30 Q223
(c(Q502895),P172,Q30) (c(Q502895),P172,Q223)
[ANSWER]
[{'concept': 'Q502895'}, 'P172', 'Q30'] [{'concept': 'Q502895'}, 'P172', 'Q223']
SELECT DISTINCT ?y WHERE { ?y property:P172 resource:Q223 . ?y rdf:type ontology:Q502895 }
United States of America Greenland
Did you mean United States of America ?
United States of America
[{'concept': 'common name'}, 'ethnic group', 'United States of America'] [{'concept': 'common name'}, 'ethnic group', 'Greenland']
SELECT DISTINCT ?y WHERE { ?y property:ethnic_group resource:Greenland . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Greenland. Could you tell me the answer for that?
(c(Q502895),P172,Q223)
Q223
[{'concept': 'Q502895'}, 'P172', 'Q223']
[{'concept': 'common name'}, 'ethnic group', 'Greenland']
[]
Q6372447
SYSTEM
Karla Jessen Williamson
Q6372447
(c(Q502895),P172,Q223)
action filter_type
action find_reverse
entity Q223
relation P172
type Q502895
[ANSWER] has that administrative territory as his/her race
[{'concept': 'Q502895'}, 'P172', 'Q223']
SELECT DISTINCT ?y WHERE { ?y property:P172 resource:Q223 . ?y rdf:type ontology:Q502895 }
Karla Jessen Williamson
Karla Jessen Williamson has that administrative territory as his/her race
Karla Jessen Williamson
action filter_type
action find_reverse
entity Greenland
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Greenland']
SELECT DISTINCT ?y WHERE { ?y property:ethnic_group resource:Greenland . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1442528
P161
Q838948
USER
Which works of art do Franco Balducci star in ?
(c(Q838948),P161,Q1442528)
action filter_type
action find_reverse
entity Q1442528
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1442528']
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q1442528 . ?d rdf:type ontology:Q838948 }
Franco Balducci
action filter_type
action find_reverse
entity Franco Balducci
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Franco Balducci']
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Franco_Balducci . ?d rdf:type ontology:work_of_art }
[]
work of art
Q3223684 Q3842327 Q1193091
SYSTEM
Il giorno più corto, Made in Italy, A Man Called Sledge
Q3012855 Q3824031 Q16564395 Q471200 Q3821439 Q5996504 Q3649269 Q387537 Q2548540 Q518379 Q547286 Q2814503 Q339364 Q2738606 Q5135322 Q3233878 Q10315118 Q3282090 Q3842327 Q840565 Q535615 Q3227477 Q1517207 Q990564 Q3283560 Q1868637 Q489133 Q128761 Q645490 Q3793119 Q1055986 Q2679534 Q3785495 Q3792851 Q3824523 Q3790698 Q3223684 Q2403143 Q1193091 Q20888425 Q4004435 Q1165221 Q1034139 Q954683 Q1302566 Q2905388 Q3794881 Q4003969 Q2308683
(c(Q838948),P161,Q1442528)
action filter_type
action find_reverse
entity Q1442528
relation P161
type Q838948
Franco Balducci star in [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q1442528']
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q1442528 . ?d rdf:type ontology:Q838948 }
The Slave La sceriffa I cinque dell'Adamello A Sky Full of Stars for a Roof La bellezza di Ippolita Il Capitano di Venezia Caccia all'uomo Doc, Hands of Steel Wanted Romolo e Remo Day of Anger I Kill, You Kill Time of Vultures Don't Torture a Duckling Closed Circuit Les Misérables Warriors Five Arrangiatevi! Made in Italy Preparati la bara! A Long Ride from Hell The Suspect Death Rides a Horse A Minute to Pray, a Second to Die Gli uomini dal passo pesante Lola Colt The Hunchback of Rome Two Women Metello The Crossroads 1870 Pirates of Malaysia A Lizard in a Woman's Skin Bullet for Stefano La supertestimone I diavoli di Spartivento Il giorno più corto The Merchant of Venice A Man Called Sledge The Conqueror of the Orient Una sull'altra Hercules and the Tyrants of Babylon Tiro al piccione Libera, My Love Head of a Tyrant Black Journal Il Monello della strada Cross Current The Lovemakers
Franco Balducci star in Il giorno più corto, Made in Italy and A Man Called Sledge
Il giorno più corto Made in Italy A Man Called Sledge
action filter_type
action find_reverse
entity Franco Balducci
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Franco Balducci']
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Franco_Balducci . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3223684 Q3842327 Q1193091
P364
Q34770
USER
What are the original languages of creation of those works of art ?
(Q3223684,P364,c(Q34770)) (Q3842327,P364,c(Q34770)) (Q1193091,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
['Q3223684', 'P364', {'concept': 'Q34770'}] ['Q3842327', 'P364', {'concept': 'Q34770'}] ['Q1193091', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?f ) { ( resource:Q3012855 ) ( resource:Q3824031 ) ( resource:Q16564395 ) } . ?f property:P364 ?x . ?x rdf:type ontology:Q34770 }
Il giorno più corto Made in Italy A Man Called Sledge
action filter_type
action find
entity prev_answer
relation original language of work
type language
['Il giorno più corto', 'original language of work', {'concept': 'language'}] ['Made in Italy', 'original language of work', {'concept': 'language'}] ['A Man Called Sledge', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?f ) { ( resource:The_Slave ) ( resource:La_sceriffa ) ( resource:I_cinque_dell'Adamello ) } . ?f property:original_language_of_work ?x . ?x rdf:type ontology:language }
[]
language
Q652 Q652 Q1860
SYSTEM
Italian for 1st, 2nd, English for 3rd
Q652 Q652 Q1860
(Q3223684,P364,c(Q34770)) (Q3842327,P364,c(Q34770)) (Q1193091,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
[ANSWERS]
['Q3223684', 'P364', {'concept': 'Q34770'}] ['Q3842327', 'P364', {'concept': 'Q34770'}] ['Q1193091', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?f ) { ( resource:Q3012855 ) ( resource:Q3824031 ) ( resource:Q16564395 ) } . ?f property:P364 ?x . ?x rdf:type ontology:Q34770 }
Italian Italian English
The original languages of creation of those works of art are Italian, Italian and English
Italian Italian English
action filter_type
action find
entity prev_answer
relation original language of work
type language
['Il giorno più corto', 'original language of work', {'concept': 'language'}] ['Made in Italy', 'original language of work', {'concept': 'language'}] ['A Man Called Sledge', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?f ) { ( resource:The_Slave ) ( resource:La_sceriffa ) ( resource:I_cinque_dell'Adamello ) } . ?f property:original_language_of_work ?x . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6372447
P172
Q15617994
USER
What is the ethnicity of Karla Jessen Williamson ?
(Q6372447,P172,c(Q15617994))
action filter_type
action find
entity Q6372447
relation P172
type Q15617994
['Q6372447', 'P172', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6372447 property:P172 ?f . ?f rdf:type ontology:Q15617994 }
Karla Jessen Williamson
action filter_type
action find
entity Karla Jessen Williamson
relation ethnic group
type designation for an administrative territorial entity
['Karla Jessen Williamson', 'ethnic group', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Karla_Jessen_Williamson property:ethnic_group ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q223
SYSTEM
Greenland
Q223
(Q6372447,P172,c(Q15617994))
action filter_type
action find
entity Q6372447
relation P172
type Q15617994
The ethnicity of Karla Jessen Williamson is of [ANSWER]
['Q6372447', 'P172', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6372447 property:P172 ?f . ?f rdf:type ontology:Q15617994 }
Greenland
The ethnicity of Karla Jessen Williamson is of Greenland
Greenland
action filter_type
action find
entity Karla Jessen Williamson
relation ethnic group
type designation for an administrative territorial entity
['Karla Jessen Williamson', 'ethnic group', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Karla_Jessen_Williamson property:ethnic_group ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]