Simple Question (Direct)
Simple Question
Q11548484
P106
Q12737077
USER
Which occupations have Yasutaka Mizushima as his/her 's career ?
(Q11548484,P106,c(Q12737077))
action filter_type
action find
entity Q11548484
relation P106
type Q12737077
['Q11548484', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q11548484 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Yasutaka Mizushima
action filter_type
action find
entity Yasutaka Mizushima
relation occupation
type occupation
['Yasutaka Mizushima', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Yasutaka_Mizushima property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q36834 Q1075651 Q1643514
SYSTEM
composer, keyboardist, music arranger
Q36834 Q1075651 Q1643514
(Q11548484,P106,c(Q12737077))
action filter_type
action find
entity Q11548484
relation P106
type Q12737077
[ANSWERS] have Yasutaka Mizushima as his/her 's career
['Q11548484', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q11548484 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
composer keyboardist music arranger
Composer, keyboardist and music arranger have Yasutaka Mizushima as his/her 's career
composer keyboardist music arranger
action filter_type
action find
entity Yasutaka Mizushima
relation occupation
type occupation
['Yasutaka Mizushima', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Yasutaka_Mizushima property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1075651
P425
Q2424752
USER
Which product has that one as thier associated field of occupation ?
(Q1075651,P425,c(Q2424752))
action filter_type
action find
entity Q1075651
relation P425
type Q2424752
['Q1075651', 'P425', {'concept': 'Q2424752'}]
SELECT DISTINCT ?f WHERE { resource:Q1075651 property:P425 ?f . ?f rdf:type ontology:Q2424752 }
keyboardist
action filter_type
action find
entity keyboardist
relation field of this occupation
type product
['keyboardist', 'field of this occupation', {'concept': 'product'}]
SELECT DISTINCT ?f WHERE { resource:keyboardist property:field_of_this_occupation ?f . ?f rdf:type ontology:product }
[]
product
Clarification for simple ques.
Q1643514
SYSTEM
Did you mean music arranger ?
Q36834 Q1075651 Q1643514
(Q36834,P425,c(Q2424752)) (Q1075651,P425,c(Q2424752)) (Q1643514,P425,c(Q2424752))
[ANSWER]
['Q36834', 'P425', {'concept': 'Q2424752'}] ['Q1075651', 'P425', {'concept': 'Q2424752'}] ['Q1643514', 'P425', {'concept': 'Q2424752'}]
SELECT DISTINCT ?f WHERE { resource:Q1075651 property:P425 ?f . ?f rdf:type ontology:Q2424752 }
composer keyboardist music arranger
Did you mean music arranger ?
music arranger
['composer', 'field of this occupation', {'concept': 'product'}] ['keyboardist', 'field of this occupation', {'concept': 'product'}] ['music arranger', 'field of this occupation', {'concept': 'product'}]
SELECT DISTINCT ?f WHERE { resource:keyboardist property:field_of_this_occupation ?f . ?f rdf:type ontology:product }
[]
Simple Question (Coreferenced)
USER
No, I meant keyboardist. Could you tell me the answer for that?
(Q1075651,P425,c(Q2424752))
Q1075651
['Q1075651', 'P425', {'concept': 'Q2424752'}]
['keyboardist', 'field of this occupation', {'concept': 'product'}]
[]
Q52954
SYSTEM
keyboard instrument
Q52954
(Q1075651,P425,c(Q2424752))
action filter_type
action find
entity Q1075651
relation P425
type Q2424752
To [ANSWER] has that one as thier associated field of occupation
['Q1075651', 'P425', {'concept': 'Q2424752'}]
SELECT DISTINCT ?f WHERE { resource:Q1075651 property:P425 ?f . ?f rdf:type ontology:Q2424752 }
keyboard instrument
To keyboard instrument has that one as thier associated field of occupation
keyboard instrument
action filter_type
action find
entity keyboardist
relation field of this occupation
type product
['keyboardist', 'field of this occupation', {'concept': 'product'}]
SELECT DISTINCT ?f WHERE { resource:keyboardist property:field_of_this_occupation ?f . ?f rdf:type ontology:product }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q191067
USER
Which occupations were the main subjects in the work approximately 1 publications and articles ?
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?t WHERE { VALUES ( ?y ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } . ?g rdf:type ?y } GROUP BY ?t } . FILTER ( ?a = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?t WHERE { VALUES ( ?y ) { ( ontology:publication ) ( ontology:article ) } . ?g rdf:type ?y } GROUP BY ?t } . FILTER ( ?a = 1 ) }
[]
occupation publication article
Q316070 Q182436 Q3809586
SYSTEM
Fletcher Christian, librarian, Wikipedian in Residence
Q172907 Q3809586 Q2094335 Q316070 Q510373 Q152002 Q15320003 Q732358 Q182436
(c(Q732577)|c(Q191067),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[ANSWERS] were the main subjects in the work approximately 1 publications and articles
[[{'concept': 'Q732577'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?t WHERE { VALUES ( ?y ) { ( ontology:Q732577 ) ( ontology:Q191067 ) } . ?g rdf:type ?y } GROUP BY ?t } . FILTER ( ?a = 1 ) }
praetor Wikipedian in Residence United States Attorney Fletcher Christian Lord High Steward pastor migrant worker Nomarch librarian
Fletcher Christian, librarian and Wikipedian in Residence were the main subjects in the work approximately 1 publications and articles
Fletcher Christian librarian Wikipedian in Residence
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'publication'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?t WHERE { VALUES ( ?y ) { ( ontology:publication ) ( ontology:article ) } . ?g rdf:type ?y } GROUP BY ?t } . FILTER ( ?a = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of max number of occupations ?
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?d ) { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P417 ?w . ?w rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?w } } . { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P417 ?r . ?r rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?r } . FILTER ( ?g = ?d ) }
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?d ) { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:patron_saint ?w . ?w rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?w } } . { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:patron_saint ?r . ?r rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?r } . FILTER ( ?g = ?d ) }
[]
common name occupation
Q179718
SYSTEM
Catherine of Alexandria
Q179718
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWER] is the patron saint of max number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?d ) { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P417 ?w . ?w rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?w } } . { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P417 ?r . ?r rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?r } . FILTER ( ?g = ?d ) }
Catherine of Alexandria
Catherine of Alexandria is the patron saint of max number of occupations
Catherine of Alexandria
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?d ) { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:patron_saint ?w . ?w rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?w } } . { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:patron_saint ?r . ?r rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?r } . FILTER ( ?g = ?d ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q179718 Q19960827
P180
Q3305213
USER
Does The Room of Cameos demonstrate that person ?
(Q19960827,P180,Q179718)
action is_in
entity Q19960827
action find
entity Q179718
relation P180
['Q19960827', 'P180', 'Q179718']
ASK WHERE { resource:Q179718 property:P180 resource:Q19960827 }
Catherine of Alexandria The Room of Cameos
action is_in
entity The Room of Cameos
action find
entity Catherine of Alexandria
relation depicts
['The Room of Cameos', 'depicts', 'Catherine of Alexandria']
ASK WHERE { resource:Catherine_of_Alexandria property:depicts resource:The_Room_of_Cameos }
[]
painting
SYSTEM
NO
(Q19960827,P180,Q179718)
action is_in
entity Q19960827
action find
entity Q179718
relation P180
[ANSWER]
['Q19960827', 'P180', 'Q179718']
ASK WHERE { resource:Q179718 property:P180 resource:Q19960827 }
No
action is_in
entity The Room of Cameos
action find
entity Catherine of Alexandria
relation depicts
['The Room of Cameos', 'depicts', 'Catherine of Alexandria']
ASK WHERE { resource:Catherine_of_Alexandria property:depicts resource:The_Room_of_Cameos }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q179718
P841
Q186081
USER
When do we have the feast day of that person ?
action filter_type
action find
entity Q179718
relation P841
type Q186081
SELECT DISTINCT ?w WHERE { resource:Q179718 property:P841 ?w . ?w rdf:type ontology:Q186081 }
Catherine of Alexandria
action filter_type
action find
entity Catherine of Alexandria
relation feast day
type time interval
SELECT DISTINCT ?w WHERE { resource:Catherine_of_Alexandria property:feast_day ?w . ?w rdf:type ontology:time_interval }
[]
time interval
Q3020
SYSTEM
November 25
Q3020
action filter_type
action find
entity Q179718
relation P841
type Q186081
We have the feast day of that person on [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q179718 property:P841 ?w . ?w rdf:type ontology:Q186081 }
November 25
We have the feast day of that person on November 25
November 25
action filter_type
action find
entity Catherine of Alexandria
relation feast day
type time interval
SELECT DISTINCT ?w WHERE { resource:Catherine_of_Alexandria property:feast_day ?w . ?w rdf:type ontology:time_interval }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3020 Q125
P361
Q5151
USER
Is November 25 a part of November ?
(Q3020,P361,Q125)
action is_in
entity Q125
action find
entity Q3020
relation P361
['Q3020', 'P361', 'Q125']
ASK WHERE { resource:Q3020 property:P361 resource:Q125 }
November 25 November
action is_in
entity November
action find
entity November 25
relation part of
['November 25', 'part of', 'November']
ASK WHERE { resource:November_25 property:part_of resource:November }
[]
month
SYSTEM
YES
(Q3020,P361,Q125)
action is_in
entity Q125
action find
entity Q3020
relation P361
[ANSWER]
['Q3020', 'P361', 'Q125']
ASK WHERE { resource:Q3020 property:P361 resource:Q125 }
Yes
action is_in
entity November
action find
entity November 25
relation part of
['November 25', 'part of', 'November']
ASK WHERE { resource:November_25 property:part_of resource:November }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3020
P837
Q573
USER
Which day occurs during that time interval ?
action filter_type
action find_reverse
entity Q3020
relation P837
type Q573
SELECT DISTINCT ?u WHERE { ?u property:P837 resource:Q3020 . ?u rdf:type ontology:Q573 }
November 25
action filter_type
action find_reverse
entity November 25
relation day in year for periodic occurrence
type day
SELECT DISTINCT ?u WHERE { ?u property:day_in_year_for_periodic_occurrence resource:November_25 . ?u rdf:type ontology:day }
[]
day
Q3133590
SYSTEM
Evacuation Day
Q3133590
action filter_type
action find_reverse
entity Q3020
relation P837
type Q573
Day [ANSWER] occurs during that time interval
SELECT DISTINCT ?u WHERE { ?u property:P837 resource:Q3020 . ?u rdf:type ontology:Q573 }
Evacuation Day
Day Evacuation Day occurs during that time interval
Evacuation Day
action filter_type
action find_reverse
entity November 25
relation day in year for periodic occurrence
type day
SELECT DISTINCT ?u WHERE { ?u property:day_in_year_for_periodic_occurrence resource:November_25 . ?u rdf:type ontology:day }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P837
Q573 Q573
USER
Which days fall on more number of days than that day ?
(c(Q573),P837,c(Q573))
action greater
action find_tuple_counts
relation P837
type Q573
type Q573
action count
action filter_type
action find
entity Q3133590
relation P837
type Q573
[{'concept': 'Q573'}, 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r rdf:type ontology:Q573 . ?e rdf:type ontology:Q573 . ?e property:P837 ?r } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q3133590 property:P837 ?l . ?l rdf:type ontology:Q573 } } . FILTER ( ?t > ?n ) }
action greater
action find_tuple_counts
relation day in year for periodic occurrence
type day
type day
action count
action filter_type
action find
entity Evacuation Day
relation day in year for periodic occurrence
type day
[{'concept': 'day'}, 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r rdf:type ontology:day . ?e rdf:type ontology:day . ?e property:day_in_year_for_periodic_occurrence ?r } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Evacuation_Day property:day_in_year_for_periodic_occurrence ?l . ?l rdf:type ontology:day } } . FILTER ( ?t > ?n ) }
[]
day day
Q135856 Q2792065 Q4114082
SYSTEM
Koleda, Babinden, Vodokres
Q2613306 Q4114082 Q145182 Q10995651 Q1961932 Q3135940 Q2792065 Q1091428 Q26270898 Q477413 Q135856 Q833147 Q4158346 Q8035751 Q10955171 Q2613579
(c(Q573),P837,c(Q573))
action greater
action find_tuple_counts
relation P837
type Q573
type Q573
action count
action filter_type
action find
entity Q3133590
relation P837
type Q573
[ANSWERS] fall on more number of days than that day
[{'concept': 'Q573'}, 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r rdf:type ontology:Q573 . ?e rdf:type ontology:Q573 . ?e property:P837 ?r } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q3133590 property:P837 ?l . ?l rdf:type ontology:Q573 } } . FILTER ( ?t > ?n ) }
Tamborrada Vodokres Ptashkowa swajdzba Magnus Manske Day Malanka atanasov den Babinden Freedom Day Saint Stephen's Day in Hungary European Day of Remembrance for Victims of Stalinism and Nazism Koleda Vidovdan Day of Azerbaijani Customs World Freedom Day Wikipedia:Wikipedia Day Distaff Day
Koleda, Babinden and Vodokres fall on more number of days than that day
Koleda Babinden Vodokres
action greater
action find_tuple_counts
relation day in year for periodic occurrence
type day
type day
action count
action filter_type
action find
entity Evacuation Day
relation day in year for periodic occurrence
type day
[{'concept': 'day'}, 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r rdf:type ontology:day . ?e rdf:type ontology:day . ?e property:day_in_year_for_periodic_occurrence ?r } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Evacuation_Day property:day_in_year_for_periodic_occurrence ?l . ?l rdf:type ontology:day } } . FILTER ( ?t > ?n ) }
[]