Simple Question (Direct)
Simple Question
Q7358255
P21
Q290
USER
Which sex does Roger Greenawalt have ?
(Q7358255,P21,c(Q290))
action filter_type
action find
entity Q7358255
relation P21
type Q290
['Q7358255', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7358255 property:P21 ?a . ?a rdf:type ontology:Q290 }
Roger Greenawalt
action filter_type
action find
entity Roger Greenawalt
relation gender
type sex
['Roger Greenawalt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Roger_Greenawalt property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7358255,P21,c(Q290))
action filter_type
action find
entity Q7358255
relation P21
type Q290
Roger Greenawalt has a [ANSWER]
['Q7358255', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7358255 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Roger Greenawalt has a male
male
action filter_type
action find
entity Roger Greenawalt
relation gender
type sex
['Roger Greenawalt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Roger_Greenawalt property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7358255
P106
Q12737077
USER
What are the professions of Roger Greenawalt ?
(Q7358255,P106,c(Q12737077))
action filter_type
action find
entity Q7358255
relation P106
type Q12737077
['Q7358255', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q7358255 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Roger Greenawalt
action filter_type
action find
entity Roger Greenawalt
relation occupation
type occupation
['Roger Greenawalt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Roger_Greenawalt property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q36834 Q128124 Q81096
SYSTEM
composer, audio engineer, engineer
Q128124 Q81096 Q183945 Q36834
(Q7358255,P106,c(Q12737077))
action filter_type
action find
entity Q7358255
relation P106
type Q12737077
The professions of Roger Greenawalt are [ANSWERS]
['Q7358255', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q7358255 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
audio engineer engineer record producer composer
The professions of Roger Greenawalt are composer, audio engineer and engineer
composer audio engineer engineer
action filter_type
action find
entity Roger Greenawalt
relation occupation
type occupation
['Roger Greenawalt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Roger_Greenawalt property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P425
Q838948
USER
Which work of art is associated with the field of occupation composer ?
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { resource:Q36834 property:P425 ?h . ?h rdf:type ontology:Q838948 }
composer
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { resource:composer property:field_of_this_occupation ?h . ?h rdf:type ontology:work_of_art }
[]
work of art
Q207628
SYSTEM
musical composition
Q207628
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
The [ANSWER] is associated with the field of occupation composer
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { resource:Q36834 property:P425 ?h . ?h rdf:type ontology:Q838948 }
musical composition
The musical composition is associated with the field of occupation composer
musical composition
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { resource:composer property:field_of_this_occupation ?h . ?h rdf:type ontology:work_of_art }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15296811
Q838948
USER
And how about draughtsperson?
(Q15296811,P425,c(Q838948))
action filter_type
action find
entity Q15296811
relation P425
type Q838948
['Q15296811', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?n WHERE { resource:Q15296811 property:P425 ?n . ?n rdf:type ontology:Q838948 }
draughtsperson
action filter_type
action find
entity draughtsperson
relation field of this occupation
type work of art
['draughtsperson', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?n WHERE { resource:draughtsperson property:field_of_this_occupation ?n . ?n rdf:type ontology:work_of_art }
[]
work of art
Q93184
SYSTEM
drawing
Q93184
(Q15296811,P425,c(Q838948))
action filter_type
action find
entity Q15296811
relation P425
type Q838948
[ANSWER]
['Q15296811', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?n WHERE { resource:Q15296811 property:P425 ?n . ?n rdf:type ontology:Q838948 }
drawing
drawing
action filter_type
action find
entity draughtsperson
relation field of this occupation
type work of art
['draughtsperson', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?n WHERE { resource:draughtsperson property:field_of_this_occupation ?n . ?n rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P136
Q502895 Q2342494
USER
How many people or collectables as that work of art as their class ?
(c(Q502895),P136,Q93184) (c(Q2342494),P136,Q93184) (c(Q502895),P136,Q93184) (c(Q2342494),P136,Q93184)
action count
action union
action filter_type
action find_reverse
entity Q93184
relation P136
type Q502895
action filter_type
action find_reverse
entity Q93184
relation P136
type Q2342494
[{'concept': 'Q502895'}, 'P136', 'Q93184'] [{'concept': 'Q2342494'}, 'P136', 'Q93184'] [{'concept': 'Q502895'}, 'P136', 'Q93184'] [{'concept': 'Q2342494'}, 'P136', 'Q93184']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:P136 resource:Q93184 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P136 resource:Q93184 . ?p rdf:type ontology:Q2342494 } }
action count
action union
action filter_type
action find_reverse
entity drawing
relation genre
type common name
action filter_type
action find_reverse
entity drawing
relation genre
type collectable
[{'concept': 'common name'}, 'genre', 'drawing'] [{'concept': 'collectable'}, 'genre', 'drawing'] [{'concept': 'common name'}, 'genre', 'drawing'] [{'concept': 'collectable'}, 'genre', 'drawing']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:genre resource:drawing . ?p rdf:type ontology:common_name } UNION { ?p property:genre resource:drawing . ?p rdf:type ontology:collectable } }
[]
common name collectable
SYSTEM
2
Q23661717 Q18020002
(c(Q502895),P136,Q93184) (c(Q2342494),P136,Q93184) (c(Q502895),P136,Q93184) (c(Q2342494),P136,Q93184)
action count
action union
action filter_type
action find_reverse
entity Q93184
relation P136
type Q502895
action filter_type
action find_reverse
entity Q93184
relation P136
type Q2342494
[ANSWER]
[{'concept': 'Q502895'}, 'P136', 'Q93184'] [{'concept': 'Q2342494'}, 'P136', 'Q93184'] [{'concept': 'Q502895'}, 'P136', 'Q93184'] [{'concept': 'Q2342494'}, 'P136', 'Q93184']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:P136 resource:Q93184 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P136 resource:Q93184 . ?p rdf:type ontology:Q2342494 } }
Ionian Antiquities Erich Klimek
2
action count
action union
action filter_type
action find_reverse
entity drawing
relation genre
type common name
action filter_type
action find_reverse
entity drawing
relation genre
type collectable
[{'concept': 'common name'}, 'genre', 'drawing'] [{'concept': 'collectable'}, 'genre', 'drawing'] [{'concept': 'common name'}, 'genre', 'drawing'] [{'concept': 'collectable'}, 'genre', 'drawing']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:genre resource:drawing . ?p rdf:type ontology:common_name } UNION { ?p property:genre resource:drawing . ?p rdf:type ontology:collectable } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P175
Q7725634
USER
Who performed composer ?
(c(Q7725634),P175,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
SELECT DISTINCT ?w WHERE { ?w property:P175 resource:Q36834 . ?w rdf:type ontology:Q7725634 }
composer
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'composer']
SELECT DISTINCT ?w WHERE { ?w property:performer resource:composer . ?w rdf:type ontology:literary_work }
[]
literary work
Q5907189
SYSTEM
Hosanna
Q5907189
(c(Q7725634),P175,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[ANSWER] performed composer
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
SELECT DISTINCT ?w WHERE { ?w property:P175 resource:Q36834 . ?w rdf:type ontology:Q7725634 }
Hosanna
Hosanna performed composer
Hosanna
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'composer']
SELECT DISTINCT ?w WHERE { ?w property:performer resource:composer . ?w rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P417
Q502895
USER
Which person is the patron saint of composer ?
(Q36834,P417,c(Q502895))
action filter_type
action find
entity Q36834
relation P417
type Q502895
['Q36834', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q36834 property:P417 ?k . ?k rdf:type ontology:Q502895 }
composer
action filter_type
action find
entity composer
relation patron saint
type common name
['composer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:composer property:patron_saint ?k . ?k rdf:type ontology:common_name }
[]
common name
Q80513
SYSTEM
Saint Cecilia
Q80513
(Q36834,P417,c(Q502895))
action filter_type
action find
entity Q36834
relation P417
type Q502895
Of [ANSWER] is the patron saint of composer
['Q36834', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q36834 property:P417 ?k . ?k rdf:type ontology:Q502895 }
Saint Cecilia
Of Saint Cecilia is the patron saint of composer
Saint Cecilia
action filter_type
action find
entity composer
relation patron saint
type common name
['composer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:composer property:patron_saint ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q888055
Q502895
USER
And also tell me about San Girolamo della Carità?
(Q888055,P417,c(Q502895))
action filter_type
action find
entity Q888055
relation P417
type Q502895
['Q888055', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q888055 property:P417 ?q . ?q rdf:type ontology:Q502895 }
San Girolamo della Carità
action filter_type
action find
entity San Girolamo della Carità
relation patron saint
type common name
['San Girolamo della Carità', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:San_Girolamo_della_Carità property:patron_saint ?q . ?q rdf:type ontology:common_name }
[]
common name
Q44248
SYSTEM
Jerome
Q44248
(Q888055,P417,c(Q502895))
action filter_type
action find
entity Q888055
relation P417
type Q502895
[ANSWER]
['Q888055', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q888055 property:P417 ?q . ?q rdf:type ontology:Q502895 }
Jerome
Jerome
action filter_type
action find
entity San Girolamo della Carità
relation patron saint
type common name
['San Girolamo della Carità', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:San_Girolamo_della_Carità property:patron_saint ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q44248
P841
Q186081
USER
When does the feast day of that person occur ?
(Q44248,P841,c(Q186081))
action filter_type
action find
entity Q44248
relation P841
type Q186081
['Q44248', 'P841', {'concept': 'Q186081'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q186081 . resource:Q44248 property:P841 ?o }
Jerome
action filter_type
action find
entity Jerome
relation feast day
type time interval
['Jerome', 'feast day', {'concept': 'time interval'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:time_interval . resource:Jerome property:feast_day ?o }
[]
time interval
Q2881
SYSTEM
September 30
Q2881
(Q44248,P841,c(Q186081))
action filter_type
action find
entity Q44248
relation P841
type Q186081
The feast day of that person occurs on [ANSWER]
['Q44248', 'P841', {'concept': 'Q186081'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q186081 . resource:Q44248 property:P841 ?o }
September 30
The feast day of that person occurs on September 30
September 30
action filter_type
action find
entity Jerome
relation feast day
type time interval
['Jerome', 'feast day', {'concept': 'time interval'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:time_interval . resource:Jerome property:feast_day ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2881
P1750
Q82799
USER
Who has that time interval as his/her birthday ?
(c(Q82799),P1750,Q2881)
action filter_type
action find_reverse
entity Q2881
relation P1750
type Q82799
[{'concept': 'Q82799'}, 'P1750', 'Q2881']
SELECT DISTINCT ?m WHERE { ?m property:P1750 resource:Q2881 . ?m rdf:type ontology:Q82799 }
September 30
action filter_type
action find_reverse
entity September 30
relation name day
type name
[{'concept': 'name'}, 'name day', 'September 30']
SELECT DISTINCT ?m WHERE { ?m property:name_day resource:September_30 . ?m rdf:type ontology:name }
[]
name
Q1602361
SYSTEM
Helge
Q1602361
(c(Q82799),P1750,Q2881)
action filter_type
action find_reverse
entity Q2881
relation P1750
type Q82799
[ANSWER] has that time interval as his/her birthday
[{'concept': 'Q82799'}, 'P1750', 'Q2881']
SELECT DISTINCT ?m WHERE { ?m property:P1750 resource:Q2881 . ?m rdf:type ontology:Q82799 }
Helge
Helge has that time interval as his/her birthday
Helge
action filter_type
action find_reverse
entity September 30
relation name day
type name
[{'concept': 'name'}, 'name day', 'September 30']
SELECT DISTINCT ?m WHERE { ?m property:name_day resource:September_30 . ?m rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2881
P361
Q5151
USER
Which month is that time interval a part of ?
(Q1602361,P361,c(Q5151))
action filter_type
action find
entity Q2881
relation P361
type Q5151
['Q1602361', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?k WHERE { resource:Q2881 property:P361 ?k . ?k rdf:type ontology:Q5151 }
September 30
action filter_type
action find
entity September 30
relation part of
type month
['Helge', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?k WHERE { resource:September_30 property:part_of ?k . ?k rdf:type ontology:month }
[]
month
Q123
SYSTEM
September
Q123
(Q1602361,P361,c(Q5151))
action filter_type
action find
entity Q2881
relation P361
type Q5151
[ANSWER] is that time interval a part of
['Q1602361', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?k WHERE { resource:Q2881 property:P361 ?k . ?k rdf:type ontology:Q5151 }
September
September is that time interval a part of
September
action filter_type
action find
entity September 30
relation part of
type month
['Helge', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?k WHERE { resource:September_30 property:part_of ?k . ?k rdf:type ontology:month }
[]