Simple Question (Direct)
Simple Question
Q4852628
P20
Q56061
USER
Which administrative territory is the place of death of Baltasar del Alcázar ?
(Q4852628,P20,c(Q56061))
action filter_type
action find
entity Q4852628
relation P20
type Q56061
['Q4852628', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q4852628 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Baltasar del Alcázar
action filter_type
action find
entity Baltasar del Alcázar
relation place of death
type administrative territorial entity
['Baltasar del Alcázar', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Baltasar_del_Alcázar property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13153
SYSTEM
Ronda
Q13153
(Q4852628,P20,c(Q56061))
action filter_type
action find
entity Q4852628
relation P20
type Q56061
[ANSWER] is the place of death of Baltasar del Alcázar
['Q4852628', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q4852628 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Ronda
Ronda is the place of death of Baltasar del Alcázar
Ronda
action filter_type
action find
entity Baltasar del Alcázar
relation place of death
type administrative territorial entity
['Baltasar del Alcázar', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Baltasar_del_Alcázar property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4852628
P1412
Q34770
USER
Which language can Baltasar del Alcázar read ?
(Q4852628,P1412,c(Q34770))
action filter_type
action find
entity Q4852628
relation P1412
type Q34770
['Q4852628', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q4852628 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Baltasar del Alcázar
action filter_type
action find
entity Baltasar del Alcázar
relation languages spoken, written or signed
type language
['Baltasar del Alcázar', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Baltasar_del_Alcázar property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q4852628,P1412,c(Q34770))
action filter_type
action find
entity Q4852628
relation P1412
type Q34770
Baltasar del Alcázar can read in [ANSWER]
['Q4852628', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q4852628 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Spanish
Baltasar del Alcázar can read in Spanish
Spanish
action filter_type
action find
entity Baltasar del Alcázar
relation languages spoken, written or signed
type language
['Baltasar del Alcázar', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Baltasar_del_Alcázar property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3620063
Q34770
USER
And what about Antonio Preziosi?
(Q3620063,P1412,c(Q34770))
action filter_type
action find
entity Q3620063
relation P1412
type Q34770
['Q3620063', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q3620063 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Antonio Preziosi
action filter_type
action find
entity Antonio Preziosi
relation languages spoken, written or signed
type language
['Antonio Preziosi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Antonio_Preziosi property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3620063,P1412,c(Q34770))
action filter_type
action find
entity Q3620063
relation P1412
type Q34770
[ANSWER]
['Q3620063', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q3620063 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Italian
Italian
action filter_type
action find
entity Antonio Preziosi
relation languages spoken, written or signed
type language
['Antonio Preziosi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Antonio_Preziosi property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36790
P282
Q9779 Q2001982 Q34770
USER
How many languages utilizes less number of alphabets or notations as the writing system than Sumerian ?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q36790
relation P282
type Q9779
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ?l . VALUES ( ?l ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q36790 property:P282 ?f . { { ?f rdf:type ontology:Q2001982 } UNION { ?f rdf:type ontology:Q9779 } } } } . FILTER ( ?j < ?v ) }
Sumerian
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Sumerian
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ?l . VALUES ( ?l ) { ( ontology:alphabet ) ( ontology:notation ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Sumerian property:writing_system ?f . { { ?f rdf:type ontology:notation } UNION { ?f rdf:type ontology:alphabet } } } } . FILTER ( ?j < ?v ) }
[]
alphabet notation language
SYSTEM
43
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q36790
relation P282
type Q9779
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ?l . VALUES ( ?l ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q36790 property:P282 ?f . { { ?f rdf:type ontology:Q2001982 } UNION { ?f rdf:type ontology:Q9779 } } } } . FILTER ( ?j < ?v ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
43
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Sumerian
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ?l . VALUES ( ?l ) { ( ontology:alphabet ) ( ontology:notation ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Sumerian property:writing_system ?f . { { ?f rdf:type ontology:notation } UNION { ?f rdf:type ontology:alphabet } } } } . FILTER ( ?j < ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q13211
P282
Q9779 Q2001982 Q34770
USER
And also tell me about Ruthenian?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q13211
relation P282
type Q9779
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?s WHERE { { ?s property:P282 ?k . ?s rdf:type ontology:Q34770 . ?k rdf:type ontology:Q9779 } UNION { ?s property:P282 ?k . ?s rdf:type ontology:Q34770 . ?k rdf:type ontology:Q2001982 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q13211 property:P282 ?f . { { ?f rdf:type ontology:Q2001982 } UNION { ?f rdf:type ontology:Q9779 } } } } . FILTER ( ?g < ?b ) }
Ruthenian
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Ruthenian
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?s WHERE { { ?s property:writing_system ?k . ?s rdf:type ontology:language . ?k rdf:type ontology:alphabet } UNION { ?s property:writing_system ?k . ?s rdf:type ontology:language . ?k rdf:type ontology:notation } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Ruthenian property:writing_system ?f . { { ?f rdf:type ontology:notation } UNION { ?f rdf:type ontology:alphabet } } } } . FILTER ( ?g < ?b ) }
[]
alphabet notation language
SYSTEM
43
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q13211
relation P282
type Q9779
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?s WHERE { { ?s property:P282 ?k . ?s rdf:type ontology:Q34770 . ?k rdf:type ontology:Q9779 } UNION { ?s property:P282 ?k . ?s rdf:type ontology:Q34770 . ?k rdf:type ontology:Q2001982 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q13211 property:P282 ?f . { { ?f rdf:type ontology:Q2001982 } UNION { ?f rdf:type ontology:Q9779 } } } } . FILTER ( ?g < ?b ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
43
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Ruthenian
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) ?s WHERE { { ?s property:writing_system ?k . ?s rdf:type ontology:language . ?k rdf:type ontology:alphabet } UNION { ?s property:writing_system ?k . ?s rdf:type ontology:language . ?k rdf:type ontology:notation } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Ruthenian property:writing_system ?f . { { ?f rdf:type ontology:notation } UNION { ?f rdf:type ontology:alphabet } } } } . FILTER ( ?g < ?b ) }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3237838
Q838948
USER
And how about Liberté, j'écris ton nom?
(Q3237838,P364,c(Q838948))
action filter_type
action find
entity Q3237838
relation P364
type Q838948
['Q3237838', 'P364', {'concept': 'Q838948'}]
SELECT DISTINCT ?v WHERE { resource:Q3237838 property:P364 ?v . ?v rdf:type ontology:Q838948 }
Liberté, j'écris ton nom
action filter_type
action find
entity Liberté, j'écris ton nom
relation original language of work
type work of art
["Liberté, j'écris ton nom", 'original language of work', {'concept': 'work of art'}]
SELECT DISTINCT ?v WHERE { resource:Liberté,_j'écris_ton_nom property:original_language_of_work ?v . ?v rdf:type ontology:work_of_art }
[]
work of art
Q3083234
SYSTEM
Française
Q3083234
(Q3237838,P364,c(Q838948))
action filter_type
action find
entity Q3237838
relation P364
type Q838948
[ANSWER]
['Q3237838', 'P364', {'concept': 'Q838948'}]
SELECT DISTINCT ?v WHERE { resource:Q3237838 property:P364 ?v . ?v rdf:type ontology:Q838948 }
Française
Française
action filter_type
action find
entity Liberté, j'écris ton nom
relation original language of work
type work of art
["Liberté, j'écris ton nom", 'original language of work', {'concept': 'work of art'}]
SELECT DISTINCT ?v WHERE { resource:Liberté,_j'écris_ton_nom property:original_language_of_work ?v . ?v rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for fabrication of max number of works of art ?
(c(Q838948),P2079,Q170593)
action argmax
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?p ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P2079 ?i . ?i rdf:type ontology:Q2695280 . ?s rdf:type ontology:Q838948 } GROUP BY ?i } } . { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:P2079 ?k . ?m rdf:type ontology:Q838948 . ?k rdf:type ontology:Q2695280 } GROUP BY ?k } . FILTER ( ?u = ?p ) }
action argmax
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?p ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:fabrication_method ?i . ?i rdf:type ontology:technics . ?s rdf:type ontology:work_of_art } GROUP BY ?i } } . { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:fabrication_method ?k . ?m rdf:type ontology:work_of_art . ?k rdf:type ontology:technics } GROUP BY ?k } . FILTER ( ?u = ?p ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,Q170593)
action argmax
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[ANSWERS] are used for fabrication of max number of works of art
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?p ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P2079 ?i . ?i rdf:type ontology:Q2695280 . ?s rdf:type ontology:Q838948 } GROUP BY ?i } } . { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:P2079 ?k . ?m rdf:type ontology:Q838948 . ?k rdf:type ontology:Q2695280 } GROUP BY ?k } . FILTER ( ?u = ?p ) }
gilding collage
Gilding and collage are used for fabrication of max number of works of art
gilding collage
action argmax
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?p ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:fabrication_method ?i . ?i rdf:type ontology:technics . ?s rdf:type ontology:work_of_art } GROUP BY ?i } } . { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:fabrication_method ?k . ?m rdf:type ontology:work_of_art . ?k rdf:type ontology:technics } GROUP BY ?k } . FILTER ( ?u = ?p ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1334300 Q170593
P425
Q12737077
USER
Which occupations do gilding and collage belong to ?
(c(Q12737077),P425,Q1334300) (c(Q12737077),P425,Q170593)
action union
action filter_type
action find_reverse
entity Q1334300
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q170593
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q1334300'] [{'concept': 'Q12737077'}, 'P425', 'Q170593']
SELECT DISTINCT ?e WHERE { { ?e property:P425 resource:Q1334300 . ?e rdf:type ontology:Q12737077 } UNION { ?e property:P425 resource:Q170593 . ?e rdf:type ontology:Q12737077 } }
gilding collage
action union
action filter_type
action find_reverse
entity gilding
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity collage
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'gilding'] [{'concept': 'occupation'}, 'field of this occupation', 'collage']
SELECT DISTINCT ?e WHERE { { ?e property:field_of_this_occupation resource:gilding . ?e rdf:type ontology:occupation } UNION { ?e property:field_of_this_occupation resource:collage . ?e rdf:type ontology:occupation } }
[]
occupation
Q281795 Q22343478
SYSTEM
gilder, collagist
Q281795 Q22343478
(c(Q12737077),P425,Q1334300) (c(Q12737077),P425,Q170593)
action union
action filter_type
action find_reverse
entity Q1334300
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q170593
relation P425
type Q12737077
Gilding and collage belong to [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q1334300'] [{'concept': 'Q12737077'}, 'P425', 'Q170593']
SELECT DISTINCT ?e WHERE { { ?e property:P425 resource:Q1334300 . ?e rdf:type ontology:Q12737077 } UNION { ?e property:P425 resource:Q170593 . ?e rdf:type ontology:Q12737077 } }
gilder collagist
Gilding and collage belong to gilder and collagist
gilder collagist
action union
action filter_type
action find_reverse
entity gilding
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity collage
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'gilding'] [{'concept': 'occupation'}, 'field of this occupation', 'collage']
SELECT DISTINCT ?e WHERE { { ?e property:field_of_this_occupation resource:gilding . ?e rdf:type ontology:occupation } UNION { ?e property:field_of_this_occupation resource:collage . ?e rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170593
P136
Q386724
USER
Which work as collage as its type ?
(c(Q386724),P136,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P136
type Q386724
[{'concept': 'Q386724'}, 'P136', 'Q170593']
SELECT DISTINCT ?b WHERE { ?b property:P136 resource:Q170593 . ?b rdf:type ontology:Q386724 }
collage
action filter_type
action find_reverse
entity collage
relation genre
type work
[{'concept': 'work'}, 'genre', 'collage']
SELECT DISTINCT ?b WHERE { ?b property:genre resource:collage . ?b rdf:type ontology:work }
[]
work
Q22953889
SYSTEM
Pafama
Q22953889
(c(Q386724),P136,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P136
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P136', 'Q170593']
SELECT DISTINCT ?b WHERE { ?b property:P136 resource:Q170593 . ?b rdf:type ontology:Q386724 }
Pafama
Pafama
action filter_type
action find_reverse
entity collage
relation genre
type work
[{'concept': 'work'}, 'genre', 'collage']
SELECT DISTINCT ?b WHERE { ?b property:genre resource:collage . ?b rdf:type ontology:work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170593
P101
Q502895
USER
Which people work in the domain of collage ?
(c(Q502895),P101,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q170593']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P101 resource:Q170593 }
collage
action filter_type
action find_reverse
entity collage
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'collage']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:field_of_work resource:collage }
[]
common name
Q3159195 Q3476652
SYSTEM
Jacques Jouet, Sea Diallo
Q3159195 Q3476652
(c(Q502895),P101,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P101
type Q502895
[ANSWERS] work in the domain of collage
[{'concept': 'Q502895'}, 'P101', 'Q170593']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P101 resource:Q170593 }
Jacques Jouet Sea Diallo
Jacques Jouet and Sea Diallo work in the domain of collage
Jacques Jouet Sea Diallo
action filter_type
action find_reverse
entity collage
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'collage']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:field_of_work resource:collage }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170593
P1056
Q838948
USER
Which work of art is manufactured by that technics ?
(Q3159195,P1056,c(Q838948)) (Q3476652,P1056,c(Q838948))
action filter_type
action find
entity Q170593
relation P1056
type Q838948
['Q3159195', 'P1056', {'concept': 'Q838948'}] ['Q3476652', 'P1056', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { resource:Q170593 property:P1056 ?k . ?k rdf:type ontology:Q838948 }
collage
action filter_type
action find
entity collage
relation product
type work of art
['Jacques Jouet', 'product', {'concept': 'work of art'}] ['Sea Diallo', 'product', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { resource:collage property:product ?k . ?k rdf:type ontology:work_of_art }
[]
work of art
Q22669857
SYSTEM
collage
Q22669857
(Q3159195,P1056,c(Q838948)) (Q3476652,P1056,c(Q838948))
action filter_type
action find
entity Q170593
relation P1056
type Q838948
[ANSWER] is manufactured by that technics
['Q3159195', 'P1056', {'concept': 'Q838948'}] ['Q3476652', 'P1056', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { resource:Q170593 property:P1056 ?k . ?k rdf:type ontology:Q838948 }
collage
Collage is manufactured by that technics
collage
action filter_type
action find
entity collage
relation product
type work of art
['Jacques Jouet', 'product', {'concept': 'work of art'}] ['Sea Diallo', 'product', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { resource:collage property:product ?k . ?k rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q23900446 Q170593
P1056 P1441
Q838948
USER
Which works of art are produced by collage or do Howard Stark appear ?
OR((Q170593,P1056,c(Q838948)), (Q23900446,P1441,c(Q838948)))
action filter_type
action union
action find
entity Q170593
relation P1056
action find
entity Q23900446
relation P1441
type Q838948
{'OR': [['Q170593', 'P1056', {'concept': 'Q838948'}], ['Q23900446', 'P1441', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q23900446 property:P1441 ?i } UNION { resource:Q170593 property:P1056 ?i } } . ?i rdf:type ontology:Q838948 }
Howard Stark collage
action filter_type
action union
action find
entity collage
relation product
action find
entity Howard Stark
relation present in work
type work of art
{'OR': [['collage', 'product', {'concept': 'work of art'}], ['Howard Stark', 'present in work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Howard_Stark property:present_in_work ?i } UNION { resource:collage property:product ?i } } . ?i rdf:type ontology:work_of_art }
[]
work of art
Q22669857 Q192724 Q275120 Q205028 Q18407657 Q5901134
SYSTEM
collage, Iron Man, Captain America: The First Avenger, Iron Man 2, Captain America: Civil War, Ant-Man
Q22669857 Q192724 Q275120 Q205028 Q18407657 Q5901134
OR((Q170593,P1056,c(Q838948)), (Q23900446,P1441,c(Q838948)))
action filter_type
action union
action find
entity Q170593
relation P1056
action find
entity Q23900446
relation P1441
type Q838948
[ANSWERS] are produced by collage or do Howard Stark appear
{'OR': [['Q170593', 'P1056', {'concept': 'Q838948'}], ['Q23900446', 'P1441', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q23900446 property:P1441 ?i } UNION { resource:Q170593 property:P1056 ?i } } . ?i rdf:type ontology:Q838948 }
collage Iron Man Captain America: The First Avenger Iron Man 2 Captain America: Civil War Ant-Man
Collage, Iron Man, Captain America: The First Avenger, Iron Man 2, Captain America: Civil War and Ant-Man are produced by collage or do Howard Stark appear
collage Iron Man Captain America: The First Avenger Iron Man 2 Captain America: Civil War Ant-Man
action filter_type
action union
action find
entity collage
relation product
action find
entity Howard Stark
relation present in work
type work of art
{'OR': [['collage', 'product', {'concept': 'work of art'}], ['Howard Stark', 'present in work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Howard_Stark property:present_in_work ?i } UNION { resource:collage property:product ?i } } . ?i rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2546101 Q3620063
P19
Q56061
USER
Which administrative territories were Antonio Preziosi or Walter Schiff born in ?
OR((Q3620063,P19,c(Q56061)), (Q2546101,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3620063
relation P19
action find
entity Q2546101
relation P19
type Q56061
{'OR': [['Q3620063', 'P19', {'concept': 'Q56061'}], ['Q2546101', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q2546101 property:P19 ?y } UNION { resource:Q3620063 property:P19 ?y } } . ?y rdf:type ontology:Q56061 }
Walter Schiff Antonio Preziosi
action filter_type
action union
action find
entity Antonio Preziosi
relation place of birth
action find
entity Walter Schiff
relation place of birth
type administrative territorial entity
{'OR': [['Antonio Preziosi', 'place of birth', {'concept': 'administrative territorial entity'}], ['Walter Schiff', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Walter_Schiff property:place_of_birth ?y } UNION { resource:Antonio_Preziosi property:place_of_birth ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741 Q13498
SYSTEM
Vienna, Taranto
Q1741 Q13498
OR((Q3620063,P19,c(Q56061)), (Q2546101,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3620063
relation P19
action find
entity Q2546101
relation P19
type Q56061
Antonio Preziosi or Walter Schiff were born in [ANSWERS]
{'OR': [['Q3620063', 'P19', {'concept': 'Q56061'}], ['Q2546101', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q2546101 property:P19 ?y } UNION { resource:Q3620063 property:P19 ?y } } . ?y rdf:type ontology:Q56061 }
Vienna Taranto
Antonio Preziosi or Walter Schiff were born in Vienna and Taranto
Vienna Taranto
action filter_type
action union
action find
entity Antonio Preziosi
relation place of birth
action find
entity Walter Schiff
relation place of birth
type administrative territorial entity
{'OR': [['Antonio Preziosi', 'place of birth', {'concept': 'administrative territorial entity'}], ['Walter Schiff', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Walter_Schiff property:place_of_birth ?y } UNION { resource:Antonio_Preziosi property:place_of_birth ?y } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q23831 Q192724
P57 P1431
Q502895
USER
Which people are the excecutive producer of Iron Man and directed The Office ?
AND((Q192724,P1431,c(Q502895)), (Q23831,P57,c(Q502895)))
action filter_type
action intersection
action find
entity Q192724
relation P1431
action find
entity Q23831
relation P57
type Q502895
{'AND': [['Q192724', 'P1431', {'concept': 'Q502895'}], ['Q23831', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { resource:Q192724 property:P1431 ?p . resource:Q23831 property:P57 ?p . ?p rdf:type ontology:Q502895 }
The Office Iron Man
action filter_type
action intersection
action find
entity Iron Man
relation executive producer
action find
entity The Office
relation director
type common name
{'AND': [['Iron Man', 'executive producer', {'concept': 'common name'}], ['The Office', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { resource:Iron_Man property:executive_producer ?p . resource:The_Office property:director ?p . ?p rdf:type ontology:common_name }
[]
common name
Q295964
SYSTEM
Jon Favreau
Q295964
AND((Q192724,P1431,c(Q502895)), (Q23831,P57,c(Q502895)))
action filter_type
action intersection
action find
entity Q192724
relation P1431
action find
entity Q23831
relation P57
type Q502895
[ANSWER] is the excecutive producer of Iron Man and directed The Office
{'AND': [['Q192724', 'P1431', {'concept': 'Q502895'}], ['Q23831', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { resource:Q192724 property:P1431 ?p . resource:Q23831 property:P57 ?p . ?p rdf:type ontology:Q502895 }
Jon Favreau
Jon Favreau is the excecutive producer of Iron Man and directed The Office
Jon Favreau
action filter_type
action intersection
action find
entity Iron Man
relation executive producer
action find
entity The Office
relation director
type common name
{'AND': [['Iron Man', 'executive producer', {'concept': 'common name'}], ['The Office', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { resource:Iron_Man property:executive_producer ?p . resource:The_Office property:director ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P206
Q355304
USER
Which watercourses are situated in the neighbourhood of Vienna ?
(Q1741,P206,c(Q355304))
action filter_type
action find
entity Q1741
relation P206
type Q355304
['Q1741', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?p WHERE { resource:Q1741 property:P206 ?p . ?p rdf:type ontology:Q355304 }
Vienna
action filter_type
action find
entity Vienna
relation located next to body of water
type watercourse
['Vienna', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?p WHERE { resource:Vienna property:located_next_to_body_of_water ?p . ?p rdf:type ontology:watercourse }
[]
watercourse
Q1653 Q701695 Q702289
SYSTEM
Danube, Donaukanal, Wien
Q1653 Q701695 Q1824337 Q702289
(Q1741,P206,c(Q355304))
action filter_type
action find
entity Q1741
relation P206
type Q355304
[ANSWERS] are situated in the neighbourhood of Vienna
['Q1741', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?p WHERE { resource:Q1741 property:P206 ?p . ?p rdf:type ontology:Q355304 }
Danube Donaukanal Liesing Wien
Danube, Donaukanal and Wien are situated in the neighbourhood of Vienna
Danube Donaukanal Wien
action filter_type
action find
entity Vienna
relation located next to body of water
type watercourse
['Vienna', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?p WHERE { resource:Vienna property:located_next_to_body_of_water ?p . ?p rdf:type ontology:watercourse }
[]