Simple Question (Direct)
Simple Question
Q1311107
P734
Q82799
USER
Who has the surname Horst-Peter Kretschmer ?
(Q1311107,P734,c(Q82799))
action filter_type
action find
entity Q1311107
relation P734
type Q82799
['Q1311107', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q1311107 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Horst-Peter Kretschmer
action filter_type
action find
entity Horst-Peter Kretschmer
relation family name
type name
['Horst-Peter Kretschmer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Horst-Peter_Kretschmer property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q127578
SYSTEM
Kretschmer
Q127578
(Q1311107,P734,c(Q82799))
action filter_type
action find
entity Q1311107
relation P734
type Q82799
[ANSWER] has the surname Horst-Peter [ANSWER]
['Q1311107', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q1311107 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Kretschmer
Kretschmer has the surname Horst-Peter Kretschmer
Kretschmer
action filter_type
action find
entity Horst-Peter Kretschmer
relation family name
type name
['Horst-Peter Kretschmer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Horst-Peter_Kretschmer property:family_name ?q . ?q rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1311107
P1344
Q15900616
USER
Which event sequences did Horst-Peter Kretschmer participate in ?
(Q1311107,P1344,c(Q15900616))
action filter_type
action find
entity Q1311107
relation P1344
type Q15900616
['Q1311107', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?q WHERE { resource:Q1311107 property:P1344 ?q . ?q rdf:type ontology:Q15900616 }
Horst-Peter Kretschmer
action filter_type
action find
entity Horst-Peter Kretschmer
relation participant of
type event sequence
['Horst-Peter Kretschmer', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?q WHERE { resource:Horst-Peter_Kretschmer property:participant_of ?q . ?q rdf:type ontology:event_sequence }
[]
event sequence
Q9652 Q9658
SYSTEM
1980 Winter Olympics, 1988 Winter Olympics
Q9652 Q9658
(Q1311107,P1344,c(Q15900616))
action filter_type
action find
entity Q1311107
relation P1344
type Q15900616
Horst-Peter Kretschmer participated in [ANSWERS]
['Q1311107', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?q WHERE { resource:Q1311107 property:P1344 ?q . ?q rdf:type ontology:Q15900616 }
1980 Winter Olympics 1988 Winter Olympics
Horst-Peter Kretschmer participated in 1980 Winter Olympics and 1988 Winter Olympics
1980 Winter Olympics 1988 Winter Olympics
action filter_type
action find
entity Horst-Peter Kretschmer
relation participant of
type event sequence
['Horst-Peter Kretschmer', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?q WHERE { resource:Horst-Peter_Kretschmer property:participant_of ?q . ?q rdf:type ontology:event_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1311107
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q9652,P106,c(Q12737077)) (Q9658,P106,c(Q12737077))
action filter_type
action find
entity Q1311107
relation P106
type Q12737077
['Q9652', 'P106', {'concept': 'Q12737077'}] ['Q9658', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q1311107 property:P106 ?n }
Horst-Peter Kretschmer
action filter_type
action find
entity Horst-Peter Kretschmer
relation occupation
type occupation
['1980 Winter Olympics', 'occupation', {'concept': 'occupation'}] ['1988 Winter Olympics', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Horst-Peter_Kretschmer property:occupation ?n }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q9652,P106,c(Q12737077)) (Q9658,P106,c(Q12737077))
action filter_type
action find
entity Q1311107
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q9652', 'P106', {'concept': 'Q12737077'}] ['Q9658', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q1311107 property:P106 ?n }
ice hockey player
The ice hockey player is the profession of that person
ice hockey player
action filter_type
action find
entity Horst-Peter Kretschmer
relation occupation
type occupation
['1980 Winter Olympics', 'occupation', {'concept': 'occupation'}] ['1988 Winter Olympics', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Horst-Peter_Kretschmer property:occupation ?n }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q340169 Q3516658
USER
Which occupations are expressed in atleast 1 medias or heraldic symbols ?
(c(Q340169)|c(Q3516658),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 1
[[{'concept': 'Q340169'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?y ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q340169 ) ( ontology:Q3516658 ) } } GROUP BY ?q } . FILTER ( ?y >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 1
[[{'concept': 'media'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?y ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:media ) ( ontology:heraldic_symbol ) } } GROUP BY ?q } . FILTER ( ?y >= 1 ) }
[]
occupation media heraldic symbol
Q186360 Q4991371 Q5716684
SYSTEM
nurse, soldier, dancer
Q177220 Q2995983 Q1250916 Q45199 Q186360 Q733786 Q4991371 Q273108 Q589897 Q20489032 Q5716684 Q18575684 Q639669 Q384593 Q1630100
(c(Q340169)|c(Q3516658),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 1
[ANSWERS] are expressed in atleast 1 medias or heraldic symbols
[[{'concept': 'Q340169'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?y ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q340169 ) ( ontology:Q3516658 ) } } GROUP BY ?q } . FILTER ( ?y >= 1 ) }
singer double-bassist warrior sailor nurse monk soldier condottiero mahout salt pan worker dancer embroiderer musician police officer art model
Nurse, soldier and dancer are expressed in atleast 1 medias or heraldic symbols
nurse soldier dancer
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 1
[[{'concept': 'media'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?y ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:media ) ( ontology:heraldic_symbol ) } } GROUP BY ?q } . FILTER ( ?y >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q4991371
P106
Q12737077 Q95074
USER
How many occupations or fictional characters have soldier as his/her means of employment ?
(c(Q12737077),P106,Q4991371) (c(Q95074),P106,Q4991371)
action count
action union
action filter_type
action find_reverse
entity Q4991371
relation P106
type Q12737077
action filter_type
action find_reverse
entity Q4991371
relation P106
type Q95074
[{'concept': 'Q12737077'}, 'P106', 'Q4991371'] [{'concept': 'Q95074'}, 'P106', 'Q4991371']
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g rdf:type ?y . VALUES ( ?y ) { ( ontology:Q95074 ) ( ontology:Q12737077 ) } }
soldier
action count
action union
action filter_type
action find_reverse
entity soldier
relation occupation
type occupation
action filter_type
action find_reverse
entity soldier
relation occupation
type fictional character
[{'concept': 'occupation'}, 'occupation', 'soldier'] [{'concept': 'fictional character'}, 'occupation', 'soldier']
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g rdf:type ?y . VALUES ( ?y ) { ( ontology:fictional_character ) ( ontology:occupation ) } }
[]
occupation fictional character
SYSTEM
15
Q27702890 Q148659 Q76975 Q27230108 Q2014417 Q17335617 Q27230086 Q510102 Q7167342 Q24 Q21072502 Q431862 Q1258832 Q10317241 Q1621656
(c(Q12737077),P106,Q4991371) (c(Q95074),P106,Q4991371)
action count
action union
action filter_type
action find_reverse
entity Q4991371
relation P106
type Q12737077
action filter_type
action find_reverse
entity Q4991371
relation P106
type Q95074
[ANSWER]
[{'concept': 'Q12737077'}, 'P106', 'Q4991371'] [{'concept': 'Q95074'}, 'P106', 'Q4991371']
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g rdf:type ?y . VALUES ( ?y ) { ( ontology:Q95074 ) ( ontology:Q12737077 ) } }
Phoebus Indiana Jones Rudolf Höss Junior Kimball Cho D'Artagnan Winifred Captain Phoebus Percy Fitzwallace Jack Bauer D'Artagnan's father Sabretooth Donald Cragen Lennie Briscoe Solid Snake
15
action count
action union
action filter_type
action find_reverse
entity soldier
relation occupation
type occupation
action filter_type
action find_reverse
entity soldier
relation occupation
type fictional character
[{'concept': 'occupation'}, 'occupation', 'soldier'] [{'concept': 'fictional character'}, 'occupation', 'soldier']
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g rdf:type ?y . VALUES ( ?y ) { ( ontology:fictional_character ) ( ontology:occupation ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1311107
P27
Q1048835
USER
How many political territories are Horst-Peter Kretschmer an inhabitant of ?
(Q1311107,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1311107
relation P27
type Q1048835
['Q1311107', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q1311107 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Horst-Peter Kretschmer
action count
action filter_type
action find
entity Horst-Peter Kretschmer
relation country of citizenship
type political territorial entity
['Horst-Peter Kretschmer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Horst-Peter_Kretschmer property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q1311107,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1311107
relation P27
type Q1048835
[ANSWER]
['Q1311107', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q1311107 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Horst-Peter Kretschmer
relation country of citizenship
type political territorial entity
['Horst-Peter Kretschmer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Horst-Peter_Kretschmer property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1311107
P21
Q290
USER
Which sex does that person belong to ?
action filter_type
action find
entity Q1311107
relation P21
type Q290
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q1311107 property:P21 ?a }
Horst-Peter Kretschmer
action filter_type
action find
entity Horst-Peter Kretschmer
relation gender
type sex
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Horst-Peter_Kretschmer property:gender ?a }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q1311107
relation P21
type Q290
That person belongs to [ANSWER]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q1311107 property:P21 ?a }
male
That person belongs to male
male
action filter_type
action find
entity Horst-Peter Kretschmer
relation gender
type sex
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Horst-Peter_Kretschmer property:gender ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q7878020
P21
Q502895
USER
Does Uhtred have the gender as that sex ?
(Q7878020,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q7878020
relation P21
['Q7878020', 'P21', 'Q6581097']
ASK WHERE { resource:Q7878020 property:P21 resource:Q6581097 }
male Uhtred
action is_in
entity male
action find
entity Uhtred
relation gender
['Uhtred', 'gender', 'male']
ASK WHERE { resource:Uhtred property:gender resource:male }
[]
common name
SYSTEM
YES
(Q7878020,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q7878020
relation P21
[ANSWER]
['Q7878020', 'P21', 'Q6581097']
ASK WHERE { resource:Q7878020 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Uhtred
relation gender
['Uhtred', 'gender', 'male']
ASK WHERE { resource:Uhtred property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q9652 Q30
P17
Q15617994
USER
Is 1980 Winter Olympics located in United States of America ?
(Q9652,P17,Q30)
action is_in
entity Q30
action find
entity Q9652
relation P17
['Q9652', 'P17', 'Q30']
ASK WHERE { resource:Q9652 property:P17 resource:Q30 }
1980 Winter Olympics United States of America
action is_in
entity United States of America
action find
entity 1980 Winter Olympics
relation country
['1980 Winter Olympics', 'country', 'United States of America']
ASK WHERE { resource:1980_Winter_Olympics property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q9652,P17,Q30)
action is_in
entity Q30
action find
entity Q9652
relation P17
[ANSWER]
['Q9652', 'P17', 'Q30']
ASK WHERE { resource:Q9652 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity 1980 Winter Olympics
relation country
['1980 Winter Olympics', 'country', 'United States of America']
ASK WHERE { resource:1980_Winter_Olympics property:country resource:United_States_of_America }
[]