Simple Question (Direct)
Simple Question
Q20004423
P106
Q12737077
USER
What is the job of José Martí Gómez ?
(Q20004423,P106,c(Q12737077))
action filter_type
action find
entity Q20004423
relation P106
type Q12737077
['Q20004423', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q20004423 property:P106 ?g }
José Martí Gómez
action filter_type
action find
entity José Martí Gómez
relation occupation
type occupation
['José Martí Gómez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:José_Martí_Gómez property:occupation ?g }
[]
occupation
Q1930187
SYSTEM
journalist
Q1930187
(Q20004423,P106,c(Q12737077))
action filter_type
action find
entity Q20004423
relation P106
type Q12737077
The job of José Martí Gómez is a [ANSWER]
['Q20004423', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q20004423 property:P106 ?g }
journalist
The job of José Martí Gómez is a journalist
journalist
action filter_type
action find
entity José Martí Gómez
relation occupation
type occupation
['José Martí Gómez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:José_Martí_Gómez property:occupation ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20004423
P1412
Q34770
USER
Which language does José Martí Gómez speak in ?
(Q20004423,P1412,c(Q34770))
action filter_type
action find
entity Q20004423
relation P1412
type Q34770
['Q20004423', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q20004423 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
José Martí Gómez
action filter_type
action find
entity José Martí Gómez
relation languages spoken, written or signed
type language
['José Martí Gómez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:José_Martí_Gómez property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q20004423,P1412,c(Q34770))
action filter_type
action find
entity Q20004423
relation P1412
type Q34770
José Martí Gómez speaks in [ANSWER]
['Q20004423', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q20004423 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Spanish
José Martí Gómez speaks in Spanish
Spanish
action filter_type
action find
entity José Martí Gómez
relation languages spoken, written or signed
type language
['José Martí Gómez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:José_Martí_Gómez property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1321
P407
Q2342494
USER
Which collectables are composed in that language ?
(c(Q2342494),P407,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P407
type Q2342494
[{'concept': 'Q2342494'}, 'P407', 'Q1321']
SELECT DISTINCT ?v WHERE { ?v property:P407 resource:Q1321 . ?v rdf:type ontology:Q2342494 }
Spanish
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type collectable
[{'concept': 'collectable'}, 'language of work or name', 'Spanish']
SELECT DISTINCT ?v WHERE { ?v property:language_of_work_or_name resource:Spanish . ?v rdf:type ontology:collectable }
[]
collectable
Q1349759 Q3549724 Q3411636
SYSTEM
Death at La Fenice, Wilful Behaviour, The Death of Faith
Q3220799 Q5657770 Q20644345 Q16662756 Q18626338 Q18609857 Q3411636 Q5957079 Q3342544 Q17320538 Q18516256 Q2380686 Q3039168 Q2892898 Q784683 Q20949972 Q15395969 Q1349759 Q3024051 Q3225953 Q7742011 Q3208673 Q18573019 Q2819868 Q3324572 Q3427602 Q15919347 Q3201517 Q3549724 Q3224473 Q3030638
(c(Q2342494),P407,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P407
type Q2342494
[ANSWERS] are composed in that language
[{'concept': 'Q2342494'}, 'P407', 'Q1321']
SELECT DISTINCT ?v WHERE { ?v property:P407 resource:Q1321 . ?v rdf:type ontology:Q2342494 }
Suffer the Little Children Adiós al Séptimo de Línea Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner Restauration of paintings Serás mía o de nadie La confesión de Micaela The Death of Faith Juvenilia A Noble Radiance El Ochocientos. Profesiones e instituciones civiles By its Cover The Girl of His Dreams Drawing Conclusions Beastly Things The Urantia Book Treatise of Algebra Introducción a la filosofía Death at La Fenice Friends in High Places A Venetian Reckoning The Informationist About Face Entre mi hijo y yo, la luna A Question of Belief A Sea of Troubles Through a Glass Darkly Ron Fatal Remedies Wilful Behaviour Uniform Justice Doctored Evidence
Death at La Fenice, Wilful Behaviour and The Death of Faith are composed in that language
Death at La Fenice Wilful Behaviour The Death of Faith
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type collectable
[{'concept': 'collectable'}, 'language of work or name', 'Spanish']
SELECT DISTINCT ?v WHERE { ?v property:language_of_work_or_name resource:Spanish . ?v rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q542063
P1441
Q6619679
USER
Are Penny from the works of those collectables ?
(Q542063,P1441,Q1349759) (Q542063,P1441,Q3549724) (Q542063,P1441,Q3411636)
action is_in
entity prev_answer
action find
entity Q542063
relation P1441
['Q542063', 'P1441', 'Q1349759'] ['Q542063', 'P1441', 'Q3549724'] ['Q542063', 'P1441', 'Q3411636']
ASK WHERE { VALUES ( ?m ) { ( resource:Q3220799 ) ( resource:Q5657770 ) ( resource:Q20644345 ) } . resource:Q542063 property:P1441 ?m }
Penny
action is_in
entity prev_answer
action find
entity Penny
relation present in work
['Penny', 'present in work', 'Death at La Fenice'] ['Penny', 'present in work', 'Wilful Behaviour'] ['Penny', 'present in work', 'The Death of Faith']
ASK WHERE { VALUES ( ?m ) { ( resource:Suffer_the_Little_Children ) ( resource:Adiós_al_Séptimo_de_Línea ) ( resource:Additifs_alimentaires,_danger_:_le_guide_indispensable_pour_ne_plus_vous_empoisonner ) } . resource:Penny property:present_in_work ?m }
[]
fictional humanoid
SYSTEM
NO
(Q542063,P1441,Q1349759) (Q542063,P1441,Q3549724) (Q542063,P1441,Q3411636)
action is_in
entity prev_answer
action find
entity Q542063
relation P1441
[ANSWER]
['Q542063', 'P1441', 'Q1349759'] ['Q542063', 'P1441', 'Q3549724'] ['Q542063', 'P1441', 'Q3411636']
ASK WHERE { VALUES ( ?m ) { ( resource:Q3220799 ) ( resource:Q5657770 ) ( resource:Q20644345 ) } . resource:Q542063 property:P1441 ?m }
No
action is_in
entity prev_answer
action find
entity Penny
relation present in work
['Penny', 'present in work', 'Death at La Fenice'] ['Penny', 'present in work', 'Wilful Behaviour'] ['Penny', 'present in work', 'The Death of Faith']
ASK WHERE { VALUES ( ?m ) { ( resource:Suffer_the_Little_Children ) ( resource:Adiós_al_Séptimo_de_Línea ) ( resource:Additifs_alimentaires,_danger_:_le_guide_indispensable_pour_ne_plus_vous_empoisonner ) } . resource:Penny property:present_in_work ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1930187 Q26696735
P425
Q12737077
USER
Does mayor of Fondarella have journalist as the associated field of occupation ?
(Q1930187,P425,Q26696735)
action is_in
entity Q26696735
action find
entity Q1930187
relation P425
['Q1930187', 'P425', 'Q26696735']
ASK WHERE { resource:Q1930187 property:P425 resource:Q26696735 }
journalist mayor of Fondarella
action is_in
entity mayor of Fondarella
action find
entity journalist
relation field of this occupation
['journalist', 'field of this occupation', 'mayor of Fondarella']
ASK WHERE { resource:journalist property:field_of_this_occupation resource:mayor_of_Fondarella }
[]
occupation
SYSTEM
NO
(Q1930187,P425,Q26696735)
action is_in
entity Q26696735
action find
entity Q1930187
relation P425
[ANSWER]
['Q1930187', 'P425', 'Q26696735']
ASK WHERE { resource:Q1930187 property:P425 resource:Q26696735 }
No
action is_in
entity mayor of Fondarella
action find
entity journalist
relation field of this occupation
['journalist', 'field of this occupation', 'mayor of Fondarella']
ASK WHERE { resource:journalist property:field_of_this_occupation resource:mayor_of_Fondarella }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1349759 Q1133620 Q18516397
P674
Q6619679
USER
Is Wutugu and Lorenzo Vianello a character of Death at La Fenice ?
(Q1349759,P674,Q1133620) (Q1349759,P674,Q18516397)
action is_in
entity Q1349759
action intersection
action find_reverse
entity Q1133620
relation P674
action find_reverse
entity Q18516397
relation P674
['Q1349759', 'P674', 'Q1133620'] ['Q1349759', 'P674', 'Q18516397']
ASK WHERE { resource:Q1349759 property:P674 resource:Q1133620 . resource:Q1349759 property:P674 resource:Q18516397 }
Death at La Fenice Wutugu Lorenzo Vianello
action is_in
entity Death at La Fenice
action intersection
action find_reverse
entity Wutugu
relation characters
action find_reverse
entity Lorenzo Vianello
relation characters
['Death at La Fenice', 'characters', 'Wutugu'] ['Death at La Fenice', 'characters', 'Lorenzo Vianello']
ASK WHERE { resource:Death_at_La_Fenice property:characters resource:Wutugu . resource:Death_at_La_Fenice property:characters resource:Lorenzo_Vianello }
[]
fictional humanoid
SYSTEM
NO and YES respectively
(Q1349759,P674,Q1133620) (Q1349759,P674,Q18516397)
action is_in
entity Q1349759
action intersection
action find_reverse
entity Q1133620
relation P674
action find_reverse
entity Q18516397
relation P674
[ANSWER]
['Q1349759', 'P674', 'Q1133620'] ['Q1349759', 'P674', 'Q18516397']
ASK WHERE { resource:Q1349759 property:P674 resource:Q1133620 . resource:Q1349759 property:P674 resource:Q18516397 }
NO and YES respectively
action is_in
entity Death at La Fenice
action intersection
action find_reverse
entity Wutugu
relation characters
action find_reverse
entity Lorenzo Vianello
relation characters
['Death at La Fenice', 'characters', 'Wutugu'] ['Death at La Fenice', 'characters', 'Lorenzo Vianello']
ASK WHERE { resource:Death_at_La_Fenice property:characters resource:Wutugu . resource:Death_at_La_Fenice property:characters resource:Lorenzo_Vianello }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1349759
P144
Q15416
USER
Which television program is adapted from that collectable ?
action filter_type
action find_reverse
entity Q1349759
relation P144
type Q15416
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15416 . ?q property:P144 resource:Q1349759 }
Death at La Fenice
action filter_type
action find_reverse
entity Death at La Fenice
relation based on
type television program
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:television_program . ?q property:based_on resource:Death_at_La_Fenice }
[]
television program
Q18517162
SYSTEM
Death at La Fenice
Q18517162
action filter_type
action find_reverse
entity Q1349759
relation P144
type Q15416
[ANSWER] is adapted from that collectable
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15416 . ?q property:P144 resource:Q1349759 }
Death at La Fenice
Death at La Fenice is adapted from that collectable
Death at La Fenice
action filter_type
action find_reverse
entity Death at La Fenice
relation based on
type television program
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:television_program . ?q property:based_on resource:Death_at_La_Fenice }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q15416 Q386724
USER
Which works are set up by exactly 1 television program ?
(c(Q386724),P1445,c(Q15416))
action equal
action find_tuple_counts
relation P1445
type Q386724
type Q15416
value 1
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?q ) WHERE { ?e property:P1445 ?l . ?e rdf:type ontology:Q386724 . ?l rdf:type ontology:Q15416 } GROUP BY ?e } . FILTER ( ?q = 1 ) }
action equal
action find_tuple_counts
relation fictional universe described in
type work
type television program
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?q ) WHERE { ?e property:fictional_universe_described_in ?l . ?e rdf:type ontology:work . ?l rdf:type ontology:television_program } GROUP BY ?e } . FILTER ( ?q = 1 ) }
[]
television program work
Q15731902 Q11927
SYSTEM
Aladdin media franchise, Stargate
Q15731902 Q11927
(c(Q386724),P1445,c(Q15416))
action equal
action find_tuple_counts
relation P1445
type Q386724
type Q15416
value 1
[ANSWERS] are set up by exactly 1 television program
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?q ) WHERE { ?e property:P1445 ?l . ?e rdf:type ontology:Q386724 . ?l rdf:type ontology:Q15416 } GROUP BY ?e } . FILTER ( ?q = 1 ) }
Aladdin media franchise Stargate
Aladdin media franchise and Stargate are set up by exactly 1 television program
Aladdin media franchise Stargate
action equal
action find_tuple_counts
relation fictional universe described in
type work
type television program
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?q ) WHERE { ?e property:fictional_universe_described_in ?l . ?e rdf:type ontology:work . ?l rdf:type ontology:television_program } GROUP BY ?e } . FILTER ( ?q = 1 ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1445
Q7725634 Q36649 Q386724
USER
Which works were described in more number of literary works and visual artss than that work ?
(c(Q386724),P1445,c(Q7725634)|c(Q36649))
[{'concept': 'Q386724'}, 'P1445', [{'concept': 'Q7725634'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ?z WHERE { { ?z property:P1445 ?t . VALUES ( ?t ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q7725634 . ?x rdf:type ontology:Q36649 }
[{'concept': 'work'}, 'fictional universe described in', [{'concept': 'literary work'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ?z WHERE { { ?z property:fictional_universe_described_in ?t . VALUES ( ?t ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:work . ?y rdf:type ontology:literary_work . ?x rdf:type ontology:visual_arts }
[]
literary work visual arts work
Comparative|More/Less|Mult. entity type|Clarification
Q15731902
SYSTEM
Did you mean Aladdin media franchise ?
(c(Q386724),P1445,c(Q7725634)|c(Q36649))
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', [{'concept': 'Q7725634'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ?z WHERE { { ?z property:P1445 ?t . VALUES ( ?t ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q7725634 . ?x rdf:type ontology:Q36649 }
Did you mean Aladdin media franchise ?
Aladdin media franchise
[{'concept': 'work'}, 'fictional universe described in', [{'concept': 'literary work'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ?z WHERE { { ?z property:fictional_universe_described_in ?t . VALUES ( ?t ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:work . ?y rdf:type ontology:literary_work . ?x rdf:type ontology:visual_arts }
[]
Comparative Reasoning (All)
USER
No, I meant Stargate. Could you tell me the answer for that?
(c(Q386724),P1445,c(Q7725634)|c(Q36649))
Q11927
[{'concept': 'Q386724'}, 'P1445', [{'concept': 'Q7725634'}, {'concept': 'Q36649'}]]
[{'concept': 'work'}, 'fictional universe described in', [{'concept': 'literary work'}, {'concept': 'visual arts'}]]
[]
SYSTEM
1
Q384426
(c(Q386724),P1445,c(Q7725634)|c(Q36649))
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', [{'concept': 'Q7725634'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P1445 ?y } UNION { ?z property:P1445 ?x } } . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q7725634 . ?x rdf:type ontology:Q36649 }
Pirates of the Caribbean
1
[{'concept': 'work'}, 'fictional universe described in', [{'concept': 'literary work'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:fictional_universe_described_in ?y } UNION { ?z property:fictional_universe_described_in ?x } } . ?z rdf:type ontology:work . ?y rdf:type ontology:literary_work . ?x rdf:type ontology:visual_arts }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1349759
P50
Q502895
USER
Which person authored Death at La Fenice ?
(Q1349759,P50,c(Q502895))
action filter_type
action find
entity Q1349759
relation P50
type Q502895
['Q1349759', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1349759 property:P50 ?x . ?x rdf:type ontology:Q502895 }
Death at La Fenice
action filter_type
action find
entity Death at La Fenice
relation author
type common name
['Death at La Fenice', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Death_at_La_Fenice property:author ?x . ?x rdf:type ontology:common_name }
[]
common name
Q237420
SYSTEM
Donna Leon
Q237420
(Q1349759,P50,c(Q502895))
action filter_type
action find
entity Q1349759
relation P50
type Q502895
[ANSWER] authored Death at La Fenice
['Q1349759', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1349759 property:P50 ?x . ?x rdf:type ontology:Q502895 }
Donna Leon
Donna Leon authored Death at La Fenice
Donna Leon
action filter_type
action find
entity Death at La Fenice
relation author
type common name
['Death at La Fenice', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Death_at_La_Fenice property:author ?x . ?x rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q237420 Q27733282
P170
Q6619679
USER
Was Flavia Petrelli created by that person ?
(Q27733282,P170,Q237420)
action is_in
entity Q237420
action find
entity Q27733282
relation P170
['Q27733282', 'P170', 'Q237420']
ASK WHERE { resource:Q27733282 property:P170 resource:Q237420 }
Donna Leon Flavia Petrelli
action is_in
entity Donna Leon
action find
entity Flavia Petrelli
relation creator
['Flavia Petrelli', 'creator', 'Donna Leon']
ASK WHERE { resource:Flavia_Petrelli property:creator resource:Donna_Leon }
[]
fictional humanoid
SYSTEM
YES
(Q27733282,P170,Q237420)
action is_in
entity Q237420
action find
entity Q27733282
relation P170
[ANSWER]
['Q27733282', 'P170', 'Q237420']
ASK WHERE { resource:Q27733282 property:P170 resource:Q237420 }
Yes
action is_in
entity Donna Leon
action find
entity Flavia Petrelli
relation creator
['Flavia Petrelli', 'creator', 'Donna Leon']
ASK WHERE { resource:Flavia_Petrelli property:creator resource:Donna_Leon }
[]