Simple Question (Direct)
Simple Question
Q322176
P106
Q12737077
USER
What is the job of Otto Kohlrausch ?
(Q322176,P106,c(Q12737077))
action filter_type
action find
entity Q322176
relation P106
type Q12737077
['Q322176', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q322176 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Otto Kohlrausch
action filter_type
action find
entity Otto Kohlrausch
relation occupation
type occupation
['Otto Kohlrausch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Otto_Kohlrausch property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q774306
SYSTEM
surgeon
Q774306
(Q322176,P106,c(Q12737077))
action filter_type
action find
entity Q322176
relation P106
type Q12737077
The job of Otto Kohlrausch is a [ANSWER]
['Q322176', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q322176 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
surgeon
The job of Otto Kohlrausch is a surgeon
surgeon
action filter_type
action find
entity Otto Kohlrausch
relation occupation
type occupation
['Otto Kohlrausch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Otto_Kohlrausch property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q774306
P101
Q502895
USER
Which person has his/her area as that occupation ?
(c(Q502895),P101,Q774306)
action filter_type
action find_reverse
entity Q774306
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q774306']
SELECT DISTINCT ?t WHERE { ?t property:P101 resource:Q774306 . ?t rdf:type ontology:Q502895 }
surgeon
action filter_type
action find_reverse
entity surgeon
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'surgeon']
SELECT DISTINCT ?t WHERE { ?t property:field_of_work resource:surgeon . ?t rdf:type ontology:common_name }
[]
common name
Q1942943
SYSTEM
Benoît Lengelé
Q1942943
(c(Q502895),P101,Q774306)
action filter_type
action find_reverse
entity Q774306
relation P101
type Q502895
[ANSWER] has his/her area as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q774306']
SELECT DISTINCT ?t WHERE { ?t property:P101 resource:Q774306 . ?t rdf:type ontology:Q502895 }
Benoît Lengelé
Benoît Lengelé has his/her area as that occupation
Benoît Lengelé
action filter_type
action find_reverse
entity surgeon
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'surgeon']
SELECT DISTINCT ?t WHERE { ?t property:field_of_work resource:surgeon . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q774306
P921
Q2342494
USER
Which collectable has surgeon as its principal topic ?
(c(Q2342494),P921,Q774306)
action filter_type
action find_reverse
entity Q774306
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q774306']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2342494 . ?r property:P921 resource:Q774306 }
surgeon
action filter_type
action find_reverse
entity surgeon
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'surgeon']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:collectable . ?r property:main_subject resource:surgeon }
[]
collectable
Q19863060
SYSTEM
Physicians and Surgeons of America
Q19863060
(c(Q2342494),P921,Q774306)
action filter_type
action find_reverse
entity Q774306
relation P921
type Q2342494
[ANSWER] has surgeon as its principal topic
[{'concept': 'Q2342494'}, 'P921', 'Q774306']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2342494 . ?r property:P921 resource:Q774306 }
Physicians and Surgeons of America
Physicians and Surgeons of America has surgeon as its principal topic
Physicians and Surgeons of America
action filter_type
action find_reverse
entity surgeon
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'surgeon']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:collectable . ?r property:main_subject resource:surgeon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q774306
P512
Q502895
USER
Which person has the diploma surgeon ?
(c(Q502895),P512,Q774306)
action filter_type
action find_reverse
entity Q774306
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q774306']
SELECT DISTINCT ?k WHERE { ?k property:P512 resource:Q774306 . ?k rdf:type ontology:Q502895 }
surgeon
action filter_type
action find_reverse
entity surgeon
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'surgeon']
SELECT DISTINCT ?k WHERE { ?k property:academic_degree resource:surgeon . ?k rdf:type ontology:common_name }
[]
common name
Q20653981
SYSTEM
Juan Martín Moreira Viteri
Q20653981
(c(Q502895),P512,Q774306)
action filter_type
action find_reverse
entity Q774306
relation P512
type Q502895
[ANSWER] has the diploma surgeon
[{'concept': 'Q502895'}, 'P512', 'Q774306']
SELECT DISTINCT ?k WHERE { ?k property:P512 resource:Q774306 . ?k rdf:type ontology:Q502895 }
Juan Martín Moreira Viteri
Juan Martín Moreira Viteri has the diploma surgeon
Juan Martín Moreira Viteri
action filter_type
action find_reverse
entity surgeon
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'surgeon']
SELECT DISTINCT ?k WHERE { ?k property:academic_degree resource:surgeon . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20653981
P509
Q2057971
USER
How did that person die ?
(Q20653981,P509,c(Q2057971))
action filter_type
action find
entity Q20653981
relation P509
type Q2057971
['Q20653981', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2057971 . resource:Q20653981 property:P509 ?z }
Juan Martín Moreira Viteri
action filter_type
action find
entity Juan Martín Moreira Viteri
relation cause of death
type health problem
['Juan Martín Moreira Viteri', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:health_problem . resource:Juan_Martín_Moreira_Viteri property:cause_of_death ?z }
[]
health problem
Q32446
SYSTEM
pulmonary fibrosis
Q32446
(Q20653981,P509,c(Q2057971))
action filter_type
action find
entity Q20653981
relation P509
type Q2057971
That person died in [ANSWER]
['Q20653981', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2057971 . resource:Q20653981 property:P509 ?z }
pulmonary fibrosis
That person died in pulmonary fibrosis
pulmonary fibrosis
action filter_type
action find
entity Juan Martín Moreira Viteri
relation cause of death
type health problem
['Juan Martín Moreira Viteri', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:health_problem . resource:Juan_Martín_Moreira_Viteri property:cause_of_death ?z }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P828
Q1190554 Q2057971
USER
Which events are the causes of min number of health problems ?
(c(Q2057971),P828,Q4373)
action argmin
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q2057971
[{'concept': 'Q2057971'}, 'P828', 'Q4373']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?e ) { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P828 ?h . ?k rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q1190554 } GROUP BY ?h } } . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?u ) WHERE { ?x rdf:type ontology:Q1190554 . ?t rdf:type ontology:Q2057971 . ?t property:P828 ?x } GROUP BY ?x } . FILTER ( ?u = ?e ) }
action argmin
action find_reverse_tuple_counts
relation has cause
type event
type health problem
[{'concept': 'health problem'}, 'has cause', 'Battle of White Mountain']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?e ) { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:has_cause ?h . ?k rdf:type ontology:health_problem . ?h rdf:type ontology:event } GROUP BY ?h } } . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?u ) WHERE { ?x rdf:type ontology:event . ?t rdf:type ontology:health_problem . ?t property:has_cause ?x } GROUP BY ?x } . FILTER ( ?u = ?e ) }
[]
event health problem
Q150701 Q11663 Q4373
SYSTEM
War of the Spanish Succession, weather, Battle of White Mountain
Q41560 Q125928 Q18511800 Q150701 Q190035 Q11663 Q7939 Q4373
(c(Q2057971),P828,Q4373)
action argmin
action find_reverse_tuple_counts
relation P828
type Q1190554
type Q2057971
[ANSWERS] are the causes of min number of health problems
[{'concept': 'Q2057971'}, 'P828', 'Q4373']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?e ) { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P828 ?h . ?k rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q1190554 } GROUP BY ?h } } . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?u ) WHERE { ?x rdf:type ontology:Q1190554 . ?t rdf:type ontology:Q2057971 . ?t property:P828 ?x } GROUP BY ?x } . FILTER ( ?u = ?e ) }
greenhouse effect climate change split War of the Spanish Succession gravitational wave weather El Niño Battle of White Mountain
War of the Spanish Succession, weather and Battle of White Mountain are the causes of min number of health problems
War of the Spanish Succession weather Battle of White Mountain
action argmin
action find_reverse_tuple_counts
relation has cause
type event
type health problem
[{'concept': 'health problem'}, 'has cause', 'Battle of White Mountain']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?e ) { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:has_cause ?h . ?k rdf:type ontology:health_problem . ?h rdf:type ontology:event } GROUP BY ?h } } . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?u ) WHERE { ?x rdf:type ontology:event . ?t rdf:type ontology:health_problem . ?t property:has_cause ?x } GROUP BY ?x } . FILTER ( ?u = ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32446
P1995
Q1047113
USER
What is the medical speciality of pulmonary fibrosis ?
(Q32446,P1995,c(Q1047113))
action filter_type
action find
entity Q32446
relation P1995
type Q1047113
['Q32446', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?j WHERE { resource:Q32446 property:P1995 ?j . ?j rdf:type ontology:Q1047113 }
pulmonary fibrosis
action filter_type
action find
entity pulmonary fibrosis
relation medical specialty
type special field
['pulmonary fibrosis', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?j WHERE { resource:pulmonary_fibrosis property:medical_specialty ?j . ?j rdf:type ontology:special_field }
[]
special field
Q203337
SYSTEM
pulmonology
Q203337
(Q32446,P1995,c(Q1047113))
action filter_type
action find
entity Q32446
relation P1995
type Q1047113
The medical speciality of pulmonary fibrosis is the [ANSWER]
['Q32446', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?j WHERE { resource:Q32446 property:P1995 ?j . ?j rdf:type ontology:Q1047113 }
pulmonology
The medical speciality of pulmonary fibrosis is the pulmonology
pulmonology
action filter_type
action find
entity pulmonary fibrosis
relation medical specialty
type special field
['pulmonary fibrosis', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?j WHERE { resource:pulmonary_fibrosis property:medical_specialty ?j . ?j rdf:type ontology:special_field }
[]