Simple Question (Direct)
Simple Question
Q5566433
P21
Q290
USER
Which sex does Gladys Malvern have ?
(Q5566433,P21,c(Q290))
action filter_type
action find
entity Q5566433
relation P21
type Q290
['Q5566433', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5566433 property:P21 ?i . ?i rdf:type ontology:Q290 }
Gladys Malvern
action filter_type
action find
entity Gladys Malvern
relation gender
type sex
['Gladys Malvern', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Gladys_Malvern property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q5566433,P21,c(Q290))
action filter_type
action find
entity Q5566433
relation P21
type Q290
Gladys Malvern has a [ANSWER]
['Q5566433', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5566433 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
Gladys Malvern has a female
female
action filter_type
action find
entity Gladys Malvern
relation gender
type sex
['Gladys Malvern', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Gladys_Malvern property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5566433
P106
Q12737077
USER
What do Gladys Malvern do for a living ?
(Q5566433,P106,c(Q12737077))
action filter_type
action find
entity Q5566433
relation P106
type Q12737077
['Q5566433', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5566433 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Gladys Malvern
action filter_type
action find
entity Gladys Malvern
relation occupation
type occupation
['Gladys Malvern', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Gladys_Malvern property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q4853732 Q33999 Q36180
SYSTEM
children's writer, actor, writer
Q4853732 Q33999 Q36180 Q6625963 Q2259451
(Q5566433,P106,c(Q12737077))
action filter_type
action find
entity Q5566433
relation P106
type Q12737077
Gladys Malvern do for a living [ANSWERS]
['Q5566433', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5566433 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
children's writer actor writer novelist stage actor
Gladys Malvern do for a living children's writer, actor and writer
children's writer actor writer
action filter_type
action find
entity Gladys Malvern
relation occupation
type occupation
['Gladys Malvern', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Gladys_Malvern property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5566433
P27
Q15617994
USER
Which administrative territory is Gladys Malvern a civilian of ?
(Q5566433,P27,c(Q15617994))
action filter_type
action find
entity Q5566433
relation P27
type Q15617994
['Q5566433', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5566433 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Gladys Malvern
action filter_type
action find
entity Gladys Malvern
relation country of citizenship
type designation for an administrative territorial entity
['Gladys Malvern', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gladys_Malvern property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5566433,P27,c(Q15617994))
action filter_type
action find
entity Q5566433
relation P27
type Q15617994
The [ANSWER] is Gladys Malvern a civilian of
['Q5566433', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5566433 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
The United States of America is Gladys Malvern a civilian of
United States of America
action filter_type
action find
entity Gladys Malvern
relation country of citizenship
type designation for an administrative territorial entity
['Gladys Malvern', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gladys_Malvern property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P137
Q43229
USER
Which organization can be described as facility operator of that administrative territory ?
(c(Q43229),P137,Q30)
action filter_type
action find_reverse
entity Q30
relation P137
type Q43229
[{'concept': 'Q43229'}, 'P137', 'Q30']
SELECT DISTINCT ?v WHERE { ?v property:P137 resource:Q30 . ?v rdf:type ontology:Q43229 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation operator
type organization
[{'concept': 'organization'}, 'operator', 'United States of America']
SELECT DISTINCT ?v WHERE { ?v property:operator resource:United_States_of_America . ?v rdf:type ontology:organization }
[]
organization
Q5369960
SYSTEM
Embassy of the United States, London
Q5369960
(c(Q43229),P137,Q30)
action filter_type
action find_reverse
entity Q30
relation P137
type Q43229
[ANSWER] can be described as facility operator of that administrative territory
[{'concept': 'Q43229'}, 'P137', 'Q30']
SELECT DISTINCT ?v WHERE { ?v property:P137 resource:Q30 . ?v rdf:type ontology:Q43229 }
Embassy of the United States, London
Embassy of the United States, London can be described as facility operator of that administrative territory
Embassy of the United States, London
action filter_type
action find_reverse
entity United States of America
relation operator
type organization
[{'concept': 'organization'}, 'operator', 'United States of America']
SELECT DISTINCT ?v WHERE { ?v property:operator resource:United_States_of_America . ?v rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5369960
P669
Q1497375
USER
Where can that organization be located ?
(Q5369960,P669,c(Q1497375))
action filter_type
action find
entity Q5369960
relation P669
type Q1497375
['Q5369960', 'P669', {'concept': 'Q1497375'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1497375 . resource:Q5369960 property:P669 ?t }
Embassy of the United States, London
action filter_type
action find
entity Embassy of the United States, London
relation located on street
type item with multiple objects
['Embassy of the United States, London', 'located on street', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:item_with_multiple_objects . resource:Embassy_of_the_United_States,_London property:located_on_street ?t }
[]
item with multiple objects
Q932992
SYSTEM
Grosvenor Square
Q932992
(Q5369960,P669,c(Q1497375))
action filter_type
action find
entity Q5369960
relation P669
type Q1497375
That organization can be located in [ANSWER]
['Q5369960', 'P669', {'concept': 'Q1497375'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1497375 . resource:Q5369960 property:P669 ?t }
Grosvenor Square
That organization can be located in Grosvenor Square
Grosvenor Square
action filter_type
action find
entity Embassy of the United States, London
relation located on street
type item with multiple objects
['Embassy of the United States, London', 'located on street', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:item_with_multiple_objects . resource:Embassy_of_the_United_States,_London property:located_on_street ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5369960
P1435
Q41176
USER
Which building gives the heritage status of Embassy of the United States, London ?
(Q5369960,P1435,c(Q41176))
action filter_type
action find
entity Q5369960
relation P1435
type Q41176
['Q5369960', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?m WHERE { resource:Q5369960 property:P1435 ?m . ?m rdf:type ontology:Q41176 }
Embassy of the United States, London
action filter_type
action find
entity Embassy of the United States, London
relation heritage status
type building
['Embassy of the United States, London', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?m WHERE { resource:Embassy_of_the_United_States,_London property:heritage_status ?m . ?m rdf:type ontology:building }
[]
building
Q15700831
SYSTEM
Grade II* listed building
Q15700831
(Q5369960,P1435,c(Q41176))
action filter_type
action find
entity Q5369960
relation P1435
type Q41176
[ANSWER] gives the heritage status of Embassy of the United States, London
['Q5369960', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?m WHERE { resource:Q5369960 property:P1435 ?m . ?m rdf:type ontology:Q41176 }
Grade II* listed building
Grade II* listed building gives the heritage status of Embassy of the United States, London
Grade II* listed building
action filter_type
action find
entity Embassy of the United States, London
relation heritage status
type building
['Embassy of the United States, London', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?m WHERE { resource:Embassy_of_the_United_States,_London property:heritage_status ?m . ?m rdf:type ontology:building }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1435
Q41176 Q811979 Q44539
USER
Which buildings do more number of architectural structures and temples have than that building ?
(c(Q811979)|c(Q44539),P1435,c(Q41176))
action greater
action union
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q811979
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q15700831
relation P1435
type Q811979
type Q44539
[[{'concept': 'Q811979'}, {'concept': 'Q44539'}], 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:P1435 ?e . ?e rdf:type ontology:Q41176 . ?v rdf:type ontology:Q811979 } UNION { ?e rdf:type ontology:Q41176 . ?v rdf:type ontology:Q44539 . ?v property:P1435 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P1435 resource:Q15700831 . { { ?y rdf:type ontology:Q811979 } UNION { ?y rdf:type ontology:Q44539 } } } } . FILTER ( ?i > ?h ) }
action greater
action union
action find_reverse_tuple_counts
relation heritage status
type building
type architectural structure
action find_reverse_tuple_counts
relation heritage status
type building
type temple
action count
action filter_multi_types
action find_reverse
entity Grade II* listed building
relation heritage status
type architectural structure
type temple
[[{'concept': 'architectural structure'}, {'concept': 'temple'}], 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:heritage_status ?e . ?e rdf:type ontology:building . ?v rdf:type ontology:architectural_structure } UNION { ?e rdf:type ontology:building . ?v rdf:type ontology:temple . ?v property:heritage_status ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:heritage_status resource:Grade_II*_listed_building . { { ?y rdf:type ontology:architectural_structure } UNION { ?y rdf:type ontology:temple } } } } . FILTER ( ?i > ?h ) }
[]
building architectural structure temple
Q15700834
SYSTEM
Grade II listed building
Q15700834
(c(Q811979)|c(Q44539),P1435,c(Q41176))
action greater
action union
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q811979
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q15700831
relation P1435
type Q811979
type Q44539
[ANSWER] do more number of architectural structures and temples have than that building
[[{'concept': 'Q811979'}, {'concept': 'Q44539'}], 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:P1435 ?e . ?e rdf:type ontology:Q41176 . ?v rdf:type ontology:Q811979 } UNION { ?e rdf:type ontology:Q41176 . ?v rdf:type ontology:Q44539 . ?v property:P1435 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P1435 resource:Q15700831 . { { ?y rdf:type ontology:Q811979 } UNION { ?y rdf:type ontology:Q44539 } } } } . FILTER ( ?i > ?h ) }
Grade II listed building
Grade II listed building do more number of architectural structures and temples have than that building
Grade II listed building
action greater
action union
action find_reverse_tuple_counts
relation heritage status
type building
type architectural structure
action find_reverse_tuple_counts
relation heritage status
type building
type temple
action count
action filter_multi_types
action find_reverse
entity Grade II* listed building
relation heritage status
type architectural structure
type temple
[[{'concept': 'architectural structure'}, {'concept': 'temple'}], 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:heritage_status ?e . ?e rdf:type ontology:building . ?v rdf:type ontology:architectural_structure } UNION { ?e rdf:type ontology:building . ?v rdf:type ontology:temple . ?v property:heritage_status ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:heritage_status resource:Grade_II*_listed_building . { { ?y rdf:type ontology:architectural_structure } UNION { ?y rdf:type ontology:temple } } } } . FILTER ( ?i > ?h ) }
[]