Simple Question (Direct)
Simple Question
Q9354462
P106
Q12737077
USER
Which occupation is the profession of Tadeusz Kozaczewski ?
(Q9354462,P106,c(Q12737077))
action filter_type
action find
entity Q9354462
relation P106
type Q12737077
['Q9354462', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q9354462 property:P106 ?b }
Tadeusz Kozaczewski
action filter_type
action find
entity Tadeusz Kozaczewski
relation occupation
type occupation
['Tadeusz Kozaczewski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Tadeusz_Kozaczewski property:occupation ?b }
[]
occupation
Q42973
SYSTEM
architect
Q42973
(Q9354462,P106,c(Q12737077))
action filter_type
action find
entity Q9354462
relation P106
type Q12737077
The [ANSWER] is the profession of Tadeusz Kozaczewski
['Q9354462', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q9354462 property:P106 ?b }
architect
The architect is the profession of Tadeusz Kozaczewski
architect
action filter_type
action find
entity Tadeusz Kozaczewski
relation occupation
type occupation
['Tadeusz Kozaczewski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Tadeusz_Kozaczewski property:occupation ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9354462
P20
Q486972
USER
Where did Tadeusz Kozaczewski expire ?
(Q9354462,P20,c(Q486972))
action filter_type
action find
entity Q9354462
relation P20
type Q486972
['Q9354462', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?u WHERE { resource:Q9354462 property:P20 ?u . ?u rdf:type ontology:Q486972 }
Tadeusz Kozaczewski
action filter_type
action find
entity Tadeusz Kozaczewski
relation place of death
type human settlement
['Tadeusz Kozaczewski', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?u WHERE { resource:Tadeusz_Kozaczewski property:place_of_death ?u . ?u rdf:type ontology:human_settlement }
[]
human settlement
Q1799
SYSTEM
Wrocław
Q1799
(Q9354462,P20,c(Q486972))
action filter_type
action find
entity Q9354462
relation P20
type Q486972
Tadeusz Kozaczewski expired in [ANSWER]
['Q9354462', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?u WHERE { resource:Q9354462 property:P20 ?u . ?u rdf:type ontology:Q486972 }
Wrocław
Tadeusz Kozaczewski expired in Wrocław
Wrocław
action filter_type
action find
entity Tadeusz Kozaczewski
relation place of death
type human settlement
['Tadeusz Kozaczewski', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?u WHERE { resource:Tadeusz_Kozaczewski property:place_of_death ?u . ?u rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9354462
P166
Q618779
USER
Which awards were received by that person ?
(Q1799,P166,c(Q618779))
action filter_type
action find
entity Q9354462
relation P166
type Q618779
['Q1799', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q9354462 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Tadeusz Kozaczewski
action filter_type
action find
entity Tadeusz Kozaczewski
relation award received
type award
['Wrocław', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Tadeusz_Kozaczewski property:award_received ?o . ?o rdf:type ontology:award }
[]
award
Q6805076 Q11776615 Q15715250
SYSTEM
Medal of the 10th Anniversary of People's Poland, Medal of the National Education Commission, Knight of the Order of Polonia Restituta
Q6805076 Q11776615 Q15715250
(Q1799,P166,c(Q618779))
action filter_type
action find
entity Q9354462
relation P166
type Q618779
[ANSWERS] were received by that person
['Q1799', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q9354462 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Medal of the 10th Anniversary of People's Poland Medal of the National Education Commission Knight of the Order of Polonia Restituta
Medal of the 10th Anniversary of People's Poland, Medal of the National Education Commission and Knight of the Order of Polonia Restituta were received by that person
Medal of the 10th Anniversary of People's Poland Medal of the National Education Commission Knight of the Order of Polonia Restituta
action filter_type
action find
entity Tadeusz Kozaczewski
relation award received
type award
['Wrocław', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Tadeusz_Kozaczewski property:award_received ?o . ?o rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9354462
P21
Q290
USER
Which sex does Tadeusz Kozaczewski possess ?
(Q9354462,P21,c(Q290))
action filter_type
action find
entity Q9354462
relation P21
type Q290
['Q9354462', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q9354462 property:P21 ?i . ?i rdf:type ontology:Q290 }
Tadeusz Kozaczewski
action filter_type
action find
entity Tadeusz Kozaczewski
relation gender
type sex
['Tadeusz Kozaczewski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Tadeusz_Kozaczewski property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q9354462,P21,c(Q290))
action filter_type
action find
entity Q9354462
relation P21
type Q290
Tadeusz Kozaczewski possesses a [ANSWER]
['Q9354462', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q9354462 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Tadeusz Kozaczewski possesses a male
male
action filter_type
action find
entity Tadeusz Kozaczewski
relation gender
type sex
['Tadeusz Kozaczewski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Tadeusz_Kozaczewski property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9354462
P19
Q56061
USER
Where was Tadeusz Kozaczewski born ?
(Q9354462,P19,c(Q56061))
action filter_type
action find
entity Q9354462
relation P19
type Q56061
['Q9354462', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q9354462 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Tadeusz Kozaczewski
action filter_type
action find
entity Tadeusz Kozaczewski
relation place of birth
type administrative territorial entity
['Tadeusz Kozaczewski', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Tadeusz_Kozaczewski property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q249059
SYSTEM
Złoczew
Q249059
(Q9354462,P19,c(Q56061))
action filter_type
action find
entity Q9354462
relation P19
type Q56061
Tadeusz Kozaczewski was born in [ANSWER]
['Q9354462', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q9354462 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Złoczew
Tadeusz Kozaczewski was born in Złoczew
Złoczew
action filter_type
action find
entity Tadeusz Kozaczewski
relation place of birth
type administrative territorial entity
['Tadeusz Kozaczewski', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Tadeusz_Kozaczewski property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9354462
P27
Q15617994
USER
Which administrative territory is Tadeusz Kozaczewski a civilian of ?
(Q9354462,P27,c(Q15617994))
action filter_type
action find
entity Q9354462
relation P27
type Q15617994
['Q9354462', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q9354462 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Tadeusz Kozaczewski
action filter_type
action find
entity Tadeusz Kozaczewski
relation country of citizenship
type designation for an administrative territorial entity
['Tadeusz Kozaczewski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Tadeusz_Kozaczewski property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q9354462,P27,c(Q15617994))
action filter_type
action find
entity Q9354462
relation P27
type Q15617994
[ANSWER] is Tadeusz Kozaczewski a civilian of
['Q9354462', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q9354462 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Poland
Poland is Tadeusz Kozaczewski a civilian of
Poland
action filter_type
action find
entity Tadeusz Kozaczewski
relation country of citizenship
type designation for an administrative territorial entity
['Tadeusz Kozaczewski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Tadeusz_Kozaczewski property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5512366
Q15617994
USER
And also tell me about G. Muthuraj?
(Q5512366,P27,c(Q15617994))
action filter_type
action find
entity Q5512366
relation P27
type Q15617994
['Q5512366', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q5512366 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
G. Muthuraj
action filter_type
action find
entity G. Muthuraj
relation country of citizenship
type designation for an administrative territorial entity
['G. Muthuraj', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:G._Muthuraj property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q5512366,P27,c(Q15617994))
action filter_type
action find
entity Q5512366
relation P27
type Q15617994
[ANSWER]
['Q5512366', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q5512366 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
India
India
action filter_type
action find
entity G. Muthuraj
relation country of citizenship
type designation for an administrative territorial entity
['G. Muthuraj', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:G._Muthuraj property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q156478 Q15715250
P166
Q502895
USER
Which people were awarded with Knight of the Order of Polonia Restituta and Pour le Mérite ?
AND((c(Q502895),P166,Q15715250), (c(Q502895),P166,Q156478))
action filter_type
action intersection
action find_reverse
entity Q15715250
relation P166
action find_reverse
entity Q156478
relation P166
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q15715250'], [{'concept': 'Q502895'}, 'P166', 'Q156478']]}
SELECT DISTINCT ?o WHERE { ?o property:P166 resource:Q15715250 . ?o property:P166 resource:Q156478 . ?o rdf:type ontology:Q502895 }
Pour le Mérite Knight of the Order of Polonia Restituta
action filter_type
action intersection
action find_reverse
entity Knight of the Order of Polonia Restituta
relation award received
action find_reverse
entity Pour le Mérite
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Knight of the Order of Polonia Restituta'], [{'concept': 'common name'}, 'award received', 'Pour le Mérite']]}
SELECT DISTINCT ?o WHERE { ?o property:award_received resource:Knight_of_the_Order_of_Polonia_Restituta . ?o property:award_received resource:Pour_le_Mérite . ?o rdf:type ontology:common_name }
[]
common name
Q156472
SYSTEM
Witold Lutosławski
Q156472
AND((c(Q502895),P166,Q15715250), (c(Q502895),P166,Q156478))
action filter_type
action intersection
action find_reverse
entity Q15715250
relation P166
action find_reverse
entity Q156478
relation P166
type Q502895
[ANSWER] was awarded with Knight of the Order of Polonia Restituta and Pour le Mérite
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q15715250'], [{'concept': 'Q502895'}, 'P166', 'Q156478']]}
SELECT DISTINCT ?o WHERE { ?o property:P166 resource:Q15715250 . ?o property:P166 resource:Q156478 . ?o rdf:type ontology:Q502895 }
Witold Lutosławski
Witold Lutosławski was awarded with Knight of the Order of Polonia Restituta and Pour le Mérite
Witold Lutosławski
action filter_type
action intersection
action find_reverse
entity Knight of the Order of Polonia Restituta
relation award received
action find_reverse
entity Pour le Mérite
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Knight of the Order of Polonia Restituta'], [{'concept': 'common name'}, 'award received', 'Pour le Mérite']]}
SELECT DISTINCT ?o WHERE { ?o property:award_received resource:Knight_of_the_Order_of_Polonia_Restituta . ?o property:award_received resource:Pour_le_Mérite . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
Which television programs had their voice dubbing done by atleast 19 people ?
(c(Q15416),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 19
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?g rdf:type ontology:Q15416 . ?j rdf:type ontology:Q502895 . ?g property:P725 ?j } GROUP BY ?g } . FILTER ( ?n >= 19 ) }
action atleast
action find_tuple_counts
relation voice actor
type television program
type common name
value 19
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?g rdf:type ontology:television_program . ?j rdf:type ontology:common_name . ?g property:voice_actor ?j } GROUP BY ?g } . FILTER ( ?n >= 19 ) }
[]
common name television program
Q23558
SYSTEM
House
Q23558
(c(Q15416),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 19
[ANSWER] had their voice dubbing done by atleast 19 people
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?g rdf:type ontology:Q15416 . ?j rdf:type ontology:Q502895 . ?g property:P725 ?j } GROUP BY ?g } . FILTER ( ?n >= 19 ) }
House
House had their voice dubbing done by atleast 19 people
House
action atleast
action find_tuple_counts
relation voice actor
type television program
type common name
value 19
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?g rdf:type ontology:television_program . ?j rdf:type ontology:common_name . ?g property:voice_actor ?j } GROUP BY ?g } . FILTER ( ?n >= 19 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23558
P941
Q15416
USER
Which television program was that one a source of inspiration for ?
(c(Q15416),P941,Q23558)
action filter_type
action find_reverse
entity Q23558
relation P941
type Q15416
[{'concept': 'Q15416'}, 'P941', 'Q23558']
SELECT DISTINCT ?a WHERE { ?a property:P941 resource:Q23558 . ?a rdf:type ontology:Q15416 }
House
action filter_type
action find_reverse
entity House
relation inspired by
type television program
[{'concept': 'television program'}, 'inspired by', 'House']
SELECT DISTINCT ?a WHERE { ?a property:inspired_by resource:House . ?a rdf:type ontology:television_program }
[]
television program
Q15576983
SYSTEM
The Sniffer
Q15576983
(c(Q15416),P941,Q23558)
action filter_type
action find_reverse
entity Q23558
relation P941
type Q15416
[ANSWER] was that one a source of inspiration for
[{'concept': 'Q15416'}, 'P941', 'Q23558']
SELECT DISTINCT ?a WHERE { ?a property:P941 resource:Q23558 . ?a rdf:type ontology:Q15416 }
The Sniffer
The Sniffer was that one a source of inspiration for
The Sniffer
action filter_type
action find_reverse
entity House
relation inspired by
type television program
[{'concept': 'television program'}, 'inspired by', 'House']
SELECT DISTINCT ?a WHERE { ?a property:inspired_by resource:House . ?a rdf:type ontology:television_program }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1016
P85
Q484692 Q7725634 Q15617994
USER
How many administrative territories have an anthem named greater number of hymns and literary works than Libya ?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q1016
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q1016 property:P85 ?y . { VALUES ( ?e ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } . ?y rdf:type ?e } } } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?i WHERE { { ?i property:P85 ?a . ?i rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q484692 } UNION { ?i property:P85 ?a . ?i rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q7725634 } } GROUP BY ?i } }
Libya
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Libya
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Libya property:anthem ?y . { VALUES ( ?e ) { ( ontology:hymn ) ( ontology:literary_work ) } . ?y rdf:type ?e } } } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?i WHERE { { ?i property:anthem ?a . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:hymn } UNION { ?i property:anthem ?a . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:literary_work } } GROUP BY ?i } }
[]
hymn literary work designation for an administrative territorial entity
SYSTEM
3
Q159 Q242 Q1045
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q1016
relation P85
type Q484692
type Q7725634
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q1016 property:P85 ?y . { VALUES ( ?e ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } . ?y rdf:type ?e } } } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?i WHERE { { ?i property:P85 ?a . ?i rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q484692 } UNION { ?i property:P85 ?a . ?i rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q7725634 } } GROUP BY ?i } }
Russia Belize Somalia
3
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Libya
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Libya property:anthem ?y . { VALUES ( ?e ) { ( ontology:hymn ) ( ontology:literary_work ) } . ?y rdf:type ?e } } } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?i WHERE { { ?i property:anthem ?a . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:hymn } UNION { ?i property:anthem ?a . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:literary_work } } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q29
P85
Q484692 Q7725634 Q15617994
USER
And how about Spain?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q29
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?l WHERE { VALUES ( ?k ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } . ?h rdf:type ?k } GROUP BY ?l } . FILTER ( ?s > ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q29 property:P85 ?t . { { ?t rdf:type ontology:Q7725634 } UNION { ?t rdf:type ontology:Q484692 } } } } }
Spain
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Spain
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?l WHERE { VALUES ( ?k ) { ( ontology:hymn ) ( ontology:literary_work ) } . ?h rdf:type ?k } GROUP BY ?l } . FILTER ( ?s > ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Spain property:anthem ?t . { { ?t rdf:type ontology:literary_work } UNION { ?t rdf:type ontology:hymn } } } } }
[]
hymn literary work designation for an administrative territorial entity
SYSTEM
3
Q159 Q242 Q1045
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q29
relation P85
type Q484692
type Q7725634
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?l WHERE { VALUES ( ?k ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } . ?h rdf:type ?k } GROUP BY ?l } . FILTER ( ?s > ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q29 property:P85 ?t . { { ?t rdf:type ontology:Q7725634 } UNION { ?t rdf:type ontology:Q484692 } } } } }
Russia Belize Somalia
3
action count
action greater
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Spain
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) ?l WHERE { VALUES ( ?k ) { ( ontology:hymn ) ( ontology:literary_work ) } . ?h rdf:type ?k } GROUP BY ?l } . FILTER ( ?s > ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Spain property:anthem ?t . { { ?t rdf:type ontology:literary_work } UNION { ?t rdf:type ontology:hymn } } } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1799
P937 P21
Q502895
USER
Which people have Wrocław as their work location and are a male ?
AND((c(Q502895),P937,Q1799), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1799
relation P937
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q1799'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P21 resource:Q6581097 . ?u property:P937 resource:Q1799 . ?u rdf:type ontology:Q502895 }
male Wrocław
action filter_type
action intersection
action find_reverse
entity Wrocław
relation work location
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Wrocław'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:gender resource:male . ?u property:work_location resource:Wrocław . ?u rdf:type ontology:common_name }
[]
common name
Q2283251 Q1506042 Q1523147 Q2150846 Q98478 Q92465 Q122512 Q2654959 Q1598752 Q362094
SYSTEM
Some of them are Siegfried Brie, Georg Spackeler, Samuel Richter, Richard Wagner, Wilhelm Ganzenmüller, Hans Seger, August Rossbach, Arno Koselleck, Heinrich Schmelka, Adolf Hepner
Q2156533 Q1695353 Q76894 Q76304 Q764817 Q501262 Q75208 Q1913466 Q1298099 Q1041078 Q72386 Q2418087 Q1580674 Q18812990 Q104301 Q112280 Q15837948 Q1598752 Q1610870 Q2645641 Q1255396 Q64883 Q98235 Q75200 Q62830 Q1613229 Q2283251 Q1506628 Q1718384 Q1451352 Q109896 Q111638 Q91650 Q124071 Q1587633 Q1594879 Q121294 Q67219 Q17575308 Q1748076 Q1712525 Q1485063 Q2059306 Q540532 Q96323 Q1539906 Q77997 Q2654959 Q71075 Q73496 Q4668303 Q23012223 Q1871044 Q106530 Q77461 Q58811 Q76681 Q28117 Q73314 Q3275838 Q2573021 Q1360493 Q1174355 Q18020139 Q2039070 Q96223 Q90899 Q825670 Q744352 Q216095 Q364162 Q2150846 Q109319 Q95267 Q1148366 Q84593 Q1041000 Q951022 Q2077994 Q76774 Q106176 Q685348 Q59384 Q9242838 Q332882 Q64406 Q314971 Q1712841 Q109870 Q1353029 Q104202 Q1903965 Q29193 Q65095 Q92092 Q68629 Q74988 Q876388 Q76713 Q740371 Q110271 Q88219 Q69019 Q1298836 Q1747181 Q1579134 Q19223317 Q104916 Q73553 Q109487 Q1694208 Q2572862 Q86452 Q1607112 Q15854041 Q73547 Q86558 Q43917 Q75155 Q110787 Q761217 Q3420667 Q1723284 Q2508355 Q87471 Q2712380 Q15834566 Q84373 Q1608077 Q1731284 Q62698 Q1458459 Q67561 Q15434199 Q109887 Q65822 Q15454342 Q1353093 Q62351 Q15694942 Q72289 Q1282734 Q19502378 Q2545375 Q1696400 Q1511758 Q96611 Q1674356 Q77322 Q1370871 Q122267 Q103313 Q78136 Q18029720 Q1353120 Q2040136 Q6309702 Q805624 Q114887 Q68554 Q72275 Q120079 Q1147898 Q76772 Q1712169 Q2591342 Q98478 Q58031 Q110689 Q67034 Q1110380 Q881511 Q3768346 Q76771 Q18857360 Q19502658 Q77204 Q2218257 Q15450843 Q1275110 Q18221384 Q13860032 Q927536 Q18611228 Q1731274 Q64344 Q2644369 Q11801112 Q122436 Q67729 Q98377 Q1346059 Q3753256 Q121898 Q714882 Q215735 Q86793 Q792329 Q1148111 Q1583142 Q105842 Q4124777 Q121895 Q89346 Q1442347 Q825555 Q1913151 Q66262 Q71031 Q1913490 Q15436239 Q63762 Q226072 Q70859 Q1548649 Q213835 Q1374979 Q1696580 Q95934 Q1694799 Q761467 Q362094 Q70209 Q77544 Q1363252 Q19404741 Q1904133 Q1524737 Q86297 Q105933 Q15439684 Q1657508 Q71726 Q1579576 Q497253 Q19959637 Q73576 Q1451013 Q1705064 Q84461 Q479755 Q84762 Q107887 Q17123853 Q92032 Q110090 Q1818727 Q1523147 Q18628073 Q76511 Q2058805 Q2638979 Q11735996 Q70854 Q61040 Q1403741 Q1100067 Q322618 Q98188 Q1512417 Q332618 Q2572182 Q87213 Q48965 Q1458037 Q21750194 Q1787795 Q1310149 Q76327 Q105737 Q870748 Q63833 Q895898 Q1793414 Q101567 Q1582342 Q1038350 Q18222193 Q1234268 Q2060915 Q72988 Q1669614 Q85504 Q15436309 Q1904313 Q1649642 Q1592113 Q96071 Q496906 Q66556 Q125070 Q108217 Q92465 Q2418490 Q92374 Q124561 Q1871660 Q1601581 Q16575025 Q1446956 Q1175841 Q1082337 Q1611044 Q9140994 Q1322515 Q1506042 Q107243 Q1079711 Q1322625 Q110801 Q2173309 Q1148886 Q15439947 Q1248946 Q18748211 Q913992 Q5340447 Q1477324 Q66732 Q97976 Q123752 Q18857342 Q122512 Q23782396 Q1351949 Q1536517 Q1081349 Q108229 Q87688 Q74441 Q1038116 Q104892 Q15455957 Q1794151 Q1693879 Q63413 Q7480725 Q104086 Q86843 Q9145651 Q15441108
AND((c(Q502895),P937,Q1799), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1799
relation P937
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Wrocław as their work location and are a male
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q1799'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P21 resource:Q6581097 . ?u property:P937 resource:Q1799 . ?u rdf:type ontology:Q502895 }
Robert Bednorz Theodor Thalheim Eduard Meyer Georg Heinrich Bernstein August Wissowa Andreas Winckler Fritz Arndt Max Simon Alfred Oehlke Karl Wilhelm Friedrich Grattenauer Francis Simon Theodor Paur Hans Karl Leopold Barkow Eduard Cauer Karl Weinhold Alfred Kast Otto Söffing Heinrich Schmelka Hermann Daniel Hermes Alfred Petzelt Gustav Wilhelm Kisker Zecharias Frankel Anton Dereser Hans, Count von Bülow Lujo Brentano Hermann von Hatzfeldt Siegfried Brie Georgius Logus Ludwig Petry Heinrich Closius Walter Tausk Ernst Lohmeyer Benedict Zuckermann Philipp Julius Lieberkühn Hartog Leo Willibald Mücke Karl Heinrich Bauer Palm Heinrich Ludwig von Boguslawski Hans Bimler Wilhelm Erman Julius Brzoska Wilhelm Dersch Paul Dobers Frederick of Hesse-Darmstadt Hugo Hartung Gottlob Benedict Bierey Hans Heinrich Schaeder Arno Koselleck Adolf Friedrich Stenzler Friedrich Karl Hermann Kruse Wojciech Cybulski Carl Bonde Lothar Friedrich Zotz Jan Buck Egon Freiherr von Eickstedt Gustav Freytag Oskar Minkowski Theodor Siebs Wilhelm Kroll Heinrich Küster Wilhelm Harnisch Ernst Wahner David Erdmann Ferdinand Medlin Otto Heine Gustav von Struensee Richard Foerster Bernhard Anton Valentin Heinrich Nadbyl Günther Grundmann Philipp Gotthard von Schaffgotsch Adolf Louis Schmidtmann Richard Wagner Adam Weisskopf Georg Gustav Fülleborn Paul Blaschke Max Lenz Carl Wendel Alexander Camaro Samuel Peter Schilling Ferdinand Cohn Richard Muther Major Waldemar Fydrych Max Koch Salomon Cohn Ceslaus Henrik Steffens Günter Bialas Julius Meyer Moritz Brosig Erich Randt Gustav Neckel Martin Hanke Johann Peter Gustav Lejeune Dirichlet Carl Christian Mez Karl Dziatzko Friedrich Gogarten Oswald Bumke Werner Elert Albert Ludwig Sigesmund Neisser Maciej Gołąb Fritz Behrendt Theodor Weber Jakob Bernays Egon Pralle Markus Brann Hans Dernschwam von Hradiczin Paul Habel Hans Christoph Kaergel Friedrich Heinrich von der Hagen Eugen Bormann Johann Gottlieb Schummel Wilhelm Gottlieb Korn Christian Friedrich Koch Theodor Mollison Werner Kümmel Johann Baptista Baltzer Julius Zupitza Eduard Buchner Alfred Dove Carl Welkisch August Faust Charles Raymond Beazley Max Simon Valentin Krautwald Heinrich Häser Hanskarl von Hasselbach Max Treu Otfrid Foerster Herbert Boehm Karl Gottlieb Richter Georg von Kopp Friedrich Bischoff Eduard Norden Wilhelm Wegehaupt Theo Effenberger Julius Friedrich Cohnheim Friedrich Anton Schneider Erich Rothe August Endell Ferdinand Meister Johann Gustav Gottlieb Büsching Moritz Elsner Georg Heimann Walter Lichtschlag Johann Tobias Volkmar Gerhard Hendrik Caspar Neumann Ismar Freund Rudolf Lipschitz Fritz Weege Wilhelm Pinder Ferdinand Sander Friedrich Schur Wilhelm Tafel Erich Schaeder Johann Otto Pfundtner Julius Bruck Balthasar Ludwig Christian von Wendessen Georg Bender Hans Rademacher Hermann Niehoff August Wilhelm Henschel Siegfried Laboschin Heinrich Wilhelm Gottfried von Waldeyer-Hartz Salomon Schottlaender Wolfgang Schwarz Wilhelm Ganzenmüller Werner Sombart Wilhelm Freund Max Berg Franz Andreas Holly Leon Kieres Giovanni Verocai Richard Abegg Gustav Dzialas Isaac Prager Joseph Freiherr von Eichendorff Samuel Freund Erich Wiese Alfred Jospe Felix Bobertag Philipp Wüst Bronisław von Poźniak Eduard Reinhold Lange Carl Gottfried Scheibert Johann Cochlaeus Alfons Hilka Otto Soltmann Aloys Schulte Wilhelm Ebstein Wilhelm Salomon Freund Jerzy Samuel Bandtkie Friedrich Wilhelm Küster Franz Landsberger Artur Stegner Karl Witte Ignaz Franz Axel Ripke Ferdinand Hirt Hans Winterstein Samuel Gottlieb Bürde Julius Wolf Balthasar von Promnitz Bernhard Erdmannsdörffer Franciszek Ksawery Brzeziński Franz Joseph Mangoldt Max Odoy Max Gerson Robert Bunsen Max Stein Cosmus Flam Heinrich Graetz Hugo Steinhaus Jacob Caro Heinrich Weber Ernst Ferdinand Klein Karl Gustav Limpricht Johann Wilhelm Jan Moritz Haubold Schönberg Johann Jacob Ebert August Gottlob Ferdinand Schirmer Adolf Hepner Hermann Klaatsch Alfred Stock Erwin Meyer Adolf Lazarus Martin Jahn Hermann Zimmer Clemens Baeumker Paul Diels Paul Klimek Ignaz Rohr Rudolf Westphal Hans Fridrich Andreas Franz Pega Heinrich Gräff Laurentius Corvinus Alfred Birnschein Josef Kroll Hermann Cohn Charles Christian Erdmann, Duke of Württemberg-Oels Wilhelm Specht Herbert Oskar Meyer Johannes Oberdick Andreas Acoluthus Johann Kaspar Friedrich Manso Leo Santifaller Samuel Richter Karl Mayhoff Wilhelm Schuppe Paul Barsch Albert Wagner Karl Dankwart Ferdinand von Roemer Wilhelm Roux Felix Porsch Clemens Schaefer Carl Gottlieb Svarez Joseph Kögler Gerhard Schaffran Jerzy Grotowski Wilhelm Böhmer Otto Schrader Carl Wernicke Friedrich Aereboe Mikołaj Obilman Ulrich Altmann Hans-Georg Burghardt Rudolf Bultmann Wilhelm Wetekamp Kurt Fleckenstein Melchior von Diepenbrock Ferdinand Friedensburg Kurt Bornitz Friedrich Wilhelm Semmler Hans Schmidt Carl de Boor Max Hartmann Immanuel Birnbaum Friedrich Wilhelm Paul Lehmann Jakob Rosanes Siegmund Fraenkel Friedrich Müller Gottfried August Thilo Martin Krause Josef Kutzen Goswin Karl Uphues Werner Kollath Andreas Dudith Heinrich Wilhelm Brandes Hermann Dernburg Joseph Ferche Hans Seger Theodor Wolff Dietrich Schäfer Wilhelm Volz Ferdinand Albrecht Louis Müller Hermann Eberhard Fischer Mariusz Hermansdorfer Franz Goerlich David Müller Christian Wilhelm Volland Hermann Feiner Adolf Dressler Fritz Ernst Bettauer Georg Spackeler Joseph Christian zu Hohenlohe-Bartenstein Christian Friedrich von Blankenburg Paul Rilla Ludwig Moshamer Rudolf Lehmann Eugen von Czihak Gustav Leißner F. E. Zeuner Carl Schönborn Gottlob Regis Eduard Munk Karl Gottlob Semisch Eugen Rosenstock-Huessy Paul Wendland Rudolf Palgen Anton Joseph Reisacker August Rossbach Oskar Hellmann Erich Berneker Moritz Deutsch Christian Pescheck Joseph Ebers Johannes Crato von Krafftheim Helmut de Boor Carl Friedrich Wilhelm Müller Paul Peikert Willi Czajka Kurt Tackenberg Johann Georg Knie Ulrich Wilcken Johann Wendt Juliusz Jakub Braun Bolko von Richthofen Aleksander Labuda Hermann Küttner
Siegfried Brie, Georg Spackeler, Samuel Richter, Richard Wagner, Wilhelm Ganzenmüller, Hans Seger, August Rossbach, Arno Koselleck, Heinrich Schmelka and Adolf Hepner have Wrocław as their work location and are a male
Siegfried Brie Georg Spackeler Samuel Richter Richard Wagner Wilhelm Ganzenmüller Hans Seger August Rossbach Arno Koselleck Heinrich Schmelka Adolf Hepner
action filter_type
action intersection
action find_reverse
entity Wrocław
relation work location
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Wrocław'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:gender resource:male . ?u property:work_location resource:Wrocław . ?u rdf:type ontology:common_name }
[]