PREFIX :           <http://ldf.fi/schema/lawsampo/>
PREFIX d2rq:       <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#>
PREFIX dc:         <http://purl.org/dc/terms/>
PREFIX dcat:       <http://www.w3.org/ns/dcat#>
PREFIX dct:        <http://purl.org/dc/terms/>
PREFIX dcterms:    <http://purl.org/dc/terms/>
PREFIX eli:        <http://data.europa.eu/eli/ontology#>
PREFIX ent:        <http://www.w3.org/ns/entailment/>
PREFIX fnml:       <http://semweb.mmlab.be/ns/fnml#>
PREFIX fno:        <https://w3id.org/function/ontology#>
PREFIX foaf:       <http://xmlns.com/foaf/0.1/>
PREFIX grel:       <http://users.ugent.be/~bjdmeest/function/grel.ttl#>
PREFIX idlab-fn:   <http://example.com/idlab/function/>
PREFIX ldf-schema: <http://ldf.fi/schema/ldf/>
PREFIX ls:         <http://ldf.fi/lawsampo/>
PREFIX lse:        <http://ldf.fi/lawsampo/eli/statute/>
PREFIX lsf:        <http://ldf.fi/schema/lawsampo/functions/>
PREFIX lss:        <http://ldf.fi/schema/lawsampo/>
PREFIX ns1:        <http://www.w3.org/2004/02/skos/core#>
PREFIX ns2:        <http://ldf.fi/schema/lawsampo/>
PREFIX owl:        <http://www.w3.org/2002/07/owl#>
PREFIX ql:         <http://semweb.mmlab.be/ns/ql#>
PREFIX rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs:       <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rml:        <http://semweb.mmlab.be/ns/rml#>
PREFIX rr:         <http://www.w3.org/ns/r2rml#>
PREFIX sd:         <http://www.w3.org/ns/sparql-service-description#>
PREFIX sf:         <http://www.opengis.net/ont/sf#>
PREFIX sfcl:       <http://data.finlex.fi/schema/sfcl/>
PREFIX sfl:        <http://data.finlex.fi/schema/sfl/>
PREFIX skos:       <http://www.w3.org/2004/02/skos/core#>
PREFIX void:       <http://rdfs.org/ns/void#>
PREFIX xsd:        <http://www.w3.org/2001/XMLSchema#>

ls:     rdf:type              sd:Graph;
        dc:description        "RDF metadata of Finnish consolidated legislation and case law"@en;
        dc:license            <http://creativecommons.org/licenses/by/4.0/>;
        dc:rightsHolder       <http://seco.cs.aalto.fi> , <http://www.editapublishing.fi> , <http://urn.fi/URN:NBN:fi:au:finaf:000038069>;
        dc:source             <http://data.finlex.fi>;
        dc:title              "Legislation and Case Law Metadata"@en , "Lainsäädännön ja oikeustapausten metatiedot"@fi;
        void:dataDump         <http://ldf.fi/lawsampo/data?graph=http://ldf.fi/lawsampo/>;
        void:exampleResource  ls:statute_eli_sd_1994_258;
        void:uriSpace         "http://ldf.fi/lawsampo/";
        void:vocabulary       ns2: , ns1: , eli: .

<http://ldf.fi/lawsampo/annotations/>
        rdf:type              sd:Graph;
        dc:description        "LawSampo annotations is a collection of annotated statute and court decision documents (in HTML format) and their referenced terms with descriptions."@en , "Lakisampo-annotaatiot on kokoelma käsitteillä annotoituja säädös- ja oikeistapausasiakirjoja (HTML-formaatissa) sekä käsitteiden kuvauksia."@fi;
        dc:license            <http://creativecommons.org/licenses/by/4.0/>;
        dc:rightsHolder       <http://seco.cs.aalto.fi> , <http://www.editapublishing.fi> , <http://urn.fi/URN:NBN:fi:au:finaf:000038069>;
        dc:title              "LawSampo annotations"@en , "Lakisampo-annotaatiot"@fi;
        void:dataDump         <http://ldf.fi/lawsampo/data?graph=http://ldf.fi/lawsampo/annotations/>;
        void:exampleResource  ls:expression_ecli_kho_1987_A100_fin;
        void:uriSpace         "http://ldf.fi/lawsampo/";
        void:vocabulary       ns2: , ns1: , dc: .

ls:sparql  rdf:type                 sd:Service;
        sd:defaultDataset           <http://ldf.fi/lawsampo>;
        sd:defaultEntailmentRegime  ent:Simple;
        sd:endpoint                 ls:sparql;
        sd:feature                  sd:DereferencesURIs , sd:UnionDefaultGraph;
        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:supportedLanguage        sd:SPARQL11Query .

