OWL Ontology for Alternative Medicine

A demo ontology for alternative medicine, created in 2016 for Semantic SEO Solutions, updated and tested in December 2020.

Status: incomplete

Alternative Medicine

Used technologies:

  • OWL (Web Ontology Language)

  • XML/RDF

  • Protege

SparQL Query to get all Individuals, and their types
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?subject ?object
	FROM <http://iurianu.rocks/ontology/amed.owl#>
	WHERE { ?subject rdfs:subClassOf ?object }
SparQL Query to get all children of PreventiveHealthCare
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX amed: <http://iurianu.rocks/ontology/amed.owl#>

SELECT *
	FROM <http://iurianu.rocks/ontology/amed.owl#>
	WHERE { ?x rdfs:subClassOf PreventiveHealthCare }
SparQL Query to get title, and description for all children of Yoga
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX amed: <http://iurianu.rocks/ontology/amed.owl#>

SELECT ?label ?description
	FROM <http://iurianu.rocks/ontology/amed.owl#>
	WHERE { 
		?x rdfs:subClassOf amed:Yoga .
		?x rdfs:label ?label .
		?x dc:description ?description .
	}
OWL Ontology for Alternative Medicine