Simple Question (Direct)
Simple Question
Q1803014
P97
Q355567
USER
What was the heriditary title held by Sir Albert Gladstone, 5th Baronet ?
(Q1803014,P97,c(Q355567))
action filter_type
action find
entity Q1803014
relation P97
type Q355567
['Q1803014', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?b WHERE { resource:Q1803014 property:P97 ?b . ?b rdf:type ontology:Q355567 }
Sir Albert Gladstone, 5th Baronet
action filter_type
action find
entity Sir Albert Gladstone, 5th Baronet
relation noble title
type royal or noble rank
['Sir Albert Gladstone, 5th Baronet', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?b WHERE { resource:Sir_Albert_Gladstone,_5th_Baronet property:noble_title ?b . ?b rdf:type ontology:royal_or_noble_rank }
[]
royal or noble rank
Q282019
SYSTEM
baronet
Q282019
(Q1803014,P97,c(Q355567))
action filter_type
action find
entity Q1803014
relation P97
type Q355567
The heriditary title held by Sir Albert Gladstone , 5th [ANSWER] was a [ANSWER]
['Q1803014', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?b WHERE { resource:Q1803014 property:P97 ?b . ?b rdf:type ontology:Q355567 }
baronet
The heriditary title held by Sir Albert Gladstone , 5th Baronet was a baronet
baronet
action filter_type
action find
entity Sir Albert Gladstone, 5th Baronet
relation noble title
type royal or noble rank
['Sir Albert Gladstone, 5th Baronet', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?b WHERE { resource:Sir_Albert_Gladstone,_5th_Baronet property:noble_title ?b . ?b rdf:type ontology:royal_or_noble_rank }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1803014
P19
Q56061
USER
Where was that person born ?
(Q282019,P19,c(Q56061))
action filter_type
action find
entity Q1803014
relation P19
type Q56061
['Q282019', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1803014 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Sir Albert Gladstone, 5th Baronet
action filter_type
action find
entity Sir Albert Gladstone, 5th Baronet
relation place of birth
type administrative territorial entity
['baronet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Sir_Albert_Gladstone,_5th_Baronet property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2398901
SYSTEM
Hawarden
Q2398901
(Q282019,P19,c(Q56061))
action filter_type
action find
entity Q1803014
relation P19
type Q56061
That person was born in [ANSWER]
['Q282019', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1803014 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Hawarden
That person was born in Hawarden
Hawarden
action filter_type
action find
entity Sir Albert Gladstone, 5th Baronet
relation place of birth
type administrative territorial entity
['baronet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Sir_Albert_Gladstone,_5th_Baronet property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P551
Q502895
USER
How many people have residence at that administrative territory ?
(c(Q502895),P551,Q2398901)
action count
action filter_type
action find_reverse
entity Q2398901
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q2398901']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P551 resource:Q2398901 . ?y rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Hawarden
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Hawarden']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:residence resource:Hawarden . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q321419 Q321419 Q24760732
(c(Q502895),P551,Q2398901)
action count
action filter_type
action find_reverse
entity Q2398901
relation P551
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q2398901']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P551 resource:Q2398901 . ?y rdf:type ontology:Q502895 }
John Boydell John Boydell Charlotte Neville-Grenville
3
action count
action filter_type
action find_reverse
entity Hawarden
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Hawarden']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:residence resource:Hawarden . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q220
P417
Q1445650 Q502895 Q56061
USER
How many administrative territories have approximately the same number of holidays and people as their patron saint as Rome ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q220
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) ?m WHERE { { ?m rdf:type ontology:Q56061 . ?i rdf:type ontology:Q1445650 . ?m property:P417 ?i } UNION { ?i rdf:type ontology:Q502895 . ?m rdf:type ontology:Q56061 . ?m property:P417 ?i } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } . resource:Q220 property:P417 ?d } } . FILTER ( ?u = ?r ) }
Rome
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Rome
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) ?m WHERE { { ?m rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:holiday . ?m property:patron_saint ?i } UNION { ?i rdf:type ontology:common_name . ?m rdf:type ontology:administrative_territorial_entity . ?m property:patron_saint ?i } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:holiday ) ( ontology:common_name ) } } . resource:Rome property:patron_saint ?d } } . FILTER ( ?u = ?r ) }
[]
holiday common name administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q220
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) ?m WHERE { { ?m rdf:type ontology:Q56061 . ?i rdf:type ontology:Q1445650 . ?m property:P417 ?i } UNION { ?i rdf:type ontology:Q502895 . ?m rdf:type ontology:Q56061 . ?m property:P417 ?i } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } . resource:Q220 property:P417 ?d } } . FILTER ( ?u = ?r ) }
Brinzio Rome
2
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Rome
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) ?m WHERE { { ?m rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:holiday . ?m property:patron_saint ?i } UNION { ?i rdf:type ontology:common_name . ?m rdf:type ontology:administrative_territorial_entity . ?m property:patron_saint ?i } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:holiday ) ( ontology:common_name ) } } . resource:Rome property:patron_saint ?d } } . FILTER ( ?u = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q54494
P417
Q1445650 Q502895 Q56061
USER
And also tell me about Belvedere di Spinello?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q54494
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?j ) WHERE { { ?y property:P417 ?k . ?y rdf:type ontology:Q56061 . ?k rdf:type ontology:Q502895 } UNION { ?y property:P417 ?k . ?y rdf:type ontology:Q56061 . ?k rdf:type ontology:Q1445650 } } GROUP BY ?y } . FILTER ( ?j = ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q54494 property:P417 ?g . { { ?g rdf:type ontology:Q1445650 } UNION { ?g rdf:type ontology:Q502895 } } } } }
Belvedere di Spinello
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Belvedere di Spinello
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?j ) WHERE { { ?y property:patron_saint ?k . ?y rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:common_name } UNION { ?y property:patron_saint ?k . ?y rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:holiday } } GROUP BY ?y } . FILTER ( ?j = ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Belvedere_di_Spinello property:patron_saint ?g . { { ?g rdf:type ontology:holiday } UNION { ?g rdf:type ontology:common_name } } } } }
[]
holiday common name administrative territorial entity
SYSTEM
33
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q54494
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?j ) WHERE { { ?y property:P417 ?k . ?y rdf:type ontology:Q56061 . ?k rdf:type ontology:Q502895 } UNION { ?y property:P417 ?k . ?y rdf:type ontology:Q56061 . ?k rdf:type ontology:Q1445650 } } GROUP BY ?y } . FILTER ( ?j = ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q54494 property:P417 ?g . { { ?g rdf:type ontology:Q1445650 } UNION { ?g rdf:type ontology:Q502895 } } } } }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
33
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Belvedere di Spinello
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?j ) WHERE { { ?y property:patron_saint ?k . ?y rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:common_name } UNION { ?y property:patron_saint ?k . ?y rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:holiday } } GROUP BY ?y } . FILTER ( ?j = ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Belvedere_di_Spinello property:patron_saint ?g . { { ?g rdf:type ontology:holiday } UNION { ?g rdf:type ontology:common_name } } } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4695287 Q1803014
P27
Q15617994
USER
Which administrative territories do Sir Albert Gladstone, 5th Baronet and Ahmad Benali belong to ?
AND((Q1803014,P27,c(Q15617994)), (Q4695287,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1803014
relation P27
action find
entity Q4695287
relation P27
type Q15617994
{'AND': [['Q1803014', 'P27', {'concept': 'Q15617994'}], ['Q4695287', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { resource:Q4695287 property:P27 ?n . resource:Q1803014 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Ahmad Benali Sir Albert Gladstone, 5th Baronet
action filter_type
action intersection
action find
entity Sir Albert Gladstone, 5th Baronet
relation country of citizenship
action find
entity Ahmad Benali
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Sir Albert Gladstone, 5th Baronet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ahmad Benali', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Ahmad_Benali property:country_of_citizenship ?n . resource:Sir_Albert_Gladstone,_5th_Baronet property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q1803014,P27,c(Q15617994)), (Q4695287,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1803014
relation P27
action find
entity Q4695287
relation P27
type Q15617994
Sir Albert Gladstone , 5th Baronet and Ahmad Benali belong to the [ANSWER]
{'AND': [['Q1803014', 'P27', {'concept': 'Q15617994'}], ['Q4695287', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { resource:Q4695287 property:P27 ?n . resource:Q1803014 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
Sir Albert Gladstone , 5th Baronet and Ahmad Benali belong to the United Kingdom
United Kingdom
action filter_type
action intersection
action find
entity Sir Albert Gladstone, 5th Baronet
relation country of citizenship
action find
entity Ahmad Benali
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Sir Albert Gladstone, 5th Baronet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ahmad Benali', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Ahmad_Benali property:country_of_citizenship ?n . resource:Sir_Albert_Gladstone,_5th_Baronet property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q145 Q801 Q142
P530
Q15617994
USER
Does that administrative territory have ambassadorial relations with Israel and France ?
(Q145,P530,Q801) (Q145,P530,Q142)
action is_in
entity Q145
action intersection
action find_reverse
entity Q801
relation P530
action find_reverse
entity Q142
relation P530
['Q145', 'P530', 'Q801'] ['Q145', 'P530', 'Q142']
ASK WHERE { resource:Q145 property:P530 resource:Q801 . resource:Q145 property:P530 resource:Q142 }
United Kingdom Israel France
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Israel
relation diplomatic relation
action find_reverse
entity France
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Israel'] ['United Kingdom', 'diplomatic relation', 'France']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Israel . resource:United_Kingdom property:diplomatic_relation resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q145,P530,Q801) (Q145,P530,Q142)
action is_in
entity Q145
action intersection
action find_reverse
entity Q801
relation P530
action find_reverse
entity Q142
relation P530
[ANSWER]
['Q145', 'P530', 'Q801'] ['Q145', 'P530', 'Q142']
ASK WHERE { resource:Q145 property:P530 resource:Q801 . resource:Q145 property:P530 resource:Q142 }
Yes
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Israel
relation diplomatic relation
action find_reverse
entity France
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Israel'] ['United Kingdom', 'diplomatic relation', 'France']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Israel . resource:United_Kingdom property:diplomatic_relation resource:France }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2398901
P47
Q56061
USER
Which administrative territory is bordered by Hawarden ?
(Q2398901,P47,c(Q56061))
action filter_type
action find
entity Q2398901
relation P47
type Q56061
['Q2398901', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q2398901 property:P47 ?a . ?a rdf:type ontology:Q56061 }
Hawarden
action filter_type
action find
entity Hawarden
relation shares border with
type administrative territorial entity
['Hawarden', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Hawarden property:shares_border_with ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3401129
SYSTEM
Ewloe
Q3401129
(Q2398901,P47,c(Q56061))
action filter_type
action find
entity Q2398901
relation P47
type Q56061
[ANSWER] is bordered by Hawarden
['Q2398901', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q2398901 property:P47 ?a . ?a rdf:type ontology:Q56061 }
Ewloe
Ewloe is bordered by Hawarden
Ewloe
action filter_type
action find
entity Hawarden
relation shares border with
type administrative territorial entity
['Hawarden', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Hawarden property:shares_border_with ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1803014
P69
Q3914
USER
Where was Sir Albert Gladstone, 5th Baronet educated ?
(Q1803014,P69,c(Q3914))
action filter_type
action find
entity Q1803014
relation P69
type Q3914
['Q1803014', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?n WHERE { resource:Q1803014 property:P69 ?n . ?n rdf:type ontology:Q3914 }
Sir Albert Gladstone, 5th Baronet
action filter_type
action find
entity Sir Albert Gladstone, 5th Baronet
relation educated at
type school
['Sir Albert Gladstone, 5th Baronet', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?n WHERE { resource:Sir_Albert_Gladstone,_5th_Baronet property:educated_at ?n . ?n rdf:type ontology:school }
[]
school
Q192088
SYSTEM
Eton College
Q192088
(Q1803014,P69,c(Q3914))
action filter_type
action find
entity Q1803014
relation P69
type Q3914
Sir Albert Gladstone , 5th Baronet was educated at [ANSWER]
['Q1803014', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?n WHERE { resource:Q1803014 property:P69 ?n . ?n rdf:type ontology:Q3914 }
Eton College
Sir Albert Gladstone , 5th Baronet was educated at Eton College
Eton College
action filter_type
action find
entity Sir Albert Gladstone, 5th Baronet
relation educated at
type school
['Sir Albert Gladstone, 5th Baronet', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?n WHERE { resource:Sir_Albert_Gladstone,_5th_Baronet property:educated_at ?n . ?n rdf:type ontology:school }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1803014
Q1244442
USER
And which school building?
(Q1803014,P69,c(Q1244442))
action filter_type
action find
entity Q1803014
relation P69
type Q1244442
['Q1803014', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?c WHERE { resource:Q1803014 property:P69 ?c . ?c rdf:type ontology:Q1244442 }
Sir Albert Gladstone, 5th Baronet
action filter_type
action find
entity Sir Albert Gladstone, 5th Baronet
relation educated at
type school building
['Sir Albert Gladstone, 5th Baronet', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?c WHERE { resource:Sir_Albert_Gladstone,_5th_Baronet property:educated_at ?c . ?c rdf:type ontology:school_building }
[]
school building
Q745967
SYSTEM
Christ Church
Q745967
(Q1803014,P69,c(Q1244442))
action filter_type
action find
entity Q1803014
relation P69
type Q1244442
[ANSWER]
['Q1803014', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?c WHERE { resource:Q1803014 property:P69 ?c . ?c rdf:type ontology:Q1244442 }
Christ Church
Christ Church
action filter_type
action find
entity Sir Albert Gladstone, 5th Baronet
relation educated at
type school building
['Sir Albert Gladstone, 5th Baronet', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?c WHERE { resource:Sir_Albert_Gladstone,_5th_Baronet property:educated_at ?c . ?c rdf:type ontology:school_building }
[]