<http://ldf.fi/lawsampo>
        rdf:type                      sd:Dataset , void:Dataset , dcat:Dataset;
        ldf-schema:dataVisualization  <http://www.lakisampo.fi> , <http://www.ldf.fi/visualization/lawsampo>;
        ldf-schema:starRating         6;
        dc:creator                    <http://seco.cs.aalto.fi>;
        dc:description                "<p>LawSampo Knowledge Graph contains Finnish consolidated legislation and case law as Linked Open Data.</p>\n        <p>To test and demonstrate its usefulness, this Knowledge Graph is in use in the semantic portal <a href=\"https://lakisampo.fi\">LawSampo</a>, explained in more detail in the <a href=\"https://seco.cs.aalto.fi/projects/lakisampo/en/\">project page</a>.</p>\n        <p>The Knowledge Graph is published on <a href=\"https://doi.org/10.5281/zenodo.7696672\">Zenodo</a> with a version history.</p>\n        <p>Example SPARQL queries for the data:</p><ul>\n        <li><a target=\"_blank\" href=\"https://yasgui.triply.cc/#query=PREFIX%20dct%3A%20%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0APREFIX%20lawsampo-schema%3A%20%3Chttp%3A%2F%2Fldf.fi%2Fschema%2Flawsampo%2F%3E%0APREFIX%20lawsampo%3A%20%3Chttp%3A%2F%2Fldf.fi%2Flawsampo%2F%3E%0A%0A%23%20Judgements%20(precedents)%20by%20the%20Supreme%20Court%20in%201980-2020%2C%20grouped%20by%20year%0A%0ASELECT%20(STR(%3Fyear)%20AS%20%3FYear)%20(COUNT(%3Fjudgment)%20AS%20%3FJudgments)%0AWHERE%20%7B%0A%20%20%3Fjudgment%20a%20lawsampo-schema%3AJudgment%20%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20dct%3Acreator%20lawsampo%3Acommon_KKO%20%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20lawsampo-schema%3Ayear%20%3Fyear%20.%0A%20%20FILTER%20(YEAR(%3Fyear)%20%3C%202021)%20.%0A%7D%0AGROUP%20BY%20%3Fyear%0AORDER%20BY%20ASC(%3Fyear)&endpoint=https%3A%2F%2Fldf.fi%2Flawsampo%2Fsparql&requestMethod=POST&tabTitle=Court%20decisions%20by%20year&headers=%7B%7D&contentTypeConstruct=application%2Fn-triples%2C*%2F*%3Bq%3D0.9&contentTypeSelect=application%2Fsparql-results%2Bjson%2C*%2F*%3Bq%3D0.9&outputFormat=gchart&outputSettings=%7B%22chartConfig%22%3A%7B%22options%22%3A%7B%22hAxis%22%3A%7B%22useFormatFromData%22%3Atrue%2C%22viewWindow%22%3Anull%2C%22minValue%22%3Anull%2C%22maxValue%22%3Anull%2C%22viewWindowMode%22%3Anull%7D%2C%22legacyScatterChartLabels%22%3Atrue%2C%22tooltip%22%3A%7B%22isHtml%22%3Atrue%2C%22ignoreBounds%22%3Atrue%7D%2C%22vAxes%22%3A%5B%7B%22useFormatFromData%22%3Atrue%2C%22viewWindow%22%3A%7B%22max%22%3Anull%2C%22min%22%3Anull%7D%2C%22minValue%22%3Anull%2C%22maxValue%22%3Anull%7D%2C%7B%22useFormatFromData%22%3Atrue%2C%22viewWindow%22%3A%7B%22max%22%3Anull%2C%22min%22%3Anull%7D%2C%22minValue%22%3Anull%2C%22maxValue%22%3Anull%7D%5D%2C%22curveType%22%3A%22%22%2C%22booleanRole%22%3A%22certainty%22%2C%22lineWidth%22%3A2%2C%22legend%22%3A%22right%22%2C%22width%22%3A%22100%25%22%2C%22height%22%3A%22100%25%22%2C%22useFirstColumnAsDomain%22%3Atrue%7D%2C%22state%22%3A%7B%7D%2C%22view%22%3A%7B%22columns%22%3Anull%2C%22rows%22%3Anull%7D%2C%22isDefaultVisualization%22%3Afalse%2C%22chartType%22%3A%22LineChart%22%7D%7D\">\n\t\tJudgments by the Supreme Court by year</a></li>\n\t\t<li><a target=\"_blank\" href=\"https://yasgui.triply.cc/#query=PREFIX%20skos%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E%0APREFIX%20dct%3A%20%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0APREFIX%20eli%3A%20%3Chttp%3A%2F%2Fdata.europa.eu%2Feli%2Fontology%23%3E%0APREFIX%20lawsampo-schema%3A%20%3Chttp%3A%2F%2Fldf.fi%2Fschema%2Flawsampo%2F%3E%0APREFIX%20lawsampo-subjects%3A%20%3Chttp%3A%2F%2Fldf.fi%2Flawsampo%2Fsubjects%2F%3E%0A%0A%23%20Statutes%20related%20to%20nuclear%20energy%20(based%20on%20automatic%20subject%20indexing)%0A%0ASELECT%20%3Fstatute%20%3Fstatute_type%20%3Fidentifier%20%3Fenforcement_date%20%3Fstatute_uri%0AWHERE%20%7B%0A%20%20%3Fstatute_uri%20dct%3Asubject%20lawsampo-subjects%3Aydinenergia%20%3B%20%23%20nuclear%20energy%20(%22ydinenergia%22%20in%20Finnish)%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20a%20lawsampo-schema%3AStatute%20%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20skos%3AprefLabel%20%3Fstatute%20%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20eli%3Atype_document%2Fskos%3AprefLabel%20%3Fstatute_type%20%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20lawsampo-schema%3Asf_identifier%20%3Fidentifier%20%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20lawsampo-schema%3Astatute_date%20%3Fenforcement_date%20.%0A%20%20FILTER%20(LANGMATCHES(LANG(%3Fstatute_type)%2C%20%22fi%22))%0A%7D&endpoint=https%3A%2F%2Fldf.fi%2Flawsampo%2Fsparql&requestMethod=POST&tabTitle=Statutes%20related%20to%20nuclear%20energy&headers=%7B%7D&contentTypeConstruct=application%2Fn-triples%2C*%2F*%3Bq%3D0.9&contentTypeSelect=application%2Fsparql-results%2Bjson%2C*%2F*%3Bq%3D0.9&outputFormat=table\">\n\t\tStatutes related to nuclear energy</a></li>\n        </ul>"@en;
        dc:license                    <http://creativecommons.org/licenses/by/4.0/>;
        dc:modified                   "2023-01-10"^^xsd:date;
        dc:publisher                  <http://seco.cs.aalto.fi>;
        dc:rightsHolder               <http://seco.cs.aalto.fi> , <http://www.editapublishing.fi> , <http://urn.fi/URN:NBN:fi:au:finaf:000038069>;
        dc:source                     <http://data.finlex.fi>;
        dc:subject                    <http://www.yso.fi/onto/yso/p13854> , <http://www.yso.fi/onto/koko/p54593> , <http://www.yso.fi/onto/koko/p15488> , <http://www.yso.fi/onto/koko/p33440> , <http://www.yso.fi/onto/koko/p2394>;
        dc:title                      "LawSampo"@en , "Lakisampo"@fi;
        void:dataDump                 <https://zenodo.org/record/7696672/files/lawsampo-data-v1.0.0.zip>;
        void:sparqlEndpoint           ls:sparql;
        void:uriLookupEndPoint        <http://ldf.fi/data?uri=>;
        void:uriSpace                 "http://ldf.fi/lawsampo/";
        sd:namedGraph                 [ rdf:type  sd:NamedGraph;
                                        sd:graph  ls:;
                                        sd:name   ls:
                                      ];
        sd:namedGraph                 [ rdf:type  sd:NamedGraph;
                                        sd:graph  <http://ldf.fi/lawsampo/annotations/>;
                                        sd:name   <http://ldf.fi/lawsampo/annotations/>
                                      ];
        foaf:homepage                 <http://www.ldf.fi/dataset/lawsampo> .

<http://seco.cs.aalto.fi>
        rdf:type       foaf:Organization;
        ns1:prefLabel  "Semantic Computing Research Group (SeCo)"@en , "Semanttisen laskennan tutkimusryhmä (SeCo)"@fi;
        foaf:homepage  <https://seco.cs.aalto.fi> .

<http://www.editapublishing.fi>
        rdf:type       foaf:Organization;
        ns1:prefLabel  "Edita Publishing Ltd"@en , "Edita Publishing Oy"@fi;
        foaf:homepage  <http://www.editapublishing.fi> .

<http://urn.fi/URN:NBN:fi:au:finaf:000038069>
        rdf:type       foaf:Organization;
        ns1:prefLabel  "Oikeusministeriö"@fi .

<http://data.finlex.fi>
        rdf:type       ns2:Database;
        dc:modified    "2021-08-17"^^xsd:date;
        ns1:prefLabel  "Semantic Finlex"@en , "Semanttinen Finlex"@fi;
        foaf:page      <https://data.finlex.fi> .

ns2:Database  rdf:type  rdfs:Class;
        ns1:prefLabel  "A database containing source information"@en .
