@prefix log: . @prefix string: . @prefix func: . @prefix e: . @prefix owl: . @prefix rdfs: . @prefix rdf: . @prefix schema: . @prefix : . ### rules producing log:outputString { ?U :header ?V. } => { "alfa" log:outputString ?V. }. { ?S a rdfs:Class. ?S log:uri ?S1. ?S1 :getLabel ?S2. ("""
\n""") string:concatenation ?S3. (""" """ ?S2 """\n""") string:concatenation ?S4. ?SCOPE e:findall ( ?S6 { ?S rdfs:comment ?S5. (""" """ ?S5 """\n""") string:concatenation ?S6. } ?L ). ?L string:concatenation ?S7. ?SCOPE e:findall ( ?O3 { ?S rdfs:subClassOf ?O. ?O log:uri ?O1. ?O1 :getLabel ?O2. (""" Subclass of: """ ?O2 """\n""") string:concatenation ?O3. } ?L1 ). ?L1 string:concatenation ?S8. (?S3 ?S4 ?S7 ?S8 """
\n\n""") string:concatenation ?S9. } => { "beta" log:outputString ?S9. }. { ?S a rdf:Property. ?S log:uri ?S1. ?S1 :getLabel ?S2. ("""
\n""") string:concatenation ?S3. (""" """ ?S2 """\n""") string:concatenation ?S4. ?SCOPE e:findall ( ?S6 { ?S rdfs:comment ?S5. (""" """ ?S5 """\n""") string:concatenation ?S6. } ?L ). ?L string:concatenation ?S7. ?SCOPE e:findall ( ?O1 { ?S schema:domainIncludes ?O2. ?O2 log:uri ?O3. ?O3 :getLabel ?O4. (""" Domain: """ ?O4 """\n""") string:concatenation ?O1. } ?L1 ). ?L1 string:concatenation ?S8. ?SCOPE e:findall ( ?O5 { ?S schema:rangeIncludes ?O6. ?O6 log:uri ?O7. ?O7 :getLabel ?O8. (""" Range: """ ?O8 """\n""") string:concatenation ?O5. } ?L2 ). ?L2 string:concatenation ?S9. ?SCOPE e:findall ( ?O9 { ?S rdfs:subPropertyOf ?O10. ?O10 log:uri ?O11. ?O11 :getLabel ?O12. (""" SubProperty of: """ ?O12 """\n""") string:concatenation ?O9. } ?L3 ). ?L3 string:concatenation ?S10. (?S3 ?S4 ?S7 ?S8 ?S9 ?S10 """
\n\n""") string:concatenation ?S11. } => { "gamma" log:outputString ?S11. }. { ?U :footer ?V. } => { "omega" log:outputString ?V. }. ### support { ?S a owl:Class. } => { ?S a rdfs:Class. }. { ?S a owl:DatatypeProperty. } => { ?S a rdf:Property. }. { ?S a owl:ObjectProperty. } => { ?S a rdf:Property. }. {?S1 :getLabel ?S2} <= { (?S1 "#") func:substring-after ?S2. }. {?S1 :getLabel ?S2} <= { (?S1 "http://schema.org/") func:substring-after ?S2. }. {?S1 :getLabel ?S2} <= { (?S1 "http://purl.bioontology.org/ontology/SNOMEDCT/") func:substring-after ?S3. ("sctid:" ?S3) string:concatenation ?S2. }. ### header :medicalEntity :header """ medicalEntity schema

medicalEntity schema

This is an RDFa representation of medicalEntity.


""". ### footer :medicalEntity :footer """ """.