Simple Question (Direct)
Simple Question
Q165162
P162
Q502895
USER
Which person is the produced of 100 Fäuste und ein Vaterunser ?
(Q165162,P162,c(Q502895))
action filter_type
action find
entity Q165162
relation P162
type Q502895
['Q165162', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q165162 property:P162 ?f . ?f rdf:type ontology:Q502895 }
100 Fäuste und ein Vaterunser
action filter_type
action find
entity 100 Fäuste und ein Vaterunser
relation producer
type common name
['100 Fäuste und ein Vaterunser', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:100_Fäuste_und_ein_Vaterunser property:producer ?f . ?f rdf:type ontology:common_name }
[]
common name
Q2040288
SYSTEM
Otto Retzer
Q2040288
(Q165162,P162,c(Q502895))
action filter_type
action find
entity Q165162
relation P162
type Q502895
[ANSWER] is the produced of 100 Fäuste und ein Vaterunser
['Q165162', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q165162 property:P162 ?f . ?f rdf:type ontology:Q502895 }
Otto Retzer
Otto Retzer is the produced of 100 Fäuste und ein Vaterunser
Otto Retzer
action filter_type
action find
entity 100 Fäuste und ein Vaterunser
relation producer
type common name
['100 Fäuste und ein Vaterunser', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:100_Fäuste_und_ein_Vaterunser property:producer ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2040288
P161
Q838948
USER
What are the name of works of art staring that person ?
(c(Q838948),P161,Q2040288)
action filter_type
action find_reverse
entity Q2040288
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q2040288']
SELECT DISTINCT ?g WHERE { ?g property:P161 resource:Q2040288 . ?g rdf:type ontology:Q838948 }
Otto Retzer
action filter_type
action find_reverse
entity Otto Retzer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Otto Retzer']
SELECT DISTINCT ?g WHERE { ?g property:cast_member resource:Otto_Retzer . ?g rdf:type ontology:work_of_art }
[]
work of art
Q2366755 Q1171695 Q479898
SYSTEM
Sunshine Reggae in Ibiza, Das verrückte Strandhotel, Sadomania
Q1043749 Q479898 Q1171695 Q2366755
(c(Q838948),P161,Q2040288)
action filter_type
action find_reverse
entity Q2040288
relation P161
type Q838948
The name of works of art staring that person are the [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q2040288']
SELECT DISTINCT ?g WHERE { ?g property:P161 resource:Q2040288 . ?g rdf:type ontology:Q838948 }
Carmen on Ice Sadomania Das verrückte Strandhotel Sunshine Reggae in Ibiza
The name of works of art staring that person are the Sunshine Reggae in Ibiza, Das verrückte Strandhotel and Sadomania
Sunshine Reggae in Ibiza Das verrückte Strandhotel Sadomania
action filter_type
action find_reverse
entity Otto Retzer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Otto Retzer']
SELECT DISTINCT ?g WHERE { ?g property:cast_member resource:Otto_Retzer . ?g rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2040288
P1431
Q838948
USER
Which work of art is produced by Otto Retzer ?
(c(Q838948),P1431,Q2040288)
action filter_type
action find_reverse
entity Q2040288
relation P1431
type Q838948
[{'concept': 'Q838948'}, 'P1431', 'Q2040288']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P1431 resource:Q2040288 }
Otto Retzer
action filter_type
action find_reverse
entity Otto Retzer
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Otto Retzer']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:executive_producer resource:Otto_Retzer }
[]
work of art
Q165162
SYSTEM
100 Fäuste und ein Vaterunser
Q165162
(c(Q838948),P1431,Q2040288)
action filter_type
action find_reverse
entity Q2040288
relation P1431
type Q838948
[ANSWER] is produced by Otto Retzer
[{'concept': 'Q838948'}, 'P1431', 'Q2040288']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P1431 resource:Q2040288 }
100 Fäuste und ein Vaterunser
100 Fäuste und ein Vaterunser is produced by Otto Retzer
100 Fäuste und ein Vaterunser
action filter_type
action find_reverse
entity Otto Retzer
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Otto Retzer']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:executive_producer resource:Otto_Retzer }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2040288
P57
Q15416
USER
Which television program is Otto Retzer a director of ?
(c(Q15416),P57,Q2040288)
action filter_type
action find_reverse
entity Q2040288
relation P57
type Q15416
[{'concept': 'Q15416'}, 'P57', 'Q2040288']
SELECT DISTINCT ?j WHERE { ?j property:P57 resource:Q2040288 . ?j rdf:type ontology:Q15416 }
Otto Retzer
action filter_type
action find_reverse
entity Otto Retzer
relation director
type television program
[{'concept': 'television program'}, 'director', 'Otto Retzer']
SELECT DISTINCT ?j WHERE { ?j property:director resource:Otto_Retzer . ?j rdf:type ontology:television_program }
[]
television program
Q5875469
SYSTEM
Hochwürden erbt das Paradies
Q5875469
(c(Q15416),P57,Q2040288)
action filter_type
action find_reverse
entity Q2040288
relation P57
type Q15416
[ANSWER] is Otto Retzer a director of
[{'concept': 'Q15416'}, 'P57', 'Q2040288']
SELECT DISTINCT ?j WHERE { ?j property:P57 resource:Q2040288 . ?j rdf:type ontology:Q15416 }
Hochwürden erbt das Paradies
Hochwürden erbt das Paradies is Otto Retzer a director of
Hochwürden erbt das Paradies
action filter_type
action find_reverse
entity Otto Retzer
relation director
type television program
[{'concept': 'television program'}, 'director', 'Otto Retzer']
SELECT DISTINCT ?j WHERE { ?j property:director resource:Otto_Retzer . ?j rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5875469
P58
Q502895
USER
Who wrote the script for that television program ?
(Q5875469,P58,c(Q502895))
action filter_type
action find
entity Q5875469
relation P58
type Q502895
['Q5875469', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q5875469 property:P58 ?m . ?m rdf:type ontology:Q502895 }
Hochwürden erbt das Paradies
action filter_type
action find
entity Hochwürden erbt das Paradies
relation screenwriter
type common name
['Hochwürden erbt das Paradies', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Hochwürden_erbt_das_Paradies property:screenwriter ?m . ?m rdf:type ontology:common_name }
[]
common name
Q20726441
SYSTEM
Erich Tomek
Q20726441
(Q5875469,P58,c(Q502895))
action filter_type
action find
entity Q5875469
relation P58
type Q502895
[ANSWER] wrote the script for that television program
['Q5875469', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q5875469 property:P58 ?m . ?m rdf:type ontology:Q502895 }
Erich Tomek
Erich Tomek wrote the script for that television program
Erich Tomek
action filter_type
action find
entity Hochwürden erbt das Paradies
relation screenwriter
type common name
['Hochwürden erbt das Paradies', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Hochwürden_erbt_das_Paradies property:screenwriter ?m . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q20726441 Q40
P27
Q1048835
USER
Is Austria the native country of that person ?
(Q20726441,P27,Q40)
action is_in
entity Q40
action find
entity Q20726441
relation P27
['Q20726441', 'P27', 'Q40']
ASK WHERE { resource:Q20726441 property:P27 resource:Q40 }
Erich Tomek Austria
action is_in
entity Austria
action find
entity Erich Tomek
relation country of citizenship
['Erich Tomek', 'country of citizenship', 'Austria']
ASK WHERE { resource:Erich_Tomek property:country_of_citizenship resource:Austria }
[]
political territorial entity
SYSTEM
YES
(Q20726441,P27,Q40)
action is_in
entity Q40
action find
entity Q20726441
relation P27
[ANSWER]
['Q20726441', 'P27', 'Q40']
ASK WHERE { resource:Q20726441 property:P27 resource:Q40 }
Yes
action is_in
entity Austria
action find
entity Erich Tomek
relation country of citizenship
['Erich Tomek', 'country of citizenship', 'Austria']
ASK WHERE { resource:Erich_Tomek property:country_of_citizenship resource:Austria }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2040288
P106
Q12737077 Q28640
USER
How many occupations and professions have Otto Retzer as his/her as a career ?
(Q2040288,P106,c(Q12737077)) (Q2040288,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q2040288
relation P106
type Q12737077
action filter_type
action find
entity Q2040288
relation P106
type Q28640
['Q2040288', 'P106', {'concept': 'Q12737077'}] ['Q2040288', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { resource:Q2040288 property:P106 ?o . ?o rdf:type ontology:Q12737077 } UNION { ?o rdf:type ontology:Q28640 . resource:Q2040288 property:P106 ?o } }
Otto Retzer
action count
action union
action filter_type
action find
entity Otto Retzer
relation occupation
type occupation
action filter_type
action find
entity Otto Retzer
relation occupation
type profession
['Otto Retzer', 'occupation', {'concept': 'occupation'}] ['Otto Retzer', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { resource:Otto_Retzer property:occupation ?o . ?o rdf:type ontology:occupation } UNION { ?o rdf:type ontology:profession . resource:Otto_Retzer property:occupation ?o } }
[]
occupation profession
SYSTEM
1 occupations and 2 professions
Q3282637 Q2526255 Q33999
(Q2040288,P106,c(Q12737077)) (Q2040288,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q2040288
relation P106
type Q12737077
action filter_type
action find
entity Q2040288
relation P106
type Q28640
[ANSWER]
['Q2040288', 'P106', {'concept': 'Q12737077'}] ['Q2040288', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { resource:Q2040288 property:P106 ?o . ?o rdf:type ontology:Q12737077 } UNION { ?o rdf:type ontology:Q28640 . resource:Q2040288 property:P106 ?o } }
film producer film director actor
1 occupations and 2 professions
action count
action union
action filter_type
action find
entity Otto Retzer
relation occupation
type occupation
action filter_type
action find
entity Otto Retzer
relation occupation
type profession
['Otto Retzer', 'occupation', {'concept': 'occupation'}] ['Otto Retzer', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { resource:Otto_Retzer property:occupation ?o . ?o rdf:type ontology:occupation } UNION { ?o rdf:type ontology:profession . resource:Otto_Retzer property:occupation ?o } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q505915 Q165162
P47 P495
Q15617994
USER
Which administrative territories are the countries of origin of 100 Fäuste und ein Vaterunser or have a shared border with Hohenau ?
OR((Q165162,P495,c(Q15617994)), (Q505915,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q165162
relation P495
action find
entity Q505915
relation P47
type Q15617994
{'OR': [['Q165162', 'P495', {'concept': 'Q15617994'}], ['Q505915', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { { resource:Q505915 property:P47 ?z } UNION { resource:Q165162 property:P495 ?z } } }
Hohenau 100 Fäuste und ein Vaterunser
action filter_type
action union
action find
entity 100 Fäuste und ein Vaterunser
relation country of origin
action find
entity Hohenau
relation shares border with
type designation for an administrative territorial entity
{'OR': [['100 Fäuste und ein Vaterunser', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Hohenau', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Hohenau property:shares_border_with ?z } UNION { resource:100_Fäuste_und_ein_Vaterunser property:country_of_origin ?z } } }
[]
designation for an administrative territorial entity
Q503413 Q38 Q507945 Q503428 Q162106
SYSTEM
Ringelai, Italy, Grafenau, Mauth, Neuschönau
Q503413 Q38 Q507945 Q503428 Q162106
OR((Q165162,P495,c(Q15617994)), (Q505915,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q165162
relation P495
action find
entity Q505915
relation P47
type Q15617994
[ANSWERS] are the countries of origin of 100 Fäuste und ein Vaterunser or have a shared border with Hohenau
{'OR': [['Q165162', 'P495', {'concept': 'Q15617994'}], ['Q505915', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { { resource:Q505915 property:P47 ?z } UNION { resource:Q165162 property:P495 ?z } } }
Ringelai Italy Grafenau Mauth Neuschönau
Ringelai, Italy, Grafenau, Mauth and Neuschönau are the countries of origin of 100 Fäuste und ein Vaterunser or have a shared border with Hohenau
Ringelai Italy Grafenau Mauth Neuschönau
action filter_type
action union
action find
entity 100 Fäuste und ein Vaterunser
relation country of origin
action find
entity Hohenau
relation shares border with
type designation for an administrative territorial entity
{'OR': [['100 Fäuste und ein Vaterunser', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Hohenau', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Hohenau property:shares_border_with ?z } UNION { resource:100_Fäuste_und_ein_Vaterunser property:country_of_origin ?z } } }
[]