Simple Question (Direct)
Simple Question
Q1355274
P101
Q11862829
USER
Which discipline does Erland Samuel Bring belong to ?
(Q1355274,P101,c(Q11862829))
action filter_type
action find
entity Q1355274
relation P101
type Q11862829
['Q1355274', 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ?k WHERE { resource:Q1355274 property:P101 ?k . ?k rdf:type ontology:Q11862829 }
Erland Samuel Bring
action filter_type
action find
entity Erland Samuel Bring
relation field of work
type academic discipline
['Erland Samuel Bring', 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ?k WHERE { resource:Erland_Samuel_Bring property:field_of_work ?k . ?k rdf:type ontology:academic_discipline }
[]
academic discipline
Q3968
SYSTEM
algebra
Q3968
(Q1355274,P101,c(Q11862829))
action filter_type
action find
entity Q1355274
relation P101
type Q11862829
Erland Samuel Bring belongs to [ANSWER]
['Q1355274', 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ?k WHERE { resource:Q1355274 property:P101 ?k . ?k rdf:type ontology:Q11862829 }
algebra
Erland Samuel Bring belongs to algebra
algebra
action filter_type
action find
entity Erland Samuel Bring
relation field of work
type academic discipline
['Erland Samuel Bring', 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ?k WHERE { resource:Erland_Samuel_Bring property:field_of_work ?k . ?k rdf:type ontology:academic_discipline }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1355274
P20
Q15700808
USER
Where did the expiration of that person occur ?
(Q3968,P20,c(Q15700808))
action filter_type
action find
entity Q1355274
relation P20
type Q15700808
['Q3968', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?u WHERE { resource:Q1355274 property:P20 ?u . ?u rdf:type ontology:Q15700808 }
Erland Samuel Bring
action filter_type
action find
entity Erland Samuel Bring
relation place of death
type urban unit definition
['algebra', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?u WHERE { resource:Erland_Samuel_Bring property:place_of_death ?u . ?u rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q2167
SYSTEM
Lund
Q2167
(Q3968,P20,c(Q15700808))
action filter_type
action find
entity Q1355274
relation P20
type Q15700808
The expiration of that person occurred i [ANSWER]
['Q3968', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?u WHERE { resource:Q1355274 property:P20 ?u . ?u rdf:type ontology:Q15700808 }
Lund
The expiration of that person occurred i Lund
Lund
action filter_type
action find
entity Erland Samuel Bring
relation place of death
type urban unit definition
['algebra', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?u WHERE { resource:Erland_Samuel_Bring property:place_of_death ?u . ?u rdf:type ontology:urban_unit_definition }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2167 Q3530153
P20
Q502895
USER
Did Digambar Kamat die in that urban unit definition ?
(Q3530153,P20,Q2167)
action is_in
entity Q3530153
action find
entity Q2167
relation P20
['Q3530153', 'P20', 'Q2167']
ASK WHERE { resource:Q2167 property:P20 resource:Q3530153 }
Lund Digambar Kamat
action is_in
entity Digambar Kamat
action find
entity Lund
relation place of death
['Digambar Kamat', 'place of death', 'Lund']
ASK WHERE { resource:Lund property:place_of_death resource:Digambar_Kamat }
[]
common name
SYSTEM
NO
(Q3530153,P20,Q2167)
action is_in
entity Q3530153
action find
entity Q2167
relation P20
[ANSWER]
['Q3530153', 'P20', 'Q2167']
ASK WHERE { resource:Q2167 property:P20 resource:Q3530153 }
No
action is_in
entity Digambar Kamat
action find
entity Lund
relation place of death
['Digambar Kamat', 'place of death', 'Lund']
ASK WHERE { resource:Lund property:place_of_death resource:Digambar_Kamat }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q40341 Q3530153
P47 P27
Q15617994
USER
Which administrative territories are Digambar Kamat an inhabitant of or share border with Giussago ?
OR((Q3530153,P27,c(Q15617994)), (Q40341,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q3530153
relation P27
action find
entity Q40341
relation P47
type Q15617994
{'OR': [['Q3530153', 'P27', {'concept': 'Q15617994'}], ['Q40341', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q40341 property:P47 ?t } UNION { resource:Q3530153 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Giussago Digambar Kamat
action filter_type
action union
action find
entity Digambar Kamat
relation country of citizenship
action find
entity Giussago
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Digambar Kamat', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giussago', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Giussago property:shares_border_with ?t } UNION { resource:Digambar_Kamat property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q40676 Q42422 Q668 Q41029 Q39909 Q39403 Q40351 Q40379 Q39662 Q42363
SYSTEM
Certosa di Pavia, Lacchiarella, India, San Genesio ed Uniti, Rognano, Borgarello, Vellezzo Bellini, Siziano, Zeccone, Casarile
Q40676 Q42422 Q668 Q41029 Q39909 Q39403 Q40351 Q40379 Q39662 Q42363
OR((Q3530153,P27,c(Q15617994)), (Q40341,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q3530153
relation P27
action find
entity Q40341
relation P47
type Q15617994
[ANSWERS] are Digambar Kamat an inhabitant of or share border with Giussago
{'OR': [['Q3530153', 'P27', {'concept': 'Q15617994'}], ['Q40341', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q40341 property:P47 ?t } UNION { resource:Q3530153 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Certosa di Pavia Lacchiarella India San Genesio ed Uniti Rognano Borgarello Vellezzo Bellini Siziano Zeccone Casarile
Certosa di Pavia, Lacchiarella, India, San Genesio ed Uniti, Rognano, Borgarello, Vellezzo Bellini, Siziano, Zeccone and Casarile are Digambar Kamat an inhabitant of or share border with Giussago
Certosa di Pavia Lacchiarella India San Genesio ed Uniti Rognano Borgarello Vellezzo Bellini Siziano Zeccone Casarile
action filter_type
action union
action find
entity Digambar Kamat
relation country of citizenship
action find
entity Giussago
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Digambar Kamat', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giussago', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Giussago property:shares_border_with ?t } UNION { resource:Digambar_Kamat property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q40341
P47
Q15617994
USER
How many administrative territories share border with Giussago ?
(Q40341,P47,c(Q15617994))
action count
action filter_type
action find
entity Q40341
relation P47
type Q15617994
['Q40341', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q40341 property:P47 ?i . ?i rdf:type ontology:Q15617994 }
Giussago
action count
action filter_type
action find
entity Giussago
relation shares border with
type designation for an administrative territorial entity
['Giussago', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Giussago property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
9
Q40676 Q42422 Q39909 Q41029 Q39403 Q40351 Q40379 Q39662 Q42363
(Q40341,P47,c(Q15617994))
action count
action filter_type
action find
entity Q40341
relation P47
type Q15617994
[ANSWER]
['Q40341', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q40341 property:P47 ?i . ?i rdf:type ontology:Q15617994 }
Certosa di Pavia Lacchiarella Rognano San Genesio ed Uniti Borgarello Vellezzo Bellini Siziano Zeccone Casarile
9
action count
action filter_type
action find
entity Giussago
relation shares border with
type designation for an administrative territorial entity
['Giussago', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Giussago property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q20493
Q15617994
USER
And how about Scarnafigi?
(Q20493,P47,c(Q15617994))
action count
action filter_type
action find
entity Q20493
relation P47
type Q15617994
['Q20493', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q20493 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Scarnafigi
action count
action filter_type
action find
entity Scarnafigi
relation shares border with
type designation for an administrative territorial entity
['Scarnafigi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Scarnafigi property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
7
(Q20493,P47,c(Q15617994))
action count
action filter_type
action find
entity Q20493
relation P47
type Q15617994
[ANSWER]
['Q20493', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q20493 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
7
action count
action filter_type
action find
entity Scarnafigi
relation shares border with
type designation for an administrative territorial entity
['Scarnafigi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Scarnafigi property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with around 55 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 55
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?k ) WHERE { ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?z property:P530 ?b } GROUP BY ?z } . FILTER ( ?k = 55 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 55
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?k ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?b } GROUP BY ?z } . FILTER ( ?k = 55 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 55
[ANSWER] have tactful political relations with around 55 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?k ) WHERE { ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?z property:P530 ?b } GROUP BY ?z } . FILTER ( ?k = 55 ) }
Brazil
Brazil have tactful political relations with around 55 administrative territories
Brazil
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 55
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?k ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?b } GROUP BY ?z } . FILTER ( ?k = 55 ) }
[]