Simple Question (Direct)
Simple Question
Q887342
P734
Q82799
USER
Which name is associated with Bo Bergman ?
(Q887342,P734,c(Q82799))
action filter_type
action find
entity Q887342
relation P734
type Q82799
['Q887342', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q887342 property:P734 ?r }
Bo Bergman
action filter_type
action find
entity Bo Bergman
relation family name
type name
['Bo Bergman', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Bo_Bergman property:family_name ?r }
[]
name
Q21489110
SYSTEM
Bergman
Q21489110
(Q887342,P734,c(Q82799))
action filter_type
action find
entity Q887342
relation P734
type Q82799
[ANSWER] is associated with Bo [ANSWER]
['Q887342', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q887342 property:P734 ?r }
Bergman
Bergman is associated with Bo Bergman
Bergman
action filter_type
action find
entity Bo Bergman
relation family name
type name
['Bo Bergman', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Bo_Bergman property:family_name ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q887342
P27
Q15617994
USER
Which administrative territory is Bo Bergman a civilian of ?
(Q887342,P27,c(Q15617994))
action filter_type
action find
entity Q887342
relation P27
type Q15617994
['Q887342', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q887342 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Bo Bergman
action filter_type
action find
entity Bo Bergman
relation country of citizenship
type designation for an administrative territorial entity
['Bo Bergman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Bo_Bergman property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q887342,P27,c(Q15617994))
action filter_type
action find
entity Q887342
relation P27
type Q15617994
[ANSWER] is Bo Bergman a civilian of
['Q887342', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q887342 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Sweden
Sweden is Bo Bergman a civilian of
Sweden
action filter_type
action find
entity Bo Bergman
relation country of citizenship
type designation for an administrative territorial entity
['Bo Bergman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Bo_Bergman property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q887342
P21
Q290
USER
Which sex does Bo Bergman belong to ?
(Q887342,P21,c(Q290))
action filter_type
action find
entity Q887342
relation P21
type Q290
['Q887342', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q887342 property:P21 ?f . ?f rdf:type ontology:Q290 }
Bo Bergman
action filter_type
action find
entity Bo Bergman
relation gender
type sex
['Bo Bergman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Bo_Bergman property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q887342,P21,c(Q290))
action filter_type
action find
entity Q887342
relation P21
type Q290
Bo Bergman belongs to [ANSWER]
['Q887342', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q887342 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Bo Bergman belongs to male
male
action filter_type
action find
entity Bo Bergman
relation gender
type sex
['Bo Bergman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Bo_Bergman property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15444459
Q290
USER
And what about Erich Kleinschmidt?
(Q15444459,P21,c(Q290))
action filter_type
action find
entity Q15444459
relation P21
type Q290
['Q15444459', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q15444459 property:P21 ?b . ?b rdf:type ontology:Q290 }
Erich Kleinschmidt
action filter_type
action find
entity Erich Kleinschmidt
relation gender
type sex
['Erich Kleinschmidt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Erich_Kleinschmidt property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15444459,P21,c(Q290))
action filter_type
action find
entity Q15444459
relation P21
type Q290
[ANSWER]
['Q15444459', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q15444459 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Erich Kleinschmidt
relation gender
type sex
['Erich Kleinschmidt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Erich_Kleinschmidt property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15444459
P512
Q3412758
USER
What degree or diploma was awarded to that person ?
(Q6581097,P512,c(Q3412758))
action filter_type
action find
entity Q15444459
relation P512
type Q3412758
['Q6581097', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?f WHERE { resource:Q15444459 property:P512 ?f . ?f rdf:type ontology:Q3412758 }
Erich Kleinschmidt
action filter_type
action find
entity Erich Kleinschmidt
relation academic degree
type qualification
['male', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?f WHERE { resource:Erich_Kleinschmidt property:academic_degree ?f . ?f rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q6581097,P512,c(Q3412758))
action filter_type
action find
entity Q15444459
relation P512
type Q3412758
The [ANSWER] was awarded to that person
['Q6581097', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?f WHERE { resource:Q15444459 property:P512 ?f . ?f rdf:type ontology:Q3412758 }
doctoral degree
The doctoral degree was awarded to that person
doctoral degree
action filter_type
action find
entity Erich Kleinschmidt
relation academic degree
type qualification
['male', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?f WHERE { resource:Erich_Kleinschmidt property:academic_degree ?f . ?f rdf:type ontology:qualification }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P47
Q15617994 Q1048835
USER
How many administrative territories or political territories are bordered by Sweden ?
(Q34,P47,c(Q15617994)) (Q34,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P47
type Q15617994
action filter_type
action find
entity Q34
relation P47
type Q1048835
['Q34', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { resource:Q34 property:P47 ?j . ?j rdf:type ontology:Q15617994 } UNION { resource:Q34 property:P47 ?j . ?j rdf:type ontology:Q1048835 } }
Sweden
action count
action union
action filter_type
action find
entity Sweden
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation shares border with
type political territorial entity
['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { resource:Sweden property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Sweden property:shares_border_with ?j . ?j rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q33 Q20 Q35
(Q34,P47,c(Q15617994)) (Q34,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P47
type Q15617994
action filter_type
action find
entity Q34
relation P47
type Q1048835
[ANSWER]
['Q34', 'P47', {'concept': 'Q15617994'}] ['Q34', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { resource:Q34 property:P47 ?j . ?j rdf:type ontology:Q15617994 } UNION { resource:Q34 property:P47 ?j . ?j rdf:type ontology:Q1048835 } }
Finland Norway Denmark
3
action count
action union
action filter_type
action find
entity Sweden
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation shares border with
type political territorial entity
['Sweden', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { resource:Sweden property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Sweden property:shares_border_with ?j . ?j rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P710
Q15275719
USER
Which recurring event has Sweden as its participant ?
(c(Q15275719),P710,Q34)
action filter_type
action find_reverse
entity Q34
relation P710
type Q15275719
[{'concept': 'Q15275719'}, 'P710', 'Q34']
SELECT DISTINCT ?m WHERE { ?m property:P710 resource:Q34 . ?m rdf:type ontology:Q15275719 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Sweden']
SELECT DISTINCT ?m WHERE { ?m property:participant resource:Sweden . ?m rdf:type ontology:recurring_event }
[]
recurring event
Q207815
SYSTEM
Eurovision Song Contest 1996
Q207815
(c(Q15275719),P710,Q34)
action filter_type
action find_reverse
entity Q34
relation P710
type Q15275719
[ANSWER] has Sweden as its participant
[{'concept': 'Q15275719'}, 'P710', 'Q34']
SELECT DISTINCT ?m WHERE { ?m property:P710 resource:Q34 . ?m rdf:type ontology:Q15275719 }
Eurovision Song Contest 1996
Eurovision Song Contest 1996 has Sweden as its participant
Eurovision Song Contest 1996
action filter_type
action find_reverse
entity Sweden
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Sweden']
SELECT DISTINCT ?m WHERE { ?m property:participant resource:Sweden . ?m rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207815
P466
Q811979
USER
What was inhabited by that recurring event ?
(c(Q811979),P466,Q207815)
action filter_type
action find_reverse
entity Q207815
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q207815']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q207815 . ?v rdf:type ontology:Q811979 }
Eurovision Song Contest 1996
action filter_type
action find_reverse
entity Eurovision Song Contest 1996
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Eurovision Song Contest 1996']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:Eurovision_Song_Contest_1996 . ?v rdf:type ontology:architectural_structure }
[]
architectural structure
Q1508325
SYSTEM
Oslo Spektrum
Q1508325
(c(Q811979),P466,Q207815)
action filter_type
action find_reverse
entity Q207815
relation P466
type Q811979
[ANSWER] was inhabited by that recurring event
[{'concept': 'Q811979'}, 'P466', 'Q207815']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q207815 . ?v rdf:type ontology:Q811979 }
Oslo Spektrum
Oslo Spektrum was inhabited by that recurring event
Oslo Spektrum
action filter_type
action find_reverse
entity Eurovision Song Contest 1996
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Eurovision Song Contest 1996']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:Eurovision_Song_Contest_1996 . ?v rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q486972 Q56061
USER
How many administrative territories have atleast 3 human settlements and administrative territories as their capital ?
(c(Q486972)|c(Q56061),P1376,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
value 3
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?f WHERE { { ?v property:P1376 ?f . ?v rdf:type ontology:Q486972 . ?f rdf:type ontology:Q15617994 } UNION { ?v property:P1376 ?f . ?f rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q56061 } } GROUP BY ?f } . FILTER ( ?s >= 3 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
value 3
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?f WHERE { { ?v property:capital_of ?f . ?v rdf:type ontology:human_settlement . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:administrative_territorial_entity } } GROUP BY ?f } . FILTER ( ?s >= 3 ) }
[]
designation for an administrative territorial entity human settlement administrative territorial entity
SYSTEM
2
Q12536 Q160307
(c(Q486972)|c(Q56061),P1376,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
value 3
[ANSWER]
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?f WHERE { { ?v property:P1376 ?f . ?v rdf:type ontology:Q486972 . ?f rdf:type ontology:Q15617994 } UNION { ?v property:P1376 ?f . ?f rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q56061 } } GROUP BY ?f } . FILTER ( ?s >= 3 ) }
Abbasid caliphate Fatimid caliphate
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
value 3
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?f WHERE { { ?v property:capital_of ?f . ?v rdf:type ontology:human_settlement . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:administrative_territorial_entity } } GROUP BY ?f } . FILTER ( ?s >= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q207815
P1344
Q502895
USER
Who took part in Eurovision Song Contest 1996 ?
(c(Q502895),P1344,Q207815)
action filter_type
action find_reverse
entity Q207815
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q207815']
SELECT DISTINCT ?n WHERE { ?n property:P1344 resource:Q207815 . ?n rdf:type ontology:Q502895 }
Eurovision Song Contest 1996
action filter_type
action find_reverse
entity Eurovision Song Contest 1996
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Eurovision Song Contest 1996']
SELECT DISTINCT ?n WHERE { ?n property:participant_of resource:Eurovision_Song_Contest_1996 . ?n rdf:type ontology:common_name }
[]
common name
Q256856 Q677717 Q25935406
SYSTEM
Elisabeth Andreassen, Constantinos Christoforou, Juraj Burian
Q269675 Q601291 Q4363178 Q234553 Q460571 Q519200 Q256856 Q271578 Q463897 Q284217 Q387797 Q452701 Q293102 Q1938124 Q260933 Q25935406 Q451997 Q466528 Q443615 Q677717 Q115899 Q115260 Q3050399 Q3193118 Q1922785 Q1375381 Q436642 Q10695
(c(Q502895),P1344,Q207815)
action filter_type
action find_reverse
entity Q207815
relation P1344
type Q502895
[ANSWERS] took part in Eurovision Song Contest 1996
[{'concept': 'Q502895'}, 'P1344', 'Q207815']
SELECT DISTINCT ?n WHERE { ?n property:P1344 resource:Q207815 . ?n rdf:type ontology:Q502895 }
Lúcia Moniz Antonio Carbonell Maria Rådsten Eimear Quinn Marianna Efstratiou Marcel Palonder Elisabeth Andreassen Şebnem Paker Kaliopi Maja Blagdan Maarja-Liis Ilus Amila Glamočak Kasia Kowalska Miriam Christine Gina G Juraj Burian Regina Jasmine Monica Anghel Constantinos Christoforou Kathy Leander Leon Elaine Morgan Karen Matheson Nanne Grönvall Ivo Linna Lisa del Bo Dan Ar Braz
Elisabeth Andreassen, Constantinos Christoforou and Juraj Burian took part in Eurovision Song Contest 1996
Elisabeth Andreassen Constantinos Christoforou Juraj Burian
action filter_type
action find_reverse
entity Eurovision Song Contest 1996
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Eurovision Song Contest 1996']
SELECT DISTINCT ?n WHERE { ?n property:participant_of resource:Eurovision_Song_Contest_1996 . ?n rdf:type ontology:common_name }
[]