All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttl.owleltc.classexpowleltc.one.rq Maven / Gradle / Ivy

Go to download

Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1 Query and Update.

There is a newer version: 4.6.1
Show newest version
# enumerations involving more than one individual (ObjectOneOf and DataOneOf)

template {
	?suc
}	
where {
	select ?suc where {
		{
			# count the number of individuals into our oneOf
			select ?in (count(?individual) as ?nbInd) {
				?in owl:oneOf ?z
				?z rdf:rest*/rdf:first ?individual
			} group by ?in
		}
		# a single individual or a single literal
		bind((?nbInd = 1) as ?suc)
		filter(st:visit(st:err("one"), ?in, ?suc))
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy