Simple Question (Direct)
Simple Question
Q17328992
P937
Q56061
USER
Where did Raffaello Russo Spena work ?
(Q17328992,P937,c(Q56061))
action filter_type
action find
entity Q17328992
relation P937
type Q56061
['Q17328992', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q17328992 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Raffaello Russo Spena
action filter_type
action find
entity Raffaello Russo Spena
relation work location
type administrative territorial entity
['Raffaello Russo Spena', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Raffaello_Russo_Spena property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q17328992,P937,c(Q56061))
action filter_type
action find
entity Q17328992
relation P937
type Q56061
Raffaello Russo Spena worked in [ANSWER]
['Q17328992', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q17328992 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Rome
Raffaello Russo Spena worked in Rome
Rome
action filter_type
action find
entity Raffaello Russo Spena
relation work location
type administrative territorial entity
['Raffaello Russo Spena', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Raffaello_Russo_Spena property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P1376
Q7275
USER
Which state has that administrative territory has its first city ?
(Q220,P1376,c(Q7275))
action filter_type
action find
entity Q220
relation P1376
type Q7275
['Q220', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q220 property:P1376 ?w . ?w rdf:type ontology:Q7275 }
Rome
action filter_type
action find
entity Rome
relation capital of
type state
['Rome', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Rome property:capital_of ?w . ?w rdf:type ontology:state }
[]
state
Q170174
SYSTEM
Papal States
Q170174
(Q220,P1376,c(Q7275))
action filter_type
action find
entity Q220
relation P1376
type Q7275
The [ANSWER] has that administrative territory has its first city
['Q220', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q220 property:P1376 ?w . ?w rdf:type ontology:Q7275 }
Papal States
The Papal States has that administrative territory has its first city
Papal States
action filter_type
action find
entity Rome
relation capital of
type state
['Rome', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Rome property:capital_of ?w . ?w rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P840
Q2342494
USER
Which collectables have their narrative set in Rome ?
(c(Q2342494),P840,Q220)
action filter_type
action find_reverse
entity Q220
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q220']
SELECT DISTINCT ?p WHERE { ?p property:P840 resource:Q220 . ?p rdf:type ontology:Q2342494 }
Rome
action filter_type
action find_reverse
entity Rome
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Rome']
SELECT DISTINCT ?p WHERE { ?p property:narrative_location resource:Rome . ?p rdf:type ontology:collectable }
[]
collectable
Q455305 Q768150 Q2901129
SYSTEM
Italian Journey, Imprimatur, Nightwings
Q4876634 Q5575751 Q7581704 Q3940771 Q3566664 Q11978379 Q7768834 Q2901129 Q3819197 Q3894636 Q7796881 Q7730406 Q861017 Q768150 Q5226419 Q4659257 Q116381 Q2521688 Q5015188 Q5141601 Q455305 Q7642726 Q7421952 Q574887 Q7775561 Q7992944 Q3818569 Q7078770 Q5304698 Q2279483 Q8024779 Q472026 Q382084 Q4657913 Q7362000 Q7172381
(c(Q2342494),P840,Q220)
action filter_type
action find_reverse
entity Q220
relation P840
type Q2342494
[ANSWERS] have their narrative set in Rome
[{'concept': 'Q2342494'}, 'P840', 'Q220']
SELECT DISTINCT ?p WHERE { ?p property:P840 resource:Q220 . ?p rdf:type ontology:Q2342494 }
Beard's Roman Women God's Spy Spy in Chancery Romanzo Criminale Two Women Jenny The Third Secret Nightwings The Public Image Paolo il caldo Those Who Walk Away The Divided Lady The Portrait of a Lady Imprimatur Das Königsprojekt A Roman Singer The Messenger The Rise of Endymion Cabal Coins in the Fountain Italian Journey Super Sad True Love Story Saracinesca Daisy Miller The Woman of Rome When in Rome L'anello di fuoco Of Love and Evil Dracula Cha Cha Cha History Windswept House: A Vatican Novel The Talented Mr. Ripley Extinction A Long Finish Roman Holiday Peter's Pence
Italian Journey, Imprimatur and Nightwings have their narrative set in Rome
Italian Journey Imprimatur Nightwings
action filter_type
action find_reverse
entity Rome
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Rome']
SELECT DISTINCT ?p WHERE { ?p property:narrative_location resource:Rome . ?p rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q455305 Q768150 Q2901129
P136
Q1792379
USER
What can be considered as category for Italian Journey, Imprimatur and Nightwings ?
(Q455305,P136,c(Q1792379)) (Q768150,P136,c(Q1792379)) (Q2901129,P136,c(Q1792379))
action union
action filter_type
action find
entity Q455305
relation P136
type Q1792379
action filter_type
action find
entity Q768150
relation P136
type Q1792379
action filter_type
action find
entity Q2901129
relation P136
type Q1792379
['Q455305', 'P136', {'concept': 'Q1792379'}] ['Q768150', 'P136', {'concept': 'Q1792379'}] ['Q2901129', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?b WHERE { ?h property:P136 ?b . VALUES ( ?h ) { ( resource:Q455305 ) ( resource:Q768150 ) } }
Italian Journey Imprimatur Nightwings
action union
action filter_type
action find
entity Italian Journey
relation genre
type art genre
action filter_type
action find
entity Imprimatur
relation genre
type art genre
action filter_type
action find
entity Nightwings
relation genre
type art genre
['Italian Journey', 'genre', {'concept': 'art genre'}] ['Imprimatur', 'genre', {'concept': 'art genre'}] ['Nightwings', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?b WHERE { ?h property:genre ?b . VALUES ( ?h ) { ( resource:Italian_Journey ) ( resource:Imprimatur ) } }
[]
art genre
Q1164267 Q8261 Q1093312
SYSTEM
travel book, novel, historical mystery
Q1164267 Q1093312 Q192239 Q8261 Q12132683 Q149537
(Q455305,P136,c(Q1792379)) (Q768150,P136,c(Q1792379)) (Q2901129,P136,c(Q1792379))
action union
action filter_type
action find
entity Q455305
relation P136
type Q1792379
action filter_type
action find
entity Q768150
relation P136
type Q1792379
action filter_type
action find
entity Q2901129
relation P136
type Q1792379
The [ANSWERS] can be considered as category for Italian Journey, Imprimatur and Nightwings
['Q455305', 'P136', {'concept': 'Q1792379'}] ['Q768150', 'P136', {'concept': 'Q1792379'}] ['Q2901129', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?b WHERE { ?h property:P136 ?b . VALUES ( ?h ) { ( resource:Q455305 ) ( resource:Q768150 ) } }
travel book historical mystery historical novel novel science fiction novel novella
The travel book, novel and historical mystery can be considered as category for Italian Journey, Imprimatur and Nightwings
travel book novel historical mystery
action union
action filter_type
action find
entity Italian Journey
relation genre
type art genre
action filter_type
action find
entity Imprimatur
relation genre
type art genre
action filter_type
action find
entity Nightwings
relation genre
type art genre
['Italian Journey', 'genre', {'concept': 'art genre'}] ['Imprimatur', 'genre', {'concept': 'art genre'}] ['Nightwings', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?b WHERE { ?h property:genre ?b . VALUES ( ?h ) { ( resource:Italian_Journey ) ( resource:Imprimatur ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P138
Q34442
USER
Which road is the eponym of Rome ?
(c(Q34442),P138,Q220)
action filter_type
action find_reverse
entity Q220
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q220']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q220 . ?n rdf:type ontology:Q34442 }
Rome
action filter_type
action find_reverse
entity Rome
relation named after
type road
[{'concept': 'road'}, 'named after', 'Rome']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:Rome . ?n rdf:type ontology:road }
[]
road
Q3451022
SYSTEM
rue de Rome
Q3451022
(c(Q34442),P138,Q220)
action filter_type
action find_reverse
entity Q220
relation P138
type Q34442
[ANSWER] is the eponym of Rome
[{'concept': 'Q34442'}, 'P138', 'Q220']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q220 . ?n rdf:type ontology:Q34442 }
rue de Rome
Rue de Rome is the eponym of Rome
rue de Rome
action filter_type
action find_reverse
entity Rome
relation named after
type road
[{'concept': 'road'}, 'named after', 'Rome']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:Rome . ?n rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P189
Q838948
USER
Which works of art were found at that administrative territory ?
(c(Q838948),P189,Q3451022)
action filter_type
action find_reverse
entity Q220
relation P189
type Q838948
[{'concept': 'Q838948'}, 'P189', 'Q3451022']
SELECT DISTINCT ?t WHERE { ?t property:P189 resource:Q220 . ?t rdf:type ontology:Q838948 }
Rome
action filter_type
action find_reverse
entity Rome
relation location of discovery
type work of art
[{'concept': 'work of art'}, 'location of discovery', 'rue de Rome']
SELECT DISTINCT ?t WHERE { ?t property:location_of_discovery resource:Rome . ?t rdf:type ontology:work_of_art }
[]
work of art
Q18668045 Q18667809
SYSTEM
The Old Fisherman, Sauroctonos Borghese
Q18668045 Q18667809
(c(Q838948),P189,Q3451022)
action filter_type
action find_reverse
entity Q220
relation P189
type Q838948
[ANSWERS] were found at that administrative territory
[{'concept': 'Q838948'}, 'P189', 'Q3451022']
SELECT DISTINCT ?t WHERE { ?t property:P189 resource:Q220 . ?t rdf:type ontology:Q838948 }
The Old Fisherman Sauroctonos Borghese
The Old Fisherman and Sauroctonos Borghese were found at that administrative territory
The Old Fisherman Sauroctonos Borghese
action filter_type
action find_reverse
entity Rome
relation location of discovery
type work of art
[{'concept': 'work of art'}, 'location of discovery', 'rue de Rome']
SELECT DISTINCT ?t WHERE { ?t property:location_of_discovery resource:Rome . ?t rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q173242
P2079
Q2695280 Q838948
USER
Which technicss are used for the production of around the same number of works of art as woodcut technique ?
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q173242
relation P2079
type Q2695280
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P2079 ?e . ?y rdf:type ontology:Q838948 . ?e rdf:type ontology:Q2695280 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q173242 property:P2079 ?h . ?h rdf:type ontology:Q2695280 } } . FILTER ( ?o = ?x ) }
woodcut technique
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity woodcut technique
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:fabrication_method ?e . ?y rdf:type ontology:work_of_art . ?e rdf:type ontology:technics } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:woodcut_technique property:fabrication_method ?h . ?h rdf:type ontology:technics } } . FILTER ( ?o = ?x ) }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q173242
relation P2079
type Q2695280
[ANSWERS] are used for the production of around the same number of works of art as woodcut technique
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P2079 ?e . ?y rdf:type ontology:Q838948 . ?e rdf:type ontology:Q2695280 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q173242 property:P2079 ?h . ?h rdf:type ontology:Q2695280 } } . FILTER ( ?o = ?x ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
Woodcut technique, chasing and engraving are used for the production of around the same number of works of art as woodcut technique
woodcut technique chasing engraving
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity woodcut technique
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:fabrication_method ?e . ?y rdf:type ontology:work_of_art . ?e rdf:type ontology:technics } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:woodcut_technique property:fabrication_method ?h . ?h rdf:type ontology:technics } } . FILTER ( ?o = ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q170593
P2079
Q2695280 Q838948
USER
And what about collage?
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q170593
relation P2079
type Q2695280
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c rdf:type ontology:Q2695280 . resource:Q170593 property:P2079 ?c } } . FILTER ( ?a = ?f ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P2079 ?r . ?r rdf:type ontology:Q2695280 . ?n rdf:type ontology:Q838948 } GROUP BY ?r } }
collage
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity collage
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c rdf:type ontology:technics . resource:collage property:fabrication_method ?c } } . FILTER ( ?a = ?f ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:fabrication_method ?r . ?r rdf:type ontology:technics . ?n rdf:type ontology:work_of_art } GROUP BY ?r } }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q170593
relation P2079
type Q2695280
[ANSWERS]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c rdf:type ontology:Q2695280 . resource:Q170593 property:P2079 ?c } } . FILTER ( ?a = ?f ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P2079 ?r . ?r rdf:type ontology:Q2695280 . ?n rdf:type ontology:Q838948 } GROUP BY ?r } }
gilding collage
gilding collage
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity collage
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { ?c rdf:type ontology:technics . resource:collage property:fabrication_method ?c } } . FILTER ( ?a = ?f ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:fabrication_method ?r . ?r rdf:type ontology:technics . ?n rdf:type ontology:work_of_art } GROUP BY ?r } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23954829 Q768150
P50
Q502895
USER
Which people authored Imprimatur or NSC 136: United States Policy Regarding the Present Situation in Iran ?
OR((Q768150,P50,c(Q502895)), (Q23954829,P50,c(Q502895)))
action filter_type
action union
action find
entity Q768150
relation P50
action find
entity Q23954829
relation P50
type Q502895
{'OR': [['Q768150', 'P50', {'concept': 'Q502895'}], ['Q23954829', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q768150 property:P50 ?y } UNION { resource:Q23954829 property:P50 ?y } } . ?y rdf:type ontology:Q502895 }
NSC 136: United States Policy Regarding the Present Situation in Iran Imprimatur
action filter_type
action union
action find
entity Imprimatur
relation author
action find
entity NSC 136: United States Policy Regarding the Present Situation in Iran
relation author
type common name
{'OR': [['Imprimatur', 'author', {'concept': 'common name'}], ['NSC 136: United States Policy Regarding the Present Situation in Iran', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Imprimatur property:author ?y } UNION { resource:NSC_136:_United_States_Policy_Regarding_the_Present_Situation_in_Iran property:author ?y } } . ?y rdf:type ontology:common_name }
[]
common name
Q23954762 Q3488925 Q7336582
SYSTEM
James S. Lay, Francesco Sorti, Rita Monaldi
Q23954762 Q3488925 Q7336582
OR((Q768150,P50,c(Q502895)), (Q23954829,P50,c(Q502895)))
action filter_type
action union
action find
entity Q768150
relation P50
action find
entity Q23954829
relation P50
type Q502895
[ANSWERS] authored Imprimatur or NSC 136: United States Policy Regarding the Present Situation in Iran
{'OR': [['Q768150', 'P50', {'concept': 'Q502895'}], ['Q23954829', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q768150 property:P50 ?y } UNION { resource:Q23954829 property:P50 ?y } } . ?y rdf:type ontology:Q502895 }
James S. Lay Francesco Sorti Rita Monaldi
James S. Lay, Francesco Sorti and Rita Monaldi authored Imprimatur or NSC 136: United States Policy Regarding the Present Situation in Iran
James S. Lay Francesco Sorti Rita Monaldi
action filter_type
action union
action find
entity Imprimatur
relation author
action find
entity NSC 136: United States Policy Regarding the Present Situation in Iran
relation author
type common name
{'OR': [['Imprimatur', 'author', {'concept': 'common name'}], ['NSC 136: United States Policy Regarding the Present Situation in Iran', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Imprimatur property:author ?y } UNION { resource:NSC_136:_United_States_Policy_Regarding_the_Present_Situation_in_Iran property:author ?y } } . ?y rdf:type ontology:common_name }
[]