Simple Question (Direct)
Simple Question
Q1900310
P106
Q12737077
USER
What do Mark Naftalin do for a living ?
(Q1900310,P106,c(Q12737077))
action filter_type
action find
entity Q1900310
relation P106
type Q12737077
['Q1900310', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1900310 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Mark Naftalin
action filter_type
action find
entity Mark Naftalin
relation occupation
type occupation
['Mark Naftalin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Mark_Naftalin property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q36834 Q639669 Q183945
SYSTEM
composer, musician, record producer
Q639669 Q183945 Q36834 Q486748
(Q1900310,P106,c(Q12737077))
action filter_type
action find
entity Q1900310
relation P106
type Q12737077
[ANSWERS]
['Q1900310', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1900310 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
musician record producer composer pianist
composer musician record producer
action filter_type
action find
entity Mark Naftalin
relation occupation
type occupation
['Mark Naftalin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Mark_Naftalin property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P425
Q12737077
USER
Which occupation does composer belong to ?
(c(Q12737077),P425,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q36834']
SELECT DISTINCT ?r WHERE { ?r property:P425 resource:Q36834 . ?r rdf:type ontology:Q12737077 }
composer
action filter_type
action find_reverse
entity composer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'composer']
SELECT DISTINCT ?r WHERE { ?r property:field_of_this_occupation resource:composer . ?r rdf:type ontology:occupation }
[]
occupation
Q2936875
SYSTEM
Cantore al liuto
Q2936875
(c(Q12737077),P425,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P425
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q36834']
SELECT DISTINCT ?r WHERE { ?r property:P425 resource:Q36834 . ?r rdf:type ontology:Q12737077 }
Cantore al liuto
Cantore al liuto
action filter_type
action find_reverse
entity composer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'composer']
SELECT DISTINCT ?r WHERE { ?r property:field_of_this_occupation resource:composer . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P287
Q166142
USER
Which application was composer the designer of ?
(c(Q166142),P287,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P287
type Q166142
[{'concept': 'Q166142'}, 'P287', 'Q36834']
SELECT DISTINCT ?j WHERE { ?j property:P287 resource:Q36834 . ?j rdf:type ontology:Q166142 }
composer
action filter_type
action find_reverse
entity composer
relation designer
type application
[{'concept': 'application'}, 'designer', 'composer']
SELECT DISTINCT ?j WHERE { ?j property:designer resource:composer . ?j rdf:type ontology:application }
[]
application
Q7506275
SYSTEM
Shūjin e no Pert-em-Hru
Q7506275
(c(Q166142),P287,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P287
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P287', 'Q36834']
SELECT DISTINCT ?j WHERE { ?j property:P287 resource:Q36834 . ?j rdf:type ontology:Q166142 }
Shūjin e no Pert-em-Hru
Shūjin e no Pert-em-Hru
action filter_type
action find_reverse
entity composer
relation designer
type application
[{'concept': 'application'}, 'designer', 'composer']
SELECT DISTINCT ?j WHERE { ?j property:designer resource:composer . ?j rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P417
Q502895
USER
What is the name of 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 ?i WHERE { resource:Q36834 property:P417 ?i . ?i 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 ?i WHERE { resource:composer property:patron_saint ?i . ?i 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
[ANSWER]
['Q36834', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q36834 property:P417 ?i . ?i rdf:type ontology:Q502895 }
Saint Cecilia
Saint Cecilia
action filter_type
action find
entity composer
relation patron saint
type common name
['composer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:composer property:patron_saint ?i . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q80513 Q220
P20
Q56061
USER
Did the demise of Saint Cecilia occur Rome ?
(Q80513,P20,Q220)
action is_in
entity Q220
action find
entity Q80513
relation P20
['Q80513', 'P20', 'Q220']
ASK WHERE { resource:Q80513 property:P20 resource:Q220 }
Saint Cecilia Rome
action is_in
entity Rome
action find
entity Saint Cecilia
relation place of death
['Saint Cecilia', 'place of death', 'Rome']
ASK WHERE { resource:Saint_Cecilia property:place_of_death resource:Rome }
[]
administrative territorial entity
SYSTEM
YES
(Q80513,P20,Q220)
action is_in
entity Q220
action find
entity Q80513
relation P20
[ANSWER]
['Q80513', 'P20', 'Q220']
ASK WHERE { resource:Q80513 property:P20 resource:Q220 }
Yes
action is_in
entity Rome
action find
entity Saint Cecilia
relation place of death
['Saint Cecilia', 'place of death', 'Rome']
ASK WHERE { resource:Saint_Cecilia property:place_of_death resource:Rome }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1900310
P1303
Q34379
USER
Which musical instrument does Mark Naftalin know to play ?
(Q1900310,P1303,c(Q34379))
action filter_type
action find
entity Q1900310
relation P1303
type Q34379
['Q1900310', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { resource:Q1900310 property:P1303 ?v . ?v rdf:type ontology:Q34379 }
Mark Naftalin
action filter_type
action find
entity Mark Naftalin
relation instrument
type musical instrument
['Mark Naftalin', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { resource:Mark_Naftalin property:instrument ?v . ?v rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q1900310,P1303,c(Q34379))
action filter_type
action find
entity Q1900310
relation P1303
type Q34379
[ANSWER]
['Q1900310', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { resource:Q1900310 property:P1303 ?v . ?v rdf:type ontology:Q34379 }
piano
piano
action filter_type
action find
entity Mark Naftalin
relation instrument
type musical instrument
['Mark Naftalin', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { resource:Mark_Naftalin property:instrument ?v . ?v rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1900310
P21
Q290
USER
Which sex does that person belong to ?
(Q5994,P21,c(Q290))
action filter_type
action find
entity Q1900310
relation P21
type Q290
['Q5994', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1900310 property:P21 ?r . ?r rdf:type ontology:Q290 }
Mark Naftalin
action filter_type
action find
entity Mark Naftalin
relation gender
type sex
['piano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Mark_Naftalin property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5994,P21,c(Q290))
action filter_type
action find
entity Q1900310
relation P21
type Q290
[ANSWER]
['Q5994', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1900310 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Mark Naftalin
relation gender
type sex
['piano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Mark_Naftalin property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q3305213
USER
Which painting demonstrates that sex ?
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?p WHERE { ?p property:P180 resource:Q6581097 . ?p rdf:type ontology:Q3305213 }
male
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?p WHERE { ?p property:depicts resource:male . ?p rdf:type ontology:painting }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?p WHERE { ?p property:P180 resource:Q6581097 . ?p rdf:type ontology:Q3305213 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?p WHERE { ?p property:depicts resource:male . ?p rdf:type ontology:painting }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1028
Q502895 Q3305213
USER
How many paintings are donated by greater number of people than that painting ?
(c(Q3305213),P1028,c(Q502895))
action count
action greater
action find_tuple_counts
relation P1028
type Q502895
type Q3305213
action count
action filter_type
action find
entity Q18713957
relation P1028
type Q502895
[{'concept': 'Q3305213'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q18713957 property:P1028 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?v ) WHERE { ?y property:P1028 ?n . ?y rdf:type ontology:Q502895 . ?n rdf:type ontology:Q3305213 } GROUP BY ?y } }
action count
action greater
action find_tuple_counts
relation donated by
type common name
type painting
action count
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation donated by
type common name
[{'concept': 'painting'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:donated_by ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?v ) WHERE { ?y property:donated_by ?n . ?y rdf:type ontology:common_name . ?n rdf:type ontology:painting } GROUP BY ?y } }
[]
common name painting
SYSTEM
0
(c(Q3305213),P1028,c(Q502895))
action count
action greater
action find_tuple_counts
relation P1028
type Q502895
type Q3305213
action count
action filter_type
action find
entity Q18713957
relation P1028
type Q502895
[ANSWER]
[{'concept': 'Q3305213'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q18713957 property:P1028 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?v ) WHERE { ?y property:P1028 ?n . ?y rdf:type ontology:Q502895 . ?n rdf:type ontology:Q3305213 } GROUP BY ?y } }
0
action count
action greater
action find_tuple_counts
relation donated by
type common name
type painting
action count
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation donated by
type common name
[{'concept': 'painting'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:donated_by ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?v ) WHERE { ?y property:donated_by ?n . ?y rdf:type ontology:common_name . ?n rdf:type ontology:painting } GROUP BY ?y } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1900310 Q5065421
P106
Q12737077
USER
How many occupations are the professions of Mark Naftalin and Cesar Camargo Mariano ?
(Q1900310,P106,c(Q12737077)) (Q5065421,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q1900310
relation P106
type Q12737077
action filter_type
action find
entity Q5065421
relation P106
type Q12737077
['Q1900310', 'P106', {'concept': 'Q12737077'}] ['Q5065421', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q5065421 property:P106 ?p . ?p rdf:type ontology:Q12737077 . resource:Q1900310 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Mark Naftalin Cesar Camargo Mariano
action count
action intersection
action filter_type
action find
entity Mark Naftalin
relation occupation
type occupation
action filter_type
action find
entity Cesar Camargo Mariano
relation occupation
type occupation
['Mark Naftalin', 'occupation', {'concept': 'occupation'}] ['Cesar Camargo Mariano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Cesar_Camargo_Mariano property:occupation ?p . ?p rdf:type ontology:occupation . resource:Mark_Naftalin property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
SYSTEM
3
Q183945 Q36834 Q486748
(Q1900310,P106,c(Q12737077)) (Q5065421,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q1900310
relation P106
type Q12737077
action filter_type
action find
entity Q5065421
relation P106
type Q12737077
[ANSWER]
['Q1900310', 'P106', {'concept': 'Q12737077'}] ['Q5065421', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q5065421 property:P106 ?p . ?p rdf:type ontology:Q12737077 . resource:Q1900310 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
record producer composer pianist
3
action count
action intersection
action filter_type
action find
entity Mark Naftalin
relation occupation
type occupation
action filter_type
action find
entity Cesar Camargo Mariano
relation occupation
type occupation
['Mark Naftalin', 'occupation', {'concept': 'occupation'}] ['Cesar Camargo Mariano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Cesar_Camargo_Mariano property:occupation ?p . ?p rdf:type ontology:occupation . resource:Mark_Naftalin property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18713957
P186
Q79529
USER
Which chemical substances are used to construct Raja Surendra Vikram Shah at the age of 15 with his prime minister ?
(Q18713957,P186,c(Q79529))
action filter_type
action find
entity Q18713957
relation P186
type Q79529
['Q18713957', 'P186', {'concept': 'Q79529'}]
SELECT DISTINCT ?a WHERE { resource:Q18713957 property:P186 ?a . ?a rdf:type ontology:Q79529 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation material used
type chemical substance
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'material used', {'concept': 'chemical substance'}]
SELECT DISTINCT ?a WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:material_used ?a . ?a rdf:type ontology:chemical_substance }
[]
chemical substance
Q11472 Q897
SYSTEM
paper, gold
Q11472 Q897
(Q18713957,P186,c(Q79529))
action filter_type
action find
entity Q18713957
relation P186
type Q79529
[ANSWERS]
['Q18713957', 'P186', {'concept': 'Q79529'}]
SELECT DISTINCT ?a WHERE { resource:Q18713957 property:P186 ?a . ?a rdf:type ontology:Q79529 }
paper gold
paper gold
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation material used
type chemical substance
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'material used', {'concept': 'chemical substance'}]
SELECT DISTINCT ?a WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:material_used ?a . ?a rdf:type ontology:chemical_substance }
[]
Clarification
Simple Question|Single Entity|Indirect
Q897
P921
Q386724
USER
Which works were primarily based on that chemical substance ?
(c(Q386724),P921,Q897)
action filter_type
action find_reverse
entity Q897
relation P921
type Q386724
[{'concept': 'Q386724'}, 'P921', 'Q897']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q386724 . ?g property:P921 resource:Q897 }
gold
action filter_type
action find_reverse
entity gold
relation main subject
type work
[{'concept': 'work'}, 'main subject', 'gold']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work . ?g property:main_subject resource:gold }
[]
work
Clarification for simple ques.
Q897
SYSTEM
Did you mean gold ?
Q11472 Q897
(c(Q386724),P921,Q11472) (c(Q386724),P921,Q897)
[ANSWER]
[{'concept': 'Q386724'}, 'P921', 'Q11472'] [{'concept': 'Q386724'}, 'P921', 'Q897']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q386724 . ?g property:P921 resource:Q897 }
paper gold
Did you mean gold ?
gold
[{'concept': 'work'}, 'main subject', 'paper'] [{'concept': 'work'}, 'main subject', 'gold']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work . ?g property:main_subject resource:gold }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q386724),P921,Q897)
[{'concept': 'Q386724'}, 'P921', 'Q897']
[{'concept': 'work'}, 'main subject', 'gold']
[]
Q26374122 Q25930654 Q26373979
SYSTEM
NIOSH Analytical Method, Stibine, Sampling Data Sheet, S243 (Set 2), Metal operator mining facts - 2002, Technology News 460 - prototype borehole miner selectively extracts gold from permafrost
Q26374122 Q26373979 Q25930654
(c(Q386724),P921,Q897)
action filter_type
action find_reverse
entity Q897
relation P921
type Q386724
[ANSWERS]
[{'concept': 'Q386724'}, 'P921', 'Q897']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q386724 . ?g property:P921 resource:Q897 }
NIOSH Analytical Method, Stibine, Sampling Data Sheet, S243 (Set 2) Technology News 460 - prototype borehole miner selectively extracts gold from permafrost Metal operator mining facts - 2002
NIOSH Analytical Method, Stibine, Sampling Data Sheet, S243 (Set 2) Metal operator mining facts - 2002 Technology News 460 - prototype borehole miner selectively extracts gold from permafrost
action filter_type
action find_reverse
entity gold
relation main subject
type work
[{'concept': 'work'}, 'main subject', 'gold']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work . ?g property:main_subject resource:gold }
[]