Simple Question (Direct)
Simple Question
Q20649908
P57
Q502895
USER
Who was Shadows Over St. Pauli directed by ?
(Q20649908,P57,c(Q502895))
action filter_type
action find
entity Q20649908
relation P57
type Q502895
['Q20649908', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q20649908 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Shadows Over St. Pauli
action filter_type
action find
entity Shadows Over St. Pauli
relation director
type common name
['Shadows Over St. Pauli', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Shadows_Over_St._Pauli property:director ?r . ?r rdf:type ontology:common_name }
[]
common name
Q1423514
SYSTEM
Fritz Kirchhoff
Q1423514
(Q20649908,P57,c(Q502895))
action filter_type
action find
entity Q20649908
relation P57
type Q502895
Shadows Over St. Pauli was directed by [ANSWER]
['Q20649908', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q20649908 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Fritz Kirchhoff
Shadows Over St. Pauli was directed by Fritz Kirchhoff
Fritz Kirchhoff
action filter_type
action find
entity Shadows Over St. Pauli
relation director
type common name
['Shadows Over St. Pauli', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Shadows_Over_St._Pauli property:director ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1423514
P162
Q838948
USER
What has been developed by that person ?
(c(Q838948),P162,Q1423514)
action filter_type
action find_reverse
entity Q1423514
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q1423514']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q838948 . ?a property:P162 resource:Q1423514 }
Fritz Kirchhoff
action filter_type
action find_reverse
entity Fritz Kirchhoff
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Fritz Kirchhoff']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:work_of_art . ?a property:producer resource:Fritz_Kirchhoff }
[]
work of art
Q1219617
SYSTEM
Die Tödlichen Träume
Q1219617
(c(Q838948),P162,Q1423514)
action filter_type
action find_reverse
entity Q1423514
relation P162
type Q838948
[ANSWER] has been developed by that person
[{'concept': 'Q838948'}, 'P162', 'Q1423514']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q838948 . ?a property:P162 resource:Q1423514 }
Die Tödlichen Träume
Die Tödlichen Träume has been developed by that person
Die Tödlichen Träume
action filter_type
action find_reverse
entity Fritz Kirchhoff
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Fritz Kirchhoff']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:work_of_art . ?a property:producer resource:Fritz_Kirchhoff }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1219617
P86
Q502895
USER
Who was that work of art composed by ?
(Q1219617,P86,c(Q502895))
action filter_type
action find
entity Q1219617
relation P86
type Q502895
['Q1219617', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q1219617 property:P86 ?g }
Die Tödlichen Träume
action filter_type
action find
entity Die Tödlichen Träume
relation composer
type common name
['Die Tödlichen Träume', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Die_Tödlichen_Träume property:composer ?g }
[]
common name
Q95492
SYSTEM
Hans-Otto Borgmann
Q95492
(Q1219617,P86,c(Q502895))
action filter_type
action find
entity Q1219617
relation P86
type Q502895
By that work of art was composed by [ANSWER]
['Q1219617', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q1219617 property:P86 ?g }
Hans-Otto Borgmann
By that work of art was composed by Hans-Otto Borgmann
Hans-Otto Borgmann
action filter_type
action find
entity Die Tödlichen Träume
relation composer
type common name
['Die Tödlichen Träume', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Die_Tödlichen_Träume property:composer ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q95492 Q183
P27
Q1048835
USER
Is Germany the country of citizenship of Hans-Otto Borgmann ?
(Q95492,P27,Q183)
action is_in
entity Q183
action find
entity Q95492
relation P27
['Q95492', 'P27', 'Q183']
ASK WHERE { resource:Q95492 property:P27 resource:Q183 }
Hans-Otto Borgmann Germany
action is_in
entity Germany
action find
entity Hans-Otto Borgmann
relation country of citizenship
['Hans-Otto Borgmann', 'country of citizenship', 'Germany']
ASK WHERE { resource:Hans-Otto_Borgmann property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q95492,P27,Q183)
action is_in
entity Q183
action find
entity Q95492
relation P27
[ANSWER]
['Q95492', 'P27', 'Q183']
ASK WHERE { resource:Q95492 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Hans-Otto Borgmann
relation country of citizenship
['Hans-Otto Borgmann', 'country of citizenship', 'Germany']
ASK WHERE { resource:Hans-Otto_Borgmann property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1423514 Q1055
P20
Q486972
USER
Did Fritz Kirchhoff die Hamburg ?
(Q1423514,P20,Q1055)
action is_in
entity Q1055
action find
entity Q1423514
relation P20
['Q1423514', 'P20', 'Q1055']
ASK WHERE { resource:Q1423514 property:P20 resource:Q1055 }
Fritz Kirchhoff Hamburg
action is_in
entity Hamburg
action find
entity Fritz Kirchhoff
relation place of death
['Fritz Kirchhoff', 'place of death', 'Hamburg']
ASK WHERE { resource:Fritz_Kirchhoff property:place_of_death resource:Hamburg }
[]
human settlement
SYSTEM
YES
(Q1423514,P20,Q1055)
action is_in
entity Q1055
action find
entity Q1423514
relation P20
[ANSWER]
['Q1423514', 'P20', 'Q1055']
ASK WHERE { resource:Q1423514 property:P20 resource:Q1055 }
Yes
action is_in
entity Hamburg
action find
entity Fritz Kirchhoff
relation place of death
['Fritz Kirchhoff', 'place of death', 'Hamburg']
ASK WHERE { resource:Fritz_Kirchhoff property:place_of_death resource:Hamburg }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q95492 Q1715
P19
Q56061
USER
Is Hanover the birthplace of Hans-Otto Borgmann ?
(Q95492,P19,Q1715)
action is_in
entity Q1715
action find
entity Q95492
relation P19
['Q95492', 'P19', 'Q1715']
ASK WHERE { resource:Q95492 property:P19 resource:Q1715 }
Hans-Otto Borgmann Hanover
action is_in
entity Hanover
action find
entity Hans-Otto Borgmann
relation place of birth
['Hans-Otto Borgmann', 'place of birth', 'Hanover']
ASK WHERE { resource:Hans-Otto_Borgmann property:place_of_birth resource:Hanover }
[]
administrative territorial entity
SYSTEM
YES
(Q95492,P19,Q1715)
action is_in
entity Q1715
action find
entity Q95492
relation P19
[ANSWER]
['Q95492', 'P19', 'Q1715']
ASK WHERE { resource:Q95492 property:P19 resource:Q1715 }
Yes
action is_in
entity Hanover
action find
entity Hans-Otto Borgmann
relation place of birth
['Hans-Otto Borgmann', 'place of birth', 'Hanover']
ASK WHERE { resource:Hans-Otto_Borgmann property:place_of_birth resource:Hanover }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q2235308 Q20027951
USER
How many people were crew members of exactly 1 ship types and aircraft power classes ?
(c(Q2235308)|c(Q20027951),P1029,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?a WHERE { { ?b property:P1029 ?a . ?a rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2235308 } UNION { ?b property:P1029 ?a . ?a rdf:type ontology:Q502895 . ?b rdf:type ontology:Q20027951 } } GROUP BY ?a } }
action count
action equal
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
value 1
[[{'concept': 'ship type'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?a WHERE { { ?b property:crew_member ?a . ?a rdf:type ontology:common_name . ?b rdf:type ontology:ship_type } UNION { ?b property:crew_member ?a . ?a rdf:type ontology:common_name . ?b rdf:type ontology:aircraft_power_class } } GROUP BY ?a } }
[]
common name ship type aircraft power class
SYSTEM
5
Q4103224 Q17478723 Q70468 Q334084 Q294555
(c(Q2235308)|c(Q20027951),P1029,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
value 1
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?a WHERE { { ?b property:P1029 ?a . ?a rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2235308 } UNION { ?b property:P1029 ?a . ?a rdf:type ontology:Q502895 . ?b rdf:type ontology:Q20027951 } } GROUP BY ?a } }
Theodore Van Kirk Hans-Kurt von Bremen Otto von Bülow Thomas Grenville Paul Tibbets
5
action count
action equal
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
value 1
[[{'concept': 'ship type'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?a WHERE { { ?b property:crew_member ?a . ?a rdf:type ontology:common_name . ?b rdf:type ontology:ship_type } UNION { ?b property:crew_member ?a . ?a rdf:type ontology:common_name . ?b rdf:type ontology:aircraft_power_class } } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q95492
P21
Q290
USER
Which sex does Hans-Otto Borgmann possess ?
(Q95492,P21,c(Q290))
action filter_type
action find
entity Q95492
relation P21
type Q290
['Q95492', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q95492 property:P21 ?f . ?f rdf:type ontology:Q290 }
Hans-Otto Borgmann
action filter_type
action find
entity Hans-Otto Borgmann
relation gender
type sex
['Hans-Otto Borgmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Hans-Otto_Borgmann property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q95492,P21,c(Q290))
action filter_type
action find
entity Q95492
relation P21
type Q290
Hans-Otto Borgmann possesses un [ANSWER]
['Q95492', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q95492 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Hans-Otto Borgmann possesses un male
male
action filter_type
action find
entity Hans-Otto Borgmann
relation gender
type sex
['Hans-Otto Borgmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Hans-Otto_Borgmann property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q95492
P106
Q12737077
USER
What is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q95492
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q95492 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Hans-Otto Borgmann
action filter_type
action find
entity Hans-Otto Borgmann
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Hans-Otto_Borgmann property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q95492
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q95492 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
composer
The profession of that person is a composer
composer
action filter_type
action find
entity Hans-Otto Borgmann
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Hans-Otto_Borgmann property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q502895
USER
How many occupations do greater number of organizations or people belong to than that occupation ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q36834
relation P101
type Q43229
type Q502895
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?v WHERE { VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } . ?s rdf:type ?n } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P101 resource:Q36834 . { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } } } } . FILTER ( ?t > ?y ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity composer
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?v WHERE { VALUES ( ?n ) { ( ontology:organization ) ( ontology:common_name ) } . ?s rdf:type ?n } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:field_of_work resource:composer . { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:organization ) ( ontology:common_name ) } } } } . FILTER ( ?t > ?y ) }
[]
occupation organization common name
SYSTEM
16
Q6625963 Q177220 Q39631 Q17156912 Q81096 Q170790 Q2405480 Q1172458 Q169470 Q201788 Q1114448 Q1028181 Q16009483 Q1607826 Q639669 Q11774891
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q36834
relation P101
type Q43229
type Q502895
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?v WHERE { VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } . ?s rdf:type ?n } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P101 resource:Q36834 . { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } } } } . FILTER ( ?t > ?y ) }
novelist singer physician malariologist engineer mathematician voice actor muhaddith physicist historian cartoonist painter sideshow performer editor musician ice hockey player
16
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity composer
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?v WHERE { VALUES ( ?n ) { ( ontology:organization ) ( ontology:common_name ) } . ?s rdf:type ?n } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:field_of_work resource:composer . { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:organization ) ( ontology:common_name ) } } } } . FILTER ( ?t > ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20649908
P495
Q1048835
USER
What is the country of origin of Shadows Over St. Pauli ?
(Q20649908,P495,c(Q1048835))
action filter_type
action find
entity Q20649908
relation P495
type Q1048835
['Q20649908', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q20649908 property:P495 ?l . ?l rdf:type ontology:Q1048835 }
Shadows Over St. Pauli
action filter_type
action find
entity Shadows Over St. Pauli
relation country of origin
type political territorial entity
['Shadows Over St. Pauli', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Shadows_Over_St._Pauli property:country_of_origin ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q20649908,P495,c(Q1048835))
action filter_type
action find
entity Q20649908
relation P495
type Q1048835
The country of origin of Shadows Over St. Pauli is in [ANSWER]
['Q20649908', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q20649908 property:P495 ?l . ?l rdf:type ontology:Q1048835 }
Germany
The country of origin of Shadows Over St. Pauli is in Germany
Germany
action filter_type
action find
entity Shadows Over St. Pauli
relation country of origin
type political territorial entity
['Shadows Over St. Pauli', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Shadows_Over_St._Pauli property:country_of_origin ?l . ?l rdf:type ontology:political_territorial_entity }
[]