Simple Question (Direct)
Simple Question
Q4222858
P166
Q618779
USER
Which awards were received by Nikolai Lawrentjewitsch Klado ?
(Q4222858,P166,c(Q618779))
action filter_type
action find
entity Q4222858
relation P166
type Q618779
['Q4222858', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q4222858 property:P166 ?k . ?k rdf:type ontology:Q618779 }
Nikolai Lawrentjewitsch Klado
action filter_type
action find
entity Nikolai Lawrentjewitsch Klado
relation award received
type award
['Nikolai Lawrentjewitsch Klado', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Nikolai_Lawrentjewitsch_Klado property:award_received ?k . ?k rdf:type ontology:award }
[]
award
Q15972371 Q18084455 Q18084456
SYSTEM
Order of Saint Anna, 3rd class, Order of Saint Stanislaus, 2nd class, Order of Saint Stanislaus, 3rd class
Q18084455 Q18084456 Q19344818 Q19344746 Q15972371
(Q4222858,P166,c(Q618779))
action filter_type
action find
entity Q4222858
relation P166
type Q618779
[ANSWERS]
['Q4222858', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { resource:Q4222858 property:P166 ?k . ?k rdf:type ontology:Q618779 }
Order of Saint Stanislaus, 2nd class Order of Saint Stanislaus, 3rd class Order of St. Vladimir, 3rd class Order of Saint Stanislaus, 1st class Order of Saint Anna, 3rd class
Order of Saint Anna, 3rd class, Order of Saint Stanislaus, 2nd class and Order of Saint Stanislaus, 3rd class were received by Nikolai Lawrentjewitsch Klado
Order of Saint Anna, 3rd class Order of Saint Stanislaus, 2nd class Order of Saint Stanislaus, 3rd class
action filter_type
action find
entity Nikolai Lawrentjewitsch Klado
relation award received
type award
['Nikolai Lawrentjewitsch Klado', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { resource:Nikolai_Lawrentjewitsch_Klado property:award_received ?k . ?k rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4222858
P106
Q12737077
USER
Which occupation is the profession of Nikolai Lawrentjewitsch Klado ?
(Q4222858,P106,c(Q12737077))
action filter_type
action find
entity Q4222858
relation P106
type Q12737077
['Q4222858', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q4222858 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Nikolai Lawrentjewitsch Klado
action filter_type
action find
entity Nikolai Lawrentjewitsch Klado
relation occupation
type occupation
['Nikolai Lawrentjewitsch Klado', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Nikolai_Lawrentjewitsch_Klado property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q201788
SYSTEM
historian
Q201788
(Q4222858,P106,c(Q12737077))
action filter_type
action find
entity Q4222858
relation P106
type Q12737077
The [ANSWER] is the profession of Nikolai Lawrentjewitsch Klado
['Q4222858', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q4222858 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
historian
The historian is the profession of Nikolai Lawrentjewitsch Klado
historian
action filter_type
action find
entity Nikolai Lawrentjewitsch Klado
relation occupation
type occupation
['Nikolai Lawrentjewitsch Klado', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Nikolai_Lawrentjewitsch_Klado property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15378782
Q12737077
USER
And how about Frank Irving Cooper?
(Q15378782,P106,c(Q12737077))
action filter_type
action find
entity Q15378782
relation P106
type Q12737077
['Q15378782', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15378782 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Frank Irving Cooper
action filter_type
action find
entity Frank Irving Cooper
relation occupation
type occupation
['Frank Irving Cooper', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Frank_Irving_Cooper property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q42973
SYSTEM
architect
Q42973
(Q15378782,P106,c(Q12737077))
action filter_type
action find
entity Q15378782
relation P106
type Q12737077
[ANSWER]
['Q15378782', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15378782 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
architect
architect
action filter_type
action find
entity Frank Irving Cooper
relation occupation
type occupation
['Frank Irving Cooper', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Frank_Irving_Cooper property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42973
P921
Q223393
USER
Which literary genre has that occupation as its principal topic ?
(c(Q223393),P921,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q42973']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q42973 . ?g rdf:type ontology:Q223393 }
architect
action filter_type
action find_reverse
entity architect
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'architect']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:architect . ?g rdf:type ontology:literary_genre }
[]
literary genre
Q23041831
SYSTEM
dictionary of architects in canada
Q23041831
(c(Q223393),P921,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P921
type Q223393
[ANSWER] has that occupation as its principal topic
[{'concept': 'Q223393'}, 'P921', 'Q42973']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q42973 . ?g rdf:type ontology:Q223393 }
dictionary of architects in canada
Dictionary of architects in canada has that occupation as its principal topic
dictionary of architects in canada
action filter_type
action find_reverse
entity architect
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'architect']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:architect . ?g rdf:type ontology:literary_genre }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q12737077 Q15617994
USER
Which people are the patron saint of approximately 33 occupations and administrative territories ?
(c(Q12737077)|c(Q15617994),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 33
[[{'concept': 'Q12737077'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P417 ?s . ?z rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q502895 } UNION { ?z property:P417 ?s . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } . FILTER ( ?v = 33 ) }
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 33
[[{'concept': 'occupation'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:patron_saint ?s . ?z rdf:type ontology:occupation . ?s rdf:type ontology:common_name } UNION { ?z property:patron_saint ?s . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:common_name } } GROUP BY ?s } . FILTER ( ?v = 33 ) }
[]
common name occupation designation for an administrative territorial entity
Q133704 Q43999
SYSTEM
Martin of Tours, James
Q133704 Q43999
(c(Q12737077)|c(Q15617994),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 33
[ANSWERS] are the patron saint of approximately 33 occupations and administrative territories
[[{'concept': 'Q12737077'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P417 ?s . ?z rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q502895 } UNION { ?z property:P417 ?s . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } . FILTER ( ?v = 33 ) }
Martin of Tours James
Martin of Tours and James are the patron saint of approximately 33 occupations and administrative territories
Martin of Tours James
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 33
[[{'concept': 'occupation'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:patron_saint ?s . ?z rdf:type ontology:occupation . ?s rdf:type ontology:common_name } UNION { ?z property:patron_saint ?s . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:common_name } } GROUP BY ?s } . FILTER ( ?v = 33 ) }
[]