Simple Question (Direct)
Simple Question
Q2857042
P108
Q41176
USER
Who is the employer of Anton Yakovlev ?
(Q2857042,P108,c(Q41176))
action filter_type
action find
entity Q2857042
relation P108
type Q41176
['Q2857042', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?z WHERE { resource:Q2857042 property:P108 ?z . ?z rdf:type ontology:Q41176 }
Anton Yakovlev
action filter_type
action find
entity Anton Yakovlev
relation employer
type building
['Anton Yakovlev', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?z WHERE { resource:Anton_Yakovlev property:employer ?z . ?z rdf:type ontology:building }
[]
building
Q1469315
SYSTEM
Théâtre du Châtelet
Q1469315
(Q2857042,P108,c(Q41176))
action filter_type
action find
entity Q2857042
relation P108
type Q41176
The employer of Anton Yakovlev is the [ANSWER]
['Q2857042', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?z WHERE { resource:Q2857042 property:P108 ?z . ?z rdf:type ontology:Q41176 }
Théâtre du Châtelet
The employer of Anton Yakovlev is the Théâtre du Châtelet
Théâtre du Châtelet
action filter_type
action find
entity Anton Yakovlev
relation employer
type building
['Anton Yakovlev', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?z WHERE { resource:Anton_Yakovlev property:employer ?z . ?z rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2857042
P551
Q56061
USER
Where did that person live ?
(Q1469315,P551,c(Q56061))
action filter_type
action find
entity Q2857042
relation P551
type Q56061
['Q1469315', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q2857042 property:P551 ?v }
Anton Yakovlev
action filter_type
action find
entity Anton Yakovlev
relation residence
type administrative territorial entity
['Théâtre du Châtelet', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Anton_Yakovlev property:residence ?v }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q1469315,P551,c(Q56061))
action filter_type
action find
entity Q2857042
relation P551
type Q56061
That person lived in [ANSWER]
['Q1469315', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q2857042 property:P551 ?v }
Paris
That person lived in Paris
Paris
action filter_type
action find
entity Anton Yakovlev
relation residence
type administrative territorial entity
['Théâtre du Châtelet', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Anton_Yakovlev property:residence ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q90 Q3403244
P20
Q502895
USER
Does Primi Visconti have that administrative territory as the location of death ?
(Q3403244,P20,Q90)
action is_in
entity Q90
action find
entity Q3403244
relation P20
['Q3403244', 'P20', 'Q90']
ASK WHERE { resource:Q3403244 property:P20 resource:Q90 }
Paris Primi Visconti
action is_in
entity Paris
action find
entity Primi Visconti
relation place of death
['Primi Visconti', 'place of death', 'Paris']
ASK WHERE { resource:Primi_Visconti property:place_of_death resource:Paris }
[]
common name
SYSTEM
YES
(Q3403244,P20,Q90)
action is_in
entity Q90
action find
entity Q3403244
relation P20
[ANSWER]
['Q3403244', 'P20', 'Q90']
ASK WHERE { resource:Q3403244 property:P20 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity Primi Visconti
relation place of death
['Primi Visconti', 'place of death', 'Paris']
ASK WHERE { resource:Primi_Visconti property:place_of_death resource:Paris }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q133215
P366
Q41176 Q56061 Q18142
USER
How many buildings are recognized as the main use of lesser number of administrative territories and tower blocks than casino ?
(c(Q56061)|c(Q18142),P366,c(Q41176))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q41176
type Q56061
action find_reverse_tuple_counts
relation P366
type Q41176
type Q18142
action count
action filter_multi_types
action find_reverse
entity Q133215
relation P366
type Q56061
type Q18142
[[{'concept': 'Q56061'}, {'concept': 'Q18142'}], 'P366', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q18142 ) } . ?r rdf:type ?y } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P366 resource:Q133215 . { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q18142 ) } . ?q rdf:type ?h } } } . FILTER ( ?l < ?s ) }
casino
action count
action less
action union
action find_reverse_tuple_counts
relation use
type building
type administrative territorial entity
action find_reverse_tuple_counts
relation use
type building
type tower block
action count
action filter_multi_types
action find_reverse
entity casino
relation use
type administrative territorial entity
type tower block
[[{'concept': 'administrative territorial entity'}, {'concept': 'tower block'}], 'use', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:tower_block ) } . ?r rdf:type ?y } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:use resource:casino . { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:tower_block ) } . ?q rdf:type ?h } } } . FILTER ( ?l < ?s ) }
[]
building administrative territorial entity tower block
SYSTEM
17
Q131295 Q3661265 Q83405 Q5171053 Q13218805 Q115278 Q57821 Q131263 Q1763828 Q181623 Q16970 Q212198 Q1153108 Q827890 Q2080521 Q46124 Q11315
(c(Q56061)|c(Q18142),P366,c(Q41176))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q41176
type Q56061
action find_reverse_tuple_counts
relation P366
type Q41176
type Q18142
action count
action filter_multi_types
action find_reverse
entity Q133215
relation P366
type Q56061
type Q18142
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q18142'}], 'P366', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q18142 ) } . ?r rdf:type ?y } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P366 resource:Q133215 . { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q18142 ) } . ?q rdf:type ?h } } } . FILTER ( ?l < ?s ) }
brothel student house factory corn exchange multi-storey car park Fire temple fortification barracks multi-purpose hall depot church pub multiplex industrial laundry market hall sanatorium shopping mall
17
action count
action less
action union
action find_reverse_tuple_counts
relation use
type building
type administrative territorial entity
action find_reverse_tuple_counts
relation use
type building
type tower block
action count
action filter_multi_types
action find_reverse
entity casino
relation use
type administrative territorial entity
type tower block
[[{'concept': 'administrative territorial entity'}, {'concept': 'tower block'}], 'use', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:tower_block ) } . ?r rdf:type ?y } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:use resource:casino . { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:tower_block ) } . ?q rdf:type ?h } } } . FILTER ( ?l < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q57821
P366
Q41176 Q56061 Q18142
USER
And what about fortification?
(c(Q56061)|c(Q18142),P366,c(Q41176))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q41176
type Q56061
action find_reverse_tuple_counts
relation P366
type Q41176
type Q18142
action count
action filter_multi_types
action find_reverse
entity Q57821
relation P366
type Q56061
type Q18142
[[{'concept': 'Q56061'}, {'concept': 'Q18142'}], 'P366', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?h ) WHERE { { ?z property:P366 ?a . ?a rdf:type ontology:Q41176 . ?z rdf:type ontology:Q56061 } UNION { ?z property:P366 ?a . ?a rdf:type ontology:Q41176 . ?z rdf:type ontology:Q18142 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:P366 resource:Q57821 . { { ?g rdf:type ontology:Q56061 } UNION { ?g rdf:type ontology:Q18142 } } } } . FILTER ( ?h < ?b ) }
fortification
action count
action less
action union
action find_reverse_tuple_counts
relation use
type building
type administrative territorial entity
action find_reverse_tuple_counts
relation use
type building
type tower block
action count
action filter_multi_types
action find_reverse
entity fortification
relation use
type administrative territorial entity
type tower block
[[{'concept': 'administrative territorial entity'}, {'concept': 'tower block'}], 'use', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?h ) WHERE { { ?z property:use ?a . ?a rdf:type ontology:building . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z property:use ?a . ?a rdf:type ontology:building . ?z rdf:type ontology:tower_block } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:use resource:fortification . { { ?g rdf:type ontology:administrative_territorial_entity } UNION { ?g rdf:type ontology:tower_block } } } } . FILTER ( ?h < ?b ) }
[]
building administrative territorial entity tower block
SYSTEM
15
Q131295 Q3661265 Q83405 Q5171053 Q13218805 Q115278 Q131263 Q1763828 Q181623 Q16970 Q212198 Q1153108 Q827890 Q2080521 Q46124
(c(Q56061)|c(Q18142),P366,c(Q41176))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q41176
type Q56061
action find_reverse_tuple_counts
relation P366
type Q41176
type Q18142
action count
action filter_multi_types
action find_reverse
entity Q57821
relation P366
type Q56061
type Q18142
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q18142'}], 'P366', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?h ) WHERE { { ?z property:P366 ?a . ?a rdf:type ontology:Q41176 . ?z rdf:type ontology:Q56061 } UNION { ?z property:P366 ?a . ?a rdf:type ontology:Q41176 . ?z rdf:type ontology:Q18142 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:P366 resource:Q57821 . { { ?g rdf:type ontology:Q56061 } UNION { ?g rdf:type ontology:Q18142 } } } } . FILTER ( ?h < ?b ) }
brothel student house factory corn exchange multi-storey car park Fire temple barracks multi-purpose hall depot church pub multiplex industrial laundry market hall sanatorium
15
action count
action less
action union
action find_reverse_tuple_counts
relation use
type building
type administrative territorial entity
action find_reverse_tuple_counts
relation use
type building
type tower block
action count
action filter_multi_types
action find_reverse
entity fortification
relation use
type administrative territorial entity
type tower block
[[{'concept': 'administrative territorial entity'}, {'concept': 'tower block'}], 'use', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?h ) WHERE { { ?z property:use ?a . ?a rdf:type ontology:building . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z property:use ?a . ?a rdf:type ontology:building . ?z rdf:type ontology:tower_block } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:use resource:fortification . { { ?g rdf:type ontology:administrative_territorial_entity } UNION { ?g rdf:type ontology:tower_block } } } } . FILTER ( ?h < ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1469315
P17
Q15617994
USER
Which administrative territory is Théâtre du Châtelet located in ?
(Q1469315,P17,c(Q15617994))
action filter_type
action find
entity Q1469315
relation P17
type Q15617994
['Q1469315', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1469315 property:P17 ?g }
Théâtre du Châtelet
action filter_type
action find
entity Théâtre du Châtelet
relation country
type designation for an administrative territorial entity
['Théâtre du Châtelet', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Théâtre_du_Châtelet property:country ?g }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1469315,P17,c(Q15617994))
action filter_type
action find
entity Q1469315
relation P17
type Q15617994
Théâtre du Châtelet is located in [ANSWER]
['Q1469315', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1469315 property:P17 ?g }
France
Théâtre du Châtelet is located in France
France
action filter_type
action find
entity Théâtre du Châtelet
relation country
type designation for an administrative territorial entity
['Théâtre du Châtelet', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Théâtre_du_Châtelet property:country ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1469315
P669
Q83620
USER
What is the location of that building ?
(Q142,P669,c(Q83620))
action filter_type
action find
entity Q1469315
relation P669
type Q83620
['Q142', 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ?d WHERE { resource:Q1469315 property:P669 ?d . ?d rdf:type ontology:Q83620 }
Théâtre du Châtelet
action filter_type
action find
entity Théâtre du Châtelet
relation located on street
type thoroughfare
['France', 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?d WHERE { resource:Théâtre_du_Châtelet property:located_on_street ?d . ?d rdf:type ontology:thoroughfare }
[]
thoroughfare
Q3412709
SYSTEM
quai de la Mégisserie
Q3412709
(Q142,P669,c(Q83620))
action filter_type
action find
entity Q1469315
relation P669
type Q83620
The location of that building is [ANSWER]
['Q142', 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ?d WHERE { resource:Q1469315 property:P669 ?d . ?d rdf:type ontology:Q83620 }
quai de la Mégisserie
The location of that building is quai de la Mégisserie
quai de la Mégisserie
action filter_type
action find
entity Théâtre du Châtelet
relation located on street
type thoroughfare
['France', 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?d WHERE { resource:Théâtre_du_Châtelet property:located_on_street ?d . ?d rdf:type ontology:thoroughfare }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3412709 Q3451496
P47
Q34442
USER
Does rue de la Monnaie have an adjacent border with that thoroughfare ?
(Q3451496,P47,Q3412709)
action is_in
entity Q3451496
action find
entity Q3412709
relation P47
['Q3451496', 'P47', 'Q3412709']
ASK WHERE { resource:Q3412709 property:P47 resource:Q3451496 }
quai de la Mégisserie rue de la Monnaie
action is_in
entity rue de la Monnaie
action find
entity quai de la Mégisserie
relation shares border with
['rue de la Monnaie', 'shares border with', 'quai de la Mégisserie']
ASK WHERE { resource:quai_de_la_Mégisserie property:shares_border_with resource:rue_de_la_Monnaie }
[]
road
SYSTEM
YES
(Q3451496,P47,Q3412709)
action is_in
entity Q3451496
action find
entity Q3412709
relation P47
[ANSWER]
['Q3451496', 'P47', 'Q3412709']
ASK WHERE { resource:Q3412709 property:P47 resource:Q3451496 }
Yes
action is_in
entity rue de la Monnaie
action find
entity quai de la Mégisserie
relation shares border with
['rue de la Monnaie', 'shares border with', 'quai de la Mégisserie']
ASK WHERE { resource:quai_de_la_Mégisserie property:shares_border_with resource:rue_de_la_Monnaie }
[]