Simple Question (Direct)
Simple Question
Q244196
P47
Q20667921
USER
Which french administrative divisions are bordered by Condé-sur-Noireau ?
(Q244196,P47,c(Q20667921))
action filter_type
action find
entity Q244196
relation P47
type Q20667921
['Q244196', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q244196 property:P47 ?o . ?o rdf:type ontology:Q20667921 }
Condé-sur-Noireau
action filter_type
action find
entity Condé-sur-Noireau
relation shares border with
type type of french administrative division
['Condé-sur-Noireau', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Condé-sur-Noireau property:shares_border_with ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q693180 Q639300 Q678291
SYSTEM
Saint-Germain-du-Crioult, Saint-Denis-de-Méré, Proussy
Q251149 Q678291 Q639300 Q693180 Q248779
(Q244196,P47,c(Q20667921))
action filter_type
action find
entity Q244196
relation P47
type Q20667921
[ANSWERS] are bordered by Condé-sur-Noireau
['Q244196', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q244196 property:P47 ?o . ?o rdf:type ontology:Q20667921 }
Saint-Pierre-du-Regard Proussy Saint-Denis-de-Méré Saint-Germain-du-Crioult Montilly-sur-Noireau
Saint-Germain-du-Crioult, Saint-Denis-de-Méré and Proussy are bordered by Condé-sur-Noireau
Saint-Germain-du-Crioult Saint-Denis-de-Méré Proussy
action filter_type
action find
entity Condé-sur-Noireau
relation shares border with
type type of french administrative division
['Condé-sur-Noireau', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Condé-sur-Noireau property:shares_border_with ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q244196
P190
Q56061
USER
Which administrative territory is twin city of Condé-sur-Noireau ?
(Q244196,P190,c(Q56061))
action filter_type
action find
entity Q244196
relation P190
type Q56061
['Q244196', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q244196 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Condé-sur-Noireau
action filter_type
action find
entity Condé-sur-Noireau
relation sister city
type administrative territorial entity
['Condé-sur-Noireau', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Condé-sur-Noireau property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2057705
SYSTEM
Ross-on-Wye
Q2057705
(Q244196,P190,c(Q56061))
action filter_type
action find
entity Q244196
relation P190
type Q56061
[ANSWER] is twin city of Condé-sur-Noireau
['Q244196', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q244196 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Ross-on-Wye
Ross-on-Wye is twin city of Condé-sur-Noireau
Ross-on-Wye
action filter_type
action find
entity Condé-sur-Noireau
relation sister city
type administrative territorial entity
['Condé-sur-Noireau', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Condé-sur-Noireau property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2057705
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q2057705,P17,c(Q15617994))
action filter_type
action find
entity Q2057705
relation P17
type Q15617994
['Q2057705', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2057705 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Ross-on-Wye
action filter_type
action find
entity Ross-on-Wye
relation country
type designation for an administrative territorial entity
['Ross-on-Wye', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ross-on-Wye property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2057705,P17,c(Q15617994))
action filter_type
action find
entity Q2057705
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
['Q2057705', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2057705 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
That administrative territory is located in United Kingdom
United Kingdom
action filter_type
action find
entity Ross-on-Wye
relation country
type designation for an administrative territorial entity
['Ross-on-Wye', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ross-on-Wye property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2057705
P20
Q502895
USER
Which people have that administrative territory as the area of death ?
(c(Q502895),P20,Q145)
action filter_type
action find_reverse
entity Q2057705
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q145']
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q2057705 . ?f rdf:type ontology:Q502895 }
Ross-on-Wye
action filter_type
action find_reverse
entity Ross-on-Wye
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'United Kingdom']
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Ross-on-Wye . ?f rdf:type ontology:common_name }
[]
common name
Q7508994 Q1189442 Q829262
SYSTEM
Sidney Clive, Dennis Potter, Berwyn Jones
Q351085 Q7508994 Q829262 Q24004710 Q1189442
(c(Q502895),P20,Q145)
action filter_type
action find_reverse
entity Q2057705
relation P20
type Q502895
[ANSWERS] have that administrative territory as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q145']
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q2057705 . ?f rdf:type ontology:Q502895 }
Norman Macleod Sidney Clive Berwyn Jones Louis Knollys Dennis Potter
Sidney Clive, Dennis Potter and Berwyn Jones have that administrative territory as the area of death
Sidney Clive Dennis Potter Berwyn Jones
action filter_type
action find_reverse
entity Ross-on-Wye
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'United Kingdom']
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Ross-on-Wye . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q2057705
P21 P20
Q502895
USER
Which people expired at Ross-on-Wye and have the gender as male ?
AND((c(Q502895),P20,Q2057705), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2057705
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q2057705'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q2057705 . ?v property:P21 resource:Q6581097 . ?v rdf:type ontology:Q502895 }
male Ross-on-Wye
action filter_type
action intersection
action find_reverse
entity Ross-on-Wye
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Ross-on-Wye'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:Ross-on-Wye . ?v property:gender resource:male . ?v rdf:type ontology:common_name }
[]
common name
Q351085 Q7508994 Q829262 Q24004710 Q1189442
SYSTEM
Norman Macleod, Sidney Clive, Berwyn Jones, Louis Knollys, Dennis Potter
Q351085 Q7508994 Q829262 Q24004710 Q1189442
AND((c(Q502895),P20,Q2057705), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2057705
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] expired at Ross-on-Wye and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q2057705'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q2057705 . ?v property:P21 resource:Q6581097 . ?v rdf:type ontology:Q502895 }
Norman Macleod Sidney Clive Berwyn Jones Louis Knollys Dennis Potter
Norman Macleod, Sidney Clive, Berwyn Jones, Louis Knollys and Dennis Potter expired at Ross-on-Wye and have the gender as male
Norman Macleod Sidney Clive Berwyn Jones Louis Knollys Dennis Potter
action filter_type
action intersection
action find_reverse
entity Ross-on-Wye
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Ross-on-Wye'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:Ross-on-Wye . ?v property:gender resource:male . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1189442
P509
Q2057971
USER
How many health problems caused the death of Dennis Potter ?
(Q1189442,P509,c(Q2057971))
action count
action filter_type
action find
entity Q1189442
relation P509
type Q2057971
['Q1189442', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q1189442 property:P509 ?j . ?j rdf:type ontology:Q2057971 }
Dennis Potter
action count
action filter_type
action find
entity Dennis Potter
relation cause of death
type health problem
['Dennis Potter', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Dennis_Potter property:cause_of_death ?j . ?j rdf:type ontology:health_problem }
[]
health problem
SYSTEM
1
Q212961
(Q1189442,P509,c(Q2057971))
action count
action filter_type
action find
entity Q1189442
relation P509
type Q2057971
[ANSWER]
['Q1189442', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q1189442 property:P509 ?j . ?j rdf:type ontology:Q2057971 }
pancreatic cancer
1
action count
action filter_type
action find
entity Dennis Potter
relation cause of death
type health problem
['Dennis Potter', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Dennis_Potter property:cause_of_death ?j . ?j rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q345842
Q2057971
USER
And how about Jim Cronin?
(Q345842,P509,c(Q2057971))
action count
action filter_type
action find
entity Q345842
relation P509
type Q2057971
['Q345842', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Q345842 property:P509 ?w . ?w rdf:type ontology:Q2057971 }
Jim Cronin
action count
action filter_type
action find
entity Jim Cronin
relation cause of death
type health problem
['Jim Cronin', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Jim_Cronin property:cause_of_death ?w . ?w rdf:type ontology:health_problem }
[]
health problem
SYSTEM
1
(Q345842,P509,c(Q2057971))
action count
action filter_type
action find
entity Q345842
relation P509
type Q2057971
[ANSWER]
['Q345842', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Q345842 property:P509 ?w . ?w rdf:type ontology:Q2057971 }
1
action count
action filter_type
action find
entity Jim Cronin
relation cause of death
type health problem
['Jim Cronin', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Jim_Cronin property:cause_of_death ?w . ?w rdf:type ontology:health_problem }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atmost 6933 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6933
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P1303 ?z . ?q rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } . FILTER ( ?j <= 6933 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6933
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:instrument ?z . ?q rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } . FILTER ( ?j <= 6933 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6933
Atmost 6933 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P1303 ?z . ?q rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } . FILTER ( ?j <= 6933 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Atmost 6933 people know about davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6933
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:instrument ?z . ?q rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } . FILTER ( ?j <= 6933 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5252290 Q1189442
P509
Q2057971
USER
Which health problems were the causes of death of Dennis Potter or Dehl Berti ?
OR((Q1189442,P509,c(Q2057971)), (Q5252290,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q1189442
relation P509
action find
entity Q5252290
relation P509
type Q2057971
{'OR': [['Q1189442', 'P509', {'concept': 'Q2057971'}], ['Q5252290', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1189442 property:P509 ?w } UNION { resource:Q5252290 property:P509 ?w } } . ?w rdf:type ontology:Q2057971 }
Dehl Berti Dennis Potter
action filter_type
action union
action find
entity Dennis Potter
relation cause of death
action find
entity Dehl Berti
relation cause of death
type health problem
{'OR': [['Dennis Potter', 'cause of death', {'concept': 'health problem'}], ['Dehl Berti', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Dennis_Potter property:cause_of_death ?w } UNION { resource:Dehl_Berti property:cause_of_death ?w } } . ?w rdf:type ontology:health_problem }
[]
health problem
Q12152 Q212961
SYSTEM
myocardial infarction, pancreatic cancer
Q12152 Q212961
OR((Q1189442,P509,c(Q2057971)), (Q5252290,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q1189442
relation P509
action find
entity Q5252290
relation P509
type Q2057971
[ANSWERS] were the causes of death of Dennis Potter or Dehl Berti
{'OR': [['Q1189442', 'P509', {'concept': 'Q2057971'}], ['Q5252290', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1189442 property:P509 ?w } UNION { resource:Q5252290 property:P509 ?w } } . ?w rdf:type ontology:Q2057971 }
myocardial infarction pancreatic cancer
Myocardial infarction and pancreatic cancer were the causes of death of Dennis Potter or Dehl Berti
myocardial infarction pancreatic cancer
action filter_type
action union
action find
entity Dennis Potter
relation cause of death
action find
entity Dehl Berti
relation cause of death
type health problem
{'OR': [['Dennis Potter', 'cause of death', {'concept': 'health problem'}], ['Dehl Berti', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Dennis_Potter property:cause_of_death ?w } UNION { resource:Dehl_Berti property:cause_of_death ?w } } . ?w rdf:type ontology:health_problem }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P780
Q1441305 Q12136 Q2057971
USER
How many health problems are greater number of medical signs or diseases a symtom of than that health problem ?
(c(Q2057971),P780,c(Q1441305)|c(Q12136))
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q1441305'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P780 ?y } UNION { ?z property:P780 ?x } } . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q1441305 . ?x rdf:type ontology:Q12136 }
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'medical sign'}, {'concept': 'disease'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:symptoms ?y } UNION { ?z property:symptoms ?x } } . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:medical_sign . ?x rdf:type ontology:disease }
[]
medical sign disease health problem
Comparative|Count over More/Less|Mult. entity type|Clarification
Q12152
SYSTEM
Did you mean myocardial infarction ?
(c(Q2057971),P780,c(Q1441305)|c(Q12136))
[ANSWER]
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q1441305'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P780 ?y } UNION { ?z property:P780 ?x } } . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q1441305 . ?x rdf:type ontology:Q12136 }
Did you mean myocardial infarction ?
myocardial infarction
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'medical sign'}, {'concept': 'disease'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:symptoms ?y } UNION { ?z property:symptoms ?x } } . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:medical_sign . ?x rdf:type ontology:disease }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2057971),P780,c(Q1441305)|c(Q12136))
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q1441305'}, {'concept': 'Q12136'}]]
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'medical sign'}, {'concept': 'disease'}]]
[]
SYSTEM
21
Q2583514 Q131755 Q48143 Q719656 Q39222 Q1198391 Q127724 Q209733 Q8071861 Q1077603 Q326648 Q30953 Q212961 Q47912 Q264118 Q221668 Q1981276 Q7165022 Q29496 Q180664 Q2840
(c(Q2057971),P780,c(Q1441305)|c(Q12136))
[ANSWER]
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q1441305'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P780 ?y } UNION { ?z property:P780 ?x } } . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q1441305 . ?x rdf:type ontology:Q12136 }
Argentine hemorrhagic fever bipolar disorder meningitis fascioliasis rabies intracranial aneurysm cataract chronic fatigue syndrome Zika fever malignant mesothelioma Salmonellosis dengue fever pancreatic cancer lung cancer acute myeloid leukemia acute cystitis neuroendocrine tumor pentalogy of Cantrell leukemia acute lymphocytic leukemia influenza
21
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'medical sign'}, {'concept': 'disease'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:symptoms ?y } UNION { ?z property:symptoms ?x } } . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:medical_sign . ?x rdf:type ontology:disease }
[]