Simple Question (Direct)
Simple Question
Q18758302
P21
Q290
USER
What is the sex of Haboush Saleh ?
(Q18758302,P21,c(Q290))
action filter_type
action find
entity Q18758302
relation P21
type Q290
['Q18758302', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q18758302 property:P21 ?t }
Haboush Saleh
action filter_type
action find
entity Haboush Saleh
relation gender
type sex
['Haboush Saleh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Haboush_Saleh property:gender ?t }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18758302,P21,c(Q290))
action filter_type
action find
entity Q18758302
relation P21
type Q290
The sex of Haboush Saleh is the [ANSWER]
['Q18758302', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q18758302 property:P21 ?t }
male
The sex of Haboush Saleh is the male
male
action filter_type
action find
entity Haboush Saleh
relation gender
type sex
['Haboush Saleh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Haboush_Saleh property:gender ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18758302
P641
Q349
USER
Which sport did Haboush Saleh participate in ?
(Q18758302,P641,c(Q349))
action filter_type
action find
entity Q18758302
relation P641
type Q349
['Q18758302', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q18758302 property:P641 ?o . ?o rdf:type ontology:Q349 }
Haboush Saleh
action filter_type
action find
entity Haboush Saleh
relation sport
type sport
['Haboush Saleh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Haboush_Saleh property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q18758302,P641,c(Q349))
action filter_type
action find
entity Q18758302
relation P641
type Q349
Haboush Saleh participated in [ANSWER]
['Q18758302', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q18758302 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Haboush Saleh participated in association football
association football
action filter_type
action find
entity Haboush Saleh
relation sport
type sport
['Haboush Saleh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Haboush_Saleh property:sport ?o . ?o rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q201664
P180
Q838948
USER
How many works of art express male or bracelet ?
(c(Q838948),P180,Q6581097) (c(Q838948),P180,Q201664)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q838948
action filter_type
action find_reverse
entity Q201664
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q6581097'] [{'concept': 'Q838948'}, 'P180', 'Q201664']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P180 ?s . VALUES ( ?s ) { ( resource:Q6581097 ) ( resource:Q201664 ) } }
male bracelet
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type work of art
action filter_type
action find_reverse
entity bracelet
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'male'] [{'concept': 'work of art'}, 'depicts', 'bracelet']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:depicts ?s . VALUES ( ?s ) { ( resource:male ) ( resource:bracelet ) } }
[]
work of art
SYSTEM
12
Q3068259 Q3047015 Q2993019 Q1093113 Q18609842 Q27628851 Q18609855 Q17418930 Q18663545 Q19358269 Q19358270 Q19061858
(c(Q838948),P180,Q6581097) (c(Q838948),P180,Q201664)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q838948
action filter_type
action find_reverse
entity Q201664
relation P180
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q6581097'] [{'concept': 'Q838948'}, 'P180', 'Q201664']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P180 ?s . VALUES ( ?s ) { ( resource:Q6581097 ) ( resource:Q201664 ) } }
Femme piquée par un serpent Odalisque with Slave Venus of Arles Venus Victrix sarcophagus lid Aphrodite Untying Her Sandal sarcophagus lid Cleopatra VII committing suicide The Three Graces Venus lying Venus Sapho
12
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type work of art
action filter_type
action find_reverse
entity bracelet
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'male'] [{'concept': 'work of art'}, 'depicts', 'bracelet']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:depicts ?s . VALUES ( ?s ) { ( resource:male ) ( resource:bracelet ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atleast 729 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 729
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?c >= 729 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 729
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?c >= 729 ) }
[]
musical instrument common name
SYSTEM
8
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 729
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?c >= 729 ) }
bass guitar double bass piano trumpet cello violin organ drum kit
8
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 729
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?c >= 729 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q727539 Q18758302
P27
Q15617994
USER
Which administrative territories are Haboush Saleh or Vasile Gergely a civilian of ?
OR((Q18758302,P27,c(Q15617994)), (Q727539,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18758302
relation P27
action find
entity Q727539
relation P27
type Q15617994
{'OR': [['Q18758302', 'P27', {'concept': 'Q15617994'}], ['Q727539', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?l ) { ( resource:Q18758302 ) ( resource:Q727539 ) } . ?l property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Vasile Gergely Haboush Saleh
action filter_type
action union
action find
entity Haboush Saleh
relation country of citizenship
action find
entity Vasile Gergely
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Haboush Saleh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vasile Gergely', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?l ) { ( resource:Haboush_Saleh ) ( resource:Vasile_Gergely ) } . ?l property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q878
SYSTEM
Romania, United Arab Emirates
Q218 Q878
OR((Q18758302,P27,c(Q15617994)), (Q727539,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18758302
relation P27
action find
entity Q727539
relation P27
type Q15617994
[ANSWERS] are Haboush Saleh or Vasile Gergely a civilian of
{'OR': [['Q18758302', 'P27', {'concept': 'Q15617994'}], ['Q727539', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?l ) { ( resource:Q18758302 ) ( resource:Q727539 ) } . ?l property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Romania United Arab Emirates
Romania and United Arab Emirates are Haboush Saleh or Vasile Gergely a civilian of
Romania United Arab Emirates
action filter_type
action union
action find
entity Haboush Saleh
relation country of citizenship
action find
entity Vasile Gergely
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Haboush Saleh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vasile Gergely', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?l ) { ( resource:Haboush_Saleh ) ( resource:Vasile_Gergely ) } . ?l property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q697765
P825
Q502895 Q7725634 Q41176
USER
How many people are greater number of literary works or buildings dedicated to than Rudolf Maister ?
(c(Q7725634)|c(Q41176),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q697765
relation P825
type Q7725634
type Q41176
[[{'concept': 'Q7725634'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?r ) { ( ontology:Q7725634 ) ( ontology:Q41176 ) } . ?t rdf:type ?r } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P825 resource:Q697765 . { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q7725634 ) ( ontology:Q41176 ) } } } } . FILTER ( ?h > ?n ) }
Rudolf Maister
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action count
action filter_multi_types
action find_reverse
entity Rudolf Maister
relation dedicated to
type literary work
type building
[[{'concept': 'literary work'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?r ) { ( ontology:literary_work ) ( ontology:building ) } . ?t rdf:type ?r } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:dedicated_to resource:Rudolf_Maister . { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:literary_work ) ( ontology:building ) } } } } . FILTER ( ?h > ?n ) }
[]
common name literary work building
SYSTEM
73
Q983142 Q392 Q11403872 Q65318 Q1774929 Q183126 Q3190301 Q2288858 Q448890 Q179718 Q7593283 Q19629510 Q683792 Q2959955 Q171411 Q94316 Q11074321 Q461258 Q4127503 Q1889720 Q55398 Q174231 Q200188 Q460876 Q8023 Q170726 Q187550 Q313942 Q966298 Q1196817 Q433995 Q43600 Q314846 Q32613 Q454840 Q11633375 Q311080 Q1036864 Q20757530 Q314802 Q700317 Q171977 Q11403852 Q183332 Q269520 Q346 Q1132756 Q11619989 Q2360522 Q382005 Q3618054 Q354519 Q349287 Q457433 Q3099236 Q316658 Q179971 Q11368835 Q164294 Q164522 Q11403867 Q163366 Q149727 Q31966 Q468122 Q503886 Q310462 Q10881970 Q232803 Q317997 Q40662 Q299179 Q836214
(c(Q7725634)|c(Q41176),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q697765
relation P825
type Q7725634
type Q41176
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?r ) { ( ontology:Q7725634 ) ( ontology:Q41176 ) } . ?t rdf:type ?r } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P825 resource:Q697765 . { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q7725634 ) ( ontology:Q41176 ) } } } } . FILTER ( ?h > ?n ) }
Julian the Hospitaller Bob Dylan Kitabatake Akiyoshi Kibitsuhiko-no-mikoto Ferreolus Ramakrishna Just of Lyon Moriyoshi-shinnō Charlotte Saunders Cushman Catherine of Alexandria St Govan Saint Goustan Kitabatake Chikafusa Charles Panzéra Oda Nobunaga Kikuchi Taketoki Kaneyoshi-shinnō Yamato Takeru Ferrutio Cadoc Bernadette Soubirous Meiji Jimmu Lenny Bruce Nelson Mandela Enrico Caruso Toyotomi Hideyoshi Go-Daigo Kusunoki Masatsura Maeda Toshiie Fujiwara no Kamatari Matthew the Apostle Emperor Kammu Minamoto no Yoshiie William Cullen Bryant Prince Toyokiirihiko Uesugi Kenshin Kitabatake Akiie Madame Autard de Bragard Tenji Yasuhito Chichibu Tokugawa Ieyasu Kitabatake Morichika Saint Sebastian Shōken Louis IX of France Sakai Tadatsugu Prince Uji no Wakiiratsuko Anna Petrovna Kern Sugawara no Michizane Annibale Cressoni Charley Patton Sutoku Sara Dylan Minamoto no Tsunemoto Go-Toba Chūai Shizuko Nogi Saint Anna Hieda no Are Kitabatake Akinobu Ezra Pound Saint Giles Mark the Evangelist Nogi Maresuke Sterling Morrison Saigō Takamori Itsuse no Mikoto Empress Jingu Ōjin John the Baptist Kōmei Princess Tōchi
73
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action count
action filter_multi_types
action find_reverse
entity Rudolf Maister
relation dedicated to
type literary work
type building
[[{'concept': 'literary work'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?r ) { ( ontology:literary_work ) ( ontology:building ) } . ?t rdf:type ?r } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:dedicated_to resource:Rudolf_Maister . { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:literary_work ) ( ontology:building ) } } } } . FILTER ( ?h > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q29179
P825
Q502895 Q7725634 Q41176
USER
And also tell me about Francisco Franco?
(c(Q7725634)|c(Q41176),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q29179
relation P825
type Q7725634
type Q41176
[[{'concept': 'Q7725634'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?p WHERE { { ?y property:P825 ?p . ?p rdf:type ontology:Q502895 . ?y rdf:type ontology:Q41176 } UNION { ?y property:P825 ?p . ?p rdf:type ontology:Q502895 . ?y rdf:type ontology:Q7725634 } } GROUP BY ?p } . FILTER ( ?n > ?c ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P825 resource:Q29179 . { { ?a rdf:type ontology:Q7725634 } UNION { ?a rdf:type ontology:Q41176 } } } } }
Francisco Franco
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action count
action filter_multi_types
action find_reverse
entity Francisco Franco
relation dedicated to
type literary work
type building
[[{'concept': 'literary work'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?p WHERE { { ?y property:dedicated_to ?p . ?p rdf:type ontology:common_name . ?y rdf:type ontology:building } UNION { ?y property:dedicated_to ?p . ?p rdf:type ontology:common_name . ?y rdf:type ontology:literary_work } } GROUP BY ?p } . FILTER ( ?n > ?c ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:dedicated_to resource:Francisco_Franco . { { ?a rdf:type ontology:literary_work } UNION { ?a rdf:type ontology:building } } } } }
[]
common name literary work building
SYSTEM
73
Q983142 Q392 Q11403872 Q65318 Q1774929 Q183126 Q3190301 Q2288858 Q448890 Q179718 Q7593283 Q19629510 Q683792 Q2959955 Q171411 Q94316 Q11074321 Q461258 Q4127503 Q1889720 Q55398 Q174231 Q200188 Q460876 Q8023 Q170726 Q187550 Q313942 Q966298 Q1196817 Q433995 Q43600 Q314846 Q32613 Q454840 Q11633375 Q311080 Q1036864 Q20757530 Q314802 Q700317 Q171977 Q11403852 Q183332 Q269520 Q346 Q1132756 Q11619989 Q2360522 Q382005 Q3618054 Q354519 Q349287 Q457433 Q3099236 Q316658 Q179971 Q11368835 Q164294 Q164522 Q11403867 Q163366 Q149727 Q31966 Q468122 Q503886 Q310462 Q10881970 Q232803 Q317997 Q40662 Q299179 Q836214
(c(Q7725634)|c(Q41176),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q29179
relation P825
type Q7725634
type Q41176
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?p WHERE { { ?y property:P825 ?p . ?p rdf:type ontology:Q502895 . ?y rdf:type ontology:Q41176 } UNION { ?y property:P825 ?p . ?p rdf:type ontology:Q502895 . ?y rdf:type ontology:Q7725634 } } GROUP BY ?p } . FILTER ( ?n > ?c ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P825 resource:Q29179 . { { ?a rdf:type ontology:Q7725634 } UNION { ?a rdf:type ontology:Q41176 } } } } }
Julian the Hospitaller Bob Dylan Kitabatake Akiyoshi Kibitsuhiko-no-mikoto Ferreolus Ramakrishna Just of Lyon Moriyoshi-shinnō Charlotte Saunders Cushman Catherine of Alexandria St Govan Saint Goustan Kitabatake Chikafusa Charles Panzéra Oda Nobunaga Kikuchi Taketoki Kaneyoshi-shinnō Yamato Takeru Ferrutio Cadoc Bernadette Soubirous Meiji Jimmu Lenny Bruce Nelson Mandela Enrico Caruso Toyotomi Hideyoshi Go-Daigo Kusunoki Masatsura Maeda Toshiie Fujiwara no Kamatari Matthew the Apostle Emperor Kammu Minamoto no Yoshiie William Cullen Bryant Prince Toyokiirihiko Uesugi Kenshin Kitabatake Akiie Madame Autard de Bragard Tenji Yasuhito Chichibu Tokugawa Ieyasu Kitabatake Morichika Saint Sebastian Shōken Louis IX of France Sakai Tadatsugu Prince Uji no Wakiiratsuko Anna Petrovna Kern Sugawara no Michizane Annibale Cressoni Charley Patton Sutoku Sara Dylan Minamoto no Tsunemoto Go-Toba Chūai Shizuko Nogi Saint Anna Hieda no Are Kitabatake Akinobu Ezra Pound Saint Giles Mark the Evangelist Nogi Maresuke Sterling Morrison Saigō Takamori Itsuse no Mikoto Empress Jingu Ōjin John the Baptist Kōmei Princess Tōchi
73
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
action count
action filter_multi_types
action find_reverse
entity Francisco Franco
relation dedicated to
type literary work
type building
[[{'concept': 'literary work'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?p WHERE { { ?y property:dedicated_to ?p . ?p rdf:type ontology:common_name . ?y rdf:type ontology:building } UNION { ?y property:dedicated_to ?p . ?p rdf:type ontology:common_name . ?y rdf:type ontology:literary_work } } GROUP BY ?p } . FILTER ( ?n > ?c ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:dedicated_to resource:Francisco_Franco . { { ?a rdf:type ontology:literary_work } UNION { ?a rdf:type ontology:building } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q727539
P54
Q1194951
USER
What is Vasile Gergely a member of ?
(Q727539,P54,c(Q1194951))
action filter_type
action find
entity Q727539
relation P54
type Q1194951
['Q727539', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q727539 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Vasile Gergely
action filter_type
action find
entity Vasile Gergely
relation member of sports team
type national sports team
['Vasile Gergely', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Vasile_Gergely property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
national sports team
Q168397
SYSTEM
Romania national football team
Q168397
(Q727539,P54,c(Q1194951))
action filter_type
action find
entity Q727539
relation P54
type Q1194951
Vasile Gergely is a member of [ANSWER]
['Q727539', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q727539 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Romania national football team
Vasile Gergely is a member of Romania national football team
Romania national football team
action filter_type
action find
entity Vasile Gergely
relation member of sports team
type national sports team
['Vasile Gergely', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Vasile_Gergely property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q168397
P1532
Q15617994
USER
Which administrative territory does that national sports team play for ?
(Q168397,P1532,c(Q15617994))
action filter_type
action find
entity Q168397
relation P1532
type Q15617994
['Q168397', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q168397 property:P1532 ?n . ?n rdf:type ontology:Q15617994 }
Romania national football team
action filter_type
action find
entity Romania national football team
relation country for sport
type designation for an administrative territorial entity
['Romania national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Romania_national_football_team property:country_for_sport ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q168397,P1532,c(Q15617994))
action filter_type
action find
entity Q168397
relation P1532
type Q15617994
That national sports team plays in [ANSWER]
['Q168397', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q168397 property:P1532 ?n . ?n rdf:type ontology:Q15617994 }
Romania
That national sports team plays in Romania
Romania
action filter_type
action find
entity Romania national football team
relation country for sport
type designation for an administrative territorial entity
['Romania national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Romania_national_football_team property:country_for_sport ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q218
P35
Q502895
USER
How many people are the heads of state of Romania ?
(Q218,P35,c(Q502895))
action count
action filter_type
action find
entity Q218
relation P35
type Q502895
['Q218', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Q218 property:P35 ?y . ?y rdf:type ontology:Q502895 }
Romania
action count
action filter_type
action find
entity Romania
relation head of state
type common name
['Romania', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Romania property:head_of_state ?y . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q701484 Q189575 Q299152 Q57279
(Q218,P35,c(Q502895))
action count
action filter_type
action find
entity Q218
relation P35
type Q502895
[ANSWER]
['Q218', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Q218 property:P35 ?y . ?y rdf:type ontology:Q502895 }
Klaus Iohannis Ion Iliescu Emil Constantinescu Traian Băsescu
4
action count
action filter_type
action find
entity Romania
relation head of state
type common name
['Romania', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Romania property:head_of_state ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218
P1027
Q618779
USER
Which award is conferred by that administrative territory ?
action filter_type
action find_reverse
entity Q218
relation P1027
type Q618779
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q618779 . ?r property:P1027 resource:Q218 }
Romania
action filter_type
action find_reverse
entity Romania
relation conferred by
type award
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:award . ?r property:conferred_by resource:Romania }
[]
award
Q26706836
SYSTEM
sport merit order
Q26706836
action filter_type
action find_reverse
entity Q218
relation P1027
type Q618779
[ANSWER] is conferred by that administrative territory
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q618779 . ?r property:P1027 resource:Q218 }
sport merit order
Sport merit order is conferred by that administrative territory
sport merit order
action filter_type
action find_reverse
entity Romania
relation conferred by
type award
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:award . ?r property:conferred_by resource:Romania }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q26706836 Q21096076
P17
Q15617994
USER
Is that award situated in Epney ?
(Q26706836,P17,Q21096076)
action is_in
entity Q21096076
action find
entity Q26706836
relation P17
['Q26706836', 'P17', 'Q21096076']
ASK WHERE { resource:Q26706836 property:P17 resource:Q21096076 }
sport merit order Epney
action is_in
entity Epney
action find
entity sport merit order
relation country
['sport merit order', 'country', 'Epney']
ASK WHERE { resource:sport_merit_order property:country resource:Epney }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q26706836,P17,Q21096076)
action is_in
entity Q21096076
action find
entity Q26706836
relation P17
[ANSWER]
['Q26706836', 'P17', 'Q21096076']
ASK WHERE { resource:Q26706836 property:P17 resource:Q21096076 }
No
action is_in
entity Epney
action find
entity sport merit order
relation country
['sport merit order', 'country', 'Epney']
ASK WHERE { resource:sport_merit_order property:country resource:Epney }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q168397 Q48432 Q101730
P1344
Q15275719
USER
Did Romania national football team competite in 1930 FIFA World Cup and 1998 FIFA World Cup ?
(Q168397,P1344,Q48432) (Q168397,P1344,Q101730)
action is_in
entity Q168397
action intersection
action find_reverse
entity Q48432
relation P1344
action find_reverse
entity Q101730
relation P1344
['Q168397', 'P1344', 'Q48432'] ['Q168397', 'P1344', 'Q101730']
ASK WHERE { resource:Q168397 property:P1344 resource:Q48432 . resource:Q168397 property:P1344 resource:Q101730 }
Romania national football team 1930 FIFA World Cup 1998 FIFA World Cup
action is_in
entity Romania national football team
action intersection
action find_reverse
entity 1930 FIFA World Cup
relation participant of
action find_reverse
entity 1998 FIFA World Cup
relation participant of
['Romania national football team', 'participant of', '1930 FIFA World Cup'] ['Romania national football team', 'participant of', '1998 FIFA World Cup']
ASK WHERE { resource:Romania_national_football_team property:participant_of resource:1930_FIFA_World_Cup . resource:Romania_national_football_team property:participant_of resource:1998_FIFA_World_Cup }
[]
recurring event
SYSTEM
YES
(Q168397,P1344,Q48432) (Q168397,P1344,Q101730)
action is_in
entity Q168397
action intersection
action find_reverse
entity Q48432
relation P1344
action find_reverse
entity Q101730
relation P1344
[ANSWER]
['Q168397', 'P1344', 'Q48432'] ['Q168397', 'P1344', 'Q101730']
ASK WHERE { resource:Q168397 property:P1344 resource:Q48432 . resource:Q168397 property:P1344 resource:Q101730 }
Yes
action is_in
entity Romania national football team
action intersection
action find_reverse
entity 1930 FIFA World Cup
relation participant of
action find_reverse
entity 1998 FIFA World Cup
relation participant of
['Romania national football team', 'participant of', '1930 FIFA World Cup'] ['Romania national football team', 'participant of', '1998 FIFA World Cup']
ASK WHERE { resource:Romania_national_football_team property:participant_of resource:1930_FIFA_World_Cup . resource:Romania_national_football_team property:participant_of resource:1998_FIFA_World_Cup }
[]