Simple Question (Direct)
Simple Question
Q7964277
P106
Q12737077
USER
Which occupations are the professions of Walter Beasley ?
(Q7964277,P106,c(Q12737077))
action filter_type
action find
entity Q7964277
relation P106
type Q12737077
['Q7964277', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q7964277 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Walter Beasley
action filter_type
action find
entity Walter Beasley
relation occupation
type occupation
['Walter Beasley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Walter_Beasley property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q12800682 Q15981151 Q177220
SYSTEM
saxophonist, jazz musician, singer
Q12800682 Q15981151 Q177220
(Q7964277,P106,c(Q12737077))
action filter_type
action find
entity Q7964277
relation P106
type Q12737077
The professions of Walter Beasley are tenor [ANSWERS]
['Q7964277', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q7964277 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
saxophonist jazz musician singer
The professions of Walter Beasley are tenor saxophonist, jazz musician and singer
saxophonist jazz musician singer
action filter_type
action find
entity Walter Beasley
relation occupation
type occupation
['Walter Beasley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Walter_Beasley property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q177220
P425
Q9332
USER
Which behavior has singer as thier associated field of occupation ?
(Q177220,P425,c(Q9332))
action filter_type
action find
entity Q177220
relation P425
type Q9332
['Q177220', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?p WHERE { resource:Q177220 property:P425 ?p . ?p rdf:type ontology:Q9332 }
singer
action filter_type
action find
entity singer
relation field of this occupation
type behavior
['singer', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?p WHERE { resource:singer property:field_of_this_occupation ?p . ?p rdf:type ontology:behavior }
[]
behavior
Q27939
SYSTEM
singing
Q27939
(Q177220,P425,c(Q9332))
action filter_type
action find
entity Q177220
relation P425
type Q9332
[ANSWER] has singer as thier associated field of occupation
['Q177220', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?p WHERE { resource:Q177220 property:P425 ?p . ?p rdf:type ontology:Q9332 }
singing
Singing has singer as thier associated field of occupation
singing
action filter_type
action find
entity singer
relation field of this occupation
type behavior
['singer', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?p WHERE { resource:singer property:field_of_this_occupation ?p . ?p rdf:type ontology:behavior }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q9332 Q502895 Q21114848
USER
How many behaviors are the field of work of less number of people or magazine genres than that behavior ?
(c(Q502895)|c(Q21114848),P101,c(Q9332))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q9332
type Q502895
action find_reverse_tuple_counts
relation P101
type Q9332
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q27939
relation P101
type Q502895
type Q21114848
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q21114848 ) } . ?s rdf:type ?c } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P101 resource:Q27939 . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q21114848 } } } } . FILTER ( ?k < ?f ) }
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type behavior
type common name
action find_reverse_tuple_counts
relation field of work
type behavior
type magazine genre
action count
action filter_multi_types
action find_reverse
entity singing
relation field of work
type common name
type magazine genre
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:magazine_genre ) } . ?s rdf:type ?c } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:field_of_work resource:singing . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:magazine_genre } } } } . FILTER ( ?k < ?f ) }
[]
behavior common name magazine genre
SYSTEM
41
Q36963 Q174876 Q1519454 Q154136 Q572824 Q165950 Q133080 Q2267710 Q2144405 Q877729 Q349 Q14373 Q4026292 Q61509 Q648877 Q166376 Q352842 Q816425 Q1729207 Q177719 Q11417 Q7433714 Q203605 Q1546695 Q3429919 Q4488757 Q867634 Q5057302 Q1571929 Q11042 Q959782 Q1415356 Q373069 Q82604 Q472328 Q171141 Q1145523 Q3908516 Q1116876 Q4116214 Q7632064
(c(Q502895)|c(Q21114848),P101,c(Q9332))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q9332
type Q502895
action find_reverse_tuple_counts
relation P101
type Q9332
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q27939
relation P101
type Q502895
type Q21114848
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q21114848 ) } . ?s rdf:type ?c } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P101 resource:Q27939 . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q21114848 } } } } . FILTER ( ?k < ?f ) }
hunting breastfeeding design human sexuality Cultural heritage management espionage public relations self-management hacking handicraft sport fishing action travel post-production doping in sport teaching surveying Christian ministry diagnostic procedure martial arts Science outreach carpentry cartomancy screenwriting intelligence assessment dream interpretation sound recording and reproduction general aviation culture excavation film distribution evangelism design science communication gastronomy collaboration entrepreneurship modeling accounting Substance abuse prevention
41
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type behavior
type common name
action find_reverse_tuple_counts
relation field of work
type behavior
type magazine genre
action count
action filter_multi_types
action find_reverse
entity singing
relation field of work
type common name
type magazine genre
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:magazine_genre ) } . ?s rdf:type ?c } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:field_of_work resource:singing . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:magazine_genre } } } } . FILTER ( ?k < ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7964277
P136
Q151885
USER
Which concept can be considered as genre of Walter Beasley ?
(Q7964277,P136,c(Q151885))
action filter_type
action find
entity Q7964277
relation P136
type Q151885
['Q7964277', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { resource:Q7964277 property:P136 ?p . ?p rdf:type ontology:Q151885 }
Walter Beasley
action filter_type
action find
entity Walter Beasley
relation genre
type concept
['Walter Beasley', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { resource:Walter_Beasley property:genre ?p . ?p rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q7964277,P136,c(Q151885))
action filter_type
action find
entity Q7964277
relation P136
type Q151885
The [ANSWER] can be considered as genre of Walter Beasley
['Q7964277', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { resource:Q7964277 property:P136 ?p . ?p rdf:type ontology:Q151885 }
jazz
The jazz can be considered as genre of Walter Beasley
jazz
action filter_type
action find
entity Walter Beasley
relation genre
type concept
['Walter Beasley', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { resource:Walter_Beasley property:genre ?p . ?p rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7964277
P21
Q290
USER
Which sex does Walter Beasley have ?
(Q7964277,P21,c(Q290))
action filter_type
action find
entity Q7964277
relation P21
type Q290
['Q7964277', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7964277 property:P21 ?a . ?a rdf:type ontology:Q290 }
Walter Beasley
action filter_type
action find
entity Walter Beasley
relation gender
type sex
['Walter Beasley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Walter_Beasley property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7964277,P21,c(Q290))
action filter_type
action find
entity Q7964277
relation P21
type Q290
Walter Beasley has a [ANSWER]
['Q7964277', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7964277 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Walter Beasley has a male
male
action filter_type
action find
entity Walter Beasley
relation gender
type sex
['Walter Beasley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Walter_Beasley property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7964277
P264
Q334453
USER
What is the record label of Walter Beasley ?
(Q7964277,P264,c(Q334453))
action filter_type
action find
entity Q7964277
relation P264
type Q334453
['Q7964277', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?q WHERE { resource:Q7964277 property:P264 ?q . ?q rdf:type ontology:Q334453 }
Walter Beasley
action filter_type
action find
entity Walter Beasley
relation record label
type division
['Walter Beasley', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?q WHERE { resource:Walter_Beasley property:record_label ?q . ?q rdf:type ontology:division }
[]
division
Q1503081
SYSTEM
Shanachie Records
Q1503081
(Q7964277,P264,c(Q334453))
action filter_type
action find
entity Q7964277
relation P264
type Q334453
The record label of Walter Beasley is the [ANSWER]
['Q7964277', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?q WHERE { resource:Q7964277 property:P264 ?q . ?q rdf:type ontology:Q334453 }
Shanachie Records
The record label of Walter Beasley is the Shanachie Records
Shanachie Records
action filter_type
action find
entity Walter Beasley
relation record label
type division
['Walter Beasley', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?q WHERE { resource:Walter_Beasley property:record_label ?q . ?q rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7964277
P27
Q15617994
USER
Which administrative territory is Walter Beasley a civilian of ?
(Q7964277,P27,c(Q15617994))
action filter_type
action find
entity Q7964277
relation P27
type Q15617994
['Q7964277', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q7964277 property:P27 ?g }
Walter Beasley
action filter_type
action find
entity Walter Beasley
relation country of citizenship
type designation for an administrative territorial entity
['Walter Beasley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Walter_Beasley property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7964277,P27,c(Q15617994))
action filter_type
action find
entity Q7964277
relation P27
type Q15617994
The [ANSWER] is Walter Beasley a civilian of
['Q7964277', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q7964277 property:P27 ?g }
United States of America
The United States of America is Walter Beasley a civilian of
United States of America
action filter_type
action find
entity Walter Beasley
relation country of citizenship
type designation for an administrative territorial entity
['Walter Beasley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Walter_Beasley property:country_of_citizenship ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P47
Q1048835
USER
Which political territories are adjacent to that administrative territory ?
(Q30,P47,c(Q1048835))
action filter_type
action find
entity Q30
relation P47
type Q1048835
['Q30', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q30 property:P47 ?j . ?j rdf:type ontology:Q1048835 }
United States of America
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
['United States of America', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:shares_border_with ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q778
SYSTEM
Canada, The Bahamas
Q16 Q778
(Q30,P47,c(Q1048835))
action filter_type
action find
entity Q30
relation P47
type Q1048835
[ANSWERS] are adjacent to that administrative territory
['Q30', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q30 property:P47 ?j . ?j rdf:type ontology:Q1048835 }
Canada The Bahamas
Canada and The Bahamas are adjacent to that administrative territory
Canada The Bahamas
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
['United States of America', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:shares_border_with ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P206
Q17519152
USER
Which group of objects is located in the neighbourhood of Canada ?
(Q16,P206,c(Q17519152))
action filter_type
action find
entity Q16
relation P206
type Q17519152
['Q16', 'P206', {'concept': 'Q17519152'}]
SELECT DISTINCT ?w WHERE { resource:Q16 property:P206 ?w . ?w rdf:type ontology:Q17519152 }
Canada
action filter_type
action find
entity Canada
relation located next to body of water
type group of objects
['Canada', 'located next to body of water', {'concept': 'group of objects'}]
SELECT DISTINCT ?w WHERE { resource:Canada property:located_next_to_body_of_water ?w . ?w rdf:type ontology:group_of_objects }
[]
group of objects
Q7347
SYSTEM
Great Lakes
Q7347
(Q16,P206,c(Q17519152))
action filter_type
action find
entity Q16
relation P206
type Q17519152
The [ANSWER] is located in the neighbourhood of Canada
['Q16', 'P206', {'concept': 'Q17519152'}]
SELECT DISTINCT ?w WHERE { resource:Q16 property:P206 ?w . ?w rdf:type ontology:Q17519152 }
Great Lakes
The Great Lakes is located in the neighbourhood of Canada
Great Lakes
action filter_type
action find
entity Canada
relation located next to body of water
type group of objects
['Canada', 'located next to body of water', {'concept': 'group of objects'}]
SELECT DISTINCT ?w WHERE { resource:Canada property:located_next_to_body_of_water ?w . ?w rdf:type ontology:group_of_objects }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7347
P361
Q337567
USER
Which still waterss are a portion of that group of objects ?
(c(Q337567),P361,Q7347)
action filter_type
action find_reverse
entity Q7347
relation P361
type Q337567
[{'concept': 'Q337567'}, 'P361', 'Q7347']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q7347 . ?o rdf:type ontology:Q337567 }
Great Lakes
action filter_type
action find_reverse
entity Great Lakes
relation part of
type still waters
[{'concept': 'still waters'}, 'part of', 'Great Lakes']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:Great_Lakes . ?o rdf:type ontology:still_waters }
[]
still waters
Q1062 Q5492 Q1383
SYSTEM
Lake Ontario, Lake Erie, Lake Huron
Q1383 Q1062 Q1169 Q5492 Q1377732
(c(Q337567),P361,Q7347)
action filter_type
action find_reverse
entity Q7347
relation P361
type Q337567
[ANSWERS] are a portion of that group of objects
[{'concept': 'Q337567'}, 'P361', 'Q7347']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q7347 . ?o rdf:type ontology:Q337567 }
Lake Huron Lake Ontario Lake Michigan Lake Erie Lake Michigan–Huron
Lake Ontario, Lake Erie and Lake Huron are a portion of that group of objects
Lake Ontario Lake Erie Lake Huron
action filter_type
action find_reverse
entity Great Lakes
relation part of
type still waters
[{'concept': 'still waters'}, 'part of', 'Great Lakes']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:Great_Lakes . ?o rdf:type ontology:still_waters }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1062
P20
Q502895
USER
Which person has that still waters as place of death ?
(c(Q502895),P20,Q1062)
action filter_type
action find_reverse
entity Q1062
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1062']
SELECT DISTINCT ?r WHERE { ?r property:P20 resource:Q1062 . ?r rdf:type ontology:Q502895 }
Lake Ontario
action filter_type
action find_reverse
entity Lake Ontario
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lake Ontario']
SELECT DISTINCT ?r WHERE { ?r property:place_of_death resource:Lake_Ontario . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1383
SYSTEM
Did you mean Lake Huron ?
Q1062 Q5492 Q1383
(c(Q502895),P20,Q1062) (c(Q502895),P20,Q5492) (c(Q502895),P20,Q1383)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q1062'] [{'concept': 'Q502895'}, 'P20', 'Q5492'] [{'concept': 'Q502895'}, 'P20', 'Q1383']
SELECT DISTINCT ?r WHERE { ?r property:P20 resource:Q1062 . ?r rdf:type ontology:Q502895 }
Lake Ontario Lake Erie Lake Huron
Did you mean Lake Huron ?
Lake Huron
[{'concept': 'common name'}, 'place of death', 'Lake Ontario'] [{'concept': 'common name'}, 'place of death', 'Lake Erie'] [{'concept': 'common name'}, 'place of death', 'Lake Huron']
SELECT DISTINCT ?r WHERE { ?r property:place_of_death resource:Lake_Ontario . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Lake Ontario. Could you tell me the answer for that?
(c(Q502895),P20,Q1062)
Q1062
[{'concept': 'Q502895'}, 'P20', 'Q1062']
[{'concept': 'common name'}, 'place of death', 'Lake Ontario']
[]
Q1938966
SYSTEM
William Guy Carr
Q1938966
(c(Q502895),P20,Q1062)
action filter_type
action find_reverse
entity Q1062
relation P20
type Q502895
[ANSWER] has that still waters as place of death
[{'concept': 'Q502895'}, 'P20', 'Q1062']
SELECT DISTINCT ?r WHERE { ?r property:P20 resource:Q1062 . ?r rdf:type ontology:Q502895 }
William Guy Carr
William Guy Carr has that still waters as place of death
William Guy Carr
action filter_type
action find_reverse
entity Lake Ontario
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lake Ontario']
SELECT DISTINCT ?r WHERE { ?r property:place_of_death resource:Lake_Ontario . ?r rdf:type ontology:common_name }
[]