Simple Question (Direct)
Simple Question
Q5640955
P19
Q56061
USER
Where was Hal Weafer born ?
(Q5640955,P19,c(Q56061))
action filter_type
action find
entity Q5640955
relation P19
type Q56061
['Q5640955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q5640955 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Hal Weafer
action filter_type
action find
entity Hal Weafer
relation place of birth
type administrative territorial entity
['Hal Weafer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hal_Weafer property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q54174
SYSTEM
Woburn
Q54174
(Q5640955,P19,c(Q56061))
action filter_type
action find
entity Q5640955
relation P19
type Q56061
Hal Weafer was born in [ANSWER]
['Q5640955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q5640955 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Woburn
Hal Weafer was born in Woburn
Woburn
action filter_type
action find
entity Hal Weafer
relation place of birth
type administrative territorial entity
['Hal Weafer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hal_Weafer property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5640955
P106
Q151885
USER
What is the profession of Hal Weafer ?
(Q5640955,P106,c(Q151885))
action filter_type
action find
entity Q5640955
relation P106
type Q151885
['Q5640955', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q5640955 property:P106 ?z . ?z rdf:type ontology:Q151885 }
Hal Weafer
action filter_type
action find
entity Hal Weafer
relation occupation
type concept
['Hal Weafer', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Hal_Weafer property:occupation ?z . ?z rdf:type ontology:concept }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q5640955,P106,c(Q151885))
action filter_type
action find
entity Q5640955
relation P106
type Q151885
The profession of Hal Weafer is a [ANSWER]
['Q5640955', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q5640955 property:P106 ?z . ?z rdf:type ontology:Q151885 }
baseball player
The profession of Hal Weafer is a baseball player
baseball player
action filter_type
action find
entity Hal Weafer
relation occupation
type concept
['Hal Weafer', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Hal_Weafer property:occupation ?z . ?z rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1685378
Q151885
USER
And what about Jean Blaton?
(Q1685378,P106,c(Q151885))
action filter_type
action find
entity Q1685378
relation P106
type Q151885
['Q1685378', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { resource:Q1685378 property:P106 ?y . ?y rdf:type ontology:Q151885 }
Jean Blaton
action filter_type
action find
entity Jean Blaton
relation occupation
type concept
['Jean Blaton', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { resource:Jean_Blaton property:occupation ?y . ?y rdf:type ontology:concept }
[]
concept
Q855091
SYSTEM
guitarist
Q855091
(Q1685378,P106,c(Q151885))
action filter_type
action find
entity Q1685378
relation P106
type Q151885
[ANSWER]
['Q1685378', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { resource:Q1685378 property:P106 ?y . ?y rdf:type ontology:Q151885 }
guitarist
guitarist
action filter_type
action find
entity Jean Blaton
relation occupation
type concept
['Jean Blaton', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { resource:Jean_Blaton property:occupation ?y . ?y rdf:type ontology:concept }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q151885 Q21114848
USER
Which concepts do greater number of magazine genres belong to than that concept ?
(c(Q21114848),P101,c(Q151885))
action greater
action find_reverse_tuple_counts
relation P101
type Q151885
type Q21114848
action count
action filter_type
action find
entity Q855091
relation P101
type Q151885
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P101 ?z . ?z rdf:type ontology:Q151885 . ?g rdf:type ontology:Q21114848 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { resource:Q855091 property:P101 ?b . ?b rdf:type ontology:Q151885 } } . FILTER ( ?m > ?n ) }
action greater
action find_reverse_tuple_counts
relation field of work
type concept
type magazine genre
action count
action filter_type
action find
entity guitarist
relation field of work
type concept
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:field_of_work ?z . ?z rdf:type ontology:concept . ?g rdf:type ontology:magazine_genre } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { resource:guitarist property:field_of_work ?b . ?b rdf:type ontology:concept } } . FILTER ( ?m > ?n ) }
[]
concept magazine genre
Q50637 Q1516975 Q309252
SYSTEM
art history, maritime history, physical fitness
Q50637 Q1516975 Q309252
(c(Q21114848),P101,c(Q151885))
action greater
action find_reverse_tuple_counts
relation P101
type Q151885
type Q21114848
action count
action filter_type
action find
entity Q855091
relation P101
type Q151885
Greater number of magazine genres belong to the [ANSWERS] than that concept
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P101 ?z . ?z rdf:type ontology:Q151885 . ?g rdf:type ontology:Q21114848 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { resource:Q855091 property:P101 ?b . ?b rdf:type ontology:Q151885 } } . FILTER ( ?m > ?n ) }
art history maritime history physical fitness
Greater number of magazine genres belong to the art history, maritime history and physical fitness than that concept
art history maritime history physical fitness
action greater
action find_reverse_tuple_counts
relation field of work
type concept
type magazine genre
action count
action filter_type
action find
entity guitarist
relation field of work
type concept
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:field_of_work ?z . ?z rdf:type ontology:concept . ?g rdf:type ontology:magazine_genre } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { resource:guitarist property:field_of_work ?b . ?b rdf:type ontology:concept } } . FILTER ( ?m > ?n ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P101
Q151885 Q21114848
USER
Which concepts are the field of work of less number of magazine genres than that concept ?
(c(Q21114848),P101,c(Q151885))
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 }
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept }
[]
concept magazine genre
Comparative|More/Less|Single entity type|Clarification
Q1516975
SYSTEM
Did you mean maritime history ?
(c(Q21114848),P101,c(Q151885))
[ANSWER]
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 }
Did you mean maritime history ?
maritime history
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q21114848),P101,c(Q151885))
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
[]
Q4964182 Q131222 Q935586
SYSTEM
philosopher, information theory, Liturgical music
Q132438 Q935586 Q26384 Q3281534 Q1080208 Q2474068 Q177571 Q5127848 Q9730 Q43343 Q212944 Q177923 Q333018 Q131476 Q4204600 Q9778 Q826745 Q5465488 Q6661 Q37073 Q39072 Q674684 Q3014296 Q83270 Q612024 Q847526 Q38848 Q214917 Q860918 Q126236 Q131222 Q212024 Q1198874 Q373342 Q203549 Q908604 Q2389651 Q181043 Q4056436 Q4964182 Q4290 Q186075 Q192781 Q903820 Q205560 Q467 Q1476215 Q83440 Q855091 Q2066131 Q454 Q39680 Q15253558 Q622512 Q10294 Q1065742 Q858517 Q1195695 Q135637 Q8341 Q792542 Q8361 Q1336170 Q396077 Q482980 Q6501221 Q11401 Q3242115
(c(Q21114848),P101,c(Q151885))
[ANSWERS] are the field of work of less number of magazine genres than that concept
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 }
black metal Liturgical music do it yourself modern history production theory cosmetology decision theory class classical music contemporary folk music klezmer auction Common descent graph theory History of Ancient Rome electronic music humanitarian aid food history French cuisine pop music microeconomics Sevdalinka motorcycle racer hard rock contemporary classical music queueing theory heavy metal music playwright Esperantist conquistador information theory Negro spiritual operator theory popular music scientific management social history children's music dissident Bard philosopher investing contemporary history military history field theory trip hop woman human rights activist country music guitarist sportsperson peace macroeconomics activist Spanish cuisine poverty religious music cultural history intellectual history chiptune jazz axiomatic system Baroque music Ramsey theory agrarian history author control theory hip hop revolutionary
Philosopher, information theory and Liturgical music are the field of work of less number of magazine genres than that concept
philosopher information theory Liturgical music
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4964182 Q131222 Q935586
P101
Q502895
USER
Who works in the domain of philosopher, information theory and Liturgical music ?
(c(Q502895),P101,Q4964182) (c(Q502895),P101,Q131222) (c(Q502895),P101,Q935586)
action union
action filter_type
action find_reverse
entity Q4964182
relation P101
type Q502895
action filter_type
action find_reverse
entity Q131222
relation P101
type Q502895
action filter_type
action find_reverse
entity Q935586
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q4964182'] [{'concept': 'Q502895'}, 'P101', 'Q131222'] [{'concept': 'Q502895'}, 'P101', 'Q935586']
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:Q502895 . ?e property:P101 resource:Q4964182 } UNION { ?e property:P101 resource:Q131222 . ?e rdf:type ontology:Q502895 } }
philosopher information theory Liturgical music
action union
action filter_type
action find_reverse
entity philosopher
relation field of work
type common name
action filter_type
action find_reverse
entity information theory
relation field of work
type common name
action filter_type
action find_reverse
entity Liturgical music
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'philosopher'] [{'concept': 'common name'}, 'field of work', 'information theory'] [{'concept': 'common name'}, 'field of work', 'Liturgical music']
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:common_name . ?e property:field_of_work resource:philosopher } UNION { ?e property:field_of_work resource:information_theory . ?e rdf:type ontology:common_name } }
[]
common name
Q439081 Q316022 Q18359073
SYSTEM
Francesco Algarotti, Harry Nyquist, Boris Feoktistov
Q439081 Q316022 Q18359073
(c(Q502895),P101,Q4964182) (c(Q502895),P101,Q131222) (c(Q502895),P101,Q935586)
action union
action filter_type
action find_reverse
entity Q4964182
relation P101
type Q502895
action filter_type
action find_reverse
entity Q131222
relation P101
type Q502895
action filter_type
action find_reverse
entity Q935586
relation P101
type Q502895
[ANSWERS] work in the domain of philosopher, information theory and Liturgical music
[{'concept': 'Q502895'}, 'P101', 'Q4964182'] [{'concept': 'Q502895'}, 'P101', 'Q131222'] [{'concept': 'Q502895'}, 'P101', 'Q935586']
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:Q502895 . ?e property:P101 resource:Q4964182 } UNION { ?e property:P101 resource:Q131222 . ?e rdf:type ontology:Q502895 } }
Francesco Algarotti Harry Nyquist Boris Feoktistov
Francesco Algarotti, Harry Nyquist and Boris Feoktistov work in the domain of philosopher, information theory and Liturgical music
Francesco Algarotti Harry Nyquist Boris Feoktistov
action union
action filter_type
action find_reverse
entity philosopher
relation field of work
type common name
action filter_type
action find_reverse
entity information theory
relation field of work
type common name
action filter_type
action find_reverse
entity Liturgical music
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'philosopher'] [{'concept': 'common name'}, 'field of work', 'information theory'] [{'concept': 'common name'}, 'field of work', 'Liturgical music']
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:common_name . ?e property:field_of_work resource:philosopher } UNION { ?e property:field_of_work resource:information_theory . ?e rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q316022
P138
Q2684591
USER
Which statement has that person as its namesake ?
(c(Q2684591),P138,Q316022)
action filter_type
action find_reverse
entity Q316022
relation P138
type Q2684591
[{'concept': 'Q2684591'}, 'P138', 'Q316022']
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q316022 . ?z rdf:type ontology:Q2684591 }
Harry Nyquist
action filter_type
action find_reverse
entity Harry Nyquist
relation named after
type statement
[{'concept': 'statement'}, 'named after', 'Harry Nyquist']
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:Harry_Nyquist . ?z rdf:type ontology:statement }
[]
statement
Clarification for simple ques.
Q316022
SYSTEM
Did you mean Harry Nyquist ?
Q439081 Q316022 Q18359073
(c(Q2684591),P138,Q439081) (c(Q2684591),P138,Q316022) (c(Q2684591),P138,Q18359073)
[ANSWER]
[{'concept': 'Q2684591'}, 'P138', 'Q439081'] [{'concept': 'Q2684591'}, 'P138', 'Q316022'] [{'concept': 'Q2684591'}, 'P138', 'Q18359073']
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q316022 . ?z rdf:type ontology:Q2684591 }
Francesco Algarotti Harry Nyquist Boris Feoktistov
Did you mean Harry Nyquist ?
Harry Nyquist
[{'concept': 'statement'}, 'named after', 'Francesco Algarotti'] [{'concept': 'statement'}, 'named after', 'Harry Nyquist'] [{'concept': 'statement'}, 'named after', 'Boris Feoktistov']
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:Harry_Nyquist . ?z rdf:type ontology:statement }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2684591),P138,Q316022)
[{'concept': 'Q2684591'}, 'P138', 'Q316022']
[{'concept': 'statement'}, 'named after', 'Harry Nyquist']
[]
Q679800
SYSTEM
Nyquist–Shannon sampling theorem
Q679800
(c(Q2684591),P138,Q316022)
action filter_type
action find_reverse
entity Q316022
relation P138
type Q2684591
[ANSWER] has that person as its namesake
[{'concept': 'Q2684591'}, 'P138', 'Q316022']
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q316022 . ?z rdf:type ontology:Q2684591 }
Nyquist–Shannon sampling theorem
Nyquist–Shannon sampling theorem has that person as its namesake
Nyquist–Shannon sampling theorem
action filter_type
action find_reverse
entity Harry Nyquist
relation named after
type statement
[{'concept': 'statement'}, 'named after', 'Harry Nyquist']
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:Harry_Nyquist . ?z rdf:type ontology:statement }
[]