Simple Question (Direct)
Simple Question
Q1765370
P21
Q290
USER
Which sex does Peter Neckermann belong to ?
(Q1765370,P21,c(Q290))
action filter_type
action find
entity Q1765370
relation P21
type Q290
['Q1765370', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1765370 property:P21 ?w . ?w rdf:type ontology:Q290 }
Peter Neckermann
action filter_type
action find
entity Peter Neckermann
relation gender
type sex
['Peter Neckermann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Peter_Neckermann property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1765370,P21,c(Q290))
action filter_type
action find
entity Q1765370
relation P21
type Q290
Peter Neckermann belongs to [ANSWER]
['Q1765370', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1765370 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Peter Neckermann belongs to male
male
action filter_type
action find
entity Peter Neckermann
relation gender
type sex
['Peter Neckermann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Peter_Neckermann property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1765370
P106
Q12737077
USER
What is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1765370
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1765370 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Peter Neckermann
action filter_type
action find
entity Peter Neckermann
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Peter_Neckermann property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q329737
SYSTEM
butcher
Q329737
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1765370
relation P106
type Q12737077
The profession of that person is the [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1765370 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
butcher
The profession of that person is the butcher
butcher
action filter_type
action find
entity Peter Neckermann
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Peter_Neckermann property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1765370
P937
Q56061
USER
What is the work location of that person ?
(Q329737,P937,c(Q56061))
action filter_type
action find
entity Q1765370
relation P937
type Q56061
['Q329737', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q1765370 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Peter Neckermann
action filter_type
action find
entity Peter Neckermann
relation work location
type administrative territorial entity
['butcher', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Peter_Neckermann property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q329737,P937,c(Q56061))
action filter_type
action find
entity Q1765370
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q329737', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q1765370 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Berlin
The work location of that person is in Berlin
Berlin
action filter_type
action find
entity Peter Neckermann
relation work location
type administrative territorial entity
['butcher', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Peter_Neckermann property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q64 Q1489 Q12088239
P190
Q56061
USER
Is that administrative territory twin city of Mexico City and Botoșanița Mare ?
(Q64,P190,Q1489) (Q64,P190,Q12088239)
action is_in
entity Q64
action intersection
action find_reverse
entity Q1489
relation P190
action find_reverse
entity Q12088239
relation P190
['Q64', 'P190', 'Q1489'] ['Q64', 'P190', 'Q12088239']
ASK WHERE { resource:Q64 property:P190 resource:Q12088239 . resource:Q64 property:P190 resource:Q1489 }
Berlin Mexico City Botoșanița Mare
action is_in
entity Berlin
action intersection
action find_reverse
entity Mexico City
relation sister city
action find_reverse
entity Botoșanița Mare
relation sister city
['Berlin', 'sister city', 'Mexico City'] ['Berlin', 'sister city', 'Botoșanița Mare']
ASK WHERE { resource:Berlin property:sister_city resource:Botoșanița_Mare . resource:Berlin property:sister_city resource:Mexico_City }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q64,P190,Q1489) (Q64,P190,Q12088239)
action is_in
entity Q64
action intersection
action find_reverse
entity Q1489
relation P190
action find_reverse
entity Q12088239
relation P190
[ANSWER]
['Q64', 'P190', 'Q1489'] ['Q64', 'P190', 'Q12088239']
ASK WHERE { resource:Q64 property:P190 resource:Q12088239 . resource:Q64 property:P190 resource:Q1489 }
YES and NO respectively
action is_in
entity Berlin
action intersection
action find_reverse
entity Mexico City
relation sister city
action find_reverse
entity Botoșanița Mare
relation sister city
['Berlin', 'sister city', 'Mexico City'] ['Berlin', 'sister city', 'Botoșanița Mare']
ASK WHERE { resource:Berlin property:sister_city resource:Botoșanița_Mare . resource:Berlin property:sister_city resource:Mexico_City }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q329737 Q43982 Q128538
P417
Q502895
USER
Does butcher have adopted Bartholomew the Apostle and Luke the Evangelist as their patron saint ?
(Q329737,P417,Q43982) (Q329737,P417,Q128538)
action is_in
entity Q329737
action intersection
action find_reverse
entity Q43982
relation P417
action find_reverse
entity Q128538
relation P417
['Q329737', 'P417', 'Q43982'] ['Q329737', 'P417', 'Q128538']
ASK WHERE { resource:Q329737 property:P417 resource:Q43982 . resource:Q329737 property:P417 resource:Q128538 }
butcher Bartholomew the Apostle Luke the Evangelist
action is_in
entity butcher
action intersection
action find_reverse
entity Bartholomew the Apostle
relation patron saint
action find_reverse
entity Luke the Evangelist
relation patron saint
['butcher', 'patron saint', 'Bartholomew the Apostle'] ['butcher', 'patron saint', 'Luke the Evangelist']
ASK WHERE { resource:butcher property:patron_saint resource:Bartholomew_the_Apostle . resource:butcher property:patron_saint resource:Luke_the_Evangelist }
[]
common name
SYSTEM
YES
(Q329737,P417,Q43982) (Q329737,P417,Q128538)
action is_in
entity Q329737
action intersection
action find_reverse
entity Q43982
relation P417
action find_reverse
entity Q128538
relation P417
[ANSWER]
['Q329737', 'P417', 'Q43982'] ['Q329737', 'P417', 'Q128538']
ASK WHERE { resource:Q329737 property:P417 resource:Q43982 . resource:Q329737 property:P417 resource:Q128538 }
Yes
action is_in
entity butcher
action intersection
action find_reverse
entity Bartholomew the Apostle
relation patron saint
action find_reverse
entity Luke the Evangelist
relation patron saint
['butcher', 'patron saint', 'Bartholomew the Apostle'] ['butcher', 'patron saint', 'Luke the Evangelist']
ASK WHERE { resource:butcher property:patron_saint resource:Bartholomew_the_Apostle . resource:butcher property:patron_saint resource:Luke_the_Evangelist }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q64 Q183 Q4359618
P17
Q1048835
USER
Is Berlin present in Germany and Pisky ?
(Q64,P17,Q183) (Q64,P17,Q4359618)
action is_in
entity Q64
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q4359618
relation P17
['Q64', 'P17', 'Q183'] ['Q64', 'P17', 'Q4359618']
ASK WHERE { resource:Q64 property:P17 resource:Q183 . resource:Q64 property:P17 resource:Q4359618 }
Berlin Germany Pisky
action is_in
entity Berlin
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Pisky
relation country
['Berlin', 'country', 'Germany'] ['Berlin', 'country', 'Pisky']
ASK WHERE { resource:Berlin property:country resource:Germany . resource:Berlin property:country resource:Pisky }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q64,P17,Q183) (Q64,P17,Q4359618)
action is_in
entity Q64
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q4359618
relation P17
[ANSWER]
['Q64', 'P17', 'Q183'] ['Q64', 'P17', 'Q4359618']
ASK WHERE { resource:Q64 property:P17 resource:Q183 . resource:Q64 property:P17 resource:Q4359618 }
YES and NO respectively
action is_in
entity Berlin
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Pisky
relation country
['Berlin', 'country', 'Germany'] ['Berlin', 'country', 'Pisky']
ASK WHERE { resource:Berlin property:country resource:Germany . resource:Berlin property:country resource:Pisky }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q329737 Q6391949 Q24113858
P417
Q502895
USER
Does butcher have adopted Kent Walton and Lucian Blaj as their patron saint ?
(Q329737,P417,Q6391949) (Q329737,P417,Q24113858)
action is_in
entity Q329737
action intersection
action find_reverse
entity Q6391949
relation P417
action find_reverse
entity Q24113858
relation P417
['Q329737', 'P417', 'Q6391949'] ['Q329737', 'P417', 'Q24113858']
ASK WHERE { resource:Q329737 property:P417 resource:Q6391949 . resource:Q329737 property:P417 resource:Q24113858 }
butcher Kent Walton Lucian Blaj
action is_in
entity butcher
action intersection
action find_reverse
entity Kent Walton
relation patron saint
action find_reverse
entity Lucian Blaj
relation patron saint
['butcher', 'patron saint', 'Kent Walton'] ['butcher', 'patron saint', 'Lucian Blaj']
ASK WHERE { resource:butcher property:patron_saint resource:Kent_Walton . resource:butcher property:patron_saint resource:Lucian_Blaj }
[]
common name
SYSTEM
NO
(Q329737,P417,Q6391949) (Q329737,P417,Q24113858)
action is_in
entity Q329737
action intersection
action find_reverse
entity Q6391949
relation P417
action find_reverse
entity Q24113858
relation P417
[ANSWER]
['Q329737', 'P417', 'Q6391949'] ['Q329737', 'P417', 'Q24113858']
ASK WHERE { resource:Q329737 property:P417 resource:Q6391949 . resource:Q329737 property:P417 resource:Q24113858 }
No
action is_in
entity butcher
action intersection
action find_reverse
entity Kent Walton
relation patron saint
action find_reverse
entity Lucian Blaj
relation patron saint
['butcher', 'patron saint', 'Kent Walton'] ['butcher', 'patron saint', 'Lucian Blaj']
ASK WHERE { resource:butcher property:patron_saint resource:Kent_Walton . resource:butcher property:patron_saint resource:Lucian_Blaj }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q64 Q270 Q1085
P190
Q56061
USER
Is Berlin a sister city of Warsaw and Prague ?
(Q64,P190,Q270) (Q64,P190,Q1085)
action is_in
entity Q64
action intersection
action find_reverse
entity Q270
relation P190
action find_reverse
entity Q1085
relation P190
['Q64', 'P190', 'Q270'] ['Q64', 'P190', 'Q1085']
ASK WHERE { resource:Q64 property:P190 resource:Q270 . resource:Q64 property:P190 resource:Q1085 }
Berlin Warsaw Prague
action is_in
entity Berlin
action intersection
action find_reverse
entity Warsaw
relation sister city
action find_reverse
entity Prague
relation sister city
['Berlin', 'sister city', 'Warsaw'] ['Berlin', 'sister city', 'Prague']
ASK WHERE { resource:Berlin property:sister_city resource:Warsaw . resource:Berlin property:sister_city resource:Prague }
[]
administrative territorial entity
SYSTEM
YES
(Q64,P190,Q270) (Q64,P190,Q1085)
action is_in
entity Q64
action intersection
action find_reverse
entity Q270
relation P190
action find_reverse
entity Q1085
relation P190
[ANSWER]
['Q64', 'P190', 'Q270'] ['Q64', 'P190', 'Q1085']
ASK WHERE { resource:Q64 property:P190 resource:Q270 . resource:Q64 property:P190 resource:Q1085 }
Yes
action is_in
entity Berlin
action intersection
action find_reverse
entity Warsaw
relation sister city
action find_reverse
entity Prague
relation sister city
['Berlin', 'sister city', 'Warsaw'] ['Berlin', 'sister city', 'Prague']
ASK WHERE { resource:Berlin property:sister_city resource:Warsaw . resource:Berlin property:sister_city resource:Prague }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q33999
P180
Q12737077 Q17638008 Q3516658
USER
Which occupations are demonstrated in more number of game equipment or heraldic symbols than actor ?
(c(Q17638008)|c(Q3516658),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q33999
relation P180
type Q17638008
type Q3516658
[[{'concept': 'Q17638008'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?q ) WHERE { { ?d property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q17638008 } UNION { ?d property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q3516658 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P180 resource:Q33999 . { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q17638008 ) ( ontology:Q3516658 ) } } } } . FILTER ( ?q > ?r ) }
actor
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity actor
relation depicts
type game equipment
type heraldic symbol
[[{'concept': 'game equipment'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?q ) WHERE { { ?d property:depicts ?x . ?x rdf:type ontology:occupation . ?d rdf:type ontology:game_equipment } UNION { ?d property:depicts ?x . ?x rdf:type ontology:occupation . ?d rdf:type ontology:heraldic_symbol } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:depicts resource:actor . { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:game_equipment ) ( ontology:heraldic_symbol ) } } } } . FILTER ( ?q > ?r ) }
[]
occupation game equipment heraldic symbol
Q1250916 Q12097
SYSTEM
warrior, king
Q1250916 Q12097
(c(Q17638008)|c(Q3516658),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q33999
relation P180
type Q17638008
type Q3516658
And [ANSWERS] are demonstrated in more number of game equipment or heraldic symbols than actor
[[{'concept': 'Q17638008'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?q ) WHERE { { ?d property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q17638008 } UNION { ?d property:P180 ?x . ?x rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q3516658 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P180 resource:Q33999 . { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q17638008 ) ( ontology:Q3516658 ) } } } } . FILTER ( ?q > ?r ) }
warrior king
And warrior and king are demonstrated in more number of game equipment or heraldic symbols than actor
warrior king
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity actor
relation depicts
type game equipment
type heraldic symbol
[[{'concept': 'game equipment'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?q ) WHERE { { ?d property:depicts ?x . ?x rdf:type ontology:occupation . ?d rdf:type ontology:game_equipment } UNION { ?d property:depicts ?x . ?x rdf:type ontology:occupation . ?d rdf:type ontology:heraldic_symbol } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:depicts resource:actor . { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:game_equipment ) ( ontology:heraldic_symbol ) } } } } . FILTER ( ?q > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1569439
P180
Q12737077 Q17638008 Q3516658
USER
And also tell me about sheep shearer?
(c(Q17638008)|c(Q3516658),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q1569439
relation P180
type Q17638008
type Q3516658
[[{'concept': 'Q17638008'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?v WHERE { VALUES ( ?k ) { ( ontology:Q17638008 ) ( ontology:Q3516658 ) } . ?c rdf:type ?k } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:Q17638008 } UNION { ?s rdf:type ontology:Q3516658 } } . ?s property:P180 resource:Q1569439 } } . FILTER ( ?a > ?r ) }
sheep shearer
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity sheep shearer
relation depicts
type game equipment
type heraldic symbol
[[{'concept': 'game equipment'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?v WHERE { VALUES ( ?k ) { ( ontology:game_equipment ) ( ontology:heraldic_symbol ) } . ?c rdf:type ?k } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:game_equipment } UNION { ?s rdf:type ontology:heraldic_symbol } } . ?s property:depicts resource:sheep_shearer } } . FILTER ( ?a > ?r ) }
[]
occupation game equipment heraldic symbol
Q1250916 Q12097
SYSTEM
warrior, king
Q1250916 Q12097
(c(Q17638008)|c(Q3516658),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q1569439
relation P180
type Q17638008
type Q3516658
[ANSWERS]
[[{'concept': 'Q17638008'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?v WHERE { VALUES ( ?k ) { ( ontology:Q17638008 ) ( ontology:Q3516658 ) } . ?c rdf:type ?k } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:Q17638008 } UNION { ?s rdf:type ontology:Q3516658 } } . ?s property:P180 resource:Q1569439 } } . FILTER ( ?a > ?r ) }
warrior king
warrior king
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity sheep shearer
relation depicts
type game equipment
type heraldic symbol
[[{'concept': 'game equipment'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?v WHERE { VALUES ( ?k ) { ( ontology:game_equipment ) ( ontology:heraldic_symbol ) } . ?c rdf:type ?k } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:game_equipment } UNION { ?s rdf:type ontology:heraldic_symbol } } . ?s property:depicts resource:sheep_shearer } } . FILTER ( ?a > ?r ) }
[]