Simple Question (Direct)
Simple Question
Q40790
P17
Q15617994
USER
Which administrative territory is Santo Stefano di Cadore present in ?
(Q40790,P17,c(Q15617994))
action filter_type
action find
entity Q40790
relation P17
type Q15617994
['Q40790', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q40790 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Santo Stefano di Cadore
action filter_type
action find
entity Santo Stefano di Cadore
relation country
type designation for an administrative territorial entity
['Santo Stefano di Cadore', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Santo_Stefano_di_Cadore property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q40790,P17,c(Q15617994))
action filter_type
action find
entity Q40790
relation P17
type Q15617994
Which administrative territory is Santo Stefano di Cadore present in
['Q40790', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q40790 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Italy
Which administrative territory is Santo Stefano di Cadore present in
Italy
action filter_type
action find
entity Santo Stefano di Cadore
relation country
type designation for an administrative territorial entity
['Santo Stefano di Cadore', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Santo_Stefano_di_Cadore property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P291
Q571
USER
Which books have that administrative territory as their publication place ?
(c(Q571),P291,Q38)
action filter_type
action find_reverse
entity Q38
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q38']
SELECT DISTINCT ?c WHERE { ?c property:P291 resource:Q38 . ?c rdf:type ontology:Q571 }
Italy
action filter_type
action find_reverse
entity Italy
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Italy']
SELECT DISTINCT ?c WHERE { ?c property:place_of_publication resource:Italy . ?c rdf:type ontology:book }
[]
book
Q27620404 Q18647256
SYSTEM
Morgante, Il Principe, Italia, 1814
Q27620404 Q18647256
(c(Q571),P291,Q38)
action filter_type
action find_reverse
entity Q38
relation P291
type Q571
[ANSWERS]
[{'concept': 'Q571'}, 'P291', 'Q38']
SELECT DISTINCT ?c WHERE { ?c property:P291 resource:Q38 . ?c rdf:type ontology:Q571 }
Morgante Il Principe, Italia, 1814
Morgante and Il Principe, Italia, 1814 have that administrative territory as their publication place
Morgante Il Principe, Italia, 1814
action filter_type
action find_reverse
entity Italy
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Italy']
SELECT DISTINCT ?c WHERE { ?c property:place_of_publication resource:Italy . ?c rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P921
Q2342494
USER
Which collectable was mainly based on Italy ?
(c(Q2342494),P921,Q38)
action filter_type
action find_reverse
entity Q38
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q38']
SELECT DISTINCT ?i WHERE { ?i property:P921 resource:Q38 . ?i rdf:type ontology:Q2342494 }
Italy
action filter_type
action find_reverse
entity Italy
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Italy']
SELECT DISTINCT ?i WHERE { ?i property:main_subject resource:Italy . ?i rdf:type ontology:collectable }
[]
collectable
Q455305
SYSTEM
Italian Journey
Q455305
(c(Q2342494),P921,Q38)
action filter_type
action find_reverse
entity Q38
relation P921
type Q2342494
[ANSWER] was mainly based on Italy
[{'concept': 'Q2342494'}, 'P921', 'Q38']
SELECT DISTINCT ?i WHERE { ?i property:P921 resource:Q38 . ?i rdf:type ontology:Q2342494 }
Italian Journey
Italian Journey was mainly based on Italy
Italian Journey
action filter_type
action find_reverse
entity Italy
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Italy']
SELECT DISTINCT ?i WHERE { ?i property:main_subject resource:Italy . ?i rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P47
Q56061
USER
Which administrative territory is next to the border of that administrative territory ?
(c(Q56061),P47,Q455305)
action filter_type
action find
entity Q38
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q455305']
SELECT DISTINCT ?x WHERE { resource:Q38 property:P47 ?x . ?x rdf:type ontology:Q56061 }
Italy
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Italian Journey']
SELECT DISTINCT ?x WHERE { resource:Italy property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q237
SYSTEM
Vatican City
Q237
(c(Q56061),P47,Q455305)
action filter_type
action find
entity Q38
relation P47
type Q56061
[ANSWER] is next to the border of that administrative territory
[{'concept': 'Q56061'}, 'P47', 'Q455305']
SELECT DISTINCT ?x WHERE { resource:Q38 property:P47 ?x . ?x rdf:type ontology:Q56061 }
Vatican City
Vatican City is next to the border of that administrative territory
Vatican City
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Italian Journey']
SELECT DISTINCT ?x WHERE { resource:Italy property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P629
Q223393 Q571 Q571
USER
How many books are an edition or translation of around 1 literary genres or books ?
(c(Q571),P629,c(Q223393)|c(Q571))
action count
action approx
action union
action find_tuple_counts
relation P629
type Q571
type Q223393
action find_tuple_counts
relation P629
type Q571
type Q571
value 1
[{'concept': 'Q571'}, 'P629', [{'concept': 'Q223393'}, {'concept': 'Q571'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?g WHERE { VALUES ( ?v ) { ( ontology:Q223393 ) ( ontology:Q571 ) } . ?s rdf:type ?v } GROUP BY ?g } . FILTER ( ?m = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation edition or translation of
type book
type literary genre
action find_tuple_counts
relation edition or translation of
type book
type book
value 1
[{'concept': 'book'}, 'edition or translation of', [{'concept': 'literary genre'}, {'concept': 'book'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?g WHERE { VALUES ( ?v ) { ( ontology:literary_genre ) ( ontology:book ) } . ?s rdf:type ?v } GROUP BY ?g } . FILTER ( ?m = 1 ) }
[]
literary genre book book
SYSTEM
85
Q19524142 Q21190973 Q19524145 Q21715294 Q25907488 Q17559055 Q22671544 Q24208371 Q22160598 Q27023973 Q15982409 Q19019421 Q20155177 Q19128930 Q19183110 Q21205855 Q19031184 Q17377889 Q26958189 Q19038689 Q15987625 Q19109878 Q21190966 Q21190964 Q17378135 Q15211155 Q19053183 Q17566229 Q20798923 Q19031197 Q21191003 Q19090449 Q19126932 Q21438881 Q15982417 Q21190993 Q21190991 Q20820644 Q15634661 Q15818452 Q20968774 Q21191013 Q15628440 Q21191070 Q16547641 Q24258942 Q19076529 Q20968284 Q19092002 Q19045322 Q21532068 Q21074001 Q19230696 Q19069864 Q20078554 Q19102296 Q19828573 Q15634666 Q18533945 Q22074611 Q20897942 Q15628436 Q15628433 Q24255573 Q21666130 Q21190996 Q19090444 Q15286020 Q21191064 Q21191066 Q18908081 Q23964137 Q19090438 Q19183108 Q21666127 Q21191022 Q923767 Q19089858 Q21191058 Q19135212 Q19092354 Q19031190 Q19095882 Q15839163 Q15702070
(c(Q571),P629,c(Q223393)|c(Q571))
action count
action approx
action union
action find_tuple_counts
relation P629
type Q571
type Q223393
action find_tuple_counts
relation P629
type Q571
type Q571
value 1
[ANSWER]
[{'concept': 'Q571'}, 'P629', [{'concept': 'Q223393'}, {'concept': 'Q571'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?g WHERE { VALUES ( ?v ) { ( ontology:Q223393 ) ( ontology:Q571 ) } . ?s rdf:type ?v } GROUP BY ?g } . FILTER ( ?m = 1 ) }
the Bible, translated by Helge Åkeson La comedia (1878, Febrer) Bibeln 1917 L'Odyssée, 'Poésie homérique' The Production of Security Iliad Den ældre Edda Homérowa Odyssea Højskolesangbogen, 17th edition О чём Черепаха говорила Ахиллесу (Кэрролл) The Naked Lady Fables  (La Fontaine, tr. Wright) King James Version Boska Komedia (1870, Stanisławski) La Divine Comédie (Montor) Aeneid, Book 6 Aeneid Brockhaus Enzyklopädie (19 ed.) The Man Who Would Be King Men of the Time Vine Terror Anglican Sisterhoods Göttliche Komödie (1876, Streckfuß) A Divina Comédia (Pinheiro) Great Soviet Encyclopedia (1969–1978) Biographie universelle by Feller (1839 edition) Aunt Zeze's Tears Ilias Højskolesangbogen, 18th edition Aeneid La Divine Comédie (1883, Lamennais) The Iliad and Oddysey of Homer Commedia (1866, Lana) The Calash The Sinister Painting The Divine Comedy (Longfellow) Božská komedie (1897, Vrchlický) The Lagoon Poetic Edda (Swedish) A Gentle Creature  (Swedish edition) Publii Virgilii Maronis Bucolica, Georgica, et Aeneis Comedìa (1472) The Odyssey (Butler) Božanska komedija (Debevec) The Iliad of Homer Selected Papers on Hysteria and Other Psychoneuroses Bible (Authorized Version) Great Soviet Encyclopedia (1950—1958) The Last Leaf Homes of the London Poor Bénézit Dictionary of Artists (1976) Biographisch woordenboek der Nederlanden (1st edition) Romances sans paroles (1891) Nature Great Soviet Encyclopedia (1926—1947) The Wife of His Youth The Iliad of Homer Poetic Edda (English) Kobzar Encyclopaedia Judaica (2nd edition) Shield (London 1967 edition) The Odyssey (Cowper) The Odyssey (Pope) Benezit Dictionary of Artists L’Odyssée La Divina Comedia The Iliad Caravaggio (ed. 1985) Divina Comedie (Coșbuc) Божественная комедия (1855, Минъ) Odissea (Pindemonte) O człowieku, który chciał być królem The Iliad La Divine Comédie (1863, Lamennais) L'Odyssée Commedia (1858, Buti) Brockhaus Enzyklopädie (21 ed.) The Holy Bible Boska Komedia (Porębowicz) original 1568 version of Vasari's "Lives of the Most Excellent Painters, etc" Last Poems Aeneid The Original Fables of La Fontaine The Kiss and Other Stories by Anton Tchekhoff The Last Dictatorship in Europe. Belarus under Lukashenko
85
action count
action approx
action union
action find_tuple_counts
relation edition or translation of
type book
type literary genre
action find_tuple_counts
relation edition or translation of
type book
type book
value 1
[{'concept': 'book'}, 'edition or translation of', [{'concept': 'literary genre'}, {'concept': 'book'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?g WHERE { VALUES ( ?v ) { ( ontology:literary_genre ) ( ontology:book ) } . ?s rdf:type ?v } GROUP BY ?g } . FILTER ( ?m = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q557241 Q18647256
P161 P50
Q502895
USER
Which people authored Il Principe, Italia, 1814 or are in Juan Mondiola ?
OR((Q18647256,P50,c(Q502895)), (Q557241,P161,c(Q502895)))
action filter_type
action union
action find
entity Q18647256
relation P50
action find
entity Q557241
relation P161
type Q502895
{'OR': [['Q18647256', 'P50', {'concept': 'Q502895'}], ['Q557241', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q18647256 property:P50 ?p } UNION { resource:Q557241 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
Juan Mondiola Il Principe, Italia, 1814
action filter_type
action union
action find
entity Il Principe, Italia, 1814
relation author
action find
entity Juan Mondiola
relation cast member
type common name
{'OR': [['Il Principe, Italia, 1814', 'author', {'concept': 'common name'}], ['Juan Mondiola', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Il_Principe,_Italia,_1814 property:author ?p } UNION { resource:Juan_Mondiola property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
common name
Q8774851 Q16584839 Q4197827 Q6075802 Q1399 Q2269100 Q17388584
SYSTEM
Elina Colomer, Juan José Porta, Laura Hidalgo, Pilar Gómez, Niccolò Machiavelli, Fernando Siro, Juan José Miguez
Q8774851 Q16584839 Q4197827 Q6075802 Q1399 Q2269100 Q17388584
OR((Q18647256,P50,c(Q502895)), (Q557241,P161,c(Q502895)))
action filter_type
action union
action find
entity Q18647256
relation P50
action find
entity Q557241
relation P161
type Q502895
[ANSWERS] authored Il Principe, Italia, 1814 or are in Juan Mondiola
{'OR': [['Q18647256', 'P50', {'concept': 'Q502895'}], ['Q557241', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q18647256 property:P50 ?p } UNION { resource:Q557241 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
Elina Colomer Juan José Porta Laura Hidalgo Pilar Gómez Niccolò Machiavelli Fernando Siro Juan José Miguez
Elina Colomer, Juan José Porta, Laura Hidalgo, Pilar Gómez, Niccolò Machiavelli, Fernando Siro and Juan José Miguez authored Il Principe, Italia, 1814 or are in Juan Mondiola
Elina Colomer Juan José Porta Laura Hidalgo Pilar Gómez Niccolò Machiavelli Fernando Siro Juan José Miguez
action filter_type
action union
action find
entity Il Principe, Italia, 1814
relation author
action find
entity Juan Mondiola
relation cast member
type common name
{'OR': [['Il Principe, Italia, 1814', 'author', {'concept': 'common name'}], ['Juan Mondiola', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Il_Principe,_Italia,_1814 property:author ?p } UNION { resource:Juan_Mondiola property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1399 Q235086
P737
Q629206
USER
How many computer languages were influenced by Niccolò Machiavelli or Smalltalk ?
(c(Q629206),P737,Q1399) (c(Q629206),P737,Q235086)
action count
action union
action filter_type
action find_reverse
entity Q1399
relation P737
type Q629206
action filter_type
action find_reverse
entity Q235086
relation P737
type Q629206
[{'concept': 'Q629206'}, 'P737', 'Q1399'] [{'concept': 'Q629206'}, 'P737', 'Q235086']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P737 ?v . VALUES ( ?v ) { ( resource:Q235086 ) ( resource:Q1399 ) } }
Niccolò Machiavelli Smalltalk
action count
action union
action filter_type
action find_reverse
entity Niccolò Machiavelli
relation influenced by
type computer language
action filter_type
action find_reverse
entity Smalltalk
relation influenced by
type computer language
[{'concept': 'computer language'}, 'influenced by', 'Niccolò Machiavelli'] [{'concept': 'computer language'}, 'influenced by', 'Smalltalk']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:influenced_by ?v . VALUES ( ?v ) { ( resource:Smalltalk ) ( resource:Niccolò_Machiavelli ) } }
[]
computer language
SYSTEM
4
Q188531 Q1002996 Q37227 Q1864529
(c(Q629206),P737,Q1399) (c(Q629206),P737,Q235086)
action count
action union
action filter_type
action find_reverse
entity Q1399
relation P737
type Q629206
action filter_type
action find_reverse
entity Q235086
relation P737
type Q629206
[ANSWER]
[{'concept': 'Q629206'}, 'P737', 'Q1399'] [{'concept': 'Q629206'}, 'P737', 'Q235086']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P737 ?v . VALUES ( ?v ) { ( resource:Q235086 ) ( resource:Q1399 ) } }
Objective-C Snap! Go Self
4
action count
action union
action filter_type
action find_reverse
entity Niccolò Machiavelli
relation influenced by
type computer language
action filter_type
action find_reverse
entity Smalltalk
relation influenced by
type computer language
[{'concept': 'computer language'}, 'influenced by', 'Niccolò Machiavelli'] [{'concept': 'computer language'}, 'influenced by', 'Smalltalk']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:influenced_by ?v . VALUES ( ?v ) { ( resource:Smalltalk ) ( resource:Niccolò_Machiavelli ) } }
[]