OWL Ontology for Kia Car Options

A demo ontology created for Kia retailers, built in 2018 for Semantic SEO Solutions, updated and tested in December 2020.

The ontology extends the Kia Ontology.

Status: incomplete

w3c Logo

Used technologies:

  • OWL (Web Ontology Language)

  • XML/RDF

  • Protege

SparQL Query to get the domains, and the description of features.
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 ko: <http://iurianu.rocks/ontology/ko.owl#>

SELECT ?subject ?description ?domain
	FROM <http://iurianu.rocks/ontology/ko.owl#>
	WHERE { 
		?subject rdfs:domain ko:Feature .
		?subject ko:description ?description .
		?subject rdfs:domain ?domain .
	}
SparQL Query to get Option Names, Option Group, and the Price Specifications for Kia Soul Ev mades
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 ko: <http://iurianu.rocks/ontology/ko.owl#>

SELECT ?Package ?Option_Name ?Price_Specification ?Group
	FROM <http://iurianu.rocks/ontology/ko.owl#>
	WHERE { 
		?Group rdfs:subClassOf ko:OptionSet .
		?Package rdfs:subClassOf ?Group .
		?Option_Name rdf:type ?Package ;
			ko:hasPriceSpecification ?spec .
		?spec rdf:type ?Price_Specification .
	// Eliminate duplicates
	FILTER not exists {FILTER regex(str(?Price_Specification), "Individual")}
	// select only the Individuals you want to appear
	FILTER regex(str(?Group), "Set")
	FILTER regex(str(?Package), "2017")
	}
	order by asc(UCASE(str(?Option_Name)))
OWL Ontology for Kia Car Options