# A TEMPLATE FOR PROVIDING THE SERVICE DESCRIPTION OF YOUR DATASET

@prefix sd: <http://www.w3.org/ns/sparql-service-description#> .
@prefix ent: <http://www.w3.org/ns/entailment/> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix ldf: <http://ldf.fi/schema/ldf/> .

# This is an example SPARQL Service Description for the Semantic Finlex dataset
# in the LDF.fi service. The SPARQL Service Description is used in LDF.fi for
# creating the dataset homepage.

# You can use this as a template for your own dataset. You should replace
# "finlex" with your dataset ID (= Fuseki service ID).

# The RDF content in this file should be published in the Fuseki service
# http://ldf.fi/SERVICE, as the named grah http://ldf.fi/SERVICE/void/
# (where SERVICE is the ID of the Fuseki service).


<http://ldf.fi/finlex/sparql> a sd:Service ;
	sd:endpoint <http://ldf.fi/finlex/sparql> ;
	sd:supportedLanguage sd:SPARQL11Query ;
	sd:resultFormat <http://www.w3.org/ns/formats/Turtle>, <http://www.w3.org/ns/formats/RDF_XML>, <http://www.w3.org/ns/formats/N3>, <http://www.w3.org/ns/formats/N-Triples> ;
	sd:feature sd:DereferencesURIs, sd:UnionDefaultGraph ;
	sd:defaultEntailmentRegime ent:Simple ;
	sd:defaultDataset <http://ldf.fi/finlex> .

<http://ldf.fi/finlex> a sd:Dataset ;
	dcterms:title "Semantic Finlex"@en ;
	dcterms:description "This dataset includes data regarding Finnish legislation and court decisions. The RDF data has been converted using data from the Finlex service; we call the new dataset Semantic Finlex. Special thanks to the Ministry of Justice, Edita Publishing Ltd. and Talentum Corp."@en ;
	foaf:homepage <http://www.ldf.fi/dataset/finlex> ; # The dataset homepage is automatically generated based on the SPARQL Service Description
	dcterms:source <http://finlex.fi> ; # Here source is defined for the whole dataset, the same property can also be used for an individual graph
	dcterms:license <http://creativecommons.org/licenses/by/3.0/> ; # Here license is defined for the whole dataset, the same property can also be used for an individual graph
	dcterms:subject <http://dbpedia.org/resource/Law> ;
	void:uriLookupEndPoint <http://ldf.fi/data?uri=> ;
	void:sparqlEndpoint <http://ldf.fi/finlex/sparql> ;
	void:uriSpace "http://ldf.fi/finlex/" ;
	ldf:dataVisualization <http://www.ldf.fi/visualization/finlex> ; # Default generic visualization page automatically generated based on the dataset ID; Here visualization URL is defined for the whole dataset, the same property can also be used for an individual graph (though automatic default visualization cannot be applied)
	ldf:starRating "6"^^xsd:integer ;
	sd:namedGraph [
		a sd:NamedGraph ;
		sd:name <http://ldf.fi/finlex/laki> ;
		sd:graph <http://ldf.fi/finlex/laki> ;
	] ;
	sd:namedGraph [
		a sd:NamedGraph ;
		sd:name <http://ldf.fi/finlex/oikeus> ;
		sd:graph <http://ldf.fi/finlex/oikeus> ;
	] .

<http://ldf.fi/finlex/laki> a sd:Graph ;
	dcterms:title "Finnish Legislation"@en ;
	dcterms:description "Finnish acts and decrees."@en ;
	void:dataDump <http://ldf.fi/finlex/data?graph=http://ldf.fi/finlex/laki> ;
	void:uriSpace "http://ldf.fi/finlex/laki/" ;
	void:exampleResource <http://ldf.fi/finlex/laki/p869288> ;
	void:vocabulary <http://purl.org/finlex/schema/laki/> ; # URI of the schema, typically http://ldf.fi/schema/SCHEMA/ - the schema should be published in LDF.fi
	ldf:dataDocumentation <http://latest.vocab.at?uri=http://ldf.fi/finlex/sparql&graph=http://ldf.fi/finlex/laki> .
	
<http://ldf.fi/finlex/oikeus> a sd:Graph ;
	dcterms:title "Finnish Court Decisions"@en ;
	dcterms:description "Decisions of the Supreme Court and the Supreme Administrative Court."@en ;
	void:dataDump <http://ldf.fi/finlex/data?graph=http://ldf.fi/finlex/oikeus> ;
	void:uriSpace "http://ldf.fi/finlex/oikeus/" ;
	void:exampleResource <http://ldf.fi/finlex/oikeus/p152936> ;
	void:vocabulary <http://purl.org/finlex/schema/oikeus/> ;
	ldf:dataDocumentation <http://latest.vocab.at?uri=http://ldf.fi/finlex/sparql&graph=http://ldf.fi/finlex/oikeus> .

