Simple Question (Direct)
Simple Question
Q380343
P136
Q151885
USER
Which genre does Michele Zarrillo belong to ?
(Q380343,P136,c(Q151885))
action filter_type
action find
entity Q380343
relation P136
type Q151885
['Q380343', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q380343 property:P136 ?r . ?r rdf:type ontology:Q151885 }
Michele Zarrillo
action filter_type
action find
entity Michele Zarrillo
relation genre
type concept
['Michele Zarrillo', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Michele_Zarrillo property:genre ?r . ?r rdf:type ontology:concept }
[]
concept
Q37073
SYSTEM
pop music
Q37073
(Q380343,P136,c(Q151885))
action filter_type
action find
entity Q380343
relation P136
type Q151885
Michele Zarrillo belongs to [ANSWER]
['Q380343', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q380343 property:P136 ?r . ?r rdf:type ontology:Q151885 }
pop music
Michele Zarrillo belongs to pop music
pop music
action filter_type
action find
entity Michele Zarrillo
relation genre
type concept
['Michele Zarrillo', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Michele_Zarrillo property:genre ?r . ?r rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380343
P106
Q12737077
USER
What do Michele Zarrillo do for a living ?
(Q380343,P106,c(Q12737077))
action filter_type
action find
entity Q380343
relation P106
type Q12737077
['Q380343', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q380343 property:P106 ?i }
Michele Zarrillo
action filter_type
action find
entity Michele Zarrillo
relation occupation
type occupation
['Michele Zarrillo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Michele_Zarrillo property:occupation ?i }
[]
occupation
Q177220 Q36834 Q488205
SYSTEM
singer, composer, singer-songwriter
Q177220 Q36834 Q488205
(Q380343,P106,c(Q12737077))
action filter_type
action find
entity Q380343
relation P106
type Q12737077
[ANSWERS] Michele Zarrillo do for a living
['Q380343', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q380343 property:P106 ?i }
singer composer singer-songwriter
Singer, composer and singer-songwriter Michele Zarrillo do for a living
singer composer singer-songwriter
action filter_type
action find
entity Michele Zarrillo
relation occupation
type occupation
['Michele Zarrillo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Michele_Zarrillo property:occupation ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37073
P135
Q502895
USER
Which people are linked with pop music ?
(c(Q502895),P135,Q37073)
action filter_type
action find_reverse
entity Q37073
relation P135
type Q502895
[{'concept': 'Q502895'}, 'P135', 'Q37073']
SELECT DISTINCT ?c WHERE { ?c property:P135 resource:Q37073 . ?c rdf:type ontology:Q502895 }
pop music
action filter_type
action find_reverse
entity pop music
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'pop music']
SELECT DISTINCT ?c WHERE { ?c property:movement resource:pop_music . ?c rdf:type ontology:common_name }
[]
common name
Q4527444 Q208258 Q1574590
SYSTEM
Batyrkhan Shukenov, France Gall, Zlata Ognevich
Q1574590 Q6377695 Q208258 Q4527444 Q16061980 Q211337 Q4225546
(c(Q502895),P135,Q37073)
action filter_type
action find_reverse
entity Q37073
relation P135
type Q502895
[ANSWERS] are linked with pop music
[{'concept': 'Q502895'}, 'P135', 'Q37073']
SELECT DISTINCT ?c WHERE { ?c property:P135 resource:Q37073 . ?c rdf:type ontology:Q502895 }
Zlata Ognevich Katman France Gall Batyrkhan Shukenov Loukianos Kilaidonis Ivi Adamou Yulia Kovalchuk
Batyrkhan Shukenov, France Gall and Zlata Ognevich are linked with pop music
Batyrkhan Shukenov France Gall Zlata Ognevich
action filter_type
action find_reverse
entity pop music
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'pop music']
SELECT DISTINCT ?c WHERE { ?c property:movement resource:pop_music . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37073
P144
Q151885
USER
Which concept is that one based on ?
(Q4527444,P144,c(Q151885)) (Q208258,P144,c(Q151885)) (Q1574590,P144,c(Q151885))
action filter_type
action find
entity Q37073
relation P144
type Q151885
['Q4527444', 'P144', {'concept': 'Q151885'}] ['Q208258', 'P144', {'concept': 'Q151885'}] ['Q1574590', 'P144', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q37073 property:P144 ?f . ?f rdf:type ontology:Q151885 }
pop music
action filter_type
action find
entity pop music
relation based on
type concept
['Batyrkhan Shukenov', 'based on', {'concept': 'concept'}] ['France Gall', 'based on', {'concept': 'concept'}] ['Zlata Ognevich', 'based on', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:pop_music property:based_on ?f . ?f rdf:type ontology:concept }
[]
concept
Q7749
SYSTEM
rock and roll
Q7749
(Q4527444,P144,c(Q151885)) (Q208258,P144,c(Q151885)) (Q1574590,P144,c(Q151885))
action filter_type
action find
entity Q37073
relation P144
type Q151885
Music [ANSWER] is based on
['Q4527444', 'P144', {'concept': 'Q151885'}] ['Q208258', 'P144', {'concept': 'Q151885'}] ['Q1574590', 'P144', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { resource:Q37073 property:P144 ?f . ?f rdf:type ontology:Q151885 }
rock and roll
Music rock and roll is based on
rock and roll
action filter_type
action find
entity pop music
relation based on
type concept
['Batyrkhan Shukenov', 'based on', {'concept': 'concept'}] ['France Gall', 'based on', {'concept': 'concept'}] ['Zlata Ognevich', 'based on', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { resource:pop_music property:based_on ?f . ?f rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7749
P921
Q1318295
USER
Which narrative was mainly based on that concept ?
(c(Q1318295),P921,Q7749)
action filter_type
action find_reverse
entity Q7749
relation P921
type Q1318295
[{'concept': 'Q1318295'}, 'P921', 'Q7749']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q7749 . ?c rdf:type ontology:Q1318295 }
rock and roll
action filter_type
action find_reverse
entity rock and roll
relation main subject
type narrative
[{'concept': 'narrative'}, 'main subject', 'rock and roll']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:rock_and_roll . ?c rdf:type ontology:narrative }
[]
narrative
Q24255787
SYSTEM
Checker and the Derailleurs
Q24255787
(c(Q1318295),P921,Q7749)
action filter_type
action find_reverse
entity Q7749
relation P921
type Q1318295
[ANSWER] was mainly based on that concept
[{'concept': 'Q1318295'}, 'P921', 'Q7749']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q7749 . ?c rdf:type ontology:Q1318295 }
Checker and the Derailleurs
Checker and the Derailleurs was mainly based on that concept
Checker and the Derailleurs
action filter_type
action find_reverse
entity rock and roll
relation main subject
type narrative
[{'concept': 'narrative'}, 'main subject', 'rock and roll']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:rock_and_roll . ?c rdf:type ontology:narrative }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24255787
P364
Q34770
USER
Which language was used originally for the creation of that narrative ?
(Q24255787,P364,c(Q34770))
action filter_type
action find
entity Q24255787
relation P364
type Q34770
['Q24255787', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34770 . resource:Q24255787 property:P364 ?u }
Checker and the Derailleurs
action filter_type
action find
entity Checker and the Derailleurs
relation original language of work
type language
['Checker and the Derailleurs', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:language . resource:Checker_and_the_Derailleurs property:original_language_of_work ?u }
[]
language
Q1860
SYSTEM
English
Q1860
(Q24255787,P364,c(Q34770))
action filter_type
action find
entity Q24255787
relation P364
type Q34770
[ANSWER] was used originally for the creation of that narrative
['Q24255787', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34770 . resource:Q24255787 property:P364 ?u }
English
English was used originally for the creation of that narrative
English
action filter_type
action find
entity Checker and the Derailleurs
relation original language of work
type language
['Checker and the Derailleurs', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:language . resource:Checker_and_the_Derailleurs property:original_language_of_work ?u }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11038450 Q380343
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Michele Zarrillo or Aleksandar Đorđević ?
OR((Q380343,P27,c(Q15617994)), (Q11038450,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q380343
relation P27
action find
entity Q11038450
relation P27
type Q15617994
{'OR': [['Q380343', 'P27', {'concept': 'Q15617994'}], ['Q11038450', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q11038450 property:P27 ?c } UNION { resource:Q380343 property:P27 ?c } } }
Aleksandar Đorđević Michele Zarrillo
action filter_type
action union
action find
entity Michele Zarrillo
relation country of citizenship
action find
entity Aleksandar Đorđević
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Michele Zarrillo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aleksandar Đorđević', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Aleksandar_Đorđević property:country_of_citizenship ?c } UNION { resource:Michele_Zarrillo property:country_of_citizenship ?c } } }
[]
designation for an administrative territorial entity
Q403 Q38
SYSTEM
Serbia, Italy
Q403 Q38
OR((Q380343,P27,c(Q15617994)), (Q11038450,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q380343
relation P27
action find
entity Q11038450
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Michele Zarrillo or Aleksandar Đorđević
{'OR': [['Q380343', 'P27', {'concept': 'Q15617994'}], ['Q11038450', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q11038450 property:P27 ?c } UNION { resource:Q380343 property:P27 ?c } } }
Serbia Italy
Serbia and Italy are the countries of citizenship of Michele Zarrillo or Aleksandar Đorđević
Serbia Italy
action filter_type
action union
action find
entity Michele Zarrillo
relation country of citizenship
action find
entity Aleksandar Đorđević
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Michele Zarrillo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aleksandar Đorđević', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Aleksandar_Đorđević property:country_of_citizenship ?c } UNION { resource:Michele_Zarrillo property:country_of_citizenship ?c } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q11038450 Q3991817
P21
Q290
USER
How many sexes do Aleksandar Đorđević or Tisiphone have ?
(Q11038450,P21,c(Q290)) (Q3991817,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q11038450
relation P21
type Q290
action filter_type
action find
entity Q3991817
relation P21
type Q290
['Q11038450', 'P21', {'concept': 'Q290'}] ['Q3991817', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { ?t rdf:type ontology:Q290 . resource:Q11038450 property:P21 ?t } UNION { ?t rdf:type ontology:Q290 . resource:Q3991817 property:P21 ?t } }
Aleksandar Đorđević Tisiphone
action count
action union
action filter_type
action find
entity Aleksandar Đorđević
relation gender
type sex
action filter_type
action find
entity Tisiphone
relation gender
type sex
['Aleksandar Đorđević', 'gender', {'concept': 'sex'}] ['Tisiphone', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { ?t rdf:type ontology:sex . resource:Aleksandar_Đorđević property:gender ?t } UNION { ?t rdf:type ontology:sex . resource:Tisiphone property:gender ?t } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q11038450,P21,c(Q290)) (Q3991817,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q11038450
relation P21
type Q290
action filter_type
action find
entity Q3991817
relation P21
type Q290
[ANSWER]
['Q11038450', 'P21', {'concept': 'Q290'}] ['Q3991817', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { ?t rdf:type ontology:Q290 . resource:Q11038450 property:P21 ?t } UNION { ?t rdf:type ontology:Q290 . resource:Q3991817 property:P21 ?t } }
male female
2
action count
action union
action filter_type
action find
entity Aleksandar Đorđević
relation gender
type sex
action filter_type
action find
entity Tisiphone
relation gender
type sex
['Aleksandar Đorđević', 'gender', {'concept': 'sex'}] ['Tisiphone', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { ?t rdf:type ontology:sex . resource:Aleksandar_Đorđević property:gender ?t } UNION { ?t rdf:type ontology:sex . resource:Tisiphone property:gender ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P35
Q502895
USER
Who are elected as the head of state of Italy ?
(Q38,P35,c(Q502895))
action filter_type
action find
entity Q38
relation P35
type Q502895
['Q38', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q38 property:P35 ?z }
Italy
action filter_type
action find
entity Italy
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Italy property:head_of_state ?z }
[]
common name
Q1224 Q3956186 Q1242
SYSTEM
Carlo Azeglio Ciampi, Sergio Mattarella, Luigi Einaudi
Q1224 Q1245 Q3956186 Q1241 Q1240 Q1242 Q1238 Q153832 Q1228 Q1230 Q1233 Q1235 Q1220
(Q38,P35,c(Q502895))
action filter_type
action find
entity Q38
relation P35
type Q502895
[ANSWERS] are elected as the head of state of Italy
['Q38', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q38 property:P35 ?z }
Carlo Azeglio Ciampi Enrico De Nicola Sergio Mattarella Giovanni Gronchi Antonio Segni Luigi Einaudi Giuseppe Saragat Alcide De Gasperi Oscar Luigi Scalfaro Francesco Cossiga Sandro Pertini Giovanni Leone Giorgio Napolitano
Carlo Azeglio Ciampi, Sergio Mattarella and Luigi Einaudi are elected as the head of state of Italy
Carlo Azeglio Ciampi Sergio Mattarella Luigi Einaudi
action filter_type
action find
entity Italy
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Italy property:head_of_state ?z }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1242
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q1242,P20,c(Q56061))
action filter_type
action find
entity Q1242
relation P20
type Q56061
['Q1242', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1242 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Luigi Einaudi
action filter_type
action find
entity Luigi Einaudi
relation place of death
type administrative territorial entity
['Luigi Einaudi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Luigi_Einaudi property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q3956186
SYSTEM
Did you mean Sergio Mattarella ?
Q1224 Q3956186 Q1242
(Q1224,P20,c(Q56061)) (Q3956186,P20,c(Q56061)) (Q1242,P20,c(Q56061))
[ANSWER]
['Q1224', 'P20', {'concept': 'Q56061'}] ['Q3956186', 'P20', {'concept': 'Q56061'}] ['Q1242', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1242 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Carlo Azeglio Ciampi Sergio Mattarella Luigi Einaudi
Did you mean Sergio Mattarella ?
Sergio Mattarella
['Carlo Azeglio Ciampi', 'place of death', {'concept': 'administrative territorial entity'}] ['Sergio Mattarella', 'place of death', {'concept': 'administrative territorial entity'}] ['Luigi Einaudi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Luigi_Einaudi property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Luigi Einaudi. Could you tell me the answer for that?
(Q1242,P20,c(Q56061))
Q1242
['Q1242', 'P20', {'concept': 'Q56061'}]
['Luigi Einaudi', 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q220
SYSTEM
Rome
Q220
(Q1242,P20,c(Q56061))
action filter_type
action find
entity Q1242
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q1242', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1242 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Rome
Rome is the place of death of that person
Rome
action filter_type
action find
entity Luigi Einaudi
relation place of death
type administrative territorial entity
['Luigi Einaudi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Luigi_Einaudi property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P127
Q483110
USER
Which stadia are owned by that administrative territory ?
(c(Q483110),P127,Q220)
action filter_type
action find_reverse
entity Q220
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q220']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q483110 . ?m property:P127 resource:Q220 }
Rome
action filter_type
action find_reverse
entity Rome
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Rome']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:stadium . ?m property:owned_by resource:Rome }
[]
stadium
Q642958 Q1348100 Q3496273
SYSTEM
Stadio Nazionale PNF, Stadio Flaminio, Stadio Tre Fontane
Q642958 Q1348100 Q3496273
(c(Q483110),P127,Q220)
action filter_type
action find_reverse
entity Q220
relation P127
type Q483110
[ANSWERS] are owned by that administrative territory
[{'concept': 'Q483110'}, 'P127', 'Q220']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q483110 . ?m property:P127 resource:Q220 }
Stadio Nazionale PNF Stadio Flaminio Stadio Tre Fontane
Stadio Nazionale PNF, Stadio Flaminio and Stadio Tre Fontane are owned by that administrative territory
Stadio Nazionale PNF Stadio Flaminio Stadio Tre Fontane
action filter_type
action find_reverse
entity Rome
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Rome']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:stadium . ?m property:owned_by resource:Rome }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8048663 Q1860
P361
Q5962346
USER
Which classification schemes are English or Yangulam language a part of ?
OR((Q1860,P361,c(Q5962346)), (Q8048663,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q8048663
relation P361
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q8048663', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?t ) { ( resource:Q1860 ) ( resource:Q8048663 ) } . ?t property:P361 ?o } . ?o rdf:type ontology:Q5962346 }
Yangulam language English
action filter_type
action union
action find
entity English
relation part of
action find
entity Yangulam language
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Yangulam language', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?t ) { ( resource:English ) ( resource:Yangulam_language ) } . ?t property:part_of ?o } . ?o rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q34018 Q5329170
SYSTEM
Anglic languages, trans–New Guinea languages, Anglo-Frisian languages
Q1346342 Q34018 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q8048663,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q8048663
relation P361
type Q5962346
[ANSWERS] are English or Yangulam language a part of
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q8048663', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?t ) { ( resource:Q1860 ) ( resource:Q8048663 ) } . ?t property:P361 ?o } . ?o rdf:type ontology:Q5962346 }
Anglic languages trans–New Guinea languages Anglo-Frisian languages
Anglic languages, trans–New Guinea languages and Anglo-Frisian languages are English or Yangulam language a part of
Anglic languages trans–New Guinea languages Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity Yangulam language
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Yangulam language', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?t ) { ( resource:English ) ( resource:Yangulam_language ) } . ?t property:part_of ?o } . ?o rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P915
Q838948
USER
Which works of art had Italy as their location of filming ?
(c(Q838948),P915,Q38)
action filter_type
action find_reverse
entity Q38
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q38']
SELECT DISTINCT ?p WHERE { ?p property:P915 resource:Q38 . ?p rdf:type ontology:Q838948 }
Italy
action filter_type
action find_reverse
entity Italy
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Italy']
SELECT DISTINCT ?p WHERE { ?p property:filming_location resource:Italy . ?p rdf:type ontology:work_of_art }
[]
work of art
Q18602670 Q1383269 Q15631013
SYSTEM
Spectre, Ex, Everest
Q18602670 Q1383269 Q15631013
(c(Q838948),P915,Q38)
action filter_type
action find_reverse
entity Q38
relation P915
type Q838948
[ANSWERS] had Italy as their location of filming
[{'concept': 'Q838948'}, 'P915', 'Q38']
SELECT DISTINCT ?p WHERE { ?p property:P915 resource:Q38 . ?p rdf:type ontology:Q838948 }
Spectre Ex Everest
Spectre, Ex and Everest had Italy as their location of filming
Spectre Ex Everest
action filter_type
action find_reverse
entity Italy
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Italy']
SELECT DISTINCT ?p WHERE { ?p property:filming_location resource:Italy . ?p rdf:type ontology:work_of_art }
[]