Simple Question (Direct)
Simple Question
Q4441223
P21
Q290
USER
Which sex does Stas Namin belong to ?
(Q4441223,P21,c(Q290))
action filter_type
action find
entity Q4441223
relation P21
type Q290
['Q4441223', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4441223 property:P21 ?t . ?t rdf:type ontology:Q290 }
Stas Namin
action filter_type
action find
entity Stas Namin
relation gender
type sex
['Stas Namin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Stas_Namin property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4441223,P21,c(Q290))
action filter_type
action find
entity Q4441223
relation P21
type Q290
Stas Namin belongs to [ANSWER]
['Q4441223', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4441223 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Stas Namin belongs to male
male
action filter_type
action find
entity Stas Namin
relation gender
type sex
['Stas Namin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Stas_Namin property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4441223
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q4441223
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q4441223 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Stas Namin
action filter_type
action find
entity Stas Namin
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Stas_Namin property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q36834 Q639669 Q183945
SYSTEM
composer, musician, record producer
Q639669 Q183945 Q36834 Q753110
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q4441223
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q4441223 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
musician record producer composer songwriter
Composer, musician and record producer have that person as his/her 's career
composer musician record producer
action filter_type
action find
entity Stas Namin
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Stas_Namin property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q12873932 Q4441223
P106
Q12737077
USER
Or Apostolos Sachinēs?
OR((Q4441223,P106,c(Q12737077)), (Q12873932,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4441223
relation P106
action find
entity Q12873932
relation P106
type Q12737077
{'OR': [['Q4441223', 'P106', {'concept': 'Q12737077'}], ['Q12873932', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?m ) { ( resource:Q4441223 ) ( resource:Q12873932 ) } . ?m property:P106 ?x } . ?x rdf:type ontology:Q12737077 }
Apostolos Sachinēs Stas Namin
action filter_type
action union
action find
entity Stas Namin
relation occupation
action find
entity Apostolos Sachinēs
relation occupation
type occupation
{'OR': [['Stas Namin', 'occupation', {'concept': 'occupation'}], ['Apostolos Sachinēs', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?m ) { ( resource:Stas_Namin ) ( resource:Apostolos_Sachinēs ) } . ?m property:occupation ?x } . ?x rdf:type ontology:occupation }
[]
occupation
Q183945 Q36834 Q1622272 Q639669 Q4263842 Q753110 Q13418253
SYSTEM
record producer, composer, university teacher, musician, literary critic, songwriter, philologist
Q183945 Q36834 Q1622272 Q639669 Q4263842 Q753110 Q13418253
OR((Q4441223,P106,c(Q12737077)), (Q12873932,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4441223
relation P106
action find
entity Q12873932
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q4441223', 'P106', {'concept': 'Q12737077'}], ['Q12873932', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?m ) { ( resource:Q4441223 ) ( resource:Q12873932 ) } . ?m property:P106 ?x } . ?x rdf:type ontology:Q12737077 }
record producer composer university teacher musician literary critic songwriter philologist
record producer composer university teacher musician literary critic songwriter philologist
action filter_type
action union
action find
entity Stas Namin
relation occupation
action find
entity Apostolos Sachinēs
relation occupation
type occupation
{'OR': [['Stas Namin', 'occupation', {'concept': 'occupation'}], ['Apostolos Sachinēs', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?m ) { ( resource:Stas_Namin ) ( resource:Apostolos_Sachinēs ) } . ?m property:occupation ?x } . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183945
P425
Q8148
USER
Who is associated with the field of occupation record producer ?
(Q183945,P425,c(Q8148))
action filter_type
action find
entity Q183945
relation P425
type Q8148
['Q183945', 'P425', {'concept': 'Q8148'}]
SELECT DISTINCT ?n WHERE { resource:Q183945 property:P425 ?n . ?n rdf:type ontology:Q8148 }
record producer
action filter_type
action find
entity record producer
relation field of this occupation
type industry
['record producer', 'field of this occupation', {'concept': 'industry'}]
SELECT DISTINCT ?n WHERE { resource:record_producer property:field_of_this_occupation ?n . ?n rdf:type ontology:industry }
[]
industry
Q959049
SYSTEM
music production
Q959049
(Q183945,P425,c(Q8148))
action filter_type
action find
entity Q183945
relation P425
type Q8148
Is [ANSWER] is associated with the field of occupation record producer
['Q183945', 'P425', {'concept': 'Q8148'}]
SELECT DISTINCT ?n WHERE { resource:Q183945 property:P425 ?n . ?n rdf:type ontology:Q8148 }
music production
Is music production is associated with the field of occupation record producer
music production
action filter_type
action find
entity record producer
relation field of this occupation
type industry
['record producer', 'field of this occupation', {'concept': 'industry'}]
SELECT DISTINCT ?n WHERE { resource:record_producer property:field_of_this_occupation ?n . ?n rdf:type ontology:industry }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q959049
P452
Q58778
USER
What is the industry that one belongs to ?
(Q959049,P452,c(Q58778))
action filter_type
action find
entity Q959049
relation P452
type Q58778
['Q959049', 'P452', {'concept': 'Q58778'}]
SELECT DISTINCT ?u WHERE { resource:Q959049 property:P452 ?u . ?u rdf:type ontology:Q58778 }
music production
action filter_type
action find
entity music production
relation industry
type system
['music production', 'industry', {'concept': 'system'}]
SELECT DISTINCT ?u WHERE { resource:music_production property:industry ?u . ?u rdf:type ontology:system }
[]
system
Q746359
SYSTEM
music industry
Q746359
(Q959049,P452,c(Q58778))
action filter_type
action find
entity Q959049
relation P452
type Q58778
The industry that one belongs to is a [ANSWER]
['Q959049', 'P452', {'concept': 'Q58778'}]
SELECT DISTINCT ?u WHERE { resource:Q959049 property:P452 ?u . ?u rdf:type ontology:Q58778 }
music industry
The industry that one belongs to is a music industry
music industry
action filter_type
action find
entity music production
relation industry
type system
['music production', 'industry', {'concept': 'system'}]
SELECT DISTINCT ?u WHERE { resource:music_production property:industry ?u . ?u rdf:type ontology:system }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q36834
P417
Q502895
USER
How many people are the patron saint of composer ?
(Q36834,P417,c(Q502895))
action count
action filter_type
action find
entity Q36834
relation P417
type Q502895
['Q36834', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q36834 property:P417 ?y . ?y rdf:type ontology:Q502895 }
composer
action count
action filter_type
action find
entity composer
relation patron saint
type common name
['composer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:composer property:patron_saint ?y . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q80513
(Q36834,P417,c(Q502895))
action count
action filter_type
action find
entity Q36834
relation P417
type Q502895
[ANSWER]
['Q36834', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q36834 property:P417 ?y . ?y rdf:type ontology:Q502895 }
Saint Cecilia
1
action count
action filter_type
action find
entity composer
relation patron saint
type common name
['composer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:composer property:patron_saint ?y . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q14541937
Q502895
USER
And what about Saint Philip & Saint James Church?
(Q14541937,P417,c(Q502895))
action count
action filter_type
action find
entity Q14541937
relation P417
type Q502895
['Q14541937', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:Q502895 . resource:Q14541937 property:P417 ?q }
Saint Philip & Saint James Church
action count
action filter_type
action find
entity Saint Philip & Saint James Church
relation patron saint
type common name
['Saint Philip & Saint James Church', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:common_name . resource:Saint_Philip_&_Saint_James_Church property:patron_saint ?q }
[]
common name
SYSTEM
2
(Q14541937,P417,c(Q502895))
action count
action filter_type
action find
entity Q14541937
relation P417
type Q502895
[ANSWER]
['Q14541937', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:Q502895 . resource:Q14541937 property:P417 ?q }
2
action count
action filter_type
action find
entity Saint Philip & Saint James Church
relation patron saint
type common name
['Saint Philip & Saint James Church', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:common_name . resource:Saint_Philip_&_Saint_James_Church property:patron_saint ?q }
[]