Simple Question (Direct)
Simple Question
Q3132887
P40
Q502895
USER
Who is a child of Henry Krauss ?
(Q3132887,P40,c(Q502895))
action filter_type
action find
entity Q3132887
relation P40
type Q502895
['Q3132887', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q3132887 property:P40 ?g }
Henry Krauss
action filter_type
action find
entity Henry Krauss
relation child
type common name
['Henry Krauss', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Henry_Krauss property:child ?g }
[]
common name
Q3159217
SYSTEM
Jacques Krauss
Q3159217
(Q3132887,P40,c(Q502895))
action filter_type
action find
entity Q3132887
relation P40
type Q502895
A child of Henry Krauss is named [ANSWER]
['Q3132887', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q3132887 property:P40 ?g }
Jacques Krauss
A child of Henry Krauss is named Jacques Krauss
Jacques Krauss
action filter_type
action find
entity Henry Krauss
relation child
type common name
['Henry Krauss', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Henry_Krauss property:child ?g }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3159217 Q7963863 Q5194009
P19
Q56061
USER
Does Jacques Krauss have place of birth as Walsingham Rural District and Cumberworth ?
(Q3159217,P19,Q7963863) (Q3159217,P19,Q5194009)
action is_in
entity Q3159217
action intersection
action find_reverse
entity Q7963863
relation P19
action find_reverse
entity Q5194009
relation P19
['Q3159217', 'P19', 'Q7963863'] ['Q3159217', 'P19', 'Q5194009']
ASK WHERE { resource:Q3159217 property:P19 resource:Q7963863 . resource:Q3159217 property:P19 resource:Q5194009 }
Jacques Krauss Walsingham Rural District Cumberworth
action is_in
entity Jacques Krauss
action intersection
action find_reverse
entity Walsingham Rural District
relation place of birth
action find_reverse
entity Cumberworth
relation place of birth
['Jacques Krauss', 'place of birth', 'Walsingham Rural District'] ['Jacques Krauss', 'place of birth', 'Cumberworth']
ASK WHERE { resource:Jacques_Krauss property:place_of_birth resource:Walsingham_Rural_District . resource:Jacques_Krauss property:place_of_birth resource:Cumberworth }
[]
administrative territorial entity
SYSTEM
NO
(Q3159217,P19,Q7963863) (Q3159217,P19,Q5194009)
action is_in
entity Q3159217
action intersection
action find_reverse
entity Q7963863
relation P19
action find_reverse
entity Q5194009
relation P19
[ANSWER]
['Q3159217', 'P19', 'Q7963863'] ['Q3159217', 'P19', 'Q5194009']
ASK WHERE { resource:Q3159217 property:P19 resource:Q7963863 . resource:Q3159217 property:P19 resource:Q5194009 }
No
action is_in
entity Jacques Krauss
action intersection
action find_reverse
entity Walsingham Rural District
relation place of birth
action find_reverse
entity Cumberworth
relation place of birth
['Jacques Krauss', 'place of birth', 'Walsingham Rural District'] ['Jacques Krauss', 'place of birth', 'Cumberworth']
ASK WHERE { resource:Jacques_Krauss property:place_of_birth resource:Walsingham_Rural_District . resource:Jacques_Krauss property:place_of_birth resource:Cumberworth }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3132887
P26
Q502895
USER
Who is married to Henry Krauss ?
(Q3132887,P26,c(Q502895))
action filter_type
action find
entity Q3132887
relation P26
type Q502895
['Q3132887', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3132887 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Henry Krauss
action filter_type
action find
entity Henry Krauss
relation spouse
type common name
['Henry Krauss', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Henry_Krauss property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q2960936
SYSTEM
Charlotte Barbier-Krauss
Q2960936
(Q3132887,P26,c(Q502895))
action filter_type
action find
entity Q3132887
relation P26
type Q502895
[ANSWER] is married to Henry Krauss
['Q3132887', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3132887 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Charlotte Barbier-Krauss
Charlotte Barbier-Krauss is married to Henry Krauss
Charlotte Barbier-Krauss
action filter_type
action find
entity Henry Krauss
relation spouse
type common name
['Henry Krauss', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Henry_Krauss property:spouse ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3132887
P119
Q39614
USER
Which cemetery is the place of burial of Henry Krauss ?
(Q3132887,P119,c(Q39614))
action filter_type
action find
entity Q3132887
relation P119
type Q39614
['Q3132887', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?e WHERE { resource:Q3132887 property:P119 ?e . ?e rdf:type ontology:Q39614 }
Henry Krauss
action filter_type
action find
entity Henry Krauss
relation place of burial
type cemetery
['Henry Krauss', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?e WHERE { resource:Henry_Krauss property:place_of_burial ?e . ?e rdf:type ontology:cemetery }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q3132887,P119,c(Q39614))
action filter_type
action find
entity Q3132887
relation P119
type Q39614
The [ANSWER] the place of burial of Henry Krauss
['Q3132887', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?e WHERE { resource:Q3132887 property:P119 ?e . ?e rdf:type ontology:Q39614 }
Père Lachaise Cemetery
The Père Lachaise Cemetery the place of burial of Henry Krauss
Père Lachaise Cemetery
action filter_type
action find
entity Henry Krauss
relation place of burial
type cemetery
['Henry Krauss', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?e WHERE { resource:Henry_Krauss property:place_of_burial ?e . ?e rdf:type ontology:cemetery }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q374467
P825
Q502895 Q41176 Q482994
USER
Which people are more number of buildings or albums dedicated to than Gabriel of Our Lady of Sorrows ?
(c(Q41176)|c(Q482994),P825,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q374467
relation P825
type Q41176
type Q482994
[[{'concept': 'Q41176'}, {'concept': 'Q482994'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?r ) WHERE { { ?i rdf:type ontology:Q502895 . ?g rdf:type ontology:Q482994 . ?g property:P825 ?i } UNION { ?g property:P825 ?i . ?i rdf:type ontology:Q502895 . ?g rdf:type ontology:Q41176 } } GROUP BY ?i } . FILTER ( ?r > ?p ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:P825 resource:Q374467 . { { ?h rdf:type ontology:Q482994 } UNION { ?h rdf:type ontology:Q41176 } } } } }
Gabriel of Our Lady of Sorrows
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action count
action filter_multi_types
action find_reverse
entity Gabriel of Our Lady of Sorrows
relation dedicated to
type building
type album
[[{'concept': 'building'}, {'concept': 'album'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?r ) WHERE { { ?i rdf:type ontology:common_name . ?g rdf:type ontology:album . ?g property:dedicated_to ?i } UNION { ?g property:dedicated_to ?i . ?i rdf:type ontology:common_name . ?g rdf:type ontology:building } } GROUP BY ?i } . FILTER ( ?r > ?p ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:dedicated_to resource:Gabriel_of_Our_Lady_of_Sorrows . { { ?h rdf:type ontology:album } UNION { ?h rdf:type ontology:building } } } } }
[]
common name building album
Q171411 Q392 Q171977
SYSTEM
Oda Nobunaga, Bob Dylan, Tokugawa Ieyasu
Q249719 Q983142 Q392 Q11403872 Q65318 Q1774929 Q3190301 Q2288858 Q179718 Q7593283 Q173061 Q19629510 Q683792 Q888326 Q171411 Q94316 Q11074321 Q461258 Q4127503 Q1889720 Q55398 Q1666 Q174231 Q200188 Q541634 Q187550 Q313942 Q966298 Q1196817 Q433995 Q43600 Q314846 Q32613 Q11633375 Q311080 Q6918007 Q1036864 Q314802 Q700317 Q171977 Q11403852 Q183332 Q269520 Q346 Q1132756 Q11619989 Q382005 Q3618054 Q349287 Q3099236 Q316658 Q179971 Q11368835 Q164294 Q164522 Q11403867 Q149727 Q31966 Q468122 Q310462 Q10881970 Q232803 Q317997 Q40662 Q299179 Q836214
(c(Q41176)|c(Q482994),P825,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q374467
relation P825
type Q41176
type Q482994
[ANSWERS] are more number of buildings or albums dedicated to than Gabriel of Our Lady of Sorrows
[[{'concept': 'Q41176'}, {'concept': 'Q482994'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?r ) WHERE { { ?i rdf:type ontology:Q502895 . ?g rdf:type ontology:Q482994 . ?g property:P825 ?i } UNION { ?g property:P825 ?i . ?i rdf:type ontology:Q502895 . ?g rdf:type ontology:Q41176 } } GROUP BY ?i } . FILTER ( ?r > ?p ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:P825 resource:Q374467 . { { ?h rdf:type ontology:Q482994 } UNION { ?h rdf:type ontology:Q41176 } } } } }
Yui Julian the Hospitaller Bob Dylan Kitabatake Akiyoshi Kibitsuhiko-no-mikoto Ferreolus Just of Lyon Moriyoshi-shinnō Catherine of Alexandria St Govan Syd Barrett Saint Goustan Kitabatake Chikafusa Bob Wills Oda Nobunaga Kikuchi Taketoki Kaneyoshi-shinnō Yamato Takeru Ferrutio Cadoc Bernadette Soubirous Jacques Brel Meiji Jimmu Bobby Bland Toyotomi Hideyoshi Go-Daigo Kusunoki Masatsura Maeda Toshiie Fujiwara no Kamatari Matthew the Apostle Emperor Kammu Minamoto no Yoshiie Prince Toyokiirihiko Uesugi Kenshin Motoharu Sano Kitabatake Akiie Tenji Yasuhito Chichibu Tokugawa Ieyasu Kitabatake Morichika Saint Sebastian Shōken Louis IX of France Sakai Tadatsugu Prince Uji no Wakiiratsuko Sugawara no Michizane Annibale Cressoni Sutoku Minamoto no Tsunemoto Go-Toba Chūai Shizuko Nogi Saint Anna Hieda no Are Kitabatake Akinobu Saint Giles Mark the Evangelist Nogi Maresuke Saigō Takamori Itsuse no Mikoto Empress Jingu Ōjin John the Baptist Kōmei Princess Tōchi
Oda Nobunaga, Bob Dylan and Tokugawa Ieyasu are more number of buildings or albums dedicated to than Gabriel of Our Lady of Sorrows
Oda Nobunaga Bob Dylan Tokugawa Ieyasu
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action count
action filter_multi_types
action find_reverse
entity Gabriel of Our Lady of Sorrows
relation dedicated to
type building
type album
[[{'concept': 'building'}, {'concept': 'album'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?r ) WHERE { { ?i rdf:type ontology:common_name . ?g rdf:type ontology:album . ?g property:dedicated_to ?i } UNION { ?g property:dedicated_to ?i . ?i rdf:type ontology:common_name . ?g rdf:type ontology:building } } GROUP BY ?i } . FILTER ( ?r > ?p ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:dedicated_to resource:Gabriel_of_Our_Lady_of_Sorrows . { { ?h rdf:type ontology:album } UNION { ?h rdf:type ontology:building } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q183332
P825
Q502895 Q41176 Q482994
USER
And how about Saint Sebastian?
(c(Q41176)|c(Q482994),P825,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q183332
relation P825
type Q41176
type Q482994
[[{'concept': 'Q41176'}, {'concept': 'Q482994'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?h ) WHERE { { ?o property:P825 ?z . ?z rdf:type ontology:Q502895 . ?o rdf:type ontology:Q41176 } UNION { ?o property:P825 ?z . ?z rdf:type ontology:Q502895 . ?o rdf:type ontology:Q482994 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P825 resource:Q183332 . { { ?f rdf:type ontology:Q41176 } UNION { ?f rdf:type ontology:Q482994 } } } } . FILTER ( ?h > ?n ) }
Saint Sebastian
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action count
action filter_multi_types
action find_reverse
entity Saint Sebastian
relation dedicated to
type building
type album
[[{'concept': 'building'}, {'concept': 'album'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?h ) WHERE { { ?o property:dedicated_to ?z . ?z rdf:type ontology:common_name . ?o rdf:type ontology:building } UNION { ?o property:dedicated_to ?z . ?z rdf:type ontology:common_name . ?o rdf:type ontology:album } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:dedicated_to resource:Saint_Sebastian . { { ?f rdf:type ontology:building } UNION { ?f rdf:type ontology:album } } } } . FILTER ( ?h > ?n ) }
[]
common name building album
Q392 Q171977 Q313942
SYSTEM
Bob Dylan, Tokugawa Ieyasu, Go-Daigo
Q392 Q11403872 Q65318 Q461258 Q174231 Q187550 Q313942 Q1036864 Q171977 Q11619989 Q382005 Q179971 Q164294 Q468122 Q317997
(c(Q41176)|c(Q482994),P825,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q183332
relation P825
type Q41176
type Q482994
[ANSWERS]
[[{'concept': 'Q41176'}, {'concept': 'Q482994'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?h ) WHERE { { ?o property:P825 ?z . ?z rdf:type ontology:Q502895 . ?o rdf:type ontology:Q41176 } UNION { ?o property:P825 ?z . ?z rdf:type ontology:Q502895 . ?o rdf:type ontology:Q482994 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P825 resource:Q183332 . { { ?f rdf:type ontology:Q41176 } UNION { ?f rdf:type ontology:Q482994 } } } } . FILTER ( ?h > ?n ) }
Bob Dylan Kitabatake Akiyoshi Kibitsuhiko-no-mikoto Yamato Takeru Meiji Toyotomi Hideyoshi Go-Daigo Kitabatake Akiie Tokugawa Ieyasu Prince Uji no Wakiiratsuko Sugawara no Michizane Chūai Saint Anna Nogi Maresuke Ōjin
Bob Dylan Tokugawa Ieyasu Go-Daigo
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action count
action filter_multi_types
action find_reverse
entity Saint Sebastian
relation dedicated to
type building
type album
[[{'concept': 'building'}, {'concept': 'album'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?h ) WHERE { { ?o property:dedicated_to ?z . ?z rdf:type ontology:common_name . ?o rdf:type ontology:building } UNION { ?o property:dedicated_to ?z . ?z rdf:type ontology:common_name . ?o rdf:type ontology:album } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:dedicated_to resource:Saint_Sebastian . { { ?f rdf:type ontology:building } UNION { ?f rdf:type ontology:album } } } } . FILTER ( ?h > ?n ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q257756 Q3159217
P19
Q56061
USER
Which administrative territories are the birthplace of Jacques Krauss or Margaret Hamilton ?
OR((Q3159217,P19,c(Q56061)), (Q257756,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3159217
relation P19
action find
entity Q257756
relation P19
type Q56061
{'OR': [['Q3159217', 'P19', {'concept': 'Q56061'}], ['Q257756', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q257756 property:P19 ?e } UNION { resource:Q3159217 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Margaret Hamilton Jacques Krauss
action filter_type
action union
action find
entity Jacques Krauss
relation place of birth
action find
entity Margaret Hamilton
relation place of birth
type administrative territorial entity
{'OR': [['Jacques Krauss', 'place of birth', {'concept': 'administrative territorial entity'}], ['Margaret Hamilton', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Margaret_Hamilton property:place_of_birth ?e } UNION { resource:Jacques_Krauss property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90 Q37320
SYSTEM
Paris, Cleveland
Q90 Q37320
OR((Q3159217,P19,c(Q56061)), (Q257756,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3159217
relation P19
action find
entity Q257756
relation P19
type Q56061
[ANSWERS] are the birthplace of Jacques Krauss or Margaret Hamilton
{'OR': [['Q3159217', 'P19', {'concept': 'Q56061'}], ['Q257756', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q257756 property:P19 ?e } UNION { resource:Q3159217 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Paris Cleveland
Paris and Cleveland are the birthplace of Jacques Krauss or Margaret Hamilton
Paris Cleveland
action filter_type
action union
action find
entity Jacques Krauss
relation place of birth
action find
entity Margaret Hamilton
relation place of birth
type administrative territorial entity
{'OR': [['Jacques Krauss', 'place of birth', {'concept': 'administrative territorial entity'}], ['Margaret Hamilton', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Margaret_Hamilton property:place_of_birth ?e } UNION { resource:Jacques_Krauss property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q37320
P931
Q62447
USER
Which aerodromes are served by that administrative territory ?
(c(Q62447),P931,Q37320)
action filter_type
action find_reverse
entity Q37320
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q37320']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q62447 . ?h property:P931 resource:Q37320 }
Cleveland
action filter_type
action find_reverse
entity Cleveland
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Cleveland']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:aerodrome . ?h property:place_served_by_airport resource:Cleveland }
[]
aerodrome
Clarification for simple ques.
Q37320
SYSTEM
Did you mean Cleveland ?
Q90 Q37320
(c(Q62447),P931,Q90) (c(Q62447),P931,Q37320)
[ANSWER]
[{'concept': 'Q62447'}, 'P931', 'Q90'] [{'concept': 'Q62447'}, 'P931', 'Q37320']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q62447 . ?h property:P931 resource:Q37320 }
Paris Cleveland
Did you mean Cleveland ?
Cleveland
[{'concept': 'aerodrome'}, 'place served by airport', 'Paris'] [{'concept': 'aerodrome'}, 'place served by airport', 'Cleveland']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:aerodrome . ?h property:place_served_by_airport resource:Cleveland }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q62447),P931,Q37320)
[{'concept': 'Q62447'}, 'P931', 'Q37320']
[{'concept': 'aerodrome'}, 'place served by airport', 'Cleveland']
[]
Q1100795 Q1655461 Q1657006
SYSTEM
Cleveland Hopkins International Airport, Cuyahoga County Airport, Cleveland Burke Lakefront Airport
Q1100795 Q1655461 Q1657006
(c(Q62447),P931,Q37320)
action filter_type
action find_reverse
entity Q37320
relation P931
type Q62447
[ANSWERS] are served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q37320']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q62447 . ?h property:P931 resource:Q37320 }
Cleveland Hopkins International Airport Cuyahoga County Airport Cleveland Burke Lakefront Airport
Cleveland Hopkins International Airport, Cuyahoga County Airport and Cleveland Burke Lakefront Airport are served by that administrative territory
Cleveland Hopkins International Airport Cuyahoga County Airport Cleveland Burke Lakefront Airport
action filter_type
action find_reverse
entity Cleveland
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Cleveland']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:aerodrome . ?h property:place_served_by_airport resource:Cleveland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q37320
P47
Q532 Q56061
USER
How many villages and administrative territories share border with Cleveland ?
(c(Q532),P47,Q37320) (c(Q56061),P47,Q37320)
action count
action union
action filter_type
action find_reverse
entity Q37320
relation P47
type Q532
action filter_type
action find_reverse
entity Q37320
relation P47
type Q56061
[{'concept': 'Q532'}, 'P47', 'Q37320'] [{'concept': 'Q56061'}, 'P47', 'Q37320']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:P47 resource:Q37320 . ?c rdf:type ontology:Q532 } UNION { ?c property:P47 resource:Q37320 . ?c rdf:type ontology:Q56061 } }
Cleveland
action count
action union
action filter_type
action find_reverse
entity Cleveland
relation shares border with
type village
action filter_type
action find_reverse
entity Cleveland
relation shares border with
type administrative territorial entity
[{'concept': 'village'}, 'shares border with', 'Cleveland'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Cleveland']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:shares_border_with resource:Cleveland . ?c rdf:type ontology:village } UNION { ?c property:shares_border_with resource:Cleveland . ?c rdf:type ontology:administrative_territorial_entity } }
[]
village administrative territorial entity
SYSTEM
1 villages and 4 administrative territories
Q570990 Q2378122 Q928714 Q2076167 Q1065497
(c(Q532),P47,Q37320) (c(Q56061),P47,Q37320)
action count
action union
action filter_type
action find_reverse
entity Q37320
relation P47
type Q532
action filter_type
action find_reverse
entity Q37320
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q532'}, 'P47', 'Q37320'] [{'concept': 'Q56061'}, 'P47', 'Q37320']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:P47 resource:Q37320 . ?c rdf:type ontology:Q532 } UNION { ?c property:P47 resource:Q37320 . ?c rdf:type ontology:Q56061 } }
Lakewood Newburgh Heights Brook Park Warrensville Heights Shaker Heights
1 villages and 4 administrative territories
action count
action union
action filter_type
action find_reverse
entity Cleveland
relation shares border with
type village
action filter_type
action find_reverse
entity Cleveland
relation shares border with
type administrative territorial entity
[{'concept': 'village'}, 'shares border with', 'Cleveland'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Cleveland']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:shares_border_with resource:Cleveland . ?c rdf:type ontology:village } UNION { ?c property:shares_border_with resource:Cleveland . ?c rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P706
Q268592
USER
Which economic branch is located in Paris ?
(c(Q268592),P706,Q90)
action filter_type
action find_reverse
entity Q90
relation P706
type Q268592
[{'concept': 'Q268592'}, 'P706', 'Q90']
SELECT DISTINCT ?x WHERE { ?x property:P706 resource:Q90 . ?x rdf:type ontology:Q268592 }
Paris
action filter_type
action find_reverse
entity Paris
relation located on terrain feature
type economic branch
[{'concept': 'economic branch'}, 'located on terrain feature', 'Paris']
SELECT DISTINCT ?x WHERE { ?x property:located_on_terrain_feature resource:Paris . ?x rdf:type ontology:economic_branch }
[]
economic branch
Q1637118
SYSTEM
Radio Libertaire
Q1637118
(c(Q268592),P706,Q90)
action filter_type
action find_reverse
entity Q90
relation P706
type Q268592
[ANSWER] is located in Paris
[{'concept': 'Q268592'}, 'P706', 'Q90']
SELECT DISTINCT ?x WHERE { ?x property:P706 resource:Q90 . ?x rdf:type ontology:Q268592 }
Radio Libertaire
Radio Libertaire is located in Paris
Radio Libertaire
action filter_type
action find_reverse
entity Paris
relation located on terrain feature
type economic branch
[{'concept': 'economic branch'}, 'located on terrain feature', 'Paris']
SELECT DISTINCT ?x WHERE { ?x property:located_on_terrain_feature resource:Paris . ?x rdf:type ontology:economic_branch }
[]