Simple Question (Direct)
Simple Question
Q3734440
P20
Q56061
USER
Where did the demise of Eugenio Tavolara occur ?
(Q3734440,P20,c(Q56061))
action filter_type
action find
entity Q3734440
relation P20
type Q56061
['Q3734440', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3734440 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Eugenio Tavolara
action filter_type
action find
entity Eugenio Tavolara
relation place of death
type administrative territorial entity
['Eugenio Tavolara', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Eugenio_Tavolara property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13629
SYSTEM
Sassari
Q13629
(Q3734440,P20,c(Q56061))
action filter_type
action find
entity Q3734440
relation P20
type Q56061
The demise of Eugenio Tavolara occurred in [ANSWER]
['Q3734440', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3734440 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Sassari
The demise of Eugenio Tavolara occurred in Sassari
Sassari
action filter_type
action find
entity Eugenio Tavolara
relation place of death
type administrative territorial entity
['Eugenio Tavolara', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Eugenio_Tavolara property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13629
P159
Q43229
USER
Which organizations have the principal seat at that administrative territory ?
(c(Q43229),P159,Q13629)
action filter_type
action find_reverse
entity Q13629
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q13629']
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q13629 . ?d rdf:type ontology:Q43229 }
Sassari
action filter_type
action find_reverse
entity Sassari
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Sassari']
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:Sassari . ?d rdf:type ontology:organization }
[]
organization
Q806162 Q806205
SYSTEM
Banca di Sassari, Banco di Sardegna
Q806162 Q806205
(c(Q43229),P159,Q13629)
action filter_type
action find_reverse
entity Q13629
relation P159
type Q43229
[ANSWERS] have the principal seat at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q13629']
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q13629 . ?d rdf:type ontology:Q43229 }
Banca di Sassari Banco di Sardegna
Banca di Sassari and Banco di Sardegna have the principal seat at that administrative territory
Banca di Sassari Banco di Sardegna
action filter_type
action find_reverse
entity Sassari
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Sassari']
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:Sassari . ?d rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q806162 Q806205
P1454
Q2712963
USER
Which abstract nouns represent the legal form of those organizations ?
(Q806162,P1454,c(Q2712963)) (Q806205,P1454,c(Q2712963))
action filter_type
action find
entity prev_answer
relation P1454
type Q2712963
['Q806162', 'P1454', {'concept': 'Q2712963'}] ['Q806205', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2712963 . ?m property:P1454 ?u . VALUES ( ?m ) { ( resource:Q806162 ) ( resource:Q806205 ) } }
Banca di Sassari Banco di Sardegna
action filter_type
action find
entity prev_answer
relation legal form
type abstract noun
['Banca di Sassari', 'legal form', {'concept': 'abstract noun'}] ['Banco di Sardegna', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:abstract_noun . ?m property:legal_form ?u . VALUES ( ?m ) { ( resource:Banca_di_Sassari ) ( resource:Banco_di_Sardegna ) } }
[]
abstract noun
Q3742388 Q3742388
SYSTEM
S.p.A.
Q3742388 Q3742388
(Q806162,P1454,c(Q2712963)) (Q806205,P1454,c(Q2712963))
action filter_type
action find
entity prev_answer
relation P1454
type Q2712963
[ANSWER] and [ANSWER] represent the legal form of those organizations
['Q806162', 'P1454', {'concept': 'Q2712963'}] ['Q806205', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2712963 . ?m property:P1454 ?u . VALUES ( ?m ) { ( resource:Q806162 ) ( resource:Q806205 ) } }
S.p.A. S.p.A.
S.p.A. and S.p.A. represent the legal form of those organizations
S.p.A. S.p.A.
action filter_type
action find
entity prev_answer
relation legal form
type abstract noun
['Banca di Sassari', 'legal form', {'concept': 'abstract noun'}] ['Banco di Sardegna', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:abstract_noun . ?m property:legal_form ?u . VALUES ( ?m ) { ( resource:Banca_di_Sassari ) ( resource:Banco_di_Sardegna ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q806162
P740
Q56061
USER
What is the location of formation of Banca di Sassari ?
(Q806162,P740,c(Q56061))
action filter_type
action find
entity Q806162
relation P740
type Q56061
['Q806162', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q806162 property:P740 ?g }
Banca di Sassari
action filter_type
action find
entity Banca di Sassari
relation location of formation
type administrative territorial entity
['Banca di Sassari', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Banca_di_Sassari property:location_of_formation ?g }
[]
administrative territorial entity
Q13629
SYSTEM
Sassari
Q13629
(Q806162,P740,c(Q56061))
action filter_type
action find
entity Q806162
relation P740
type Q56061
The location of formation of Banca di [ANSWER] is in [ANSWER]
['Q806162', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q806162 property:P740 ?g }
Sassari
The location of formation of Banca di Sassari is in Sassari
Sassari
action filter_type
action find
entity Banca di Sassari
relation location of formation
type administrative territorial entity
['Banca di Sassari', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Banca_di_Sassari property:location_of_formation ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2512236
Q56061
USER
And what about Vektor?
(Q2512236,P740,c(Q56061))
action filter_type
action find
entity Q2512236
relation P740
type Q56061
['Q2512236', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2512236 property:P740 ?v . ?v rdf:type ontology:Q56061 }
Vektor
action filter_type
action find
entity Vektor
relation location of formation
type administrative territorial entity
['Vektor', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Vektor property:location_of_formation ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q51685
SYSTEM
Tempe
Q51685
(Q2512236,P740,c(Q56061))
action filter_type
action find
entity Q2512236
relation P740
type Q56061
[ANSWER]
['Q2512236', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2512236 property:P740 ?v . ?v rdf:type ontology:Q56061 }
Tempe
Tempe
action filter_type
action find
entity Vektor
relation location of formation
type administrative territorial entity
['Vektor', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Vektor property:location_of_formation ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q51685 Q1015681 Q384
P190
Q56061
USER
Is that administrative territory a sister city of Lower Hutt and Skopje ?
(Q51685,P190,Q1015681) (Q51685,P190,Q384)
action is_in
entity Q51685
action intersection
action find_reverse
entity Q1015681
relation P190
action find_reverse
entity Q384
relation P190
['Q51685', 'P190', 'Q1015681'] ['Q51685', 'P190', 'Q384']
ASK WHERE { resource:Q51685 property:P190 resource:Q384 . resource:Q51685 property:P190 resource:Q1015681 }
Tempe Lower Hutt Skopje
action is_in
entity Tempe
action intersection
action find_reverse
entity Lower Hutt
relation sister city
action find_reverse
entity Skopje
relation sister city
['Tempe', 'sister city', 'Lower Hutt'] ['Tempe', 'sister city', 'Skopje']
ASK WHERE { resource:Tempe property:sister_city resource:Skopje . resource:Tempe property:sister_city resource:Lower_Hutt }
[]
administrative territorial entity
SYSTEM
YES
(Q51685,P190,Q1015681) (Q51685,P190,Q384)
action is_in
entity Q51685
action intersection
action find_reverse
entity Q1015681
relation P190
action find_reverse
entity Q384
relation P190
[ANSWER]
['Q51685', 'P190', 'Q1015681'] ['Q51685', 'P190', 'Q384']
ASK WHERE { resource:Q51685 property:P190 resource:Q384 . resource:Q51685 property:P190 resource:Q1015681 }
Yes
action is_in
entity Tempe
action intersection
action find_reverse
entity Lower Hutt
relation sister city
action find_reverse
entity Skopje
relation sister city
['Tempe', 'sister city', 'Lower Hutt'] ['Tempe', 'sister city', 'Skopje']
ASK WHERE { resource:Tempe property:sister_city resource:Skopje . resource:Tempe property:sister_city resource:Lower_Hutt }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q806162 Q13629
P159
Q56061
USER
Is Sassari the head office for Banca di Sassari located ?
(Q806162,P159,Q13629)
action is_in
entity Q13629
action find
entity Q806162
relation P159
['Q806162', 'P159', 'Q13629']
ASK WHERE { resource:Q806162 property:P159 resource:Q13629 }
Banca di Sassari Sassari
action is_in
entity Sassari
action find
entity Banca di Sassari
relation headquarters location
['Banca di Sassari', 'headquarters location', 'Sassari']
ASK WHERE { resource:Banca_di_Sassari property:headquarters_location resource:Sassari }
[]
administrative territorial entity
SYSTEM
YES
(Q806162,P159,Q13629)
action is_in
entity Q13629
action find
entity Q806162
relation P159
[ANSWER]
['Q806162', 'P159', 'Q13629']
ASK WHERE { resource:Q806162 property:P159 resource:Q13629 }
Yes
action is_in
entity Sassari
action find
entity Banca di Sassari
relation headquarters location
['Banca di Sassari', 'headquarters location', 'Sassari']
ASK WHERE { resource:Banca_di_Sassari property:headquarters_location resource:Sassari }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3742388
P1454
Q740752 Q874405
USER
How many transport companies and social groups have their legal form as S.p.A. ?
(c(Q740752),P1454,Q3742388) (c(Q874405),P1454,Q3742388)
action count
action union
action filter_type
action find_reverse
entity Q3742388
relation P1454
type Q740752
action filter_type
action find_reverse
entity Q3742388
relation P1454
type Q874405
[{'concept': 'Q740752'}, 'P1454', 'Q3742388'] [{'concept': 'Q874405'}, 'P1454', 'Q3742388']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q740752 ) ( ontology:Q874405 ) } }
S.p.A.
action count
action union
action filter_type
action find_reverse
entity S.p.A.
relation legal form
type transport company
action filter_type
action find_reverse
entity S.p.A.
relation legal form
type social group
[{'concept': 'transport company'}, 'legal form', 'S.p.A.'] [{'concept': 'social group'}, 'legal form', 'S.p.A.']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:transport_company ) ( ontology:social_group ) } }
[]
transport company social group
SYSTEM
4 transport companies and 1 social groups
Q3661920 Q381636 Q580786 Q83823 Q1405000
(c(Q740752),P1454,Q3742388) (c(Q874405),P1454,Q3742388)
action count
action union
action filter_type
action find_reverse
entity Q3742388
relation P1454
type Q740752
action filter_type
action find_reverse
entity Q3742388
relation P1454
type Q874405
[ANSWER]
[{'concept': 'Q740752'}, 'P1454', 'Q3742388'] [{'concept': 'Q874405'}, 'P1454', 'Q3742388']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q740752 ) ( ontology:Q874405 ) } }
Südtiroler Sparkasse – Cassa di Risparmio di Bolzano Aeroporti di Roma SpA Nuovo Trasporto Viaggiatori Ferrovie dello Stato Italiane Fercam
4 transport companies and 1 social groups
action count
action union
action filter_type
action find_reverse
entity S.p.A.
relation legal form
type transport company
action filter_type
action find_reverse
entity S.p.A.
relation legal form
type social group
[{'concept': 'transport company'}, 'legal form', 'S.p.A.'] [{'concept': 'social group'}, 'legal form', 'S.p.A.']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:transport_company ) ( ontology:social_group ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q51685
P138
Q82794
USER
Which geographic region is the etymology of Tempe ?
(Q51685,P138,c(Q82794))
action filter_type
action find
entity Q51685
relation P138
type Q82794
['Q51685', 'P138', {'concept': 'Q82794'}]
SELECT DISTINCT ?f WHERE { resource:Q51685 property:P138 ?f . ?f rdf:type ontology:Q82794 }
Tempe
action filter_type
action find
entity Tempe
relation named after
type geographic region
['Tempe', 'named after', {'concept': 'geographic region'}]
SELECT DISTINCT ?f WHERE { resource:Tempe property:named_after ?f . ?f rdf:type ontology:geographic_region }
[]
geographic region
Q258540
SYSTEM
Vale of Tempe
Q258540
(Q51685,P138,c(Q82794))
action filter_type
action find
entity Q51685
relation P138
type Q82794
[ANSWER] is the etymology of Tempe
['Q51685', 'P138', {'concept': 'Q82794'}]
SELECT DISTINCT ?f WHERE { resource:Q51685 property:P138 ?f . ?f rdf:type ontology:Q82794 }
Vale of Tempe
Vale of Tempe is the etymology of Tempe
Vale of Tempe
action filter_type
action find
entity Tempe
relation named after
type geographic region
['Tempe', 'named after', {'concept': 'geographic region'}]
SELECT DISTINCT ?f WHERE { resource:Tempe property:named_after ?f . ?f rdf:type ontology:geographic_region }
[]