Simple Question (Direct)
Simple Question
Q7606524
P172
Q2472587
USER
Which people does Stefanos Thomopoulos have as his/her race ?
(Q7606524,P172,c(Q2472587))
action filter_type
action find
entity Q7606524
relation P172
type Q2472587
['Q7606524', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?i WHERE { resource:Q7606524 property:P172 ?i . ?i rdf:type ontology:Q2472587 }
Stefanos Thomopoulos
action filter_type
action find
entity Stefanos Thomopoulos
relation ethnic group
type people
['Stefanos Thomopoulos', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?i WHERE { resource:Stefanos_Thomopoulos property:ethnic_group ?i . ?i rdf:type ontology:people }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q7606524,P172,c(Q2472587))
action filter_type
action find
entity Q7606524
relation P172
type Q2472587
Stefanos Thomopoulos has the [ANSWER] as his / her race
['Q7606524', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?i WHERE { resource:Q7606524 property:P172 ?i . ?i rdf:type ontology:Q2472587 }
Greeks
Stefanos Thomopoulos has the Greeks as his / her race
Greeks
action filter_type
action find
entity Stefanos Thomopoulos
relation ethnic group
type people
['Stefanos Thomopoulos', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?i WHERE { resource:Stefanos_Thomopoulos property:ethnic_group ?i . ?i rdf:type ontology:people }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7606524
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q539051,P106,c(Q12737077))
action filter_type
action find
entity Q7606524
relation P106
type Q12737077
['Q539051', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q7606524 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Stefanos Thomopoulos
action filter_type
action find
entity Stefanos Thomopoulos
relation occupation
type occupation
['Greeks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Stefanos_Thomopoulos property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q201788 Q36180
SYSTEM
historian, writer
Q201788 Q36180
(Q539051,P106,c(Q12737077))
action filter_type
action find
entity Q7606524
relation P106
type Q12737077
And [ANSWERS] have that person as his/her 's career
['Q539051', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q7606524 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
historian writer
And historian and writer have that person as his/her 's career
historian writer
action filter_type
action find
entity Stefanos Thomopoulos
relation occupation
type occupation
['Greeks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Stefanos_Thomopoulos property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q201788 Q36180
P425
Q1914636
USER
Which activities have those ones as the associated field of occupation ?
(Q201788,P425,c(Q1914636)) (Q36180,P425,c(Q1914636))
action filter_type
action find
entity prev_answer
relation P425
type Q1914636
['Q201788', 'P425', {'concept': 'Q1914636'}] ['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1914636 . ?r property:P425 ?o . VALUES ( ?r ) { ( resource:Q201788 ) ( resource:Q36180 ) } }
historian writer
action filter_type
action find
entity prev_answer
relation field of this occupation
type activity
['historian', 'field of this occupation', {'concept': 'activity'}] ['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:activity . ?r property:field_of_this_occupation ?o . VALUES ( ?r ) { ( resource:historian ) ( resource:writer ) } }
[]
activity
Q50675 Q8242
SYSTEM
historiography, literature
Q50675 Q8242
(Q201788,P425,c(Q1914636)) (Q36180,P425,c(Q1914636))
action filter_type
action find
entity prev_answer
relation P425
type Q1914636
And [ANSWERS] have those ones as the associated field of occupation
['Q201788', 'P425', {'concept': 'Q1914636'}] ['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1914636 . ?r property:P425 ?o . VALUES ( ?r ) { ( resource:Q201788 ) ( resource:Q36180 ) } }
historiography literature
And historiography and literature have those ones as the associated field of occupation
historiography literature
action filter_type
action find
entity prev_answer
relation field of this occupation
type activity
['historian', 'field of this occupation', {'concept': 'activity'}] ['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:activity . ?r property:field_of_this_occupation ?o . VALUES ( ?r ) { ( resource:historian ) ( resource:writer ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q50675 Q8242
P425
Q12737077
USER
Which occupations do historiography and literature belong to ?
(c(Q12737077),P425,Q50675) (c(Q12737077),P425,Q8242)
action union
action filter_type
action find_reverse
entity Q50675
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q8242
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q50675'] [{'concept': 'Q12737077'}, 'P425', 'Q8242']
SELECT DISTINCT ?z WHERE { VALUES ( ?b ) { ( resource:Q8242 ) ( resource:Q50675 ) } . ?z property:P425 ?b }
historiography literature
action union
action filter_type
action find_reverse
entity historiography
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity literature
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'historiography'] [{'concept': 'occupation'}, 'field of this occupation', 'literature']
SELECT DISTINCT ?z WHERE { VALUES ( ?b ) { ( resource:literature ) ( resource:historiography ) } . ?z property:field_of_this_occupation ?b }
[]
occupation
Q201788 Q15991187 Q18195617
SYSTEM
historian, grammarian, literary
Q201788 Q15991187 Q18195617 Q36180 Q21185790
(c(Q12737077),P425,Q50675) (c(Q12737077),P425,Q8242)
action union
action filter_type
action find_reverse
entity Q50675
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q8242
relation P425
type Q12737077
Historiography and literature belong to [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q50675'] [{'concept': 'Q12737077'}, 'P425', 'Q8242']
SELECT DISTINCT ?z WHERE { VALUES ( ?b ) { ( resource:Q8242 ) ( resource:Q50675 ) } . ?z property:P425 ?b }
historian grammarian literary writer exegete
Historiography and literature belong to historian, grammarian and literary
historian grammarian literary
action union
action filter_type
action find_reverse
entity historiography
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity literature
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'historiography'] [{'concept': 'occupation'}, 'field of this occupation', 'literature']
SELECT DISTINCT ?z WHERE { VALUES ( ?b ) { ( resource:literature ) ( resource:historiography ) } . ?z property:field_of_this_occupation ?b }
[]
Clarification
Simple Question|Single Entity|Indirect
Q50675
P136
Q2342494
USER
Which collectables have that activity as their type ?
(c(Q2342494),P136,Q50675)
action filter_type
action find_reverse
entity Q50675
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q50675']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2342494 . ?t property:P136 resource:Q50675 }
historiography
action filter_type
action find_reverse
entity historiography
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'historiography']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:collectable . ?t property:genre resource:historiography }
[]
collectable
Clarification for simple ques.
Q50675
SYSTEM
Did you mean historiography ?
Q201788 Q15991187 Q18195617
(c(Q2342494),P136,Q201788) (c(Q2342494),P136,Q15991187) (c(Q2342494),P136,Q18195617)
[ANSWER]
[{'concept': 'Q2342494'}, 'P136', 'Q201788'] [{'concept': 'Q2342494'}, 'P136', 'Q15991187'] [{'concept': 'Q2342494'}, 'P136', 'Q18195617']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2342494 . ?t property:P136 resource:Q50675 }
historian grammarian literary
Did you mean historiography ?
historiography
[{'concept': 'collectable'}, 'genre', 'historian'] [{'concept': 'collectable'}, 'genre', 'grammarian'] [{'concept': 'collectable'}, 'genre', 'literary']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:collectable . ?t property:genre resource:historiography }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2342494),P136,Q50675)
[{'concept': 'Q2342494'}, 'P136', 'Q50675']
[{'concept': 'collectable'}, 'genre', 'historiography']
[]
Q1145374 Q73112 Q22343900
SYSTEM
Cyropaedia, Anabasis, A History of Opera: The Last Four Hundred Years
Q1145374 Q674638 Q4750162 Q3120118 Q1156924 Q1435976 Q942367 Q73112 Q672803 Q855899 Q3333442 Q845301 Q639493 Q19738955 Q3606509 Q22343900
(c(Q2342494),P136,Q50675)
action filter_type
action find_reverse
entity Q50675
relation P136
type Q2342494
[ANSWERS] have that activity as their type
[{'concept': 'Q2342494'}, 'P136', 'Q50675']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2342494 . ?t property:P136 resource:Q50675 }
Cyropaedia Hellenica An Nam chí lược Đại Việt sử lược Book of Sui Hiero Việt Nam sử lược Anabasis Bibliotheca historica Đại Việt sử ký toàn thư Metahistory Đại Việt sử ký History of the Peloponnesian War Chronographia Agesilaus A History of Opera: The Last Four Hundred Years
Cyropaedia, Anabasis and A History of Opera: The Last Four Hundred Years have that activity as their type
Cyropaedia Anabasis A History of Opera: The Last Four Hundred Years
action filter_type
action find_reverse
entity historiography
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'historiography']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:collectable . ?t property:genre resource:historiography }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q73112
P144
Q2342494
USER
Which collectable builds on Anabasis ?
(c(Q2342494),P144,Q73112)
action filter_type
action find_reverse
entity Q73112
relation P144
type Q2342494
[{'concept': 'Q2342494'}, 'P144', 'Q73112']
SELECT DISTINCT ?y WHERE { ?y property:P144 resource:Q73112 . ?y rdf:type ontology:Q2342494 }
Anabasis
action filter_type
action find_reverse
entity Anabasis
relation based on
type collectable
[{'concept': 'collectable'}, 'based on', 'Anabasis']
SELECT DISTINCT ?y WHERE { ?y property:based_on resource:Anabasis . ?y rdf:type ontology:collectable }
[]
collectable
Q7773608
SYSTEM
The Warriors
Q7773608
(c(Q2342494),P144,Q73112)
action filter_type
action find_reverse
entity Q73112
relation P144
type Q2342494
The [ANSWER] builds on Anabasis
[{'concept': 'Q2342494'}, 'P144', 'Q73112']
SELECT DISTINCT ?y WHERE { ?y property:P144 resource:Q73112 . ?y rdf:type ontology:Q2342494 }
The Warriors
The The Warriors builds on Anabasis
The Warriors
action filter_type
action find_reverse
entity Anabasis
relation based on
type collectable
[{'concept': 'collectable'}, 'based on', 'Anabasis']
SELECT DISTINCT ?y WHERE { ?y property:based_on resource:Anabasis . ?y rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7773608
P364
Q34770
USER
Which language was used originally for the creation of that collectable ?
(Q7773608,P364,c(Q34770))
action filter_type
action find
entity Q7773608
relation P364
type Q34770
['Q7773608', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q7773608 property:P364 ?s . ?s rdf:type ontology:Q34770 }
The Warriors
action filter_type
action find
entity The Warriors
relation original language of work
type language
['The Warriors', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:The_Warriors property:original_language_of_work ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7773608,P364,c(Q34770))
action filter_type
action find
entity Q7773608
relation P364
type Q34770
[ANSWER] was used originally for the creation of that collectable
['Q7773608', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q7773608 property:P364 ?s . ?s rdf:type ontology:Q34770 }
English
English was used originally for the creation of that collectable
English
action filter_type
action find
entity The Warriors
relation original language of work
type language
['The Warriors', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:The_Warriors property:original_language_of_work ?s . ?s rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7773608
P840
Q56061
USER
What location is that collectable set in ?
(Q1860,P840,c(Q56061))
action filter_type
action find
entity Q7773608
relation P840
type Q56061
['Q1860', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q7773608 property:P840 ?n }
The Warriors
action filter_type
action find
entity The Warriors
relation narrative location
type administrative territorial entity
['English', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:The_Warriors property:narrative_location ?n }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q1860,P840,c(Q56061))
action filter_type
action find
entity Q7773608
relation P840
type Q56061
That collectable is set in [ANSWER]
['Q1860', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q7773608 property:P840 ?n }
New York City
That collectable is set in New York City
New York City
action filter_type
action find
entity The Warriors
relation narrative location
type administrative territorial entity
['English', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:The_Warriors property:narrative_location ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7773608
P495
Q15617994
USER
Which administrative territory is the origin of The Warriors ?
(Q7773608,P495,c(Q15617994))
action filter_type
action find
entity Q7773608
relation P495
type Q15617994
['Q7773608', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q7773608 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
The Warriors
action filter_type
action find
entity The Warriors
relation country of origin
type designation for an administrative territorial entity
['The Warriors', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:The_Warriors property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7773608,P495,c(Q15617994))
action filter_type
action find
entity Q7773608
relation P495
type Q15617994
[ANSWER] is the origin of The Warriors
['Q7773608', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q7773608 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
United States of America is the origin of The Warriors
United States of America
action filter_type
action find
entity The Warriors
relation country of origin
type designation for an administrative territorial entity
['The Warriors', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:The_Warriors property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]