Simple Question (Direct)
Simple Question
Q711573
P937
Q56061
USER
What are the locations where Niccolò Leoniceno worked ?
(Q711573,P937,c(Q56061))
action filter_type
action find
entity Q711573
relation P937
type Q56061
['Q711573', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q711573 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Niccolò Leoniceno
action filter_type
action find
entity Niccolò Leoniceno
relation work location
type administrative territorial entity
['Niccolò Leoniceno', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Niccolò_Leoniceno property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q617 Q1891
SYSTEM
Padua, Bologna
Q617 Q1891
(Q711573,P937,c(Q56061))
action filter_type
action find
entity Q711573
relation P937
type Q56061
The locations Niccolò Leoniceno worked are in [ANSWERS]
['Q711573', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q711573 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Padua Bologna
The locations Niccolò Leoniceno worked are in Padua and Bologna
Padua Bologna
action filter_type
action find
entity Niccolò Leoniceno
relation work location
type administrative territorial entity
['Niccolò Leoniceno', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Niccolò_Leoniceno property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q711573
P184
Q502895
USER
Which people have Niccolò Leoniceno as doctoral supervisor ?
(c(Q502895),P184,Q711573)
action filter_type
action find_reverse
entity Q711573
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q711573']
SELECT DISTINCT ?b WHERE { ?b property:P184 resource:Q711573 . ?b rdf:type ontology:Q502895 }
Niccolò Leoniceno
action filter_type
action find_reverse
entity Niccolò Leoniceno
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Niccolò Leoniceno']
SELECT DISTINCT ?b WHERE { ?b property:doctoral_advisor resource:Niccolò_Leoniceno . ?b rdf:type ontology:common_name }
[]
common name
Q338661 Q1697209
SYSTEM
Antonio Musa Brassavola, Johannes Baptista Montanus
Q338661 Q1697209
(c(Q502895),P184,Q711573)
action filter_type
action find_reverse
entity Q711573
relation P184
type Q502895
[ANSWERS] have Niccolò Leoniceno as doctoral supervisor
[{'concept': 'Q502895'}, 'P184', 'Q711573']
SELECT DISTINCT ?b WHERE { ?b property:P184 resource:Q711573 . ?b rdf:type ontology:Q502895 }
Antonio Musa Brassavola Johannes Baptista Montanus
Antonio Musa Brassavola and Johannes Baptista Montanus have Niccolò Leoniceno as doctoral supervisor
Antonio Musa Brassavola Johannes Baptista Montanus
action filter_type
action find_reverse
entity Niccolò Leoniceno
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Niccolò Leoniceno']
SELECT DISTINCT ?b WHERE { ?b property:doctoral_advisor resource:Niccolò_Leoniceno . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1891
P36
Q15617994
USER
Which administrative territory consists of Bologna as its capital ?
(c(Q15617994),P36,Q1891)
action filter_type
action find_reverse
entity Q1891
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q1891']
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q1891 . ?n rdf:type ontology:Q15617994 }
Bologna
action filter_type
action find_reverse
entity Bologna
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Bologna']
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Bologna . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1263
SYSTEM
Emilia-Romagna
Q1263
(c(Q15617994),P36,Q1891)
action filter_type
action find_reverse
entity Q1891
relation P36
type Q15617994
The [ANSWER] consists of Bologna as its capital
[{'concept': 'Q15617994'}, 'P36', 'Q1891']
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q1891 . ?n rdf:type ontology:Q15617994 }
Emilia-Romagna
The Emilia-Romagna consists of Bologna as its capital
Emilia-Romagna
action filter_type
action find_reverse
entity Bologna
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Bologna']
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Bologna . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1891
P1071
Q2385804
USER
Which educational institution has that administrative territory as its location of final assembly ?
(c(Q2385804),P1071,Q1263)
action filter_type
action find_reverse
entity Q1891
relation P1071
type Q2385804
[{'concept': 'Q2385804'}, 'P1071', 'Q1263']
SELECT DISTINCT ?w WHERE { ?w property:P1071 resource:Q1891 . ?w rdf:type ontology:Q2385804 }
Bologna
action filter_type
action find_reverse
entity Bologna
relation location of final assembly
type educational institution
[{'concept': 'educational institution'}, 'location of final assembly', 'Emilia-Romagna']
SELECT DISTINCT ?w WHERE { ?w property:location_of_final_assembly resource:Bologna . ?w rdf:type ontology:educational_institution }
[]
educational institution
Q3831952
SYSTEM
Liceo ginnasio statale Luigi Galvani
Q3831952
(c(Q2385804),P1071,Q1263)
action filter_type
action find_reverse
entity Q1891
relation P1071
type Q2385804
[ANSWER] has that administrative territory as its location of final assembly
[{'concept': 'Q2385804'}, 'P1071', 'Q1263']
SELECT DISTINCT ?w WHERE { ?w property:P1071 resource:Q1891 . ?w rdf:type ontology:Q2385804 }
Liceo ginnasio statale Luigi Galvani
Liceo ginnasio statale Luigi Galvani has that administrative territory as its location of final assembly
Liceo ginnasio statale Luigi Galvani
action filter_type
action find_reverse
entity Bologna
relation location of final assembly
type educational institution
[{'concept': 'educational institution'}, 'location of final assembly', 'Emilia-Romagna']
SELECT DISTINCT ?w WHERE { ?w property:location_of_final_assembly resource:Bologna . ?w rdf:type ontology:educational_institution }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1891
P47
Q15617994 Q56061
USER
How many administrative territories and administrative territories have an adjacent border with Bologna ?
(c(Q15617994),P47,Q1891) (c(Q56061),P47,Q1891)
action count
action union
action filter_type
action find_reverse
entity Q1891
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q1891
relation P47
type Q56061
[{'concept': 'Q15617994'}, 'P47', 'Q1891'] [{'concept': 'Q56061'}, 'P47', 'Q1891']
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?b rdf:type ?a }
Bologna
action count
action union
action filter_type
action find_reverse
entity Bologna
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Bologna
relation shares border with
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bologna'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Bologna']
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?b rdf:type ?a }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
9
Q94493 Q94638 Q94894 Q94997 Q94991 Q94788 Q94979 Q94757 Q94627
(c(Q15617994),P47,Q1891) (c(Q56061),P47,Q1891)
action count
action union
action filter_type
action find_reverse
entity Q1891
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q1891
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q1891'] [{'concept': 'Q56061'}, 'P47', 'Q1891']
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?b rdf:type ?a }
Anzola dell'Emilia Casalecchio di Reno Granarolo dell'Emilia Sasso Marconi San Lazzaro di Savena Castenaso Pianoro Castel Maggiore Calderara di Reno
9
action count
action union
action filter_type
action find_reverse
entity Bologna
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Bologna
relation shares border with
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bologna'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Bologna']
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?b rdf:type ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1891
P190
Q515
USER
Which city is twin town of that administrative territory ?
action filter_type
action find
entity Q1891
relation P190
type Q515
SELECT DISTINCT ?u WHERE { resource:Q1891 property:P190 ?u . ?u rdf:type ontology:Q515 }
Bologna
action filter_type
action find
entity Bologna
relation sister city
type city
SELECT DISTINCT ?u WHERE { resource:Bologna property:sister_city ?u . ?u rdf:type ontology:city }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
action filter_type
action find
entity Q1891
relation P190
type Q515
[ANSWER] is twin town of that administrative territory
SELECT DISTINCT ?u WHERE { resource:Q1891 property:P190 ?u . ?u rdf:type ontology:Q515 }
Leipzig
Leipzig is twin town of that administrative territory
Leipzig
action filter_type
action find
entity Bologna
relation sister city
type city
SELECT DISTINCT ?u WHERE { resource:Bologna property:sister_city ?u . ?u rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2079 Q3703
P190
Q56061
USER
Is Bamako twin town of Leipzig ?
(Q2079,P190,Q3703)
action is_in
entity Q3703
action find
entity Q2079
relation P190
['Q2079', 'P190', 'Q3703']
ASK WHERE { resource:Q2079 property:P190 resource:Q3703 }
Leipzig Bamako
action is_in
entity Bamako
action find
entity Leipzig
relation sister city
['Leipzig', 'sister city', 'Bamako']
ASK WHERE { resource:Leipzig property:sister_city resource:Bamako }
[]
administrative territorial entity
SYSTEM
YES
(Q2079,P190,Q3703)
action is_in
entity Q3703
action find
entity Q2079
relation P190
[ANSWER]
['Q2079', 'P190', 'Q3703']
ASK WHERE { resource:Q2079 property:P190 resource:Q3703 }
Yes
action is_in
entity Bamako
action find
entity Leipzig
relation sister city
['Leipzig', 'sister city', 'Bamako']
ASK WHERE { resource:Leipzig property:sister_city resource:Bamako }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1263 Q7063
P19
Q502895
USER
How many people have birthplace at Emilia-Romagna or 11th century ?
(c(Q502895),P19,Q1263) (c(Q502895),P19,Q7063)
action count
action union
action filter_type
action find_reverse
entity Q1263
relation P19
type Q502895
action filter_type
action find_reverse
entity Q7063
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1263'] [{'concept': 'Q502895'}, 'P19', 'Q7063']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P19 ?z . VALUES ( ?z ) { ( resource:Q1263 ) ( resource:Q7063 ) } }
Emilia-Romagna 11th century
action count
action union
action filter_type
action find_reverse
entity Emilia-Romagna
relation place of birth
type common name
action filter_type
action find_reverse
entity 11th century
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Emilia-Romagna'] [{'concept': 'common name'}, 'place of birth', '11th century']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:place_of_birth ?z . VALUES ( ?z ) { ( resource:Emilia-Romagna ) ( resource:11th_century ) } }
[]
common name
SYSTEM
3
Q16598020 Q21209085 Q2733487
(c(Q502895),P19,Q1263) (c(Q502895),P19,Q7063)
action count
action union
action filter_type
action find_reverse
entity Q1263
relation P19
type Q502895
action filter_type
action find_reverse
entity Q7063
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1263'] [{'concept': 'Q502895'}, 'P19', 'Q7063']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P19 ?z . VALUES ( ?z ) { ( resource:Q1263 ) ( resource:Q7063 ) } }
Rufino Marcella Tarozzi Goldsmith Ali al-Hajvery
3
action count
action union
action filter_type
action find_reverse
entity Emilia-Romagna
relation place of birth
type common name
action filter_type
action find_reverse
entity 11th century
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Emilia-Romagna'] [{'concept': 'common name'}, 'place of birth', '11th century']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:place_of_birth ?z . VALUES ( ?z ) { ( resource:Emilia-Romagna ) ( resource:11th_century ) } }
[]