mihai9909's picture
Convert train.csv to unix format
0e592f9
NB,NL_Query,SPARQL
1,What treats AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
select distinct ?s where {
?s rdf:type amd:Treatment .
?amd rdf:type amd:AMD .
?s amd:treats ?amd .
}"
2,What treats Wet AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s rdf:type amd:Treatment .
?s amd:treats amd:Wet_AMD .
}"
3,What medication treats dry AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Medication .
?s amd:treats amd:Dry_AMD .
}"
4,What diseases cause blindness?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Disease .
?s amd:causes amd:Blindness .
}"
5,Does dry AMD cause blindness?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
amd:Dry_AMD amd:causes amd:Blindness .
}"
6,What are the signs of AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?s amd:presentIn ?amd .
}
"
7,What are some early signs of AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?s a amd:Early_sign .
?s amd:presentIn ?amd .
}
"
8,What does AMD affect?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?amd amd:affects ?s .
}"
9,What does Dry AMD affect?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
amd:Dry_AMD amd:affects ?s .
}"
10,Does Avastin treat Dry AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
amd:Avastin amd:treats amd:Dry_AMD .
}"
11,Is blurry vision a symptom of AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
amd:Dry_AMD amd:causes amd:Blurry_vision .
}"
12,Does AMD affect the Elderly?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
?amd a amd:AMD .
?amd amd:affects amd:Elderly .
}"
13,What category of people does Age-related Macular Degeneration affect?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Group_of_people .
?amd a amd:AMD .
?amd amd:affects ?s .
}"
14,What actions does AMD impair?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Action .
?amd a amd:Age-related_macular_degeneration .
?amd amd:impairs ?s .
}"
15,What medical procedures are used to treat AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Medical_Procedure .
?amd a amd:AMD .
?s amd:treats ?amd .
}"
16,What type of AMD presents CNV?,"PREFIX : <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16/>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:AMD .
amd:CNV amd:presentIn ?s .
}"
17,What type of AMD causes drusen and reduced contrast?,"PREFIX : <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16/>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:AMD .
amd:Reduced_contrast amd:presentIn ?s .
amd:Drusen amd:presentIn ?s .
}"
18,Give me all signs of AMD.,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?s amd:presentIn ?amd .
}"
19,Give me all treatments for AMD.,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Treatment .
?s amd:treats amd:Wet_AMD .
}"
20,Give me all types of AMD.,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:AMD .
}"
21,Give me all medical procedures used to treat AMD.,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a r+C22df:Symptom .
amd:Wet_AMD amd:causes ?s .
}"
22,Give me all signs of AMD.,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?s amd:presentIn ?amd .
}"
23,Give me all symptoms of AMD.,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Symptom .
?amd a amd:AMD .
?amd amd:causes ?s .
}"
24,Give me all symptoms of Wet AMD.,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Symptom .
amd:Wet_AMD amd:causes ?s .
}"
25,Give me all types of AMD and their corresponding treatments,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?amd ?s where {
?s a amd:Treatment .
?amd a amd:AMD .
?s amd:treats ?amd .
}"
26,Give me all type of AMD and their corresponding symptoms,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?amd ?s where {
?s a amd:Symptom .
?amd a amd:AMD .
?amd amd:causes ?s .
}"
27,For every type of AMD give me the groups of people it affects,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?amd ?s where {
?s a amd:Group_of_people .
?amd a amd:AMD .
?amd amd:affects ?s .
}"
28,What treatment for AMD has a success rate of over 90%?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Medical_Procedure .
?amd a amd:AMD .
?s amd:treats ?amd .
?s amd:success_rate ?success_rate .
FILTER(?success_rate > 0.90)
}"
29,For each AMD type what treatments are recommended?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s ?amd where {
?amd a amd:AMD .
?s a amd:Treatment .
?s amd:treats ?amd .
}"
30,What imaging techniques are used to diagnose and monitor AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Imaging_technique .
?amd a amd:AMD .
?s amd:monitors ?amd .
}"
31,What are the pharmacological treatments available for AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Medication .
?amd a amd:AMD .
?s amd:treats ?amd .
}"
32,What are the pharmacological treatments are used for wet and dry AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Medication .
?s amd:treats amd:Wet_AMD .
?s amd:treats amd:Dry_AMD .
}"
33,How effective is retinal laser photocoagulation in treating AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
amd:Retinal_laser_photocoagulation amd:success_rate ?s .
}"
34,Does retinal laser photocoagulation tread dry AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
amd:Retinal_laser_photocoagulation amd:treats amd:Dry_AMD .
}"
35,Does retinal laser photocoagulation tread wet AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
amd:Retinal_laser_photocoagulation amd:treats amd:Wet_AMD .
}"
36,Are there any medical procedures for Wet AMD that have the success rate over 90%?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
?procedure a amd:Medical_Procedure .
?procedure amd:treats amd:Wet_AMD .
?procedure amd:success_rate ?success_rate .
FILTER(?success_rate > 0.9)
}"
37,What medical procedures for Wet AMD have a success rate of over 90%?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select ?procedure where {
?procedure a amd:Medical_Procedure .
?procedure amd:treats amd:Wet_AMD .
?procedure amd:success_rate ?success_rate .
FILTER(?success_rate > 0.9)
}"
38,What medical procedures for AMD require a follow up?,"PREFIX : <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16/>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?procedure where {
?procedure a amd:Medical_Procedure .
?amd a amd:AMD .
?procedure amd:treats ?amd .
?procedure amd:follow_up_necessary true .
}"
39,What groups of people are not affected by AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Group_of_people .
?amd a amd:AMD .
FILTER NOT EXISTS { ?amd amd:affects ?s } .
}"
40,What medical procedure for wet AMD has the highest success rate?,"PREFIX : <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16/>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s amd:treats amd:Wet_AMD .
?s a amd:Medical_Procedure .
?s amd:success_rate ?success_rate .
} ORDER BY DESC (?success_rate) LIMIT 1"
41,What actions does wet AMD not affect?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Action .
FILTER NOT EXISTS { amd:Dry_AMD amd:impairs ?s } .
}"
42,What imaging techniques are not used to monitor AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:Imaging_technique .
?amd a amd:AMD .
FILTER NOT EXISTS { ?s amd:monitors ?amd . }
}"
43,Can optical coherence tomography be used to monitor AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
?amd a amd:AMD .
amd:Optical_coherence_tomography amd:monitors ?amd .
}"
44,What are the other names for dry AMD?,"PREFIX owl: <http://www.w3.org/2002/07/owl#>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s owl:sameAs amd:Dry_AMD .
}"
45,What are the other names for wet AMD?,"PREFIX owl: <http://www.w3.org/2002/07/owl#>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s owl:sameAs amd:Wet_AMD .
}"
46,Is dry AMD the same as atrophic AMD?,"PREFIX owl: <http://www.w3.org/2002/07/owl#>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
amd:Atrophic_AMD owl:sameAs amd:Dry_AMD .
}"
47,Is exudative AMD the same as wet AMD?,"PREFIX owl: <http://www.w3.org/2002/07/owl#>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
amd:Exudative_AMD owl:sameAs amd:Wet_AMD .
}"
48,Is neovascular AMD the same as wet AMD?,"PREFIX owl: <http://www.w3.org/2002/07/owl#>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
amd:Neovascular_AMD owl:sameAs amd:Wet_AMD .
}"
49,What does CNV stand for?,"PREFIX owl: <http://www.w3.org/2002/07/owl#>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
amd:CNV owl:sameAs ?s .
}"
50,What is scotoma?,"PREFIX owl: <http://www.w3.org/2002/07/owl#>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s owl:sameAs amd:Scotoma .
}"
51,What causes type of AMD causes blind spots?,"PREFIX owl: <http://www.w3.org/2002/07/owl#>
prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?s a amd:AMD .
?s amd:causes amd:Blind_spot .
}"
52,Is CNV a sign of wet AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
amd:Choroidal_neovascularization amd:presentIn amd:Dry_AMD .
}"
53,Is CNV a sign of dry AMD?,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
amd:Choroidal_neovascularization amd:presentIn amd:Wet_AMD .
}"
54,Give me medical procedures that treat AMD and the type of AMD that they treat.,"prefix amd:<http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#> select distinct
?s ?amd where {
?s a amd:Medical_Procedure .
?amd a amd:AMD .
?s amd:treats ?amd .
}"
55,What are the two forms of age-related macular degeneration?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select ?s where {
?s a amd:AMD .
}"
56,What are some signs of AMD and the type of AMD they are affect?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select ?s ?amd where {
?s a amd:Sign .
?amd a amd:AMD .
?s amd:presentIn ?amd
}"
57,Give me all medical procedures for AMD that are not ivasive.,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select ?s where {
?amd a amd:AMD .
?s a amd:Medical_Procedure .
?s amd:treats ?amd .
?s amd:invasive false .
}"
58,How can AMD be monitored?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?s amd:monitors ?amd .
}"
59,Give me all types of AMD and how they can be monitored.,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s ?amd where {
?amd a amd:AMD .
?s amd:monitors ?amd .
}"
60,I want to know what imaging techniques can be used to monitor AMD.,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?s amd:monitors ?amd .
}"
61,Are my children at risk of AMD?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
?amd a amd:AMD .
?amd amd:hereditary true
}"
62,Is AMD hereditary?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
?amd a amd:AMD .
?amd amd:hereditary true
}"
63,What is macular degeneration?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select ?amd ?description where {
?amd a amd:AMD .
?amd amd:description ?description
}"
64,What are the two forms of age-related macular degeneration,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select ?amd ?description where {
?amd a amd:AMD .
} limit 2"
65,Will I go blind from macular degeneration?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
?amd a amd:AMD .
?amd amd:causes amd:Blindness .
}"
66,What is the treatment for dry macular degeneration?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select ?s where {
?s amd:treats amd:Dry_AMD .
}"
67,What is the treatment for wet macular degeneration?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select ?s where {
?s amd:treats amd:Wet_AMD .
}"
68,"My�grandmother or grandfather has age-related macular degeneration, will I get macular degeneration?","PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
?amd a amd:AMD .
?amd amd:hereditary true
}"
69,What can I do to prevent macular degeneration from developing?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?s amd:prevents ?amd .
}"
70,Are my children at risk for AMD?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
?amd a amd:AMD .
?amd amd:hereditary true
}"
71,Are there treatment options for my AMD?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select ?s where {
?amd a amd:AMD .
?s amd:treats ?amd .
}"
72,Which specialists can help me manage my condition?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
select distinct ?s {
?amd a amd:AMD .
?s a obo:NCIT_C19254 .
?s amd:treats ?amd .
}"
73,What devices and services can help me live with vision loss from AMD?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s {
?amd a amd:AMD .
?s a amd:Assistive_Device .
?s amd:eases ?amd
}"
74,Does AMD put me at risk for other eye diseases?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
?amd a amd:AMD .
?s a amd:Comorbidity .
?amd amd:causes ?s .
}"
75,What steps can I take to slow down my AMD and protect my vision?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?s amd:treats ?amd .
}"
76,What treatment options are available for this condition?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s {
?amd a amd:AMD .
?s a amd:Treatment .
?s amd:treats ?amd .
}"
77,What can a person do to protect or prolong their vision?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?s amd:prevents ?amd .
}"
78,Can you recommend a vitamin program for me that might be helpful?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?s a amd:Vitamin .
?s amd:prevents ?amd .
}"
79,"Can you get AMD in only one eye, or does it always occur in both?","PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
ask where {
?amd a amd:AMD .
?amd amd:affects_both_eyes true .
}"
80,What potential macular degeneration symptoms should I be aware of and mention to my eye doctor if they arise?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?amd amd:causes ?s .
}"
81,What are the current treatments for macular degeneration?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s {
?amd a amd:AMD .
?s a amd:Treatment .
?s amd:treats ?amd .
}"
82,What makes macular degeneration worse?,"PREFIX amd: <http://www.semanticweb.org/stefan/ontologies/2024/4/untitled-ontology-16#>
select distinct ?s where {
?amd a amd:AMD .
?s amd:worsens ?amd .
}"