Simple Question (Direct)
Simple Question
Q4159081
P166
Q618779
USER
What were won by Boris Deryabin ?
(Q4159081,P166,c(Q618779))
action filter_type
action find
entity Q4159081
relation P166
type Q618779
['Q4159081', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q4159081 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Boris Deryabin
action filter_type
action find
entity Boris Deryabin
relation award received
type award
['Boris Deryabin', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Boris_Deryabin property:award_received ?y . ?y rdf:type ontology:award }
[]
award
Q208167 Q185493
SYSTEM
Hero of Socialist Labour, Order of Lenin
Q208167 Q185493
(Q4159081,P166,c(Q618779))
action filter_type
action find
entity Q4159081
relation P166
type Q618779
S [ANSWERS] were won by Boris Deryabin
['Q4159081', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q4159081 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Hero of Socialist Labour Order of Lenin
S Hero of Socialist Labour and Order of Lenin were won by Boris Deryabin
Hero of Socialist Labour Order of Lenin
action filter_type
action find
entity Boris Deryabin
relation award received
type award
['Boris Deryabin', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Boris_Deryabin property:award_received ?y . ?y rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4159081
P20
Q56061
USER
Where did that person die ?
(Q208167,P20,c(Q56061)) (Q185493,P20,c(Q56061))
action filter_type
action find
entity Q4159081
relation P20
type Q56061
['Q208167', 'P20', {'concept': 'Q56061'}] ['Q185493', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q4159081 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Boris Deryabin
action filter_type
action find
entity Boris Deryabin
relation place of death
type administrative territorial entity
['Hero of Socialist Labour', 'place of death', {'concept': 'administrative territorial entity'}] ['Order of Lenin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Boris_Deryabin property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q102307
SYSTEM
Vyazma
Q102307
(Q208167,P20,c(Q56061)) (Q185493,P20,c(Q56061))
action filter_type
action find
entity Q4159081
relation P20
type Q56061
That person died in [ANSWER]
['Q208167', 'P20', {'concept': 'Q56061'}] ['Q185493', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q4159081 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Vyazma
That person died in Vyazma
Vyazma
action filter_type
action find
entity Boris Deryabin
relation place of death
type administrative territorial entity
['Hero of Socialist Labour', 'place of death', {'concept': 'administrative territorial entity'}] ['Order of Lenin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Boris_Deryabin property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1280234 Q4159081
P27
Q15617994
USER
Which administrative territories are Boris Deryabin or Murphy Pakiam an inhabitant of ?
OR((Q4159081,P27,c(Q15617994)), (Q1280234,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4159081
relation P27
action find
entity Q1280234
relation P27
type Q15617994
{'OR': [['Q4159081', 'P27', {'concept': 'Q15617994'}], ['Q1280234', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4159081 property:P27 ?m } UNION { resource:Q1280234 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Murphy Pakiam Boris Deryabin
action filter_type
action union
action find
entity Boris Deryabin
relation country of citizenship
action find
entity Murphy Pakiam
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Boris Deryabin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Murphy Pakiam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Boris_Deryabin property:country_of_citizenship ?m } UNION { resource:Murphy_Pakiam property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833 Q159
SYSTEM
Malaysia, Russia
Q833 Q159
OR((Q4159081,P27,c(Q15617994)), (Q1280234,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4159081
relation P27
action find
entity Q1280234
relation P27
type Q15617994
[ANSWERS] are Boris Deryabin or Murphy Pakiam an inhabitant of
{'OR': [['Q4159081', 'P27', {'concept': 'Q15617994'}], ['Q1280234', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4159081 property:P27 ?m } UNION { resource:Q1280234 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Malaysia Russia
Malaysia and Russia are Boris Deryabin or Murphy Pakiam an inhabitant of
Malaysia Russia
action filter_type
action union
action find
entity Boris Deryabin
relation country of citizenship
action find
entity Murphy Pakiam
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Boris Deryabin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Murphy Pakiam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Boris_Deryabin property:country_of_citizenship ?m } UNION { resource:Murphy_Pakiam property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q13476
P530
Q1048835
USER
Do Fontanilles have diplomatic relations with those administrative territories ?
(Q13476,P530,Q833) (Q13476,P530,Q159)
action is_in
entity prev_answer
action find
entity Q13476
relation P530
['Q13476', 'P530', 'Q833'] ['Q13476', 'P530', 'Q159']
ASK WHERE { resource:Q13476 property:P530 ?o . VALUES ( ?o ) { ( resource:Q833 ) ( resource:Q159 ) } }
Fontanilles
action is_in
entity prev_answer
action find
entity Fontanilles
relation diplomatic relation
['Fontanilles', 'diplomatic relation', 'Malaysia'] ['Fontanilles', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Fontanilles property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Malaysia ) ( resource:Russia ) } }
[]
political territorial entity
SYSTEM
NO
(Q13476,P530,Q833) (Q13476,P530,Q159)
action is_in
entity prev_answer
action find
entity Q13476
relation P530
[ANSWER]
['Q13476', 'P530', 'Q833'] ['Q13476', 'P530', 'Q159']
ASK WHERE { resource:Q13476 property:P530 ?o . VALUES ( ?o ) { ( resource:Q833 ) ( resource:Q159 ) } }
No
action is_in
entity prev_answer
action find
entity Fontanilles
relation diplomatic relation
['Fontanilles', 'diplomatic relation', 'Malaysia'] ['Fontanilles', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Fontanilles property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Malaysia ) ( resource:Russia ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q185493 Q928447
P138
Q502895
USER
Is Severino Varela the etymology of Order of Lenin ?
(Q185493,P138,Q928447)
action is_in
entity Q928447
action find
entity Q185493
relation P138
['Q185493', 'P138', 'Q928447']
ASK WHERE { resource:Q185493 property:P138 resource:Q928447 }
Order of Lenin Severino Varela
action is_in
entity Severino Varela
action find
entity Order of Lenin
relation named after
['Order of Lenin', 'named after', 'Severino Varela']
ASK WHERE { resource:Order_of_Lenin property:named_after resource:Severino_Varela }
[]
common name
SYSTEM
NO
(Q185493,P138,Q928447)
action is_in
entity Q928447
action find
entity Q185493
relation P138
[ANSWER]
['Q185493', 'P138', 'Q928447']
ASK WHERE { resource:Q185493 property:P138 resource:Q928447 }
No
action is_in
entity Severino Varela
action find
entity Order of Lenin
relation named after
['Order of Lenin', 'named after', 'Severino Varela']
ASK WHERE { resource:Order_of_Lenin property:named_after resource:Severino_Varela }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4159081 Q953796 Q83123
P27
Q15617994
USER
Is Boris Deryabin a civilian of Zalaba and Lobbach ?
(Q4159081,P27,Q953796) (Q4159081,P27,Q83123)
action is_in
entity Q4159081
action intersection
action find_reverse
entity Q953796
relation P27
action find_reverse
entity Q83123
relation P27
['Q4159081', 'P27', 'Q953796'] ['Q4159081', 'P27', 'Q83123']
ASK WHERE { resource:Q4159081 property:P27 resource:Q953796 . resource:Q4159081 property:P27 resource:Q83123 }
Boris Deryabin Zalaba Lobbach
action is_in
entity Boris Deryabin
action intersection
action find_reverse
entity Zalaba
relation country of citizenship
action find_reverse
entity Lobbach
relation country of citizenship
['Boris Deryabin', 'country of citizenship', 'Zalaba'] ['Boris Deryabin', 'country of citizenship', 'Lobbach']
ASK WHERE { resource:Boris_Deryabin property:country_of_citizenship resource:Zalaba . resource:Boris_Deryabin property:country_of_citizenship resource:Lobbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4159081,P27,Q953796) (Q4159081,P27,Q83123)
action is_in
entity Q4159081
action intersection
action find_reverse
entity Q953796
relation P27
action find_reverse
entity Q83123
relation P27
[ANSWER]
['Q4159081', 'P27', 'Q953796'] ['Q4159081', 'P27', 'Q83123']
ASK WHERE { resource:Q4159081 property:P27 resource:Q953796 . resource:Q4159081 property:P27 resource:Q83123 }
No
action is_in
entity Boris Deryabin
action intersection
action find_reverse
entity Zalaba
relation country of citizenship
action find_reverse
entity Lobbach
relation country of citizenship
['Boris Deryabin', 'country of citizenship', 'Zalaba'] ['Boris Deryabin', 'country of citizenship', 'Lobbach']
ASK WHERE { resource:Boris_Deryabin property:country_of_citizenship resource:Zalaba . resource:Boris_Deryabin property:country_of_citizenship resource:Lobbach }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q28470
P1027
Q56061 Q192350 Q618779
USER
How many awards are granted by more number of administrative territories or ministries than Laurence Olivier Award ?
(c(Q618779),P1027,c(Q56061)|c(Q192350))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q56061
action find_tuple_counts
relation P1027
type Q618779
type Q192350
action count
action filter_multi_types
action find
entity Q28470
relation P1027
type Q56061
type Q192350
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q56061'}, {'concept': 'Q192350'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?l ) WHERE { { ?y property:P1027 ?d . ?d rdf:type ontology:Q56061 . ?y rdf:type ontology:Q618779 } UNION { ?y property:P1027 ?d . ?d rdf:type ontology:Q192350 . ?y rdf:type ontology:Q618779 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q28470 property:P1027 ?z . { { ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q192350 } } } } . FILTER ( ?l > ?i ) }
Laurence Olivier Award
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type administrative territorial entity
action find_tuple_counts
relation conferred by
type award
type ministry
action count
action filter_multi_types
action find
entity Laurence Olivier Award
relation conferred by
type administrative territorial entity
type ministry
[{'concept': 'award'}, 'conferred by', [{'concept': 'administrative territorial entity'}, {'concept': 'ministry'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?l ) WHERE { { ?y property:conferred_by ?d . ?d rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:award } UNION { ?y property:conferred_by ?d . ?d rdf:type ontology:ministry . ?y rdf:type ontology:award } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Laurence_Olivier_Award property:conferred_by ?z . { { ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:ministry } } } } . FILTER ( ?l > ?i ) }
[]
administrative territorial entity ministry award
SYSTEM
15
Q11897474 Q1450895 Q81466 Q519214 Q1342797 Q2543346 Q2577390 Q1299116 Q1702885 Q2883115 Q18663471 Q11796431 Q473527 Q1515504 Q1145980
(c(Q618779),P1027,c(Q56061)|c(Q192350))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q56061
action find_tuple_counts
relation P1027
type Q618779
type Q192350
action count
action filter_multi_types
action find
entity Q28470
relation P1027
type Q56061
type Q192350
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q56061'}, {'concept': 'Q192350'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?l ) WHERE { { ?y property:P1027 ?d . ?d rdf:type ontology:Q56061 . ?y rdf:type ontology:Q618779 } UNION { ?y property:P1027 ?d . ?d rdf:type ontology:Q192350 . ?y rdf:type ontology:Q618779 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q28470 property:P1027 ?z . { { ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q192350 } } } } . FILTER ( ?l > ?i ) }
State Award for Public Information Kainz Medal Miguel de Cervantes Prize Nelly Sachs Prize Walter Bauer Award Walter-Hasenclever-Literaturpreis Prose prize of the City of Amsterdam Manfred Wörner Medal Medal for Merit to Culture Premio Nacional de Poesía Trondheim Municipality Culture Award Bene Merito Medal Order of Merit of Berlin Eysoldt-Ring National Artist of Thailand
15
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type administrative territorial entity
action find_tuple_counts
relation conferred by
type award
type ministry
action count
action filter_multi_types
action find
entity Laurence Olivier Award
relation conferred by
type administrative territorial entity
type ministry
[{'concept': 'award'}, 'conferred by', [{'concept': 'administrative territorial entity'}, {'concept': 'ministry'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?l ) WHERE { { ?y property:conferred_by ?d . ?d rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:award } UNION { ?y property:conferred_by ?d . ?d rdf:type ontology:ministry . ?y rdf:type ontology:award } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Laurence_Olivier_Award property:conferred_by ?z . { { ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:ministry } } } } . FILTER ( ?l > ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4159081 Q359843
P20
Q56061
USER
How many administrative territories did the expiration of Boris Deryabin or Johann Esch and Heinrich Voes occur ?
(Q4159081,P20,c(Q56061)) (Q359843,P20,c(Q56061))
action count
action union
action filter_type
action find
entity Q4159081
relation P20
type Q56061
action filter_type
action find
entity Q359843
relation P20
type Q56061
['Q4159081', 'P20', {'concept': 'Q56061'}] ['Q359843', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { resource:Q359843 property:P20 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q4159081 property:P20 ?h . ?h rdf:type ontology:Q56061 } }
Boris Deryabin Johann Esch and Heinrich Voes
action count
action union
action filter_type
action find
entity Boris Deryabin
relation place of death
type administrative territorial entity
action filter_type
action find
entity Johann Esch and Heinrich Voes
relation place of death
type administrative territorial entity
['Boris Deryabin', 'place of death', {'concept': 'administrative territorial entity'}] ['Johann Esch and Heinrich Voes', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { resource:Johann_Esch_and_Heinrich_Voes property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:Boris_Deryabin property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q102307 Q239
(Q4159081,P20,c(Q56061)) (Q359843,P20,c(Q56061))
action count
action union
action filter_type
action find
entity Q4159081
relation P20
type Q56061
action filter_type
action find
entity Q359843
relation P20
type Q56061
[ANSWER]
['Q4159081', 'P20', {'concept': 'Q56061'}] ['Q359843', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { resource:Q359843 property:P20 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q4159081 property:P20 ?h . ?h rdf:type ontology:Q56061 } }
Vyazma Brussels
2
action count
action union
action filter_type
action find
entity Boris Deryabin
relation place of death
type administrative territorial entity
action filter_type
action find
entity Johann Esch and Heinrich Voes
relation place of death
type administrative territorial entity
['Boris Deryabin', 'place of death', {'concept': 'administrative territorial entity'}] ['Johann Esch and Heinrich Voes', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { resource:Johann_Esch_and_Heinrich_Voes property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:Boris_Deryabin property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4159081
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q4159081
relation P21
type Q290
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q4159081 property:P21 ?g }
Boris Deryabin
action filter_type
action find
entity Boris Deryabin
relation gender
type sex
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Boris_Deryabin property:gender ?g }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q4159081
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q4159081 property:P21 ?g }
male
That person has a male
male
action filter_type
action find
entity Boris Deryabin
relation gender
type sex
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Boris_Deryabin property:gender ?g }
[]