├── .github └── workflows │ ├── create-release.yml │ ├── main.yml │ ├── quality.yml │ └── resources │ └── releaseBody.md ├── .gitignore ├── LICENCE.txt ├── README.md ├── THIRD_PARTY_LICENCES.md ├── etc ├── dev │ ├── README.md │ ├── cpsv-ap │ │ ├── config.properties │ │ └── cpsv-ap-2.2.1 │ │ │ ├── CPSV-AP_shacl_cv_shapes v2.2.1.ttl │ │ │ └── CPSV-AP_shacl_shapes v2.2.1.ttl │ ├── dcat-ap │ │ ├── config.properties │ │ └── v1.2 │ │ │ └── dcat-ap1.2..shapes.all.ttl │ ├── generic │ │ └── config.properties │ └── process.sh ├── docker │ ├── README.md │ └── shacl-validator │ │ └── Dockerfile ├── licence │ ├── overrides.txt │ └── third-party-licence-template.ftl └── owasp-suppressions.xml ├── pom.xml ├── shaclvalidator-common ├── pom.xml └── src │ ├── main │ ├── java │ │ └── eu │ │ │ └── europa │ │ │ └── ec │ │ │ └── itb │ │ │ └── shacl │ │ │ ├── ApplicationConfig.java │ │ │ ├── DomainConfig.java │ │ │ ├── DomainConfigCache.java │ │ │ ├── ExtendedValidatorException.java │ │ │ ├── InputHelper.java │ │ │ ├── ModelPair.java │ │ │ ├── SparqlQueryConfig.java │ │ │ ├── config │ │ │ ├── BeanConfiguration.java │ │ │ ├── CustomClassLoaderLocator.java │ │ │ └── CustomLocatorHTTP.java │ │ │ ├── util │ │ │ ├── ShaclValidatorUtils.java │ │ │ └── StatementTranslator.java │ │ │ └── validation │ │ │ ├── AdditionalInfoTemplate.java │ │ │ ├── CustomReadFailureHandler.java │ │ │ ├── FileManager.java │ │ │ ├── ReportSpecs.java │ │ │ ├── SHACLReportHandler.java │ │ │ ├── SHACLResources.java │ │ │ ├── SHACLValidator.java │ │ │ └── ValidationConstants.java │ └── resources │ │ ├── application.properties │ │ ├── defaultquery.rq │ │ └── i18n │ │ ├── validator.properties │ │ ├── validator_bg.properties │ │ ├── validator_cs.properties │ │ ├── validator_da.properties │ │ ├── validator_de.properties │ │ ├── validator_el.properties │ │ ├── validator_en.properties │ │ ├── validator_es.properties │ │ ├── validator_et.properties │ │ ├── validator_fi.properties │ │ ├── validator_fr.properties │ │ ├── validator_ga.properties │ │ ├── validator_hr.properties │ │ ├── validator_hu.properties │ │ ├── validator_it.properties │ │ ├── validator_lt.properties │ │ ├── validator_lv.properties │ │ ├── validator_mt.properties │ │ ├── validator_nl.properties │ │ ├── validator_pl.properties │ │ ├── validator_pt.properties │ │ ├── validator_ro.properties │ │ ├── validator_sk.properties │ │ ├── validator_sl.properties │ │ └── validator_sv.properties │ └── test │ ├── java │ └── eu │ │ └── europa │ │ └── ec │ │ └── itb │ │ └── shacl │ │ ├── DomainConfigTest.java │ │ └── util │ │ └── ShaclValidatorUtilsTest.java │ └── resources │ └── logback-test.xml ├── shaclvalidator-jar ├── pom.xml └── src │ ├── main │ └── java │ │ └── eu │ │ └── europa │ │ └── ec │ │ └── itb │ │ └── shacl │ │ └── standalone │ │ ├── Application.java │ │ ├── ShaclValidationInput.java │ │ └── ValidationRunner.java │ └── test │ ├── java │ └── eu │ │ └── europa │ │ └── ec │ │ └── itb │ │ └── shacl │ │ └── standalone │ │ └── ShaclValidationInputTest.java │ └── resources │ └── logback-test.xml ├── shaclvalidator-resources ├── pom.xml └── src │ └── main │ └── resources │ └── any │ └── config.properties ├── shaclvalidator-service ├── pom.xml └── src │ ├── main │ ├── java │ │ └── eu │ │ │ └── europa │ │ │ └── ec │ │ │ └── itb │ │ │ └── shacl │ │ │ ├── gitb │ │ │ ├── ValidationServiceConfig.java │ │ │ └── ValidationServiceImpl.java │ │ │ └── rest │ │ │ ├── ErrorHandler.java │ │ │ ├── HydraDocumentationConfig.java │ │ │ ├── RestValidationController.java │ │ │ ├── ValidationResources.java │ │ │ └── model │ │ │ ├── Input.java │ │ │ ├── Output.java │ │ │ └── RuleSet.java │ └── resources │ │ └── hydra │ │ ├── EntryPoint.jsonld │ │ ├── api.jsonld │ │ └── vocab.jsonld │ └── test │ ├── java │ └── eu │ │ └── europa │ │ └── ec │ │ └── itb │ │ └── shacl │ │ └── gitb │ │ └── ValidationServiceImplTest.java │ └── resources │ └── logback-test.xml ├── shaclvalidator-war ├── pom.xml └── src │ ├── main │ └── java │ │ └── eu │ │ └── europa │ │ └── ec │ │ └── itb │ │ └── shacl │ │ ├── Application.java │ │ └── webhook │ │ └── StatisticReportingAspect.java │ └── test │ ├── java │ └── eu │ │ └── europa │ │ └── ec │ │ └── itb │ │ └── shacl │ │ └── webhook │ │ └── StatisticReportingAspectTest.java │ └── resources │ └── logback-test.xml └── shaclvalidator-web ├── Gruntfile.js ├── package-lock.json ├── package.json ├── pom.xml └── src ├── main ├── java │ └── eu │ │ └── europa │ │ └── ec │ │ └── itb │ │ └── shacl │ │ └── upload │ │ ├── FileController.java │ │ ├── Translations.java │ │ ├── UploadController.java │ │ └── UploadResult.java └── resources │ ├── resources │ ├── css │ │ └── style-shacl.css │ └── js │ │ └── itb-upload-shacl.js │ └── templates │ ├── js │ ├── partials │ │ ├── reportControlsShacl.hbs │ │ └── reportOverviewButtonsShacl.hbs │ ├── reportMinimalShacl.hbs │ └── reportShacl.hbs │ └── uploadForm.html └── test └── java └── eu └── europa └── ec └── itb └── shacl └── upload └── FileControllerTest.java /.github/workflows/create-release.yml: -------------------------------------------------------------------------------- 1 | name: "create-release" 2 | 3 | on: 4 | push: 5 | tags: 6 | - "*" 7 | 8 | jobs: 9 | create-release: 10 | name: "Create release for pushed tag" 11 | runs-on: "ubuntu-latest" 12 | permissions: 13 | contents: write 14 | steps: 15 | - uses: actions/checkout@v4 16 | - uses: "ncipollo/release-action@v1.14.0" 17 | with: 18 | allowUpdates: true 19 | omitBodyDuringUpdate: true 20 | omitNameDuringUpdate: true 21 | bodyFile: .github/workflows/resources/releaseBody.md 22 | token: "${{ secrets.GITHUB_TOKEN }}" -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: build 2 | on: 3 | push: 4 | branches: [ master ] 5 | workflow_dispatch: 6 | jobs: 7 | build: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - uses: actions/checkout@v4 11 | with: 12 | path: main 13 | - uses: actions/checkout@v4 14 | with: 15 | repository: ISAITB/itb-commons 16 | path: commons 17 | - name: Set up JDK 21 18 | uses: actions/setup-java@v4 19 | with: 20 | distribution: 'temurin' 21 | java-version: '21' 22 | - name: Cache local Maven repository 23 | uses: actions/cache@v4 24 | with: 25 | path: ~/.m2/repository 26 | key: ${{ runner.os }}-maven-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/pom.xml') }} 27 | restore-keys: | 28 | ${{ runner.os }}-maven-${{ secrets.CACHE_VERSION }}| 29 | - name: Generate Maven settings 30 | uses: whelk-io/maven-settings-xml-action@v22 31 | with: 32 | repositories: > 33 | [ 34 | { 35 | "id": "itbRepoRead", 36 | "name": "itbRepoRead", 37 | "url": "${{ secrets.ITB_MVN_REPO_URL }}", 38 | "releases": { 39 | "enabled": "true" 40 | }, 41 | "snapshots": { 42 | "enabled": "true" 43 | } 44 | } 45 | ] 46 | servers: > 47 | [ 48 | { 49 | "id": "itbRepoRead", 50 | "username": "${{ secrets.ITB_MVN_REPO_USER }}", 51 | "password": "${{ secrets.ITB_MVN_REPO_PASS }}" 52 | } 53 | ] 54 | profiles: > 55 | [ 56 | { 57 | "id": "itbRepoRead", 58 | "properties": { 59 | "itbRepoReadUrl": "${{ secrets.ITB_MVN_REPO_URL }}" 60 | } 61 | } 62 | ] 63 | active_profiles: > 64 | [ 65 | "itbRepoRead", "github" 66 | ] 67 | - name: Install commons 68 | run: mvn -B install -DskipTests=true 69 | working-directory: commons 70 | - name: Build with Maven 71 | run: mvn -B package --file pom.xml 72 | working-directory: main -------------------------------------------------------------------------------- /.github/workflows/quality.yml: -------------------------------------------------------------------------------- 1 | name: quality 2 | on: 3 | push: 4 | branches: 5 | - "*" 6 | workflow_dispatch: 7 | jobs: 8 | build: 9 | name: Build 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v4 13 | with: 14 | fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis 15 | path: main 16 | - uses: actions/checkout@v4 17 | with: 18 | repository: ISAITB/itb-commons 19 | path: commons 20 | - name: Set up JDK 21 21 | uses: actions/setup-java@v4 22 | with: 23 | distribution: 'temurin' 24 | java-version: '21' 25 | - name: Cache SonarCloud packages 26 | uses: actions/cache@v4 27 | with: 28 | path: ~/.sonar/cache 29 | key: ${{ runner.os }}-sonar 30 | restore-keys: ${{ runner.os }}-sonar 31 | - name: Cache Maven packages 32 | uses: actions/cache@v4 33 | with: 34 | path: ~/.m2 35 | key: ${{ runner.os }}-m2-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/pom.xml') }} 36 | restore-keys: ${{ runner.os }}-m2-${{ secrets.CACHE_VERSION }} 37 | - name: Generate Maven settings 38 | uses: whelk-io/maven-settings-xml-action@v22 39 | with: 40 | repositories: > 41 | [ 42 | { 43 | "id": "itbRepoRead", 44 | "name": "itbRepoRead", 45 | "url": "${{ secrets.ITB_MVN_REPO_URL }}", 46 | "releases": { 47 | "enabled": "true" 48 | }, 49 | "snapshots": { 50 | "enabled": "true" 51 | } 52 | } 53 | ] 54 | servers: > 55 | [ 56 | { 57 | "id": "itbRepoRead", 58 | "username": "${{ secrets.ITB_MVN_REPO_USER }}", 59 | "password": "${{ secrets.ITB_MVN_REPO_PASS }}" 60 | } 61 | ] 62 | profiles: > 63 | [ 64 | { 65 | "id": "itbRepoRead", 66 | "properties": { 67 | "itbRepoReadUrl": "${{ secrets.ITB_MVN_REPO_URL }}" 68 | } 69 | } 70 | ] 71 | active_profiles: > 72 | [ 73 | "itbRepoRead", "github" 74 | ] 75 | - name: Install commons 76 | run: mvn -B install -DskipTests=true 77 | working-directory: commons 78 | - name: Build and analyze 79 | env: 80 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any 81 | SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} 82 | run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=ISAITB_shacl-validator 83 | working-directory: main -------------------------------------------------------------------------------- /.github/workflows/resources/releaseBody.md: -------------------------------------------------------------------------------- 1 | # Overview 2 | 3 | The [Interoperability Test Bed](https://joinup.ec.europa.eu/collection/interoperability-test-bed-repository/solution/interoperability-test-bed) is pleased to announce the availability of the latest release of its RDF validator. 4 | 5 | # Usage 6 | 7 | The primary means of using the validator is via Docker image, either directly to create a container, or as a base image for custom validator images. The release's image is published on the [Docker Hub](https://hub.docker.com/) as [isaitb/shacl-validator:latest](https://hub.docker.com/r/isaitb/shacl-validator). 8 | 9 | Details on configuring and using the validator are provided in the [RDF validation guide](https://www.itb.ec.europa.eu/docs/guides/latest/validatingRDF/index.html), with additional details for on-premise installations in the [production installation guide](https://www.itb.ec.europa.eu/docs/guides/latest/installingValidatorProduction/index.html). 10 | 11 | # Change Log 12 | 13 | The list of changes included in each validator release can be consulted in the [RDF validator change log](https://www.itb.ec.europa.eu/docs/guides/latest/validatingRDF/index.html#change-history). -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # IntelliJ IDEA 2 | *.iml 3 | *.log 4 | .idea 5 | target 6 | .metadata/ 7 | .project 8 | .settings 9 | .classpath 10 | **/bin/ 11 | **/.factorypath 12 | pom.xml.versionsBackup 13 | /shaclvalidator-web/node/ 14 | /shaclvalidator-web/node_modules/ -------------------------------------------------------------------------------- /etc/dev/README.md: -------------------------------------------------------------------------------- 1 | # Development resources 2 | 3 | The resources in this directory serve as a resource root that can be used for development purposes. 4 | 5 | To use it define (e.g. as an environment variable) property `validator.resourceRoot` to point to the `dev` folder 6 | folder. -------------------------------------------------------------------------------- /etc/dev/cpsv-ap/config.properties: -------------------------------------------------------------------------------- 1 | # A comma-separated list of supported validation types. Values need to be reflected in properties validator.typeLabel, validator.schemaFile, validator.schematronFolder. 2 | validator.type = v2.2.1 3 | validator.typeLabel.v2.2.1 = CPSV-AP version 2.2.1 4 | validator.externalShapes.v2.2.1 = true 5 | # The schematron files loaded for a given validation type (added as a postfix). This can be a file or folder (must never start with a '/'). 6 | validator.shaclFile.v2.2.1 = cpsv-ap-2.2.1 7 | # Example of remote SHACL file definition. 8 | # validator.shaclFile.v2.2.1.remote.0.url = https://raw.githubusercontent.com/catalogue-of-services-isa/CPSV-AP/master/releases/2.2/SC2015DI07446_D02.02_CPSV-AP_v2.2_RDF_Schema_v1.00.ttl 9 | # validator.shaclFile.v2.2.1.remote.0.type = text/turtle 10 | # The default report syntax to use if none is provided. 11 | validator.defaultReportSyntax = application/ld+json -------------------------------------------------------------------------------- /etc/dev/cpsv-ap/cpsv-ap-2.2.1/CPSV-AP_shacl_cv_shapes v2.2.1.ttl: -------------------------------------------------------------------------------- 1 | @prefix adms: . 2 | @prefix cpsv: . 3 | @prefix cv: . 4 | @prefix dct: . 5 | @prefix sh: . 6 | 7 | cpsv:HasShapeCV-MDRLanguage 8 | a sh:PropertyShape ; 9 | sh:path dct:language ; 10 | sh:pattern "^http://publications.europa.eu/resource/authority/language/" ; 11 | sh:nodeKind sh:IRI ; 12 | sh:severity sh:Warning . 13 | 14 | cpsv:HasShapeCV-ADMSStatus 15 | a sh:PropertyShape ; 16 | sh:path adms:status ; 17 | sh:pattern "^http://purl.org/adms/status/" ; 18 | sh:nodeKind sh:IRI ; 19 | sh:severity sh:Warning . 20 | 21 | cpsv:PublicServiceShapeCV 22 | a sh:NodeShape ; 23 | sh:targetClass cpsv:PublicService ; 24 | sh:property cpsv:HasShapeCV-MDRLanguage ; 25 | sh:property cpsv:HasShapeCV-MDRSpatial ; 26 | sh:property cpsv:HasShapeCV-ADMSStatus . 27 | 28 | cpsv:EvidenceShapeCV 29 | a sh:NodeShape ; 30 | sh:targetClass cv:Evidence ; 31 | sh:property cpsv:HasShapeCV-MDRLanguage . 32 | 33 | cpsv:RuleShapeCV 34 | a sh:NodeShape ; 35 | sh:targetClass cpsv:Rule ; 36 | sh:property cpsv:HasShapeCV-MDRLanguage . 37 | 38 | cpsv:HasShapeCV-MDRSpatial 39 | a sh:PropertyShape ; 40 | sh:path dct:spatial ; 41 | sh:pattern "^(http://publications.europa.eu/resource/authority/continent/|http://publications.europa.eu/resource/authority/country/|http://publications.europa.eu/resource/authority/place/|http://sws.geonames.org/)" ; 42 | sh:nodeKind sh:IRI ; 43 | sh:severity sh:Warning . 44 | 45 | cpsv:PublicOrganizationShapeCV 46 | a sh:NodeShape ; 47 | sh:targetClass cv:PublicOrganisation ; 48 | sh:property cpsv:HasShapeCV-MDRSpatial . 49 | 50 | cpsv:HasShapeCV-MDRCurrency 51 | a sh:PropertyShape ; 52 | sh:path cv:currency ; 53 | sh:pattern "^http://publications.europa.eu/resource/authority/currency/" ; 54 | sh:nodeKind sh:IRI ; 55 | sh:severity sh:Warning . 56 | 57 | cpsv:CostShapeCV 58 | a sh:NodeShape ; 59 | sh:targetClass cv:Cost ; 60 | sh:property cpsv:HasShapeCV-MDRCurrency . 61 | -------------------------------------------------------------------------------- /etc/dev/dcat-ap/config.properties: -------------------------------------------------------------------------------- 1 | # A comma-separated list of supported validation types. Values need to be reflected in properties validator.typeLabel, validator.schemaFile, validator.schematronFolder. 2 | validator.type = v1.2 3 | validator.typeLabel.v1.2 = DCAT-AP version 1.2 4 | # The schematron files loaded for a given validation type (added as a postfix). This can be a file or folder (must never start with a '/'). 5 | validator.shaclFile.v1.2 = v1.2 6 | # Example of remote SHACL file definition. 7 | # validator.shaclFile.v2.2.1.remote.0.url = https://raw.githubusercontent.com/catalogue-of-services-isa/CPSV-AP/master/releases/2.2/SC2015DI07446_D02.02_CPSV-AP_v2.2_RDF_Schema_v1.00.ttl 8 | # validator.shaclFile.v2.2.1.remote.0.type = text/turtle 9 | # The default report syntax to use if none is provided. 10 | validator.defaultReportSyntax = application/rdf+xml -------------------------------------------------------------------------------- /etc/dev/generic/config.properties: -------------------------------------------------------------------------------- 1 | # A comma-separated list of supported validation types. Values need to be reflected in properties validator.typeLabel, validator.schemaFile, validator.schematronFolder. 2 | validator.type = common 3 | validator.typeLabel.common = Generic SHACL validator 4 | validator.externalShapes.common = true -------------------------------------------------------------------------------- /etc/dev/process.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Bash script to facilitate the testing of the validator as a command-line tool for a given domain. 4 | # 5 | # To use this script: 6 | # 1. Build the project so that the JAR module's JAR is created. 7 | # 2. Make a copy of this script. 8 | # 3. Adapt in the copy the script's configuration variables (see script configuration block below) to match your environment. 9 | # 4. Execute this script from a bash shell. The script also requires the "zip" and "unzip" tools to be defined. 10 | # 11 | # Script configuration - START 12 | # 13 | # The path to the default JAR file for the command line tool (as produced given the maven build). 14 | JAR_PATH="/mnt/d/git/itb/shacl-validator/shaclvalidator-jar/target/validator.jar" 15 | # A temporary folder to be used for processing. 16 | TMP_FOLDER="/mnt/d/_dev/shacl/offline/tmp" 17 | # The folder in which the resulting JAR file will be placed. 18 | PROCESSED_FOLDER="/mnt/d/_dev/shacl/offline/processed" 19 | # The resource folder used to configure the validator (as would be provided to the validator fot the resource root. 20 | RESOURCE_FOLDER="/mnt/d/git/itb/docker/validator-shacl-any" 21 | # The name of the domain within the resource root. 22 | DOMAIN_NAME="resources" 23 | # 24 | # Script configuration - END 25 | # 26 | # No changes should be made in the commands that follow. 27 | echo "Processing $RESOURCE_FOLDER" 28 | rm -rf $TMP_FOLDER 29 | mkdir -p $TMP_FOLDER 30 | rm -rf $PROCESSED_FOLDER 31 | mkdir -p $PROCESSED_FOLDER 32 | cp $JAR_PATH $TMP_FOLDER 33 | (cd $RESOURCE_FOLDER; zip -r $TMP_FOLDER/resources.zip ./*) 34 | unzip $TMP_FOLDER/resources.zip -d $TMP_FOLDER/resources 35 | cp ./validator.jar $TMP_FOLDER 36 | unzip $TMP_FOLDER/validator.jar -d $TMP_FOLDER/validator 37 | rm -rf $TMP_FOLDER/validator.jar 38 | rm -rf $TMP_FOLDER/validator/BOOT-INF/classes/validator-resources.jar 39 | (cd $TMP_FOLDER/resources/; zip -r -0 $TMP_FOLDER/validator/BOOT-INF/classes/validator-resources.jar $DOMAIN_NAME) 40 | (cd $TMP_FOLDER/validator/; zip -r -0 $TMP_FOLDER/validator.jar .) 41 | cp $TMP_FOLDER/validator.jar $PROCESSED_FOLDER/validator.jar -------------------------------------------------------------------------------- /etc/docker/README.md: -------------------------------------------------------------------------------- 1 | # Docker build 2 | 3 | For the docker image build: 4 | 1. Build the jar file for docker from the main project. 5 | 2. Copy the resulting war file into the /etc/docker folder, selecting the folder for the image you want to build. 6 | 3. Build the image with: 7 | - shacl-validator: `docker build -t isaitb/shacl-validator:latest .` 8 | -------------------------------------------------------------------------------- /etc/docker/shacl-validator/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM eclipse-temurin:21-jre-jammy 2 | 3 | RUN mkdir /validator 4 | COPY validator.jar /validator 5 | RUN sh -c 'touch /validator/validator.jar' 6 | ENTRYPOINT ["java","-XX:+ExitOnOutOfMemoryError","-Djava.security.egd=file:/dev/./urandom","-jar","/validator/validator.jar"] 7 | EXPOSE 8080 8 | WORKDIR /validator -------------------------------------------------------------------------------- /etc/licence/overrides.txt: -------------------------------------------------------------------------------- 1 | org.webjars--font-awesome--5.13.0=MIT License -------------------------------------------------------------------------------- /etc/owasp-suppressions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | ^pkg:maven/org\.glassfish/jakarta\.json@.*$ 8 | CVE-2022-45688 9 | 10 | 11 | 14 | ^pkg:maven/com\.github\.jsonld\-java/jsonld\-java@.*$ 15 | CVE-2022-45688 16 | 17 | -------------------------------------------------------------------------------- /shaclvalidator-common/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | shaclvalidator 7 | eu.europa.ec.itb.shacl 8 | 1.9.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | shaclvalidator-common 13 | 14 | 15 | 16 | eu.europa.ec.itb 17 | gitb-types-jakarta 18 | 19 | 20 | eu.europa.ec.itb.commons 21 | validation-commons 22 | 23 | 24 | eu.europa.ec.itb.commons 25 | validation-plugins 26 | 27 | 28 | org.apache.jena 29 | jena-arq 30 | 31 | 32 | commons-io 33 | commons-io 34 | 35 | 36 | org.apache.commons 37 | commons-lang3 38 | 39 | 40 | org.apache.commons 41 | commons-compress 42 | 43 | 44 | org.springframework.boot 45 | spring-boot-starter 46 | 47 | 48 | jakarta.xml.bind 49 | jakarta.xml.bind-api 50 | 51 | 52 | com.sun.xml.bind 53 | jaxb-impl 54 | 55 | 56 | org.topbraid 57 | shacl 58 | 59 | 60 | jakarta.annotation 61 | jakarta.annotation-api 62 | 63 | 64 | org.apache.commons 65 | commons-configuration2 66 | 67 | 68 | org.springframework.boot 69 | spring-boot-starter-test 70 | test 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/java/eu/europa/ec/itb/shacl/ExtendedValidatorException.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * Exception that takes additional messages to report. 7 | */ 8 | public class ExtendedValidatorException extends eu.europa.ec.itb.validation.commons.error.ValidatorException { 9 | 10 | private final List additionalInformation; 11 | 12 | /** 13 | * @param message The main message. 14 | * @param additionalInformation The additional messages to report. 15 | */ 16 | public ExtendedValidatorException(String message, List additionalInformation) { 17 | super(message); 18 | this.additionalInformation = additionalInformation; 19 | } 20 | 21 | /** 22 | * @return The additional messages to report. 23 | */ 24 | public List getAdditionalInformation() { 25 | return additionalInformation; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/java/eu/europa/ec/itb/shacl/ModelPair.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl; 2 | 3 | import org.apache.jena.rdf.model.Model; 4 | 5 | /** 6 | * Wrapper class to hold the pair of a validation's RDF models (input and report). 7 | */ 8 | public class ModelPair { 9 | 10 | private final Model inputModel; 11 | private final Model reportModel; 12 | 13 | /** 14 | * Constructor. 15 | * 16 | * @param inputModel The RDF model that was validated. 17 | * @param reportModel The model for the SHACL validation report. 18 | */ 19 | public ModelPair(Model inputModel, Model reportModel) { 20 | this.inputModel = inputModel; 21 | this.reportModel = reportModel; 22 | } 23 | 24 | /** 25 | * @return The input model. 26 | */ 27 | public Model getInputModel() { 28 | return inputModel; 29 | } 30 | 31 | /** 32 | * @return The report model. 33 | */ 34 | public Model getReportModel() { 35 | return reportModel; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/java/eu/europa/ec/itb/shacl/SparqlQueryConfig.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl; 2 | 3 | /** 4 | * Class encapsulating the SPARQL endpoint query configuration to be used in a validator call. 5 | */ 6 | public class SparqlQueryConfig { 7 | 8 | private String endpoint; 9 | private String query; 10 | private String username; 11 | private String password; 12 | private String preferredContentType; 13 | 14 | /** 15 | * Constructor. 16 | */ 17 | public SparqlQueryConfig() { 18 | this(null, null, null, null, null); 19 | } 20 | 21 | /** 22 | * Constructor. 23 | * 24 | * @param endpoint The endpoint's URL. 25 | * @param query The CONSTRUCT query to use. 26 | * @param username The username for the endpoint's authentication. 27 | * @param password The password for the endpoint's authentication. 28 | * @param preferredContentType The RDF syntax to request from the endpoint. 29 | */ 30 | public SparqlQueryConfig(String endpoint, String query, String username, String password, String preferredContentType) { 31 | this.endpoint = endpoint; 32 | this.query = query; 33 | this.username = username; 34 | this.password = password; 35 | this.preferredContentType = preferredContentType; 36 | } 37 | 38 | /** 39 | * @return The endpoint URL. 40 | */ 41 | public String getEndpoint() { 42 | return endpoint; 43 | } 44 | 45 | /** 46 | * @param endpoint The endpoint URL. 47 | */ 48 | public void setEndpoint(String endpoint) { 49 | this.endpoint = endpoint; 50 | } 51 | 52 | /** 53 | * @return The CONSTRUCT query to use. 54 | */ 55 | public String getQuery() { 56 | return query; 57 | } 58 | 59 | /** 60 | * @param query The CONSTRUCT query to use. 61 | */ 62 | public void setQuery(String query) { 63 | this.query = query; 64 | } 65 | 66 | /** 67 | * @return The username for the endpoint's authentication. 68 | */ 69 | public String getUsername() { 70 | return username; 71 | } 72 | 73 | /** 74 | * @param username The username for the endpoint's authentication. 75 | */ 76 | public void setUsername(String username) { 77 | this.username = username; 78 | } 79 | 80 | /** 81 | * @return The password for the endpoint's authentication. 82 | */ 83 | public String getPassword() { 84 | return password; 85 | } 86 | 87 | /** 88 | * @param password The password for the endpoint's authentication. 89 | */ 90 | public void setPassword(String password) { 91 | this.password = password; 92 | } 93 | 94 | /** 95 | * @return The RDF syntax to request from the endpoint. 96 | */ 97 | public String getPreferredContentType() { 98 | return preferredContentType; 99 | } 100 | 101 | /** 102 | * @param preferredContentType The RDF syntax to request from the endpoint. 103 | */ 104 | public void setPreferredContentType(String preferredContentType) { 105 | this.preferredContentType = preferredContentType; 106 | } 107 | } 108 | -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/java/eu/europa/ec/itb/shacl/config/BeanConfiguration.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.config; 2 | 3 | import eu.europa.ec.itb.shacl.DomainConfig; 4 | import eu.europa.ec.itb.shacl.validation.CustomReadFailureHandler; 5 | import eu.europa.ec.itb.validation.commons.config.DomainPluginConfigProvider; 6 | import org.apache.jena.ontology.OntDocumentManager; 7 | import org.apache.jena.riot.adapters.AdapterFileManager; 8 | import org.apache.jena.riot.system.stream.LocatorFTP; 9 | import org.apache.jena.riot.system.stream.LocatorFile; 10 | import org.springframework.context.annotation.Bean; 11 | import org.springframework.context.annotation.Configuration; 12 | 13 | import jakarta.annotation.PostConstruct; 14 | 15 | 16 | /** 17 | * Configure common spring beans. 18 | */ 19 | @Configuration 20 | public class BeanConfiguration { 21 | 22 | /** 23 | * Support the definition of plugins. 24 | * 25 | * @return The default plugin provider. 26 | */ 27 | @Bean 28 | public DomainPluginConfigProvider pluginConfigProvider() { 29 | return new DomainPluginConfigProvider<>(); 30 | } 31 | 32 | @PostConstruct 33 | public void initialise() { 34 | // Setup FileManager. 35 | var fileManager = AdapterFileManager.get(); 36 | fileManager.getStreamManager().clearLocators(); 37 | fileManager.getStreamManager().addLocator(new LocatorFile()) ; 38 | fileManager.getStreamManager().addLocator(new CustomLocatorHTTP()) ; 39 | fileManager.getStreamManager().addLocator(new LocatorFTP()) ; 40 | fileManager.getStreamManager().addLocator(new CustomClassLoaderLocator(fileManager.getStreamManager().getClass().getClassLoader())) ; 41 | fileManager.setModelCaching(true); 42 | // Setup OntDocumentManager. 43 | var ontDocumentManager = OntDocumentManager.getInstance(); 44 | ontDocumentManager.setFileManager(fileManager); 45 | ontDocumentManager.setReadFailureHandler(new CustomReadFailureHandler()); 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/java/eu/europa/ec/itb/shacl/config/CustomClassLoaderLocator.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.config; 2 | 3 | import org.apache.jena.atlas.web.TypedInputStream; 4 | import org.apache.jena.irix.IRIs; 5 | import org.apache.jena.riot.system.stream.LocatorClassLoader; 6 | import org.slf4j.Logger; 7 | import org.slf4j.LoggerFactory; 8 | 9 | /** 10 | * Replacement of Jena's built-in {@link LocatorClassLoader} which depending on the JRE could result in a different 11 | * type of classloader that could, for HTTP/HTTPS URIs, attempt to retrieve the remote resource. If the resource was 12 | * not found this could be a text or HTML response that should never have been returned. This implementation ensures 13 | * that only URIs with no scheme or at least the file or jar schema are attempted to be loaded.. 14 | */ 15 | public class CustomClassLoaderLocator extends LocatorClassLoader { 16 | 17 | private static final Logger LOG = LoggerFactory.getLogger(CustomClassLoaderLocator.class); 18 | 19 | /** 20 | * @param _classLoader The classloader to use. 21 | */ 22 | public CustomClassLoaderLocator(ClassLoader _classLoader) { 23 | super(_classLoader); 24 | } 25 | 26 | /** 27 | * Only attempt to load the resource if it could be an internal resource on the classpath (not a remote resource). 28 | * 29 | * @param resourceName The resource name. 30 | */ 31 | @Override 32 | public TypedInputStream open(String resourceName) { 33 | String uriSchemeName = IRIs.scheme(resourceName) ; 34 | if (uriSchemeName == null || uriSchemeName.equalsIgnoreCase("file") || uriSchemeName.equalsIgnoreCase("jar")) { 35 | return super.open(resourceName); 36 | } else { 37 | if (LOG.isDebugEnabled()) { 38 | LOG.debug("Skipping resource: {}", resourceName); 39 | } 40 | return null ; 41 | } 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/java/eu/europa/ec/itb/shacl/validation/CustomReadFailureHandler.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.validation; 2 | 3 | import org.apache.commons.lang3.tuple.Pair; 4 | import org.apache.jena.ontology.OntDocumentManager; 5 | import org.apache.jena.rdf.model.Model; 6 | 7 | import java.util.Set; 8 | 9 | /** 10 | * Failure handler to record any remote resources that have failed to be loaded as part of a single model loading 11 | * operation. This class uses a {@link ThreadLocal} to record and communicate back the failed URLs so that they 12 | * can be reported accordingly. 13 | */ 14 | public class CustomReadFailureHandler implements OntDocumentManager.ReadFailureHandler { 15 | 16 | public static final ThreadLocal>> IMPORTS_WITH_ERRORS = new ThreadLocal<>(); 17 | 18 | /** 19 | * Log and record the failure. 20 | * 21 | * {@inheritDoc} 22 | */ 23 | @Override 24 | public void handleFailedRead(String url, Model model, Exception e) { 25 | // Use a thread local because this is a shared default instance. 26 | IMPORTS_WITH_ERRORS.get().add(Pair.of(url, e.getMessage())); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/java/eu/europa/ec/itb/shacl/validation/SHACLResources.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.validation; 2 | 3 | import org.apache.jena.rdf.model.Property; 4 | import org.apache.jena.rdf.model.ResourceFactory; 5 | 6 | /** 7 | * RDF resource constants for SHACL. 8 | */ 9 | public class SHACLResources { 10 | 11 | /** 12 | * Constructor to prevent instantiation. 13 | */ 14 | private SHACLResources() { throw new IllegalStateException("Utility class"); } 15 | 16 | /** The SHACL namespace. */ 17 | static final String NS_SHACL = "http://www.w3.org/ns/shacl#"; 18 | /** The SHACL information message namespace. */ 19 | static final String SHACL_INFO = NS_SHACL+"Info"; 20 | /** The SHACL warning namespace. */ 21 | static final String SHACL_WARNING = NS_SHACL+"Warning"; 22 | /** The SHACL violation namespace. */ 23 | static final String SHACL_VIOLATION = NS_SHACL+"Violation"; 24 | /** The SHACL validation result namespace. */ 25 | static final String SHACL_VALIDATION_RESULT = NS_SHACL+"ValidationResult"; 26 | 27 | /** The conforms property. */ 28 | static final Property CONFORMS = ResourceFactory.createProperty(NS_SHACL, "conforms"); 29 | /** The result property. */ 30 | static final Property RESULT = ResourceFactory.createProperty(NS_SHACL, "result"); 31 | /** The focusNode property. */ 32 | static final Property FOCUS_NODE = ResourceFactory.createProperty(NS_SHACL, "focusNode"); 33 | /** The resultMessage property. */ 34 | static final Property RESULT_MESSAGE = ResourceFactory.createProperty(NS_SHACL, "resultMessage"); 35 | /** The resultSeverity property. */ 36 | static final Property RESULT_SEVERITY = ResourceFactory.createProperty(NS_SHACL, "resultSeverity"); 37 | /** The resultPath property. */ 38 | static final Property RESULT_PATH = ResourceFactory.createProperty(NS_SHACL, "resultPath"); 39 | /** The sourceConstraintComponent property. */ 40 | static final Property SOURCE_CONSTRAINT_COMPONENT = ResourceFactory.createProperty(NS_SHACL, "sourceConstraintComponent"); 41 | /** The value property. */ 42 | static final Property VALUE = ResourceFactory.createProperty(NS_SHACL, "value"); 43 | /** The ValidationReport property. */ 44 | static final Property VALIDATION_REPORT = ResourceFactory.createProperty(NS_SHACL, "ValidationReport"); 45 | 46 | } 47 | -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/java/eu/europa/ec/itb/shacl/validation/ValidationConstants.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.validation; 2 | 3 | /** 4 | * Constants used to name inputs. 5 | */ 6 | public class ValidationConstants { 7 | 8 | /** 9 | * Constructor to prevent instantiation. 10 | */ 11 | private ValidationConstants() { throw new IllegalStateException("Utility class"); } 12 | 13 | /** The RDF content to validate. */ 14 | public static final String INPUT_CONTENT = "contentToValidate"; 15 | /** The explicit content embedding method. */ 16 | public static final String INPUT_EMBEDDING_METHOD = "embeddingMethod"; 17 | /** The RDF syntax (as a mime type) of the provided content. */ 18 | public static final String INPUT_SYNTAX = "contentSyntax"; 19 | /** The validation type. */ 20 | public static final String INPUT_VALIDATION_TYPE = "validationType"; 21 | /** The list of user-provided sets of shapes. */ 22 | public static final String INPUT_EXTERNAL_RULES = "externalRules"; 23 | /** A user-provided set of shapes in one rule file. */ 24 | public static final String INPUT_RULE_SET = "ruleSet"; 25 | /** The RDF syntax of the user-provided shapes file. */ 26 | public static final String INPUT_RULE_SYNTAX = "ruleSyntax"; 27 | /** Whether OWL imports in the provided content should be loaded before validation. */ 28 | public static final String INPUT_LOAD_IMPORTS = "loadImports"; 29 | /** Whether the validated content should be added to the TAR report. */ 30 | public static final String INPUT_ADD_INPUT_TO_REPORT = "addInputToReport"; 31 | /** Whether the shapes used for the validation should be added to the TAR report. */ 32 | public static final String INPUT_ADD_RULES_TO_REPORT = "addRulesToReport"; 33 | /** Whether the SHACL validation report should be added to the TAR report. */ 34 | public static final String INPUT_ADD_RDF_REPORT_TO_REPORT = "addRdfReportToReport"; 35 | /** The syntax for the resulting SHACL validation report. */ 36 | public static final String INPUT_RDF_REPORT_SYNTAX = "rdfReportSyntax"; 37 | /** The SPARQL query to use for post-processing the SHACL validation report. */ 38 | public static final String INPUT_RDF_REPORT_QUERY = "rdfReportQuery"; 39 | /** The SPARQL query to use to load the content to validate. */ 40 | public static final String INPUT_CONTENT_QUERY = "contentQuery"; 41 | /** The endpoint URL for the SPARQL query. */ 42 | public static final String INPUT_CONTENT_QUERY_ENDPOINT = "contentQueryEndpoint"; 43 | /** The username to authenticate against the SPARQL endpoint. */ 44 | public static final String INPUT_CONTENT_QUERY_USERNAME = "contentQueryUsername"; 45 | /** The password to authenticate against the SPARQL endpoint. */ 46 | public static final String INPUT_CONTENT_QUERY_PASSWORD = "contentQueryPassword"; 47 | /** The locale string to consider. */ 48 | public static final String INPUT_LOCALE = "locale"; 49 | 50 | } 51 | -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Hide the Spring boot favicon. 2 | spring.mvc.favicon.enabled=false 3 | # Hide the Spring boot banner. 4 | spring.main.banner-mode=off 5 | # Maximum upload and request sizes. 6 | spring.servlet.multipart.max-file-size=100MB 7 | spring.servlet.multipart.max-request-size=500MB 8 | # Logging path. 9 | logging.file.path = /validator/logs 10 | # Disable default error page. 11 | server.error.whitelabel.enabled=false 12 | # Default logging level. 13 | logging.level.eu.europa.ec.itb=INFO 14 | # Default server port and context path. 15 | server.port=8080 16 | server.servlet.context-path=/shacl 17 | # Reverse proxy support. 18 | server.forward-headers-strategy=NATIVE 19 | # 20 | # Custom application properties 21 | # 22 | # Report path. 23 | validator.tmpFolder = /validator/tmp 24 | # Accepted SHACL extensions. 25 | validator.acceptedShaclExtensions = rdf, ttl, jsonld 26 | # Accepted content types that can be requested via the Accepts header. 27 | validator.acceptedHeaderAcceptTypes = application/ld+json, application/rdf+xml, text/turtle, application/n-triples, application/xml, text/xml, application/json 28 | # Build information 29 | validator.buildVersion = @pom.version@ 30 | validator.buildTimestamp = @validatorTimestamp@ 31 | # Default validation report syntax. 32 | validator.defaultReportSyntax = application/rdf+xml 33 | # The rate at which the external file cache is refreshed (3600000 = 1 hour) 34 | validator.cleanupRate = 3600000 35 | # The rate at which the external file cache is refreshed (600000 = 10 minutes) 36 | validator.cleanupWebRate = 600000 37 | # Properties for the OpenAPI/Swagger documentation. 38 | springdoc.packagesToScan = eu.europa.ec.itb.shacl.rest 39 | springdoc.pathsToMatch = /** 40 | validator.docs.licence.description = European Union Public Licence (EUPL) 1.2 41 | validator.docs.licence.url = https://eupl.eu/1.2/en/ 42 | validator.docs.version = 1.0.0 43 | validator.docs.title = SHACL Validator REST API 44 | validator.docs.description = REST API to validate single or multiple RDF instances against SHACL shapes. 45 | # The complete value to use for the server part for the Hydra API Link header. 46 | validator.hydraServer = http://localhost:${server.port} 47 | # The context path to consider when constructing the API paths in the Hydra documentation. 48 | validator.hydraRootPath = ${server.servlet.context-path} 49 | # The available content syntax to select for input in the web UI. 50 | validator.contentSyntax = application/ld+json, application/rdf+xml, text/turtle, application/n-triples 51 | # The preferred content type to retrieve the data from SPARQL endpoint. 52 | validator.queryPreferredContentType = application/rdf+xml 53 | # Default web service descriptions 54 | validator.defaultContentToValidateDescription = The content to validate, provided as a string, BASE64 or a URI. 55 | validator.defaultEmbeddingMethodDescription = The embedding method to consider for the 'contentToValidate' input ('BASE64', 'URL' or 'STRING'). 56 | validator.defaultContentSyntaxDescription = The mime type of the provided content. 57 | validator.defaultValidationTypeDescription = The type of validation to perform (if multiple types are supported). 58 | validator.defaultExternalRulesDescription = A list of maps that defines external SHACL shapes to consider in addition to any preconfigured ones. Each map item corresponds to a SHACL file and defines the following keys: 'ruleSet' (the rules to consider, see 'contentToValidate' for its semantics), 'ruleSyntax' (the syntax of the 'ruleSet' content, see 'contentSyntax' for its semantics), 'embeddingMethod' (the way to consider the 'ruleSet' value). 59 | validator.defaultLoadImportsDescription = Whether owl:Imports should be loaded (true) or not (false). 60 | validator.defaultAddInputToReportDescription = Whether the returned XML validation report should also include the validated input as context information. 61 | validator.defaultAddRulesToReportDescription = Whether the returned XML validation report should also include the SHACL shapes used for the validation as context information. 62 | validator.defaultContentQueryDescription = The SPARQL query to execute to retrieve the content to validate. 63 | validator.defaultContentQueryEndpointDescription = The URI for the SPARQL endpoint to execute queries against. 64 | validator.defaultContentQueryUsernameDescription = The username to authenticate against the SPARQL endpoint. 65 | validator.defaultContentQueryPasswordDescription = The password to authenticate against the SPARQL endpoint. 66 | validator.defaultAddRdfReportToReportDescription = Whether the raw RDF report should be returned as part of the resulting context information. 67 | validator.defaultRdfReportSyntaxDescription = The mime type for the raw RDF report returned as part of the resulting context (if included). 68 | validator.defaultRdfReportQueryDescription = A post-processing SPARQL CONSTRUCT query to run on the RDF report before returning it in the resulting context. 69 | validator.defaultLocaleDescription = Locale (language code) to use for reporting of results. If the provided locale is not supported by the validator the default locale will be used instead (e.g. "fr", "fr_FR"). 70 | # Default identifier value for statistics reporting 71 | validator.identifier = rdf 72 | # Default country detection for statistics reporting 73 | validator.webhook.statisticsEnableCountryDetection = false 74 | # Default http header for the proxied ip 75 | validator.webhook.ipheader = X-Real-IP -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/defaultquery.rq: -------------------------------------------------------------------------------- 1 | prefix c14n: 2 | prefix dash: 3 | prefix sh: 4 | prefix shskos: 5 | prefix message: 6 | SELECT ?focusNode ?resultMessage ?resultPath ?resultSeverity ?sourceConstraint ?sourceConstraintComponent ?sourceShape ?value WHERE 7 | { 8 | ?vr a sh:ValidationResult . 9 | ?vr sh:focusNode ?focusNode . 10 | OPTIONAL { 11 | ?vr sh:resultMessage ?resultMessage . 12 | } 13 | OPTIONAL { 14 | ?vr sh:resultPath ?resultPath . 15 | } 16 | OPTIONAL { 17 | ?vr sh:resultSeverity ?resultSeverity . 18 | } 19 | OPTIONAL { 20 | ?vr sh:sourceConstraint ?sourceConstraint . 21 | } 22 | OPTIONAL { 23 | ?vr sh:sourceConstraintComponent ?sourceConstraintComponent . 24 | } 25 | OPTIONAL { 26 | ?vr sh:sourceShape ?sourceShape . 27 | } 28 | OPTIONAL { 29 | ?vr sh:value ?value. 30 | } 31 | }ORDER BY ?resultSeverity ?resultMessage -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL Validator 2 | validator.label.contentSyntaxLabel=Content syntax 3 | validator.label.contentSyntaxTooltip=Optional for content provided as a file or a URI if a known file extension is detected 4 | validator.label.includeExternalShapes=Include external shapes 5 | validator.label.externalRulesTooltip=Additional shapes that will be considered for the validation 6 | validator.label.externalShapesLabel=External shapes 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Query 9 | validator.label.reportItemFocusNode=Focus node 10 | validator.label.reportItemResultPath=Result path 11 | validator.label.reportItemShape=Shape 12 | validator.label.reportItemValue=Value 13 | validator.label.loadImportsLabel=Load imports defined in the input? 14 | validator.label.loadImportsTooltip=Load imported resources defined via owl:imports when defining the data graph to validate. 15 | validator.label.queryEndpointInputPlaceholder=SPARQL endpoint URL 16 | validator.label.queryUsernameInputPlaceholder=Username 17 | validator.label.queryPasswordInputPlaceholder=Password 18 | validator.label.queryAuthenticateLabel=Authenticate? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Validation type [{0}] expects the choice of whether or not imports are to be loaded ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Validation type [{0}] does not expect the choice of whether or not imports are to be loaded ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL queries are not supported. 23 | validator.label.exception.sparqlEndpointNeeded=A SPARQL endpoint is needed to execute the query against. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=You cannot provide your own SPARQL endpoint for the validation. 25 | validator.label.exception.sparqlCredentialsNotAllowed=You are not expected to provide credentials for the SPARQL endpoint. 26 | validator.label.exception.sparqlCredentialsRequired=You must provide your credentials for the SPARQL endpoint. 27 | validator.label.exception.sparqlQueryExpected=You must provide the query for the SPARQL endpoint. 28 | validator.label.exception.sparqlQueryError=An error occurred while querying the SPARQL endpoint: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=An error occurred while processing the retrieved content. 30 | validator.label.exception.sparqlQueryMustBeConstruct=The input query must be a CONSTRUCT query. 31 | validator.label.exception.sparqlQueryParsingError=An error occurred while parsing the provided SPARQL Query: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Unable to determine the content type of a SHACL shape file. 33 | validator.label.exception.errorReadingShaclFile=An error occurred while reading a SHACL file. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=The RDF language could not be determined for the provided content. 35 | validator.label.exception.errorWhileReadingProvidedContent=An error occurred while reading the provided content: {0} 36 | validator.label.exception.unknownValidationType=Unknown validation type. One of [{0}] is mandatory. 37 | validator.label.exception.unexpectedParameter=Unexpected parameter [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=The content to validate must either be provided via input or SPARQL query but not both. 39 | validator.label.exception.externalShapeLoadingNotSupported=Loading external shape files is not supported for validation type [{0}] of domain [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=The requested report syntax [{0}] is not supported. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=External shape files that are provided in BASE64 need to also define their syntax. 42 | validator.label.exception.unexpectedErrorDuringValidation=An error occurred during the validation. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=An error occurred during the validation [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=An error occurred while generating the SHACL Validation Report due to a problem in the provided content. 45 | validator.label.exception.downloadError=An error occurred while downloading the requested data. 46 | validator.label.exception.preprocessingError=An error occurred while preprocessing the input file with the SPARQL CONSTRUCT query: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Preprocessing returned empty model after executing SPARQL CONSTRUCT query: {0}. 48 | 49 | validator.label.downloadShapesButton=Download SHACL shapes 50 | validator.label.downloadInputButton=Download validated content 51 | validator.label.contentSyntaxDefault=Based on the file extension 52 | validator.label.contentSyntaxDefaultForUri=Based on the file extension or response type 53 | validator.label.exception.providedContentSyntaxInvalid=Provided content syntax type is not valid 54 | validator.label.exception.providedValidationTypeInvalid=Provided validation type is not valid -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_bg.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL валидатор 2 | validator.label.contentSyntaxLabel=Синтаксис на съдържанието 3 | validator.label.contentSyntaxTooltip=Незадължително за съдържание, предоставено като файл или URI, ако е открито известно разширение на файла 4 | validator.label.includeExternalShapes=Включете външни форми 5 | validator.label.externalRulesTooltip=Допълнителни форми, които ще бъдат взети предвид при валидирането 6 | validator.label.externalShapesLabel=Външни форми 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Запитване 9 | validator.label.reportItemFocusNode=Фокусен възел 10 | validator.label.reportItemResultPath=Път на резултатите 11 | validator.label.reportItemShape=Форма 12 | validator.label.reportItemValue=Стойност 13 | validator.label.loadImportsLabel=Внос на товари, определен във вложените ресурси? 14 | validator.label.loadImportsTooltip=Заредете внесените ресурси, определени чрез owl:imports, когато определяте графиката с данни за валидиране. 15 | validator.label.queryEndpointInputPlaceholder=URL адрес за крайна точка на SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Потребителско име 17 | validator.label.queryPasswordInputPlaceholder=Парола 18 | validator.label.queryAuthenticateLabel=Автентично ли е? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Вид на валидиране [{0}] очаква избор дали вносът да бъде натоварен или не ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Видът на валидиране [{0}] не очаква избор дали вносът да бъде натоварен или не ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL заявките не се поддържат. 23 | validator.label.exception.sparqlEndpointNeeded=Необходима е крайна точка SPARQL за изпълнение на запитването срещу. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Не можете да предоставите своя собствена SPARQL крайна точка за валидирането. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Не се очаква да предоставите пълномощия за крайната точка на SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Трябва да предоставите пълномощията си за крайната точка SPARQL. 27 | validator.label.exception.sparqlQueryExpected=Трябва да предоставите запитването за крайната точка на SPARQL. 28 | validator.label.exception.sparqlQueryError=Възникна грешка при търсене на крайната точка на SPARQL: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Възникна грешка при обработката на извлеченото съдържание. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Входящата заявка трябва да бъде заявка CONSTRUCT. 31 | validator.label.exception.sparqlQueryParsingError=Възникна грешка при разбора на предоставената SPARQL заявка: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Не е възможно да се определи видът на съдържанието на файл с формата на SHACL. 33 | validator.label.exception.errorReadingShaclFile=Възникна грешка при четенето на SHACL файл. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Езикът на RDF не може да бъде определен за предоставеното съдържание. 35 | validator.label.exception.errorWhileReadingProvidedContent=Възникна грешка при четенето на предоставеното съдържание: {0} 36 | validator.label.exception.unknownValidationType=Неизвестен вид валидиране. Едно от [{0}] е задължително. 37 | validator.label.exception.unexpectedParameter=Неочакван параметър [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Съдържанието, което трябва да се валидира, трябва да бъде предоставено чрез вход или SPARQL заявка, но не и чрез двете. 39 | validator.label.exception.externalShapeLoadingNotSupported=Зареждането на файлове с външна форма не се поддържа за вид валидиране [{0}] на домейн [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Поисканият синтаксис [{0}] не се поддържа. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Файловете с външна форма, които са предоставени в BASE64, също трябва да определят синтаксиса си. 42 | validator.label.exception.unexpectedErrorDuringValidation=По време на валидирането е възникнала грешка. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=По време на валидирането е възникнала грешка [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Възникна грешка при генерирането на доклада за валидиране на SHACL поради проблем в предоставеното съдържание. 45 | validator.label.exception.downloadError=Възникна грешка при изтеглянето на исканите данни. 46 | validator.label.exception.preprocessingError=Възникна грешка при предварителна обработка на входния файл със заявката SPARQL CONSTRUCT: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Предварителната обработка върна празен модел след изпълнение на заявка SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Изтеглете SHACL форми 50 | validator.label.downloadInputButton=Изтеглете валидирано съдържание 51 | validator.label.contentSyntaxDefault=Въз основа на разширението на файла 52 | validator.label.contentSyntaxDefaultForUri=Въз основа на файловото разширение или типа на отговора 53 | validator.label.exception.providedContentSyntaxInvalid=Предоставеният тип съдържание не е валиден 54 | validator.label.exception.providedValidationTypeInvalid=Предоставеният тип валидиране не е валиден -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_cs.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=Validátor SHACL 2 | validator.label.contentSyntaxLabel=Syntaxe obsahu 3 | validator.label.contentSyntaxTooltip=Volitelné pro obsah poskytovaný jako soubor nebo URI, pokud je zjištěna známá přípona souboru 4 | validator.label.includeExternalShapes=Zahrnout vnější tvary 5 | validator.label.externalRulesTooltip=Další tvary, které budou vzaty v úvahu pro validaci 6 | validator.label.externalShapesLabel=Vnější tvary 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Dotaz 9 | validator.label.reportItemFocusNode=Zaostřovací uzel 10 | validator.label.reportItemResultPath=Cesta k výsledku 11 | validator.label.reportItemShape=Tvar 12 | validator.label.reportItemValue=Hodnota 13 | validator.label.loadImportsLabel=Dovoz nákladu definovaný ve vstupních údajích? 14 | validator.label.loadImportsTooltip=Načíst importované prostředky definované prostřednictvím owl:imports při definování datového grafu pro validaci. 15 | validator.label.queryEndpointInputPlaceholder=URL koncového bodu SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Uživatelské jméno 17 | validator.label.queryPasswordInputPlaceholder=Heslo 18 | validator.label.queryAuthenticateLabel=Ověřte si to? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Typ validace [{0}] očekává volbu, zda má být dovoz načten ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Typ validace [{0}] neočekává volbu, zda má být dovoz načten ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=Dotazy SPARQL nejsou podporovány. 23 | validator.label.exception.sparqlEndpointNeeded=K provedení dotazu je potřebný koncový bod SPARQL. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Pro validaci nelze poskytnout vlastní cílový parametr SPARQL. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Od vás se neočekává, že poskytnete pověření pro cílový bod SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Pro koncový bod SPARQL musíte poskytnout své přihlašovací údaje. 27 | validator.label.exception.sparqlQueryExpected=Musíte zadat dotaz ke koncovému bodu SPARQL. 28 | validator.label.exception.sparqlQueryError=Při dotazování se na koncový bod SPARQL došlo k chybě: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Při zpracování načteného obsahu došlo k chybě. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Vstupní dotaz musí být dotazem KONSTRUCT. 31 | validator.label.exception.sparqlQueryParsingError=Při analýze poskytnutého dotazu SPARQL došlo k chybě: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Nelze určit typ obsahu souboru s tvarem SHACL. 33 | validator.label.exception.errorReadingShaclFile=Při čtení souboru SHACL došlo k chybě. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Jazyk RBP nemohl být určen pro poskytnutý obsah. 35 | validator.label.exception.errorWhileReadingProvidedContent=Při čtení poskytnutého obsahu došlo k chybě: {0} 36 | validator.label.exception.unknownValidationType=Neznámý typ validace. Jeden z [{0}] je povinný. 37 | validator.label.exception.unexpectedParameter=Neočekávaný parametr [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Obsah, který má být validován, musí být poskytnut buď prostřednictvím vstupního dotazu, nebo dotazem SPARQL, nikoli však oběma. 39 | validator.label.exception.externalShapeLoadingNotSupported=Načítání externích tvarových souborů není podporováno pro validační typ [{0}] domény [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Požadovaná syntaxe zprávy [{0}] není podporována. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Externí tvarové soubory, které jsou uvedeny v BASE64, musí také definovat jejich syntaxi. 42 | validator.label.exception.unexpectedErrorDuringValidation=Během validace došlo k chybě. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Při validaci došlo k chybě [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Při generování zprávy o ověření SHACL došlo k chybě v důsledku problému v poskytnutém obsahu. 45 | validator.label.exception.downloadError=Při stahování požadovaných dat došlo k chybě. 46 | validator.label.exception.preprocessingError=Při předběžném zpracování vstupního souboru pomocí dotazu SPARQL CONSTRUCT došlo k chybě: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Předzpracování vrátilo prázdný model po provedení dotazu SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Stáhněte si tvary SHACL 50 | validator.label.downloadInputButton=Stáhněte si ověřený obsah 51 | validator.label.contentSyntaxDefault=Na základě přípony souboru 52 | validator.label.contentSyntaxDefaultForUri=Na základě přípony souboru nebo typu odpovědi 53 | validator.label.exception.providedContentSyntaxInvalid=Zadaný typ obsahu není platný 54 | validator.label.exception.providedValidationTypeInvalid=Zadaný typ ověření není platný -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_da.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL Validator 2 | validator.label.contentSyntaxLabel=Indholdssyntaks 3 | validator.label.contentSyntaxTooltip=Valgfrit for indhold, der leveres som en fil eller en URI, hvis der registreres en kendt filudvidelse 4 | validator.label.includeExternalShapes=Inkluder udvendige former 5 | validator.label.externalRulesTooltip=Yderligere udformninger, der vil blive taget i betragtning ved valideringen 6 | validator.label.externalShapesLabel=Udvendige former 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Forespørgsel 9 | validator.label.reportItemFocusNode=Fokusknudepunkt 10 | validator.label.reportItemResultPath=Resultatvej 11 | validator.label.reportItemShape=Form 12 | validator.label.reportItemValue=Værdi 13 | validator.label.loadImportsLabel=Indlæse import som defineret i inputtet? 14 | validator.label.loadImportsTooltip=Indlæs importerede ressourcer defineret via owl:imports, når du definerer den datagraf, der skal valideres. 15 | validator.label.queryEndpointInputPlaceholder=SPARQL endpoint URL 16 | validator.label.queryUsernameInputPlaceholder=Brugernavn 17 | validator.label.queryPasswordInputPlaceholder=Adgangskode 18 | validator.label.queryAuthenticateLabel=Autentificere? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Valideringstype [{0}] forventer valget af, om importen skal indlæses ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Valideringstype [{0}] forventer ikke valget af, om importen skal indlæses ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL-forespørgsler understøttes ikke. 23 | validator.label.exception.sparqlEndpointNeeded=Der er behov for et SPARQL-slutpunkt for at udføre forespørgslen mod. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Du kan ikke angive dit eget SPARQL-slutpunkt for valideringen. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Du forventes ikke at angive legitimationsoplysninger for SPARQL endpoint. 26 | validator.label.exception.sparqlCredentialsRequired=Du skal angive dine legitimationsoplysninger for SPARQL-slutpunktet. 27 | validator.label.exception.sparqlQueryExpected=Du skal angive forespørgslen til SPARQL-slutpunktet. 28 | validator.label.exception.sparqlQueryError=Der opstod en fejl under forespørgslen i SPARQL-slutpunktet: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Der opstod en fejl under behandlingen af det hentede indhold. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Input-forespørgslen skal være en CONSTRUCT-forespørgsel. 31 | validator.label.exception.sparqlQueryParsingError=Der opstod en fejl under parsing af den medfølgende SPARQL-forespørgsel: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Kan ikke bestemme indholdstypen af en SHACL-formfil. 33 | validator.label.exception.errorReadingShaclFile=Der opstod en fejl under læsning af en SHACL-fil. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=RO-sproget kunne ikke bestemmes for det angivne indhold. 35 | validator.label.exception.errorWhileReadingProvidedContent=Der opstod en fejl under læsning af det angivne indhold: {0} 36 | validator.label.exception.unknownValidationType=Ukendt valideringstype. En af [0}] er obligatorisk. 37 | validator.label.exception.unexpectedParameter=Uventet parameter [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Det indhold, der skal valideres, skal enten leveres via input eller SPARQL-forespørgsel, men ikke begge. 39 | validator.label.exception.externalShapeLoadingNotSupported=Indlæsning af eksterne formfiler understøttes ikke for valideringstype [{0}] af domænet [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Den ønskede rapportsyntaks [{0}] understøttes ikke. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Eksterne formfiler, der leveres i BASE64, skal også definere deres syntaks. 42 | validator.label.exception.unexpectedErrorDuringValidation=Der opstod en fejl under valideringen. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Der opstod en fejl under valideringen [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Der opstod en fejl under generering af SHACL-valideringsrapporten på grund af et problem i det angivne indhold. 45 | validator.label.exception.downloadError=Der opstod en fejl under download af de anmodede data. 46 | validator.label.exception.preprocessingError=Der opstod en fejl under forbehandling af inputfilen med SPARQL CONSTRUCT-forespørgslen: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Forbehandling returnerede tom model efter udførelse af SPARQL CONSTRUCT-forespørgsel: {0}. 48 | 49 | validator.label.downloadShapesButton=Download SHACL-former 50 | validator.label.downloadInputButton=Download valideret indhold 51 | validator.label.contentSyntaxDefault=Baseret på filtypenavnet 52 | validator.label.contentSyntaxDefaultForUri=Baseret på filtypenavnet eller svartypen 53 | validator.label.exception.providedContentSyntaxInvalid=Den angivne indholdstype er ikke gyldig 54 | validator.label.exception.providedValidationTypeInvalid=Den angivne valideringstype er ikke gyldig -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_de.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL Validator 2 | validator.label.contentSyntaxLabel=Syntax des Inhalts 3 | validator.label.contentSyntaxTooltip=Optional, wenn die Datei oder URI eine bekannte Dateiendung verwendet. 4 | validator.label.includeExternalShapes=Externe Shapes einfügen 5 | validator.label.externalRulesTooltip=Externe Formen, die zusätzlich zu denen des ausgewählten Validierungstyps für die Validierung verwendet werden sollen. 6 | validator.label.externalShapesLabel=Externe Shapes 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Anfrage 9 | validator.label.reportItemFocusNode=Fokusknoten 10 | validator.label.reportItemResultPath=Ergebnispfad 11 | validator.label.reportItemShape=Shape 12 | validator.label.reportItemValue=Wert 13 | validator.label.loadImportsLabel=Im Input definierte Lastimporte? 14 | validator.label.loadImportsTooltip=Laden Sie importierte Ressourcen, die über owl:imports definiert werden, bei der Definition des zu validierenden Datendiagramms. 15 | validator.label.queryEndpointInputPlaceholder=SPARQL Endpunkt-URL 16 | validator.label.queryUsernameInputPlaceholder=Benutzername 17 | validator.label.queryPasswordInputPlaceholder=Passwort 18 | validator.label.queryAuthenticateLabel=Authentifizieren? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Der Validierungstyp [{0}] erwartet die Wahl, ob Importe geladen werden sollen ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Der Validierungstyp [{0}] erwartet nicht, ob Importe geladen werden sollen ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL-Abfragen werden nicht unterstützt. 23 | validator.label.exception.sparqlEndpointNeeded=Zur Ausführung der Abfrage wird ein SPARQL-Endpunkt benötigt. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Für die Validierung können Sie keinen eigenen SPARQL-Endpunkt angeben. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Es wird nicht erwartet, dass Sie Zugangsdaten für den SPARQL-Endpunkt liefern. 26 | validator.label.exception.sparqlCredentialsRequired=Sie müssen Ihre Anmeldeinformationen für den SPARQL-Endpunkt angeben. 27 | validator.label.exception.sparqlQueryExpected=Sie müssen die Abfrage für den SPARQL-Endpunkt angeben. 28 | validator.label.exception.sparqlQueryError=Beim Abfragen des SPARQL-Endpunkts ist ein Fehler aufgetreten: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Bei der Verarbeitung des abgerufenen Inhalts ist ein Fehler aufgetreten. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Die Eingabeabfrage muss eine CONSTRUCT-Abfrage sein. 31 | validator.label.exception.sparqlQueryParsingError=Beim Parsieren der zur Verfügung gestellten SPARQL Query ist ein Fehler aufgetreten: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Der Inhaltstyp einer SHACL-Formdatei kann nicht bestimmt werden. 33 | validator.label.exception.errorReadingShaclFile=Beim Lesen einer SHACL-Datei ist ein Fehler aufgetreten. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Die RDF-Sprache konnte nicht für den bereitgestellten Inhalt bestimmt werden. 35 | validator.label.exception.errorWhileReadingProvidedContent=Beim Lesen des bereitgestellten Inhalts ist ein Fehler aufgetreten: {0} 36 | validator.label.exception.unknownValidationType=Unbekannter Validierungstyp. Einer von [{0}] ist obligatorisch. 37 | validator.label.exception.unexpectedParameter=Unerwarteter Parameter [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Der zu validierende Inhalt muss entweder über Eingabe- oder SPARQL-Abfrage bereitgestellt werden, aber nicht beides. 39 | validator.label.exception.externalShapeLoadingNotSupported=Das Laden externer Shapes wird für den Validierungstyp [{0}] der Domäne [{1}] nicht unterstützt. 40 | validator.label.exception.reportSyntaxNotSupported=Die angeforderte Berichtssyntax [{0}] wird nicht unterstützt. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Externe Shapes, die in BASE64 bereitgestellt werden, müssen auch ihre Syntax definieren. 42 | validator.label.exception.unexpectedErrorDuringValidation=Während der Validierung ist ein Fehler aufgetreten. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Bei der Validierung ist ein Fehler aufgetreten [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Beim Generieren des SHACL-Validierungsberichts ist aufgrund eines Problems im bereitgestellten Inhalt ein Fehler aufgetreten. 45 | validator.label.exception.downloadError=Beim Herunterladen der angeforderten Daten ist ein Fehler aufgetreten. 46 | validator.label.exception.preprocessingError=Bei der Vorverarbeitung der Eingabedatei mit der SPARQL CONSTRUCT-Abfrage ist ein Fehler aufgetreten: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Die Vorverarbeitung hat nach dem Ausführen der SPARQL CONSTRUCT-Abfrage ein leeres Modell zurückgegeben: {0}. 48 | 49 | validator.label.downloadShapesButton=SHACL-Shapes herunterladen 50 | validator.label.downloadInputButton=Validierte Inhalte herunterladen 51 | validator.label.contentSyntaxDefault=Von Dateiendung ableiten 52 | validator.label.contentSyntaxDefaultForUri=Basierend auf der Dateierweiterung oder dem Antworttyp 53 | validator.label.exception.providedContentSyntaxInvalid=Der angegebene Inhaltstyp ist ungültig 54 | validator.label.exception.providedValidationTypeInvalid=Der angegebene Validierungstyp ist ungültig -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_el.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=Επικυρωτής SHACL 2 | validator.label.contentSyntaxLabel=Τύπος περιεχομένου 3 | validator.label.contentSyntaxTooltip=Προαιρετικό για το περιεχόμενο που παρέχεται ως αρχείο ή URI εάν ανιχνευθεί γνωστή επέκταση αρχείου 4 | validator.label.includeExternalShapes=Περιλάβετε εξωτερικά σχήματα 5 | validator.label.externalRulesTooltip=Πρόσθετα σχήματα που θα ληφθούν υπόψη για την επικύρωση 6 | validator.label.externalShapesLabel=Εξωτερικά σχήματα 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Ερώτημα 9 | validator.label.reportItemFocusNode=Κόμβος εστίασης 10 | validator.label.reportItemResultPath=Διαδρομή αποτελέσματος 11 | validator.label.reportItemShape=Σχήμα 12 | validator.label.reportItemValue=Τιμή 13 | validator.label.loadImportsLabel=Φόρτωση επιπλέον περιεχομένου από τα δεδομένα εισόδου; 14 | validator.label.loadImportsTooltip=Φόρτωση επιπλέον περιεχομένων που ορίζονται ως owl:imports για τον καθορισμό του γραφήματος δεδομένων προς επικύρωση. 15 | validator.label.queryEndpointInputPlaceholder=Διεύθυνση URL τερματικού σημείου SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Όνομα χρήστη 17 | validator.label.queryPasswordInputPlaceholder=Κωδικός πρόσβασης 18 | validator.label.queryAuthenticateLabel=Επαλήθευση ταυτότητας; 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Ο τύπος επικύρωσης [{0}] αναμένει την επιλογή της φόρτωσης των εισαγωγών ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Ο τύπος επικύρωσης [{0}] δεν αναμένει την επιλογή της φόρτωσης των εισαγωγών ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=Τα ερωτήματα SPARQL δεν υποστηρίζονται. 23 | validator.label.exception.sparqlEndpointNeeded=Για την εκτέλεση του ερωτήματος κατά του SPARQL απαιτείται ένα τελικό σημείο SPARQL. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Δεν μπορείτε να παράσχετε το δικό σας τελικό σημείο SPARQL για την επικύρωση. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Δεν αναμένεται να παράσχετε διαπιστευτήρια για το τελικό σημείο SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Πρέπει να δώσετε τα διαπιστευτήριά σας για το τελικό σημείο SPARQL. 27 | validator.label.exception.sparqlQueryExpected=Πρέπει να δώσετε το ερώτημα για το τελικό σημείο SPARQL. 28 | validator.label.exception.sparqlQueryError=Παρουσιάστηκε σφάλμα κατά την αναζήτηση του τελικού σημείου SPARQL: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Παρουσιάστηκε σφάλμα κατά την επεξεργασία του ανακτημένου περιεχομένου. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Το ερώτημα εισόδου πρέπει να είναι ερώτημα CONSTRUCT. 31 | validator.label.exception.sparqlQueryParsingError=Παρουσιάστηκε σφάλμα κατά την ανάλυση της παρεχόμενης ερώτησης SPARQL: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Αδυναμία προσδιορισμού του τύπου περιεχομένου ενός αρχείου σχήματος SHACL. 33 | validator.label.exception.errorReadingShaclFile=Παρουσιάστηκε σφάλμα κατά την ανάγνωση ενός αρχείου SHACL. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Η γλώσσα ΚΠΤ δεν ήταν δυνατόν να προσδιοριστεί για το παρεχόμενο περιεχόμενο. 35 | validator.label.exception.errorWhileReadingProvidedContent=Παρουσιάστηκε σφάλμα κατά την ανάγνωση του παρεχόμενου περιεχομένου: {0} 36 | validator.label.exception.unknownValidationType=Άγνωστος τύπος επικύρωσης. Ένα από [{0}] είναι υποχρεωτικό. 37 | validator.label.exception.unexpectedParameter=Απροσδόκητη παράμετρος [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Το περιεχόμενο προς επικύρωση πρέπει να παρέχεται είτε μέσω εισερχόμενων στοιχείων είτε μέσω ερωτήματος SPARQL, αλλά όχι και τα δύο. 39 | validator.label.exception.externalShapeLoadingNotSupported=Η φόρτωση αρχείων εξωτερικού σχήματος δεν υποστηρίζεται για τον τύπο επικύρωσης [{0}] του τομέα [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Η σύνταξη της αιτούμενης έκθεσης [{0}] δεν υποστηρίζεται. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Τα εξωτερικά αρχεία σχήματος που παρέχονται στο BASE64 πρέπει επίσης να καθορίζουν τη σύνταξή τους. 42 | validator.label.exception.unexpectedErrorDuringValidation=Παρουσιάστηκε σφάλμα κατά την επικύρωση. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Παρουσιάστηκε σφάλμα κατά την επικύρωση [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Παρουσιάστηκε σφάλμα κατά τη δημιουργία της έκθεσης επικύρωσης SHACL λόγω προβλήματος στο παρεχόμενο περιεχόμενο. 45 | validator.label.exception.downloadError=Παρουσιάστηκε σφάλμα κατά τη λήψη των δεδομένων που ζητήθηκαν. 46 | validator.label.exception.preprocessingError=Παρουσιάστηκε σφάλμα κατά την προεπεξεργασία του αρχείου εισόδου με το ερώτημα SPARQL CONSTRUCT: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Προεπεξεργασία επιστρεφόμενου κενού μοντέλου μετά την εκτέλεση του ερωτήματος SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Λήψη σχημάτων SHACL 50 | validator.label.downloadInputButton=Λήψη επικυρωμένου περιεχομένου 51 | validator.label.contentSyntaxDefault=Βάση της επέκτασης αρχείου 52 | validator.label.contentSyntaxDefaultForUri=Με βάση την επέκταση αρχείου ή τον τύπο απάντησης 53 | validator.label.exception.providedContentSyntaxInvalid=Ο παρεχόμενος τύπος περιεχομένου δεν είναι έγκυρος 54 | validator.label.exception.providedValidationTypeInvalid=Ο παρεχόμενος τύπος επικύρωσης δεν είναι έγκυρος -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_en.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL Validator 2 | validator.label.contentSyntaxLabel=Content syntax 3 | validator.label.contentSyntaxTooltip=Optional for content provided as a file or a URI if a known file extension is detected 4 | validator.label.includeExternalShapes=Include external shapes 5 | validator.label.externalRulesTooltip=Additional shapes that will be considered for the validation 6 | validator.label.externalShapesLabel=External shapes 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Query 9 | validator.label.reportItemFocusNode=Focus node 10 | validator.label.reportItemResultPath=Result path 11 | validator.label.reportItemShape=Shape 12 | validator.label.reportItemValue=Value 13 | validator.label.loadImportsLabel=Load imports defined in the input? 14 | validator.label.loadImportsTooltip=Load imported resources defined via owl:imports when defining the data graph to validate. 15 | validator.label.queryEndpointInputPlaceholder=SPARQL endpoint URL 16 | validator.label.queryUsernameInputPlaceholder=Username 17 | validator.label.queryPasswordInputPlaceholder=Password 18 | validator.label.queryAuthenticateLabel=Authenticate? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Validation type [{0}] expects the choice of whether or not imports are to be loaded ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Validation type [{0}] does not expect the choice of whether or not imports are to be loaded ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL queries are not supported. 23 | validator.label.exception.sparqlEndpointNeeded=A SPARQL endpoint is needed to execute the query against. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=You cannot provide your own SPARQL endpoint for the validation. 25 | validator.label.exception.sparqlCredentialsNotAllowed=You are not expected to provide credentials for the SPARQL endpoint. 26 | validator.label.exception.sparqlCredentialsRequired=You must provide your credentials for the SPARQL endpoint. 27 | validator.label.exception.sparqlQueryExpected=You must provide the query for the SPARQL endpoint. 28 | validator.label.exception.sparqlQueryError=An error occurred while querying the SPARQL endpoint: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=An error occurred while processing the retrieved content. 30 | validator.label.exception.sparqlQueryMustBeConstruct=The input query must be a CONSTRUCT query. 31 | validator.label.exception.sparqlQueryParsingError=An error occurred while parsing the provided SPARQL Query: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Unable to determine the content type of a SHACL shape file. 33 | validator.label.exception.errorReadingShaclFile=An error occurred while reading a SHACL file. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=The RDF language could not be determined for the provided content. 35 | validator.label.exception.errorWhileReadingProvidedContent=An error occurred while reading the provided content: {0} 36 | validator.label.exception.unknownValidationType=Unknown validation type. One of [{0}] is mandatory. 37 | validator.label.exception.unexpectedParameter=Unexpected parameter [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=The content to validate must either be provided via input or SPARQL query but not both. 39 | validator.label.exception.externalShapeLoadingNotSupported=Loading external shape files is not supported for validation type [{0}] of domain [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=The requested report syntax [{0}] is not supported. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=External shape files that are provided in BASE64 need to also define their syntax. 42 | validator.label.exception.unexpectedErrorDuringValidation=An error occurred during the validation. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=An error occurred during the validation [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=An error occurred while generating the SHACL Validation Report due to a problem in the provided content. 45 | validator.label.exception.downloadError=An error occurred while downloading the requested data. 46 | validator.label.exception.preprocessingError=An error occurred while preprocessing the input file with the SPARQL CONSTRUCT query: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Preprocessing returned empty model after executing SPARQL CONSTRUCT query: {0}. 48 | 49 | validator.label.downloadShapesButton=Download SHACL shapes 50 | validator.label.downloadInputButton=Download validated content 51 | validator.label.contentSyntaxDefault=Based on the file extension 52 | validator.label.contentSyntaxDefaultForUri=Based on the file extension or response type 53 | validator.label.exception.providedContentSyntaxInvalid=Provided content syntax type is not valid 54 | validator.label.exception.providedValidationTypeInvalid=Provided validation type is not valid -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_es.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=Validador SHACL 2 | validator.label.contentSyntaxLabel=Sintaxis de contenido 3 | validator.label.contentSyntaxTooltip=Opcional para el contenido proporcionado como archivo o URI si se detecta una extensión de archivo conocida 4 | validator.label.includeExternalShapes=Incluye formas externas 5 | validator.label.externalRulesTooltip=Formas adicionales que se tendrán en cuenta para la validación 6 | validator.label.externalShapesLabel=Formas externas 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Consulta 9 | validator.label.reportItemFocusNode=Nodo de enfoque 10 | validator.label.reportItemResultPath=Trayectoria de resultados 11 | validator.label.reportItemShape=Forma 12 | validator.label.reportItemValue=Valor 13 | validator.label.loadImportsLabel=¿Importaciones de carga definidas en el insumo? 14 | validator.label.loadImportsTooltip=Cargue los recursos importados definidos a través de owl:imports al definir el gráfico de datos para validar. 15 | validator.label.queryEndpointInputPlaceholder=URL de punto final de SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Nombre de usuario 17 | validator.label.queryPasswordInputPlaceholder=Nombre y Apellidos 18 | validator.label.queryAuthenticateLabel=¿La autentican? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=El tipo de validación [{0}] espera la elección de si se cargarán o no importaciones ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=El tipo de validación [{0}] no prevé la elección de si se cargarán o no importaciones ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=Las consultas SPARQL no son compatibles. 23 | validator.label.exception.sparqlEndpointNeeded=Se necesita un endpoint SPARQL para ejecutar la consulta. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=No puede proporcionar su propio punto final SPARQL para la validación. 25 | validator.label.exception.sparqlCredentialsNotAllowed=No se espera que proporcione credenciales para el punto final de SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Debe proporcionar sus credenciales para el punto final de SPARQL. 27 | validator.label.exception.sparqlQueryExpected=Debe proporcionar la consulta para el punto final de SPARQL. 28 | validator.label.exception.sparqlQueryError=Se produjo un error al consultar el punto final de SPARQL: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Se produjo un error al procesar el contenido recuperado. 30 | validator.label.exception.sparqlQueryMustBeConstruct=La consulta de entrada debe ser una consulta CONSTRUCTAR. 31 | validator.label.exception.sparqlQueryParsingError=Se produjo un error al analizar la consulta SPARQL proporcionada: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=No se puede determinar el tipo de contenido de un archivo de forma SHACL. 33 | validator.label.exception.errorReadingShaclFile=Se produjo un error al leer un archivo SHACL. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=El lenguaje RDF no pudo determinarse para el contenido proporcionado. 35 | validator.label.exception.errorWhileReadingProvidedContent=Se produjo un error al leer el contenido proporcionado: {0} 36 | validator.label.exception.unknownValidationType=Tipo de validación desconocido. Uno de [{0}] es obligatorio. 37 | validator.label.exception.unexpectedParameter=Parámetro inesperado [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=El contenido a validar debe ser proporcionado a través de entrada o consulta SPARQL, pero no ambos. 39 | validator.label.exception.externalShapeLoadingNotSupported=No se admite la carga de archivos de forma externos para el tipo de validación [{0}] del dominio [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=No se admite la sintaxis del informe solicitada [{0}]. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Los archivos de forma externa que se proporcionan en BASE64 también necesitan definir su sintaxis. 42 | validator.label.exception.unexpectedErrorDuringValidation=Se produjo un error durante la validación. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Se produjo un error durante la validación [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Se produjo un error al generar el Informe de Validación SHACL debido a un problema en el contenido proporcionado. 45 | validator.label.exception.downloadError=Ocurrió un error al descargar los datos solicitados. 46 | validator.label.exception.preprocessingError=Ocurrió un error al preprocesar el archivo de entrada con la consulta SPARQL CONSTRUCT: {0}. 47 | validator.label.exception.emptyPreprocessingResult=El preprocesamiento devolvió un modelo vacío después de ejecutar la consulta SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Descargar formas SHACL 50 | validator.label.downloadInputButton=Descargar contenido validado 51 | validator.label.contentSyntaxDefault=Basado en la extensión del archivo 52 | validator.label.contentSyntaxDefaultForUri=Según la extensión del archivo o el tipo de respuesta 53 | validator.label.exception.providedContentSyntaxInvalid=El tipo de contenido proporcionado no es válido 54 | validator.label.exception.providedValidationTypeInvalid=El tipo de validación proporcionado no es válido -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_et.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACLi valideerija 2 | validator.label.contentSyntaxLabel=Sisu süntaks 3 | validator.label.contentSyntaxTooltip=Vabatahtlik failina või URIna esitatud sisu puhul, kui avastatakse teadaolev faililaiend 4 | validator.label.includeExternalShapes=Kaasa arvatud väliskujud 5 | validator.label.externalRulesTooltip=Valideerimisel arvesse võetavad täiendavad kujundid 6 | validator.label.externalShapesLabel=Väliskujud 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Päring 9 | validator.label.reportItemFocusNode=Fookussõlm 10 | validator.label.reportItemResultPath=Tulemuste tee 11 | validator.label.reportItemShape=Kuju 12 | validator.label.reportItemValue=Väärtus 13 | validator.label.loadImportsLabel=Sisendmaterjalis määratletud koormuse import? 14 | validator.label.loadImportsTooltip=Laadige imporditud ressursid, mis on kindlaks määratud aadressil owl:imports, kui määratletakse valideeritav andmegraafik. 15 | validator.label.queryEndpointInputPlaceholder=SPARQL-i tulemusnäitaja URL 16 | validator.label.queryUsernameInputPlaceholder=Kasutajanimi 17 | validator.label.queryPasswordInputPlaceholder=Salasõna 18 | validator.label.queryAuthenticateLabel=Autentida? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Valideerimise tüüp [{0}] eeldab valikut, kas import tuleb laadida või mitte ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Valideerimise tüüp [{0}] ei eelda valikut, kas import tuleb laadida või mitte ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL päringuid ei toetata. 23 | validator.label.exception.sparqlEndpointNeeded=Päringu sooritamiseks on vaja SPARQL-i lõpp-punkti. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Valideerimise jaoks ei saa esitada oma SPARQL-i lõpp-punkti. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Teilt ei eeldata SPARQL-i tulemusnäitaja andmete esitamist. 26 | validator.label.exception.sparqlCredentialsRequired=Peate esitama SPARQL-i lõpp-punkti andmed. 27 | validator.label.exception.sparqlQueryExpected=Peate esitama SPARQL-i lõpp-punkti päringu. 28 | validator.label.exception.sparqlQueryError=SPARQL-i lõpp-punkti päringu tegemisel ilmnes viga: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Leitud sisu töötlemisel ilmnes viga. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Sisendpäring peab olema CONSTRUCT päring. 31 | validator.label.exception.sparqlQueryParsingError=Esitatud SPARQL päringu parsimisel ilmnes viga: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=SHACL-kujufaili sisutüübi määramine nurjus. 33 | validator.label.exception.errorReadingShaclFile=SHACL-faili lugemisel ilmnes viga. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Esitatud sisu puhul ei olnud võimalik kindlaks määrata pöördtrummelahju keelt. 35 | validator.label.exception.errorWhileReadingProvidedContent=Esitatud sisu lugemisel ilmnes viga: {0} 36 | validator.label.exception.unknownValidationType=Tundmatu valideerimise tüüp. Üks [{0}] on kohustuslik. 37 | validator.label.exception.unexpectedParameter=Ootamatu parameeter [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Kinnitatav sisu tuleb esitada kas sisendi või SPARQL päringu kaudu, kuid mitte mõlemat. 39 | validator.label.exception.externalShapeLoadingNotSupported=Väliste kujufailide laadimine ei ole toetatud domeeni [{1}] valideerimistüübi [{0}] puhul. 40 | validator.label.exception.reportSyntaxNotSupported=Soovitud aruande süntaks [{0}] ei ole toetatud. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=BASE64-s esitatud väliskuju failid peavad määratlema ka oma süntaksi. 42 | validator.label.exception.unexpectedErrorDuringValidation=Valideerimise käigus ilmnes viga. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Valideerimise käigus ilmnes viga [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=SHACLi valideerimisaruande koostamisel ilmnes viga esitatud sisu probleemi tõttu. 45 | validator.label.exception.downloadError=Nõutud andmete allalaadimisel ilmnes viga. 46 | validator.label.exception.preprocessingError=Sisendfaili eeltöötlemisel SPARQL CONSTRUCT päringuga ilmnes viga: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Pärast SPARQL CONSTRUCT päringu täitmist tagastatud tühja mudeli eeltöötlemine: {0}. 48 | 49 | validator.label.downloadShapesButton=Laadige alla SHACL-i kujundid 50 | validator.label.downloadInputButton=Laadige alla kinnitatud sisu 51 | validator.label.contentSyntaxDefault=Põhineb faililaiendil 52 | validator.label.contentSyntaxDefaultForUri=Põhineb faililaiendil või vastuse tüübil 53 | validator.label.exception.providedContentSyntaxInvalid=Esitatud sisutüüp ei sobi 54 | validator.label.exception.providedValidationTypeInvalid=Esitatud valideerimistüüp ei ole kehtiv -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_fi.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL-vahvistin 2 | validator.label.contentSyntaxLabel=Sisällön syntaksi 3 | validator.label.contentSyntaxTooltip=Valinnainen tiedostona tai URI-tiedostona toimitetulle sisällölle, jos tunnettu tiedostopääte havaitaan 4 | validator.label.includeExternalShapes=Sisältää ulkoiset muodot 5 | validator.label.externalRulesTooltip=Muut muodot, jotka otetaan huomioon validointia varten 6 | validator.label.externalShapesLabel=Ulkoiset muodot 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Kysely 9 | validator.label.reportItemFocusNode=Fokussolmuke 10 | validator.label.reportItemResultPath=Tulospolku 11 | validator.label.reportItemShape=Muoto 12 | validator.label.reportItemValue=Arvo 13 | validator.label.loadImportsLabel=Tuotantopanoksessa määritelty kuormantuonti? 14 | validator.label.loadImportsTooltip=Lataa tuodut resurssit, jotka on määritelty osoitteessa owl:imports määriteltäessä validoitavaa datagrafiikkaa. 15 | validator.label.queryEndpointInputPlaceholder=SPARQL-päätepisteen URL-osoite 16 | validator.label.queryUsernameInputPlaceholder=Käyttäjätunnus 17 | validator.label.queryPasswordInputPlaceholder=Salasana 18 | validator.label.queryAuthenticateLabel=Todentaako se? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Validointityyppi [{0}] odottaa, että valitaan, onko tuonti lastattava ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Validointityyppi [{0}] ei odota, että valitaan, onko tuonti lastattava ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL-kyselyjä ei tueta. 23 | validator.label.exception.sparqlEndpointNeeded=Kyselyä vastaan tarvitaan SPARQL-päätepiste. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Validointia varten ei voi antaa omaa SPARQL-päätepistettä. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Sinun ei odoteta antavan valtuutusta SPARQL-päätetapahtumaan. 26 | validator.label.exception.sparqlCredentialsRequired=Sinun on annettava valtakirjasi SPARQL-päätetapahtumaan. 27 | validator.label.exception.sparqlQueryExpected=Sinun on esitettävä SPARQL-päätepisteen kysely. 28 | validator.label.exception.sparqlQueryError=SPARQL-päätepisteen kyselyssä tapahtui virhe: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Haettavan sisällön käsittelyssä tapahtui virhe. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Syöttökyselyn on oltava CONSTRUCT-kysely. 31 | validator.label.exception.sparqlQueryParsingError=Toimitettua SPARQL-kyselyä tarkistettaessa tapahtui virhe: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=SHACL-muototiedoston sisällön tyyppiä ei voitu määrittää. 33 | validator.label.exception.errorReadingShaclFile=SHACL-tiedoston lukemisessa tapahtui virhe. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Pyörivällä rummulla varustetun rummun kieltä ei voitu määrittää toimitetun sisällön osalta. 35 | validator.label.exception.errorWhileReadingProvidedContent=Virhe toimitetun sisällön lukemisessa: {0} 36 | validator.label.exception.unknownValidationType=Tuntematon validointityyppi. Yksi [{0}] on pakollinen. 37 | validator.label.exception.unexpectedParameter=Odottamaton parametri [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Validoitava sisältö on toimitettava joko syöttämällä tai SPARQL-kyselyllä, mutta ei molempia. 39 | validator.label.exception.externalShapeLoadingNotSupported=Ulkoisten muototiedostojen lataamista ei tueta verkkotunnuksen [{1}] validointityypille [{0}]. 40 | validator.label.exception.reportSyntaxNotSupported=Pyydettyä raporttia syntaksia [{0}] ei tueta. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Ulkoiset muototiedostot, jotka toimitetaan BASE64 on myös määriteltävä niiden syntaksi. 42 | validator.label.exception.unexpectedErrorDuringValidation=Validoinnin aikana tapahtui virhe. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Validoinnin aikana tapahtui virhe [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=SHACL-vahvistusraportin luomisessa tapahtui virhe, joka johtui toimitetussa sisällössä olevasta ongelmasta. 45 | validator.label.exception.downloadError=Virhe ladattaessa pyydettyjä tietoja. 46 | validator.label.exception.preprocessingError=Tapahtui virhe esikäsiteltäessä syöttötiedostoa SPARQL CONSTRUCT -kyselyllä: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Esikäsittely palautti tyhjän mallin SPARQL CONSTRUCT -kyselyn suorittamisen jälkeen: {0}. 48 | 49 | validator.label.downloadShapesButton=Lataa SHACL-muodot 50 | validator.label.downloadInputButton=Lataa validoitua sisältöä 51 | validator.label.contentSyntaxDefault=Perustuu tiedostopäätteeseen 52 | validator.label.contentSyntaxDefaultForUri=Tiedostotunnisteen tai vastaustyypin perusteella 53 | validator.label.exception.providedContentSyntaxInvalid=Annettu sisältötyyppi ei kelpaa 54 | validator.label.exception.providedValidationTypeInvalid=Annettu vahvistustyyppi ei kelpaa -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_ga.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=Validator SHACL 2 | validator.label.contentSyntaxLabel=Comhréir inneachair 3 | validator.label.contentSyntaxTooltip=Roghnach inneachar a chuirtear ar fáil mar chomhad nó mar URI má bhraitear iarmhír comhaid atá ar eolas 4 | validator.label.includeExternalShapes=Cuir cruthanna seachtracha san áireamh 5 | validator.label.externalRulesTooltip=Cruthanna breise a chuirfear san áireamh le haghaidh an bhailíochtaithe 6 | validator.label.externalShapesLabel=Cruthanna seachtracha 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Cuardach 9 | validator.label.reportItemFocusNode=Nód fócais 10 | validator.label.reportItemResultPath=Conair an toraidh 11 | validator.label.reportItemShape=Cruth 12 | validator.label.reportItemValue=Luach 13 | validator.label.loadImportsLabel=Lódáil allmhairí atá sainithe san ionchur? 14 | validator.label.loadImportsTooltip=Lódáil acmhainní allmhairithe arna sainiú trí ulchabhán:allmhairí agus an graf sonraí le bailíochtú á shainmhíniú acu. 15 | validator.label.queryEndpointInputPlaceholder=URL críochphointe SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Ainm úsáideora 17 | validator.label.queryPasswordInputPlaceholder=Pasfhocal 18 | validator.label.queryAuthenticateLabel=Fíordheimhnigh? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Tá an cineál bailíochtaithe [{0}] ag súil leis an rogha cibé an bhfuil allmhairí le luchtú nó nach bhfuil ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Níl an cineál bailíochtaithe [{0}] ag súil leis an rogha cibé an bhfuil allmhairí le luchtú nó nach bhfuil ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=Ní thacaítear le fiosruithe SPARQL. 23 | validator.label.exception.sparqlEndpointNeeded=Tá críochphointe SPARQL de dhíth chun an cuardach a dhéanamh. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Ní féidir leat do chríochphointe SPARQL féin a chur ar fáil don bhailíochtú. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Níltear ag súil go gcuirfidh tú dintiúir ar fáil do chríochphointe SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Ní mór duit do dhintiúir a chur ar fáil do chríochphointe SPARQL. 27 | validator.label.exception.sparqlQueryExpected=Ní mór duit an cuardach a chur ar fáil do chríochphointe SPARQL. 28 | validator.label.exception.sparqlQueryError=Tharla earráid agus críochphointe SPARQL á chuardach: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Tharla earráid agus an t-ábhar aisghafa á phróiseáil. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Ní mór an t-iarratas ionchur a bheith ina chuardach CONSTRUCT. 31 | validator.label.exception.sparqlQueryParsingError=Tharla earráid agus an fiosrúchán SPARQL a soláthraíodh á pharsáil: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Ní féidir cineál inneachair comhaid crutha SHACL a aimsiú. 33 | validator.label.exception.errorReadingShaclFile=Tharla earráid agus comhad SHACL á léamh. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Níorbh fhéidir an teanga RDF a chinneadh don ábhar a soláthraíodh. 35 | validator.label.exception.errorWhileReadingProvidedContent=Tharla earráid agus an t-ábhar a soláthraíodh á léamh: {0} 36 | validator.label.exception.unknownValidationType=Cineál anaithnid bailíochtaithe. Tá ceann de [{0}] éigeantach. 37 | validator.label.exception.unexpectedParameter=Paraiméadar gan choinne [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Ní mór an t-ábhar atá le bailíochtú a chur ar fáil trí ionchur nó trí chuardach SPARQL ach ní tríd an dá rud a chur ar fáil. 39 | validator.label.exception.externalShapeLoadingNotSupported=Ní thacaítear le luchtú comhaid crutha sheachtracha don chineál bailíochtaithe [{0}] den fhearann [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Ní thacaítear leis an gcomhréir tuarascála iarrtha [{0}]. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Ní mór comhaid chruth seachtrach atá ar fáil in BASE64 a gcomhréireacht a shainiú freisin. 42 | validator.label.exception.unexpectedErrorDuringValidation=Tharla earráid le linn an bhailíochtaithe. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Tharla earráid le linn an bhailíochtaithe [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Tharla earráid agus Tuarascáil Bailíochtaithe SHACL á giniúint mar gheall ar fhadhb san ábhar a soláthraíodh. 45 | validator.label.exception.downloadError=Tharla earráid agus na sonraí iarrtha á n-íoslódáil. 46 | validator.label.exception.preprocessingError=Tharla earráid agus an comhad ionchuir á réamhphróiseáil leis an iarratas SPARQL CONSTRUCT: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Samhail fholamh aischurtha réamhphróiseála tar éis an cheist SPARQL CONSTRUCT a fheidhmiú: {0}. 48 | 49 | validator.label.downloadShapesButton=Íosluchtaigh múnla SHACL 50 | validator.label.downloadInputButton=Íosluchtaigh ábhar deimhnithe 51 | validator.label.contentSyntaxDefault=Bunaithe ar an síneadh comhad 52 | validator.label.contentSyntaxDefaultForUri=Bunaithe ar iarmhír an chomhaid nó ar an gcineál freagartha 53 | validator.label.exception.providedContentSyntaxInvalid=Níl an cineál ábhair a cuireadh ar fáil bailí 54 | validator.label.exception.providedValidationTypeInvalid=Níl an cineál bailíochtaithe a soláthraíodh bailí -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_hr.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL Validator 2 | validator.label.contentSyntaxLabel=Sintaksa sadržaja 3 | validator.label.contentSyntaxTooltip=Nije obvezno za sadržaj dostavljen kao datoteka ili URI ako je otkriveno poznato proširenje datoteke 4 | validator.label.includeExternalShapes=Uključiti vanjske oblike 5 | validator.label.externalRulesTooltip=Dodatni oblici koji će se uzeti u obzir za provjeru valjanosti 6 | validator.label.externalShapesLabel=Vanjski oblici 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Upit 9 | validator.label.reportItemFocusNode=Fokus čvor 10 | validator.label.reportItemResultPath=Putanja rezultata 11 | validator.label.reportItemShape=Oblik 12 | validator.label.reportItemValue=Vrijednost 13 | validator.label.loadImportsLabel=Opterećenje uvoza definirano u ulazu? 14 | validator.label.loadImportsTooltip=Učitavanje uvezenih resursa definiranih na owl:imports pri definiranju podatkovnog grafikona za provjeru valjanosti. 15 | validator.label.queryEndpointInputPlaceholder=URL krajnje točke SPARQL-a 16 | validator.label.queryUsernameInputPlaceholder=Korisničko ime 17 | validator.label.queryPasswordInputPlaceholder=Lozinka 18 | validator.label.queryAuthenticateLabel=Provjeri autentičnost? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Vrsta validacije [{0}] očekuje odabir hoće li se uvoz utovariti ili ne ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Vrsta validacije [{0}] ne očekuje odabir hoće li se uvoz utovariti ili ne ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL upiti nisu podržani. 23 | validator.label.exception.sparqlEndpointNeeded=Za izvršavanje upita protiv SPARQL-a potrebna je krajnja točka SPARQL-a. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Ne možete dati vlastitu SPARQL krajnju točku za provjeru valjanosti. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Ne očekuje se da ćete dostaviti vjerodajnice za krajnju točku SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Morate dostaviti svoje vjerodajnice za SPARQL krajnju točku. 27 | validator.label.exception.sparqlQueryExpected=Morate dostaviti upit za SPARQL krajnju točku. 28 | validator.label.exception.sparqlQueryError=Došlo je do pogreške pri ispitivanju krajnje točke SPARQL: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Došlo je do pogreške pri obradi dohvaćenog sadržaja. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Upit za unos mora biti CONSTRUCT upit. 31 | validator.label.exception.sparqlQueryParsingError=Došlo je do pogreške pri raščlanjivanju dostavljenog SPARQL upita: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Nije moguće odrediti vrstu sadržaja datoteke oblika SHACL. 33 | validator.label.exception.errorReadingShaclFile=Došlo je do pogreške prilikom čitanja SHACL datoteke. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Jezik RDF-a nije se mogao odrediti za pruženi sadržaj. 35 | validator.label.exception.errorWhileReadingProvidedContent=Došlo je do pogreške pri čitanju ponuđenog sadržaja: {0} 36 | validator.label.exception.unknownValidationType=Nepoznata vrsta provjere valjanosti. Jedan od [{0}] je obvezan. 37 | validator.label.exception.unexpectedParameter=Neočekivani parametar [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Sadržaj koji treba potvrditi mora se dostaviti putem unosa ili SPARQL upita, ali ne i oboje. 39 | validator.label.exception.externalShapeLoadingNotSupported=Učitavanje datoteka s vanjskim oblikom nije podržano za vrstu validacije [{0}] domene [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Zatražena sintaksa izvješća [{0}] nije podržana. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Datoteke vanjskog oblika koje se nalaze u BASE64 trebaju također definirati svoju sintaksu. 42 | validator.label.exception.unexpectedErrorDuringValidation=Tijekom validacije došlo je do pogreške. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Tijekom validacije došlo je do pogreške [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Došlo je do pogreške pri izradi izvješća o validaciji SHACL-a zbog problema u dostavljenom sadržaju. 45 | validator.label.exception.downloadError=Došlo je do pogreške prilikom preuzimanja traženih podataka. 46 | validator.label.exception.preprocessingError=Došlo je do pogreške tijekom predobrade ulazne datoteke s upitom SPARQL CONSTRUCT: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Predobrada je vratila prazan model nakon izvršavanja upita SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Preuzmite SHACL oblike 50 | validator.label.downloadInputButton=Preuzmite provjereni sadržaj 51 | validator.label.contentSyntaxDefault=Na temelju ekstenzije datoteke 52 | validator.label.contentSyntaxDefaultForUri=Na temelju ekstenzije datoteke ili tipa odgovora 53 | validator.label.exception.providedContentSyntaxInvalid=Navedena vrsta sadržaja nije važeća 54 | validator.label.exception.providedValidationTypeInvalid=Navedena vrsta provjere valjanosti nije važeća -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_hu.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL Validator 2 | validator.label.contentSyntaxLabel=Tartalomszintaxis 3 | validator.label.contentSyntaxTooltip=Fájlként vagy URI-ként megadott tartalom esetében választható, ha ismert fájlkiterjesztést észlel 4 | validator.label.includeExternalShapes=Külső formákat is tartalmaz 5 | validator.label.externalRulesTooltip=Az érvényesítéshez figyelembe veendő további formák 6 | validator.label.externalShapesLabel=Külső formák 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Lekérdezés 9 | validator.label.reportItemFocusNode=Fókuszcsomó 10 | validator.label.reportItemResultPath=Eredmény elérési útja 11 | validator.label.reportItemShape=Alak 12 | validator.label.reportItemValue=Érték 13 | validator.label.loadImportsLabel=Az inputban meghatározott terhelésimport? 14 | validator.label.loadImportsTooltip=A owl:imports weboldalon meghatározott importált erőforrások betöltése az érvényesítendő adatgráf meghatározásakor. 15 | validator.label.queryEndpointInputPlaceholder=SPARQL végpont URL-címe 16 | validator.label.queryUsernameInputPlaceholder=Felhasználónév 17 | validator.label.queryPasswordInputPlaceholder=Jelszó 18 | validator.label.queryAuthenticateLabel=Hitelesítsétek? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=A(z) [{0}] validálási típus azt várja, hogy az importot betöltsék-e vagy sem ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=A(z) [{0}] érvényesítési típus nem számít arra, hogy az importot be kell-e tölteni ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL lekérdezések nem támogatottak. 23 | validator.label.exception.sparqlEndpointNeeded=A lekérdezéshez SPARQL végpont szükséges. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Nem tudja megadni a saját SPARQL végpontját az érvényesítéshez. 25 | validator.label.exception.sparqlCredentialsNotAllowed=A SPARQL végpontra vonatkozó hitelesítő adatokat nem kell megadnia. 26 | validator.label.exception.sparqlCredentialsRequired=Meg kell adnia hitelesítő adatait a SPARQL végponthoz. 27 | validator.label.exception.sparqlQueryExpected=Meg kell adnia a keresést a SPARQL végponthoz. 28 | validator.label.exception.sparqlQueryError=Hiba történt a SPARQL végpont lekérdezésekor: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Hiba történt a lehívott tartalom feldolgozása során. 30 | validator.label.exception.sparqlQueryMustBeConstruct=A bemeneti lekérdezésnek CONSTRUCT lekérdezésnek kell lennie. 31 | validator.label.exception.sparqlQueryParsingError=Hiba történt a megadott SPARQL lekérdezés elemzése közben: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Nem sikerült meghatározni a SHACL alakzat fájl tartalmának típusát. 33 | validator.label.exception.errorReadingShaclFile=Hiba történt a SHACL fájl olvasása közben. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=A kemence nyelve nem volt meghatározható a megadott tartalom tekintetében. 35 | validator.label.exception.errorWhileReadingProvidedContent=Hiba történt a megadott tartalom olvasásakor: {0} 36 | validator.label.exception.unknownValidationType=Ismeretlen hitelesítési típus. A(z) [{0}] egyike kötelező. 37 | validator.label.exception.unexpectedParameter=Váratlan paraméter [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Az érvényesítendő tartalmat vagy bemeneti vagy SPARQL lekérdezéssel kell megadni, de nem mindkettőt. 39 | validator.label.exception.externalShapeLoadingNotSupported=A külső alakfájlok betöltése nem támogatott a [{1}] tartomány [{0}] érvényesítési típusánál. 40 | validator.label.exception.reportSyntaxNotSupported=A kért jelentés szintaxisa [{0}] nem támogatott. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=A BASE64-ben megadott külső alakfájloknak is meg kell határozniuk szintaxisukat. 42 | validator.label.exception.unexpectedErrorDuringValidation=Hiba történt az érvényesítés során. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Hiba történt a validálás során [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Hiba történt a SHACL hitelesítési jelentés létrehozásakor a megadott tartalom hibája miatt. 45 | validator.label.exception.downloadError=Hiba történt a kért adatok letöltése közben. 46 | validator.label.exception.preprocessingError=Hiba történt a bemeneti fájl előfeldolgozása közben a SPARQL CONSTRUCT lekérdezéssel: {0}. 47 | validator.label.exception.emptyPreprocessingResult=A visszaadott üres modell előfeldolgozása a SPARQL CONSTRUCT lekérdezés végrehajtása után: {0}. 48 | 49 | validator.label.downloadShapesButton=Töltse le a SHACL alakzatokat 50 | validator.label.downloadInputButton=Töltse le az ellenőrzött tartalmat 51 | validator.label.contentSyntaxDefault=A fájl kiterjesztése alapján 52 | validator.label.contentSyntaxDefaultForUri=A fájl kiterjesztése vagy választípusa alapján 53 | validator.label.exception.providedContentSyntaxInvalid=A megadott tartalomtípus érvénytelen 54 | validator.label.exception.providedValidationTypeInvalid=A megadott érvényesítési típus nem érvényes -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_it.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=Validatore SHACL 2 | validator.label.contentSyntaxLabel=Sintassi dei contenuti 3 | validator.label.contentSyntaxTooltip=Facoltativo per il contenuto fornito come file o URI se viene rilevata un'estensione di file nota 4 | validator.label.includeExternalShapes=Include forme esterne 5 | validator.label.externalRulesTooltip=Forme aggiuntive che saranno prese in considerazione per la convalida 6 | validator.label.externalShapesLabel=Forme esterne 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Interrogazione 9 | validator.label.reportItemFocusNode=Nodo di messa a fuoco 10 | validator.label.reportItemResultPath=Percorso dei risultati 11 | validator.label.reportItemShape=Forma 12 | validator.label.reportItemValue=Valore 13 | validator.label.loadImportsLabel=Caricare le importazioni definite nei fattori produttivi? 14 | validator.label.loadImportsTooltip=Caricare le risorse importate definite tramite owl:imports quando si definisce il grafico dei dati da convalidare. 15 | validator.label.queryEndpointInputPlaceholder=URL dell'endpoint SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Nome utente 17 | validator.label.queryPasswordInputPlaceholder=Password 18 | validator.label.queryAuthenticateLabel=L'autenticazione? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Il tipo di convalida [{0}] prevede la scelta se le importazioni debbano essere caricate o meno ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Il tipo di convalida [{0}] non prevede la scelta se le importazioni debbano essere caricate o meno ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=Le query SPARQL non sono supportate. 23 | validator.label.exception.sparqlEndpointNeeded=Un endpoint SPARQL è necessario per eseguire la query contro. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Non è possibile fornire il proprio endpoint SPARQL per la convalida. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Non ci si aspetta di fornire credenziali per l'endpoint SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=È necessario fornire le credenziali per l'endpoint SPARQL. 27 | validator.label.exception.sparqlQueryExpected=È necessario fornire la query per l'endpoint SPARQL. 28 | validator.label.exception.sparqlQueryError=Si è verificato un errore durante l''interrogazione dell''endpoint SPARQL: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Si è verificato un errore durante l'elaborazione del contenuto recuperato. 30 | validator.label.exception.sparqlQueryMustBeConstruct=La query di input deve essere una query CONSTRUCT. 31 | validator.label.exception.sparqlQueryParsingError=Si è verificato un errore durante l''analisi della query SPARQL fornita: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Impossibile determinare il tipo di contenuto di un file di forma SHACL. 33 | validator.label.exception.errorReadingShaclFile=Si è verificato un errore durante la lettura di un file SHACL. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=La lingua RDF non ha potuto essere determinata per il contenuto fornito. 35 | validator.label.exception.errorWhileReadingProvidedContent=Si è verificato un errore durante la lettura del contenuto fornito: {0} 36 | validator.label.exception.unknownValidationType=Tipo di convalida sconosciuto. Uno di [{0}] è obbligatorio. 37 | validator.label.exception.unexpectedParameter=Parametro imprevisto [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Il contenuto da convalidare deve essere fornito tramite input o query SPARQL ma non entrambi. 39 | validator.label.exception.externalShapeLoadingNotSupported=Il caricamento di file di forma esterna non è supportato per il tipo di convalida [{0}] del dominio [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=La sintassi richiesta [{0}] non è supportata. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=I file di forma esterni che sono forniti in BASE64 devono anche definire la loro sintassi. 42 | validator.label.exception.unexpectedErrorDuringValidation=Si è verificato un errore durante la convalida. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Si è verificato un errore durante la convalida [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Si è verificato un errore durante la generazione del Rapporto di convalida SHACL a causa di un problema nel contenuto fornito. 45 | validator.label.exception.downloadError=Si è verificato un errore durante il download dei dati richiesti. 46 | validator.label.exception.preprocessingError=Si è verificato un errore durante la preelaborazione del file di input con la query SPARQL CONSTRUCT: {0}. 47 | validator.label.exception.emptyPreprocessingResult=La preelaborazione ha restituito un modello vuoto dopo l’esecuzione della query SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Scarica forme SHACL 50 | validator.label.downloadInputButton=Scarica contenuto convalidato 51 | validator.label.contentSyntaxDefault=In base all'estensione del file 52 | validator.label.contentSyntaxDefaultForUri=In base all'estensione del file o al tipo di risposta 53 | validator.label.exception.providedContentSyntaxInvalid=Il tipo di contenuto fornito non è valido 54 | validator.label.exception.providedValidationTypeInvalid=Il tipo di convalida fornito non è valido -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_lt.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL tvirtintojas 2 | validator.label.contentSyntaxLabel=Turinio sintaksė 3 | validator.label.contentSyntaxTooltip=Neprivaloma turiniui, pateikiamam kaip rinkmena arba URI, jei aptinkamas žinomas failo plėtinys 4 | validator.label.includeExternalShapes=Įtraukti išorines formas 5 | validator.label.externalRulesTooltip=Papildomos formos, į kurias bus atsižvelgiama tvirtinant 6 | validator.label.externalShapesLabel=Išorinės formos 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Užklausa 9 | validator.label.reportItemFocusNode=Fokusavimo mazgas 10 | validator.label.reportItemResultPath=Rezultatų kelias 11 | validator.label.reportItemShape=Forma 12 | validator.label.reportItemValue=Vertė 13 | validator.label.loadImportsLabel=Apkrovos importas, apibrėžtas žaliavose? 14 | validator.label.loadImportsTooltip=Įkelkite importuotus išteklius, apibrėžtus adresu owl:imports, apibrėžiant duomenų grafiką, kad būtų galima patvirtinti. 15 | validator.label.queryEndpointInputPlaceholder=SPARQL vertinamosios baigties URL 16 | validator.label.queryUsernameInputPlaceholder=Naudotojo vardas 17 | validator.label.queryPasswordInputPlaceholder=Slaptažodis 18 | validator.label.queryAuthenticateLabel=Patvirtinti autentiškumą? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Patvirtinimo tipas [{0}] tikisi, kad bus pasirinkta, ar importas bus pakrautas, ar ne ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Patvirtinimo tipas [{0}] nesitiki, kad bus pasirinkta, ar importas turi būti pakrautas, ar ne ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL užklausos nepalaikomos. 23 | validator.label.exception.sparqlEndpointNeeded=Užklausai atlikti reikalinga SPARQL vertinamoji baigtis. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Jūs negalite pateikti savo SPARQL vertinamosios baigties patvirtinimui. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Nesitikima, kad pateiksite SPARQL vertinamosios baigties kredencialų. 26 | validator.label.exception.sparqlCredentialsRequired=Turite pateikti savo duomenis apie SPARQL vertinamąją baigtį. 27 | validator.label.exception.sparqlQueryExpected=Turite pateikti užklausą dėl SPARQL vertinamosios baigties. 28 | validator.label.exception.sparqlQueryError=Pateikiant užklausą dėl SPARQL vertinamosios baigties įvyko klaida: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Apdorojant atgautą turinį įvyko klaida. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Įvesties užklausa turi būti CONSTRUCT užklausa. 31 | validator.label.exception.sparqlQueryParsingError=Analizuojant pateiktą SPARQL užklausą įvyko klaida: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Nepavyko nustatyti SHACL formos failo turinio tipo. 33 | validator.label.exception.errorReadingShaclFile=Skaitant SHACL failą įvyko klaida. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=KRB kalba negalėjo būti nustatyta pateiktam turiniui. 35 | validator.label.exception.errorWhileReadingProvidedContent=Skaitant pateiktą turinį įvyko klaida: {0} 36 | validator.label.exception.unknownValidationType=Nežinomas patvirtinimo tipas. Vienas iš [{0}] yra privalomas. 37 | validator.label.exception.unexpectedParameter=Netikėtas parametras [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Patvirtintinas turinys turi būti pateiktas per įvesties arba SPARQL užklausą, bet ne abu. 39 | validator.label.exception.externalShapeLoadingNotSupported=Išorinių formos failų įkėlimas nepalaikomas domeno [{1}] patvirtinimo tipui [{0}]. 40 | validator.label.exception.reportSyntaxNotSupported=Prašoma ataskaita sintaksė [{0}] nepalaikoma. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=BASE64 pateikti išoriniai formos failai taip pat turi apibrėžti jų sintaksę. 42 | validator.label.exception.unexpectedErrorDuringValidation=Patvirtinimo metu įvyko klaida. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Patvirtinimo metu įvyko klaida [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Kuriant SHACL patvirtinimo ataskaitą įvyko klaida dėl pateikto turinio problemos. 45 | validator.label.exception.downloadError=Atsisiunčiant prašomus duomenis įvyko klaida. 46 | validator.label.exception.preprocessingError=Iš anksto apdorojant įvesties failą su SPARQL CONSTRUCT užklausa įvyko klaida: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Atlikus SPARQL CONSTRUCT užklausą, iš anksto apdorojamas grąžintas tuščias modelis: {0}. 48 | 49 | validator.label.downloadShapesButton=Atsisiųskite SHACL formas 50 | validator.label.downloadInputButton=Atsisiųskite patvirtintą turinį 51 | validator.label.contentSyntaxDefault=Remiantis failo plėtiniu 52 | validator.label.contentSyntaxDefaultForUri=Pagal failo plėtinį arba atsakymo tipą 53 | validator.label.exception.providedContentSyntaxInvalid=Pateiktas turinio tipas netinkamas 54 | validator.label.exception.providedValidationTypeInvalid=Pateiktas patvirtinimo tipas negalioja -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_lv.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL Validator 2 | validator.label.contentSyntaxLabel=Satura sintakse 3 | validator.label.contentSyntaxTooltip=Pēc izvēles attiecībā uz saturu, kas sniegts kā datne vai URI, ja tiek konstatēts zināms datnes paplašinājums 4 | validator.label.includeExternalShapes=Ietver ārējās formas 5 | validator.label.externalRulesTooltip=Papildu formas, kas tiks ņemtas vērā validācijā 6 | validator.label.externalShapesLabel=Ārējās formas 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Vaicājums 9 | validator.label.reportItemFocusNode=Fokusa mezglpunkts 10 | validator.label.reportItemResultPath=Rezultātu ceļš 11 | validator.label.reportItemShape=Forma 12 | validator.label.reportItemValue=Vērtība 13 | validator.label.loadImportsLabel=Importētās kravas, kas definētas izejvielās? 14 | validator.label.loadImportsTooltip=Ielādējiet importētos resursus, kas definēti owl:imports, nosakot validējamo datu grafiku. 15 | validator.label.queryEndpointInputPlaceholder=SPARQL galapunkta URL 16 | validator.label.queryUsernameInputPlaceholder=Lietotājvārds 17 | validator.label.queryPasswordInputPlaceholder=Parole 18 | validator.label.queryAuthenticateLabel=Autentificēties? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Validācijas tips [{0}] sagaida, vai imports tiks iekrauts vai nē. 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Validācijas tips [{0}] neparedz, ka tiks izvēlēts, vai imports tiks iekrauts vai ne. 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL vaicājumi netiek atbalstīti. 23 | validator.label.exception.sparqlEndpointNeeded=Lai veiktu vaicājumu pret, ir nepieciešams SPARQL galapunkts. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Jūs nevarat norādīt savu SPARQL beigupunktu validācijai. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Nav paredzēts, ka jūs sniegsiet datus par SPARQL mērķa kritēriju. 26 | validator.label.exception.sparqlCredentialsRequired=Jums ir jāsniedz savi dati par SPARQL beigupunktu. 27 | validator.label.exception.sparqlQueryExpected=Jums ir jāsniedz vaicājums par SPARQL beigupunktu. 28 | validator.label.exception.sparqlQueryError=Vaicājot SPARQL beigupunktu, radās kļūda: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Apstrādājot izgūto saturu, radās kļūda. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Ievades vaicājumam jābūt CONSTRUCT vaicājumam. 31 | validator.label.exception.sparqlQueryParsingError=Parsējot sniegto SPARQL vaicājumu, radās kļūda: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Neizdevās noteikt SHACL formas faila satura veidu. 33 | validator.label.exception.errorReadingShaclFile=Kļūda radās, lasot SHACL failu. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=RDF valodu nevarēja noteikt sniegtajam saturam. 35 | validator.label.exception.errorWhileReadingProvidedContent=Nolasot sniegto saturu, radās kļūda: {0} 36 | validator.label.exception.unknownValidationType=Nav zināms validācijas tips. Viens no [{0}] ir obligāts. 37 | validator.label.exception.unexpectedParameter=Neparedzēts parametrs [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Apstiprināmais saturs jāsniedz vai nu ievades, vai SPARQL vaicājuma veidā, bet ne abos. 39 | validator.label.exception.externalShapeLoadingNotSupported=Ārējās formas datņu ielādēšana netiek atbalstīta attiecībā uz domēna apstiprinājuma tipu [{0}]. 40 | validator.label.exception.reportSyntaxNotSupported=Pieprasītā ziņojuma sintakse [{0}] netiek atbalstīta. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Ārējās formas faili, kas tiek sniegti BASE64 nepieciešams arī noteikt to sintaksi. 42 | validator.label.exception.unexpectedErrorDuringValidation=Validācijas laikā radās kļūda. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Validācijas laikā radusies kļūda [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Sagatavojot SHACL validācijas ziņojumu, radās kļūda sniegtā satura problēmas dēļ. 45 | validator.label.exception.downloadError=Lejupielādējot pieprasītos datus, radās kļūda. 46 | validator.label.exception.preprocessingError=Iepriekš apstrādājot ievades failu ar SPARQL CONSTRUCT vaicājumu, radās kļūda: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Atgrieztā tukšā modeļa priekšapstrāde pēc SPARQL CONSTRUCT vaicājuma izpildes: {0}. 48 | 49 | validator.label.downloadShapesButton=Lejupielādējiet SHACL formas 50 | validator.label.downloadInputButton=Lejupielādējiet apstiprinātu saturu 51 | validator.label.contentSyntaxDefault=Pamatojoties uz faila paplašinājumu 52 | validator.label.contentSyntaxDefaultForUri=Pamatojoties uz faila paplašinājumu vai atbildes veidu 53 | validator.label.exception.providedContentSyntaxInvalid=Norādītais satura veids nav derīgs 54 | validator.label.exception.providedValidationTypeInvalid=Norādītais validācijas veids nav derīgs -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_mt.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=Validatur ta’ SHACL 2 | validator.label.contentSyntaxLabel=Sintassi tal-kontenut 3 | validator.label.contentSyntaxTooltip=Fakultattiv għall-kontenut ipprovdut bħala fajl jew URI jekk tiġi skoperta estensjoni magħrufa tal-fajl 4 | validator.label.includeExternalShapes=Inkludi forom esterni 5 | validator.label.externalRulesTooltip=Forom addizzjonali li se jiġu kkunsidrati għall-validazzjoni 6 | validator.label.externalShapesLabel=Forom esterni 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Mistoqsija 9 | validator.label.reportItemFocusNode=Nodu ta’ fokus 10 | validator.label.reportItemResultPath=Mogħdija tar-riżultati 11 | validator.label.reportItemShape=Għamla 12 | validator.label.reportItemValue=Valur 13 | validator.label.loadImportsLabel=L-importazzjonijiet tat-tagħbija definiti fl-input? 14 | validator.label.loadImportsTooltip=Tagħbija ta’ riżorsi importati definiti permezz ta’ owl:imports meta tiġi ddefinita l-graff tad-data li għandha tiġi vvalidata. 15 | validator.label.queryEndpointInputPlaceholder=URL tal-punt ta’ tmiem SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Isem l-utent 17 | validator.label.queryPasswordInputPlaceholder=Il-password 18 | validator.label.queryAuthenticateLabel=Awtentikazzjoni? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=It-tip ta’ validazzjoni [{0}] jistenna l-għażla ta’ jekk l-importazzjonijiet għandhomx jitgħabbew jew le ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=It-tip ta’ validazzjoni [{0}] ma jistenniex l-għażla ta’ jekk l-importazzjonijiet għandhomx jitgħabbew jew le ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=Mistoqsijiet SPARQL mhumiex appoġġjati. 23 | validator.label.exception.sparqlEndpointNeeded=Huwa meħtieġ punt ta’ tmiem SPARQL biex tiġi eżegwita t-tfittxija kontra. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Ma tistax tipprovdi l-punt ta’ tmiem SPARQL tiegħek stess għall-validazzjoni. 25 | validator.label.exception.sparqlCredentialsNotAllowed=M’intix mistenni li tipprovdi kredenzjali għall-punt ta’ tmiem SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Għandek tipprovdi l-kredenzjali tiegħek għall-punt ta’ tmiem SPARQL. 27 | validator.label.exception.sparqlQueryExpected=Trid tipprovdi t-tfittxija għall-punt ta’ tmiem tal-SPARQL. 28 | validator.label.exception.sparqlQueryError=Seħħ żball waqt li saret mistoqsija dwar il-punt ta’ tmiem tal-SPARQL: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Seħħ żball waqt l-ipproċessar tal-kontenut irkuprat. 30 | validator.label.exception.sparqlQueryMustBeConstruct=It-tfittxija tal-input trid tkun mistoqsija CONSTRUCT. 31 | validator.label.exception.sparqlQueryParsingError=Seħħ żball waqt il-parsing tal-Mistoqsija SPARQL ipprovduta: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Ma tistax tiddetermina t-tip ta’ kontenut ta’ fajl forma SHACL. 33 | validator.label.exception.errorReadingShaclFile=Seħħ żball waqt il-qari ta’ fajl SHACL. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Il-lingwa RDF ma setgħetx tiġi ddeterminata għall-kontenut ipprovdut. 35 | validator.label.exception.errorWhileReadingProvidedContent=Seħħ żball waqt il-qari tal-kontenut ipprovdut: {0} 36 | validator.label.exception.unknownValidationType=Tip ta’ validazzjoni mhux magħrufa. Waħda minn [{0}] hija obbligatorja. 37 | validator.label.exception.unexpectedParameter=Parametru mhux mistenni [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Il-kontenut għall-validazzjoni jrid jew jiġi pprovdut permezz ta’ input jew permezz ta’ mistoqsija SPARQL iżda mhux permezz tat-tnejn. 39 | validator.label.exception.externalShapeLoadingNotSupported=Il-fajls tat-tagħbija f’forma esterna mhumiex appoġġjati għat-tip ta’ validazzjoni [{0}] tad-dominju [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Is-sintassi tar-rapport mitlub [{0}] mhijiex appoġġata. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Fajls forma esterna li huma pprovduti fil-BASE64 jeħtieġ li jiddefinixxu wkoll sintassi tagħhom. 42 | validator.label.exception.unexpectedErrorDuringValidation=Seħħ żball matul il-validazzjoni. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Seħħ żball matul il-validazzjoni [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Seħħ żball waqt il-ġenerazzjoni tar-Rapport ta’ Validazzjoni SHACL minħabba problema fil-kontenut ipprovdut. 45 | validator.label.exception.downloadError=Sar żball waqt it-tniżżil tad-dejta mitluba. 46 | validator.label.exception.preprocessingError=Sar żball waqt l-ipproċessar minn qabel tal-fajl tal-input bil-mistoqsija SPARQL CONSTRUCT: {0}. 47 | validator.label.exception.emptyPreprocessingResult=L-ipproċessar minn qabel irritorna mudell vojt wara l-eżekuzzjoni tal-mistoqsija SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Niżżel il-forom SHACL 50 | validator.label.downloadInputButton=Niżżel kontenut validat 51 | validator.label.contentSyntaxDefault=Ibbażat fuq l-estensjoni tal-fajl 52 | validator.label.contentSyntaxDefaultForUri=Ibbażat fuq l-estensjoni tal-fajl jew it-tip ta' rispons 53 | validator.label.exception.providedContentSyntaxInvalid=It-tip ta' kontenut ipprovdut mhuwiex validu 54 | validator.label.exception.providedValidationTypeInvalid=It-tip ta' validazzjoni pprovdut mhuwiex validu -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_nl.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL Validator 2 | validator.label.contentSyntaxLabel=Inhoud syntaxis 3 | validator.label.contentSyntaxTooltip=Optioneel voor inhoud die wordt geleverd als een bestand of een URI als een bekende bestandsextensie wordt gedetecteerd 4 | validator.label.includeExternalShapes=Inclusief externe vormen 5 | validator.label.externalRulesTooltip=Aanvullende vormen die in aanmerking worden genomen voor de validatie 6 | validator.label.externalShapesLabel=Uitwendige vormen 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Vraag 9 | validator.label.reportItemFocusNode=Focusknoop 10 | validator.label.reportItemResultPath=Resultaat pad 11 | validator.label.reportItemShape=Vorm 12 | validator.label.reportItemValue=Waarde 13 | validator.label.loadImportsLabel=Invoer van lading gedefinieerd in de input? 14 | validator.label.loadImportsTooltip=Laad geïmporteerde bronnen die zijn gedefinieerd via owl:imports bij het definiëren van de te valideren gegevensgrafiek. 15 | validator.label.queryEndpointInputPlaceholder=SPARQL-eindpunt-URL 16 | validator.label.queryUsernameInputPlaceholder=Gebruikersnaam 17 | validator.label.queryPasswordInputPlaceholder=Wachtwoord 18 | validator.label.queryAuthenticateLabel=Authentiseren? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Valideringstype [{0}] verwacht de keuze of de invoer al dan niet moet worden geladen ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Valideringstype [{0}] verwacht niet de keuze of de invoer al dan niet moet worden geladen ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL query’s worden niet ondersteund. 23 | validator.label.exception.sparqlEndpointNeeded=Een SPARQL-eindpunt is nodig om de query tegen uit te voeren. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=U kunt uw eigen SPARQL-eindpunt niet opgeven voor de validatie. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Van u wordt niet verwacht dat u de referenties voor het SPARQL-eindpunt verstrekt. 26 | validator.label.exception.sparqlCredentialsRequired=U moet uw referenties voor het SPARQL-eindpunt opgeven. 27 | validator.label.exception.sparqlQueryExpected=U moet de zoekopdracht voor het SPARQL-eindpunt opgeven. 28 | validator.label.exception.sparqlQueryError=Er is een fout opgetreden bij het opvragen van het SPARQL-eindpunt: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Er is een fout opgetreden bij het verwerken van de opgehaalde inhoud. 30 | validator.label.exception.sparqlQueryMustBeConstruct=De inputquery moet een CONSTRUCT-query zijn. 31 | validator.label.exception.sparqlQueryParsingError=Er is een fout opgetreden bij het ontleden van de verstrekte SPARQL Query: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Het inhoudstype van een SHACL-vormbestand kan niet worden bepaald. 33 | validator.label.exception.errorReadingShaclFile=Er is een fout opgetreden bij het lezen van een SHACL-bestand. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=De RDF-taal kon niet worden bepaald voor de verstrekte inhoud. 35 | validator.label.exception.errorWhileReadingProvidedContent=Er is een fout opgetreden bij het lezen van de verstrekte inhoud: {0} 36 | validator.label.exception.unknownValidationType=Onbekend valideringstype. Een van [{0}] is verplicht. 37 | validator.label.exception.unexpectedParameter=Onverwachte parameter [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=De te valideren inhoud moet worden verstrekt via input of SPARQL-query, maar niet beide. 39 | validator.label.exception.externalShapeLoadingNotSupported=Het laden van externe vormbestanden wordt niet ondersteund voor validatietype [{0}] van domein [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=De gevraagde rapport syntaxis [{0}] wordt niet ondersteund. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Externe vormbestanden die worden geleverd in BASE64 moeten ook hun syntaxis definiëren. 42 | validator.label.exception.unexpectedErrorDuringValidation=Er is een fout opgetreden tijdens de validatie. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Er is een fout opgetreden tijdens de validatie [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Er is een fout opgetreden tijdens het genereren van het SHACL Validation Report als gevolg van een probleem in de verstrekte inhoud. 45 | validator.label.exception.downloadError=Er is een fout opgetreden tijdens het downloaden van de gevraagde gegevens. 46 | validator.label.exception.preprocessingError=Er is een fout opgetreden tijdens het voorbewerken van het invoerbestand met de SPARQL CONSTRUCT-query: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Preprocessing heeft een leeg model geretourneerd na het uitvoeren van de SPARQL CONSTRUCT-query: {0}. 48 | 49 | validator.label.downloadShapesButton=SHACL-vormen downloaden 50 | validator.label.downloadInputButton=Gevalideerde inhoud downloaden 51 | validator.label.contentSyntaxDefault=Gebaseerd op de bestandsextensie 52 | validator.label.contentSyntaxDefaultForUri=Gebaseerd op de bestandsextensie of het responstype 53 | validator.label.exception.providedContentSyntaxInvalid=Het opgegeven inhoudstype is niet geldig 54 | validator.label.exception.providedValidationTypeInvalid=Het opgegeven validatietype is niet geldig -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_pl.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=Walidator SHACL 2 | validator.label.contentSyntaxLabel=Składnia treści 3 | validator.label.contentSyntaxTooltip=Opcjonalny dla treści dostarczanych jako plik lub URI, jeżeli wykryte jest znane rozszerzenie pliku 4 | validator.label.includeExternalShapes=Zawiera kształty zewnętrzne 5 | validator.label.externalRulesTooltip=Dodatkowe kształty, które będą brane pod uwagę przy zatwierdzaniu 6 | validator.label.externalShapesLabel=Kształty zewnętrzne 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Zapytanie 9 | validator.label.reportItemFocusNode=Węzeł ostrości 10 | validator.label.reportItemResultPath=Ścieżka wyników 11 | validator.label.reportItemShape=Kształt 12 | validator.label.reportItemValue=Wartość 13 | validator.label.loadImportsLabel=Import ładunków zdefiniowany w nakładzie? 14 | validator.label.loadImportsTooltip=Załaduj importowane zasoby zdefiniowane przez owl:imports podczas definiowania wykresu danych do walidacji. 15 | validator.label.queryEndpointInputPlaceholder=Adres URL punktu końcowego SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Nazwa użytkownika 17 | validator.label.queryPasswordInputPlaceholder=Hasło 18 | validator.label.queryAuthenticateLabel=Autentyczność? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Typ walidacji [{0}] oczekuje wyboru, czy import ma zostać załadowany ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Typ walidacji [{0}] nie przewiduje wyboru, czy import ma zostać załadowany ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=Zapytania SPARQL nie są obsługiwane. 23 | validator.label.exception.sparqlEndpointNeeded=Aby wykonać zapytanie przeciwko, potrzebny jest punkt końcowy SPARQL. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Nie można podać własnego punktu końcowego SPARQL do walidacji. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Nie oczekuje się podania danych uwierzytelniających dla punktu końcowego SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Należy podać swoje dane uwierzytelniające punkt końcowy SPARQL. 27 | validator.label.exception.sparqlQueryExpected=Należy podać zapytanie dotyczące punktu końcowego SPARQL. 28 | validator.label.exception.sparqlQueryError=Wystąpił błąd podczas przeszukiwania punktu końcowego SPARQL: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Wystąpił błąd podczas przetwarzania pobranej treści. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Zapytanie wejściowe musi być zapytaniem CONSTRUCT. 31 | validator.label.exception.sparqlQueryParsingError=Wystąpił błąd podczas analizowania dostarczonych zapytań SPARQL: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Nie można określić typu zawartości pliku kształtu SHACL. 33 | validator.label.exception.errorReadingShaclFile=Podczas czytania pliku SHACL wystąpił błąd. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Języka RDF nie można było określić dla dostarczonej treści. 35 | validator.label.exception.errorWhileReadingProvidedContent=Wystąpił błąd podczas czytania dostarczonej treści: {0} 36 | validator.label.exception.unknownValidationType=Nieznany typ walidacji. Jeden z [{0}] jest obowiązkowy. 37 | validator.label.exception.unexpectedParameter=Nieoczekiwany parametr [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Zawartość do zatwierdzenia musi być dostarczana za pomocą danych wejściowych lub zapytania SPARQL, ale nie obie te elementy. 39 | validator.label.exception.externalShapeLoadingNotSupported=Ładowanie plików kształtu zewnętrznego nie jest obsługiwane dla typu walidacji [{0}] domeny [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Żądana składnia raportu [{0}] nie jest obsługiwana. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Pliki kształtu zewnętrznego, które są zawarte w BASE64, muszą również zdefiniować ich składnię. 42 | validator.label.exception.unexpectedErrorDuringValidation=Podczas walidacji wystąpił błąd. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Podczas walidacji wystąpił błąd [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Wystąpił błąd podczas generowania raportu z walidacji SHACL z powodu problemu w dostarczonej treści. 45 | validator.label.exception.downloadError=Wystąpił błąd podczas pobierania żądanych danych. 46 | validator.label.exception.preprocessingError=Wystąpił błąd podczas wstępnego przetwarzania pliku wejściowego z zapytaniem SPARQL CONSTRUCT: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Przetwarzanie wstępne zwróciło pusty model po wykonaniu zapytania SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Pobierz kształty SHACL 50 | validator.label.downloadInputButton=Pobierz sprawdzoną zawartość 51 | validator.label.contentSyntaxDefault=Na podstawie rozszerzenia pliku 52 | validator.label.contentSyntaxDefaultForUri=Na podstawie rozszerzenia pliku lub typu odpowiedzi 53 | validator.label.exception.providedContentSyntaxInvalid=Podany typ treści jest nieprawidłowy 54 | validator.label.exception.providedValidationTypeInvalid=Podany typ walidacji jest nieprawidłowy -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_pt.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL Validador 2 | validator.label.contentSyntaxLabel=Sintaxe de conteúdo 3 | validator.label.contentSyntaxTooltip=Opcional para conteúdo fornecido como um arquivo ou URI se uma extensão de arquivo conhecida for detetada 4 | validator.label.includeExternalShapes=Incluir formas externas 5 | validator.label.externalRulesTooltip=Formas adicionais que serão consideradas para a validação 6 | validator.label.externalShapesLabel=Formas externas 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Consulta 9 | validator.label.reportItemFocusNode=Nó de foco 10 | validator.label.reportItemResultPath=Caminho do resultado 11 | validator.label.reportItemShape=Forma 12 | validator.label.reportItemValue=Valor 13 | validator.label.loadImportsLabel=Carregar as importações definidas no input? 14 | validator.label.loadImportsTooltip=Carregar recursos importados definidos via owl:imports ao definir o gráfico de dados para validar. 15 | validator.label.queryEndpointInputPlaceholder=URL do ponto final da SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Nome de utilizador 17 | validator.label.queryPasswordInputPlaceholder=Senha 18 | validator.label.queryAuthenticateLabel=Autenticar-se? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=O tipo de validação [{0}] espera a escolha de se as importações devem ou não ser carregadas ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=O tipo de validação [{0}] não espera a escolha de se as importações devem ou não ser carregadas ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=As consultas SPARQL não são suportadas. 23 | validator.label.exception.sparqlEndpointNeeded=Um endpoint SPARQL é necessário para executar a consulta contra. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Você não pode fornecer seu próprio endpoint SPARQL para a validação. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Não se espera que forneça credenciais para o parâmetro de avaliação da SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Você deve fornecer suas credenciais para o endpoint SPARQL. 27 | validator.label.exception.sparqlQueryExpected=Você deve fornecer a consulta para o endpoint SPARQL. 28 | validator.label.exception.sparqlQueryError=Ocorreu um erro ao consultar o ponto final do SPARQL: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Ocorreu um erro ao processar o conteúdo recuperado. 30 | validator.label.exception.sparqlQueryMustBeConstruct=A consulta de entrada deve ser uma consulta CONSTRUCT. 31 | validator.label.exception.sparqlQueryParsingError=Ocorreu um erro ao analisar a consulta SPARQL fornecida: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Não foi possível determinar o tipo de conteúdo de um arquivo de forma SHACL. 33 | validator.label.exception.errorReadingShaclFile=Ocorreu um erro ao ler um arquivo SHACL. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=A língua do FTR não pôde ser determinada para o conteúdo fornecido. 35 | validator.label.exception.errorWhileReadingProvidedContent=Ocorreu um erro ao ler o conteúdo fornecido: {0} 36 | validator.label.exception.unknownValidationType=Tipo de validação desconhecido. Um de [{0}] é obrigatório. 37 | validator.label.exception.unexpectedParameter=Parâmetro inesperado [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=O conteúdo a validar deve ser fornecido através de entrada ou consulta SPARQL, mas não ambos. 39 | validator.label.exception.externalShapeLoadingNotSupported=Carregar arquivos de forma externa não é suportado para o tipo de validação [{0}] de domínio [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=A sintaxe do relatório solicitada [{0}] não é suportada. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Arquivos de forma externa que são fornecidos no BASE64 também precisam definir sua sintaxe. 42 | validator.label.exception.unexpectedErrorDuringValidation=Ocorreu um erro durante a validação. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Ocorreu um erro durante a validação [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Ocorreu um erro ao gerar o Relatório de Validação do SHACL devido a um problema no conteúdo fornecido. 45 | validator.label.exception.downloadError=Ocorreu um erro ao baixar os dados solicitados. 46 | validator.label.exception.preprocessingError=Ocorreu um erro ao pré-processar o arquivo de entrada com a consulta SPARQL CONSTRUCT: {0}. 47 | validator.label.exception.emptyPreprocessingResult=O pré-processamento retornou o modelo vazio após a execução da consulta SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Baixar formas SHACL 50 | validator.label.downloadInputButton=Baixar conteúdo validado 51 | validator.label.contentSyntaxDefault=Com base na extensão do arquivo 52 | validator.label.contentSyntaxDefaultForUri=Com base na extensão de ficheiro ou tipo de resposta 53 | validator.label.exception.providedContentSyntaxInvalid=O tipo de conteúdo fornecido não é válido 54 | validator.label.exception.providedValidationTypeInvalid=O tipo de validação fornecido não é válido -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_ro.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=Validator SHACL 2 | validator.label.contentSyntaxLabel=Sintaxa conținutului 3 | validator.label.contentSyntaxTooltip=Opțional pentru conținutul furnizat ca fișier sau URI dacă este detectată o extensie de fișier cunoscută 4 | validator.label.includeExternalShapes=Include forme exterioare 5 | validator.label.externalRulesTooltip=Forme suplimentare care vor fi luate în considerare pentru validare 6 | validator.label.externalShapesLabel=Forme exterioare 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Interogare 9 | validator.label.reportItemFocusNode=Nod de focalizare 10 | validator.label.reportItemResultPath=Traiectoria de rezultat 11 | validator.label.reportItemShape=Formă 12 | validator.label.reportItemValue=Valoare 13 | validator.label.loadImportsLabel=Importurile de încărcare definite în input? 14 | validator.label.loadImportsTooltip=Încărcați resursele importate definite prin owl:imports atunci când definiți graficul de date pentru validare. 15 | validator.label.queryEndpointInputPlaceholder=URL-ul punctului final SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Nume utilizator 17 | validator.label.queryPasswordInputPlaceholder=Parolă 18 | validator.label.queryAuthenticateLabel=Să te autentifici? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Tipul de validare [{0}] se așteaptă să se aleagă dacă importurile urmează să fie încărcate sau nu ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Tipul de validare [{0}] nu se așteaptă să se aleagă dacă importurile urmează să fie încărcate sau nu ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=Interogările SPARQL nu sunt acceptate. 23 | validator.label.exception.sparqlEndpointNeeded=Este necesar un punct final SPARQL pentru a executa interogarea. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Nu puteți furniza propriul punct final SPARQL pentru validare. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Nu este de așteptat să furnizați acreditări pentru punctul final SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Trebuie să vă furnizați acreditările pentru punctul final SPARQL. 27 | validator.label.exception.sparqlQueryExpected=Trebuie să furnizați interogarea pentru punctul final SPARQL. 28 | validator.label.exception.sparqlQueryError=S-a produs o eroare la interogarea punctului final SPARQL: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=S-a produs o eroare la procesarea conținutului preluat. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Interogarea de intrare trebuie să fie o interogare CONSTRUCT. 31 | validator.label.exception.sparqlQueryParsingError=S-a produs o eroare la analiza interogării SPARQL furnizate: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Nu se poate determina tipul de conținut al unui fișier de formă SHACL. 33 | validator.label.exception.errorReadingShaclFile=S-a produs o eroare la citirea unui fișier SHACL. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Limba RDF nu a putut fi determinată pentru conținutul furnizat. 35 | validator.label.exception.errorWhileReadingProvidedContent=S-a produs o eroare la citirea conținutului furnizat: {0} 36 | validator.label.exception.unknownValidationType=Tipul de validare necunoscut. Una dintre [{0}] este obligatorie. 37 | validator.label.exception.unexpectedParameter=Parametru neprevăzut [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Conținutul care trebuie validat trebuie să fie furnizat fie prin input, fie prin interogare SPARQL, dar nu ambele. 39 | validator.label.exception.externalShapeLoadingNotSupported=Încărcarea fișierelor cu formă externă nu este acceptată pentru tipul de validare [{0}] din domeniul [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Sintaxa de raport solicitată nu este susținută. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Fișierele de formă externă care sunt furnizate în BASE64 trebuie să definească, de asemenea, sintaxa lor. 42 | validator.label.exception.unexpectedErrorDuringValidation=S-a produs o eroare în timpul validării. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=S-a produs o eroare în timpul validării [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=S-a produs o eroare la generarea raportului de validare SHACL din cauza unei probleme în conținutul furnizat. 45 | validator.label.exception.downloadError=A apărut o eroare la descărcarea datelor solicitate. 46 | validator.label.exception.preprocessingError=A apărut o eroare la preprocesarea fișierului de intrare cu interogarea SPARQL CONSTRUCT: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Preprocesarea a returnat modelul gol după executarea interogării SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Descărcați forme SHACL 50 | validator.label.downloadInputButton=Descărcați conținut validat 51 | validator.label.contentSyntaxDefault=Pe baza extensiei de fișier 52 | validator.label.contentSyntaxDefaultForUri=Pe baza extensiei de fișier sau tipului de răspuns 53 | validator.label.exception.providedContentSyntaxInvalid=Tipul de conținut furnizat nu este valid 54 | validator.label.exception.providedValidationTypeInvalid=Tipul de validare furnizat nu este valid -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_sk.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=Validátor SHACL 2 | validator.label.contentSyntaxLabel=Syntax obsahu 3 | validator.label.contentSyntaxTooltip=Voliteľné pre obsah poskytnutý ako súbor alebo URI, ak je zistená známa prípona súboru 4 | validator.label.includeExternalShapes=Zahrnúť vonkajšie tvary 5 | validator.label.externalRulesTooltip=Ďalšie tvary, ktoré sa budú brať do úvahy pri validácii 6 | validator.label.externalShapesLabel=Vonkajšie tvary 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Vyhľadávanie 9 | validator.label.reportItemFocusNode=Zaostriť uzol 10 | validator.label.reportItemResultPath=Cesta k výsledku 11 | validator.label.reportItemShape=Tvar 12 | validator.label.reportItemValue=Hodnota 13 | validator.label.loadImportsLabel=Zaťaženie dovozov definovaných vo vstupoch? 14 | validator.label.loadImportsTooltip=Načítajte importované zdroje definované cez owl:imports pri definovaní grafu údajov na overenie. 15 | validator.label.queryEndpointInputPlaceholder=URL koncového bodu SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Používateľské meno 17 | validator.label.queryPasswordInputPlaceholder=Heslo 18 | validator.label.queryAuthenticateLabel=Autentifikovať? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Typ validácie [{0}] predpokladá výber toho, či sa má dovoz načítať ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Typ validácie [{0}] neočakáva výber toho, či sa má dovoz načítať ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=Otázky SPARQL nie sú podporované. 23 | validator.label.exception.sparqlEndpointNeeded=Na vykonanie dotazu je potrebný koncový bod SPARQL. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Nemôžete poskytnúť svoj vlastný koncový bod SPARQL pre validáciu. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Neočakáva sa, že poskytnete prihlasovacie údaje pre koncový ukazovateľ SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Musíte poskytnúť svoje prihlasovacie údaje pre koncový bod SPARQL. 27 | validator.label.exception.sparqlQueryExpected=Musíte poskytnúť dopyt pre koncový bod SPARQL. 28 | validator.label.exception.sparqlQueryError=Pri vyhľadávaní koncového bodu SPARQL sa vyskytla chyba: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Pri spracovaní načítaného obsahu sa vyskytla chyba. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Vstupný dopyt musí byť dopyt CONSTRUCT. 31 | validator.label.exception.sparqlQueryParsingError=Pri analýze poskytnutého SPARQL otázky sa vyskytla chyba: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Nepodarilo sa určiť typ obsahu súboru tvaru SHACL. 33 | validator.label.exception.errorReadingShaclFile=Pri čítaní súboru SHACL sa vyskytla chyba. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Jazyk RBP nebolo možné určiť pre poskytnutý obsah. 35 | validator.label.exception.errorWhileReadingProvidedContent=Pri čítaní poskytnutého obsahu sa vyskytla chyba: {0} 36 | validator.label.exception.unknownValidationType=Neznámy typ validácie. Jeden z [{0}] je povinný. 37 | validator.label.exception.unexpectedParameter=Neočakávaný parameter [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Obsah, ktorý sa má overiť, sa musí poskytnúť buď prostredníctvom vstupného alebo SPARQL dotazu, ale nie prostredníctvom oboch. 39 | validator.label.exception.externalShapeLoadingNotSupported=Načítavanie súborov externého tvaru nie je podporované pre typ validácie [{0}] domény [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Požadovaná syntax správy [{0}] nie je podporovaná. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Externé súbory tvaru, ktoré sú poskytované v BASE64 musia tiež definovať ich syntax. 42 | validator.label.exception.unexpectedErrorDuringValidation=Počas validácie sa vyskytla chyba. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Počas validácie sa vyskytla chyba [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Pri vytváraní validačnej správy SHACL sa vyskytla chyba z dôvodu problému v dodanom obsahu. 45 | validator.label.exception.downloadError=Pri sťahovaní požadovaných údajov sa vyskytla chyba. 46 | validator.label.exception.preprocessingError=Pri predbežnom spracovaní vstupného súboru s dotazom SPARQL CONSTRUCT sa vyskytla chyba: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Predspracovanie vrátilo prázdny model po vykonaní dotazu SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Stiahnite si tvary SHACL 50 | validator.label.downloadInputButton=Stiahnite si overený obsah 51 | validator.label.contentSyntaxDefault=Na základe prípony súboru 52 | validator.label.contentSyntaxDefaultForUri=Na základe prípony súboru alebo typu odpovede 53 | validator.label.exception.providedContentSyntaxInvalid=Poskytnutý typ obsahu nie je platný 54 | validator.label.exception.providedValidationTypeInvalid=Zadaný typ overenia nie je platný -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_sl.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=Validator SHACL 2 | validator.label.contentSyntaxLabel=Sintaks vsebine 3 | validator.label.contentSyntaxTooltip=Neobvezno za vsebino, zagotovljeno kot datoteka ali URI, če je zaznana znana razširitev datoteke 4 | validator.label.includeExternalShapes=Vključujejo zunanje oblike 5 | validator.label.externalRulesTooltip=Dodatne oblike, ki bodo upoštevane pri validaciji 6 | validator.label.externalShapesLabel=Zunanje oblike 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Poizvedba 9 | validator.label.reportItemFocusNode=Žariščno vozlišče 10 | validator.label.reportItemResultPath=Pot rezultata 11 | validator.label.reportItemShape=Oblika 12 | validator.label.reportItemValue=Vrednost 13 | validator.label.loadImportsLabel=Obremenitev uvoza, opredeljena v vložku? 14 | validator.label.loadImportsTooltip=Obremenitev uvoženih virov, opredeljenih prek owl:imports pri določanju podatkovnega grafa, ki ga je treba potrditi. 15 | validator.label.queryEndpointInputPlaceholder=URL končne točke SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Uporabniško ime 17 | validator.label.queryPasswordInputPlaceholder=Geslo 18 | validator.label.queryAuthenticateLabel=Avtentikacija? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Vrsta validacije [{0}] pričakuje izbiro, ali se uvoz naloži ali ne ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Vrsta validacije [{0}] ne pričakuje izbire, ali naj se uvoz naloži ali ne ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=Poizvedbe SPARQL niso podprte. 23 | validator.label.exception.sparqlEndpointNeeded=Za izvedbo poizvedbe je potrebna končna točka SPARQL. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Za validacijo ne morete navesti lastne končne točke SPARQL. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Ne pričakuje se, da boste zagotovili poverilnice za opazovani dogodek SPARQL. 26 | validator.label.exception.sparqlCredentialsRequired=Predložiti morate poverilnice za opazovano točko SPARQL. 27 | validator.label.exception.sparqlQueryExpected=Predložiti morate poizvedbo za končno točko SPARQL. 28 | validator.label.exception.sparqlQueryError=Pri poizvedovanju po končni točki SPARQL je prišlo do napake: {0} 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Pri obdelavi pridobljene vsebine je prišlo do napake. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Vhodna poizvedba mora biti poizvedba CONSTRUCT. 31 | validator.label.exception.sparqlQueryParsingError=Prišlo je do napake pri razčlenjevanju predložene poizvedbe SPARQL: {0} 32 | validator.label.exception.unableToDetermineShaclContentType=Ni moč določiti vrste vsebine datoteke oblike SHACL. 33 | validator.label.exception.errorReadingShaclFile=Pri branju datoteke SHACL je prišlo do napake. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=Jezika RDF ni bilo mogoče določiti za navedeno vsebino. 35 | validator.label.exception.errorWhileReadingProvidedContent=Pri branju navedene vsebine je prišlo do napake: {0} 36 | validator.label.exception.unknownValidationType=Neznana vrsta validacije. Eden od [{0}] je obvezen. 37 | validator.label.exception.unexpectedParameter=Nepričakovani parameter [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Vsebino, ki jo je treba potrditi, je treba zagotoviti z vnosom ali poizvedbo SPARQL, vendar ne z obema. 39 | validator.label.exception.externalShapeLoadingNotSupported=Nalaganje zunanjih datotek oblike ni podprto za validacijo tipa [{0}] domene [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Zahtevana sintaksa poročila [{0}] ni podprta. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=V datotekah zunanje oblike, ki so na voljo v BASE64, je treba opredeliti tudi njihovo sintakso. 42 | validator.label.exception.unexpectedErrorDuringValidation=Med potrjevanjem je prišlo do napake. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Med validacijo je prišlo do napake [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Pri pripravi poročila o potrditvi SHACL je prišlo do napake zaradi težave v predloženi vsebini. 45 | validator.label.exception.downloadError=Pri prenosu zahtevanih podatkov je prišlo do napake. 46 | validator.label.exception.preprocessingError=Med predhodno obdelavo vhodne datoteke s poizvedbo SPARQL CONSTRUCT je prišlo do napake: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Predobdelava je vrnila prazen model po izvedbi poizvedbe SPARQL CONSTRUCT: {0}. 48 | 49 | validator.label.downloadShapesButton=Prenesite oblike SHACL 50 | validator.label.downloadInputButton=Prenesite preverjeno vsebino 51 | validator.label.contentSyntaxDefault=Na podlagi razširitve datoteke 52 | validator.label.contentSyntaxDefaultForUri=Glede na končnico datoteke ali vrsto odgovora 53 | validator.label.exception.providedContentSyntaxInvalid=Navedena vrsta vsebine ni veljavna 54 | validator.label.exception.providedValidationTypeInvalid=Navedena vrsta preverjanja ni veljavna -------------------------------------------------------------------------------- /shaclvalidator-common/src/main/resources/i18n/validator_sv.properties: -------------------------------------------------------------------------------- 1 | validator.uploadTitle=SHACL Validator 2 | validator.label.contentSyntaxLabel=Innehållssyntax 3 | validator.label.contentSyntaxTooltip=Valfritt för innehåll som tillhandahålls som en fil eller en URI om en känd filändelse upptäcks 4 | validator.label.includeExternalShapes=Inkludera yttre former 5 | validator.label.externalRulesTooltip=Ytterligare former som kommer att beaktas vid valideringen 6 | validator.label.externalShapesLabel=Yttre former 7 | validator.label.externalShapesPlaceholder= 8 | validator.label.optionContentQuery=Fråga 9 | validator.label.reportItemFocusNode=Fokusnod 10 | validator.label.reportItemResultPath=Resultatsökväg 11 | validator.label.reportItemShape=Form 12 | validator.label.reportItemValue=Värde 13 | validator.label.loadImportsLabel=Lastimport definierad i insatsvaran? 14 | validator.label.loadImportsTooltip=Ladda importerade resurser definierade via owl:imports när du definierar datagrafen för validering. 15 | validator.label.queryEndpointInputPlaceholder=URL för slutpunkt för SPARQL 16 | validator.label.queryUsernameInputPlaceholder=Användarnamn 17 | validator.label.queryPasswordInputPlaceholder=Lösenord 18 | validator.label.queryAuthenticateLabel=Är det autentisering? 19 | 20 | validator.label.exception.validationTypeExpectsLoadImports=Valideringstyp [{0}] förväntar sig valet av huruvida import ska lastas ({1}). 21 | validator.label.exception.validationTypeDoesNotExpectLoadImports=Valideringstyp [{0}] förväntar sig inte valet av huruvida import ska lastas ({1}). 22 | validator.label.exception.sparqlQueriesNotSupported=SPARQL-frågor stöds inte. 23 | validator.label.exception.sparqlEndpointNeeded=En SPARQL-slutpunkt behövs för att köra sökningen mot. 24 | validator.label.exception.ownSparqlEndpointNotAllowed=Du kan inte ange din egen SPARQL-slutpunkt för valideringen. 25 | validator.label.exception.sparqlCredentialsNotAllowed=Du förväntas inte tillhandahålla autentiseringsuppgifter för SPARQL-slutpunkten. 26 | validator.label.exception.sparqlCredentialsRequired=Du måste ange dina referenser för SPARQL-slutpunkten. 27 | validator.label.exception.sparqlQueryExpected=Du måste ange sökningen för SPARQL-slutpunkten. 28 | validator.label.exception.sparqlQueryError=Ett fel uppstod vid sökning i SPARQL-slutpunkten: 29 | validator.label.exception.sparqlQueryErrorInContentProcessing=Ett fel uppstod vid bearbetning av det hämtade innehållet. 30 | validator.label.exception.sparqlQueryMustBeConstruct=Inmatningsfrågan måste vara en CONSTRUCT-fråga. 31 | validator.label.exception.sparqlQueryParsingError=Ett fel uppstod vid tolkning av den tillhandahållna SPARQL-frågan: 32 | validator.label.exception.unableToDetermineShaclContentType=Kunde inte bestämma innehållstypen för en SHACL-formfil. 33 | validator.label.exception.errorReadingShaclFile=Ett fel uppstod när en SHACL-fil lästes. 34 | validator.label.exception.rdfLanguageCouldNotBeDetermined=RDF-språket kunde inte bestämmas för det innehåll som tillhandahölls. 35 | validator.label.exception.errorWhileReadingProvidedContent=Ett fel uppstod vid läsning av det tillhandahållna innehållet: 36 | validator.label.exception.unknownValidationType=Okänd valideringstyp. En av [{0}] är obligatorisk. 37 | validator.label.exception.unexpectedParameter=Oväntad parameter [{0}] 38 | validator.label.exception.contentExpectedAsInpurOrQuery=Innehållet som ska valideras måste antingen tillhandahållas via inmatnings- eller SPARQL-förfrågan, men inte både och. 39 | validator.label.exception.externalShapeLoadingNotSupported=Laddning av externa formfiler stöds inte för valideringstyp [{0}] för domän [{1}]. 40 | validator.label.exception.reportSyntaxNotSupported=Den begärda rapportsyntaxen [{0}] stöds inte. 41 | validator.label.exception.externalBase64ShapesNeedAlsoSyntax=Externa formfiler som tillhandahålls i BASE64 måste också definiera sin syntax. 42 | validator.label.exception.unexpectedErrorDuringValidation=Ett fel uppstod under valideringen. 43 | validator.label.exception.unexpectedErrorDuringValidationWithParams=Ett fel uppstod under valideringen [{0}]. 44 | validator.label.exception.unableToGenerateReportDueToContentProblem=Ett fel uppstod när SHACL-valideringsrapporten genererades på grund av ett problem i det tillhandahållna innehållet. 45 | validator.label.exception.downloadError=Ett fel uppstod vid nedladdning av begärd data. 46 | validator.label.exception.preprocessingError=Ett fel inträffade när indatafilen förbehandlades med SPARQL CONSTRUCT-frågan: {0}. 47 | validator.label.exception.emptyPreprocessingResult=Förbearbetning returnerade tom modell efter exekvering av SPARQL CONSTRUCT-fråga: {0}. 48 | 49 | validator.label.downloadShapesButton=Ladda ner SHACL-former 50 | validator.label.downloadInputButton=Ladda ner validerat innehåll 51 | validator.label.contentSyntaxDefault=Baserat på filtillägget 52 | validator.label.contentSyntaxDefaultForUri=Baserat på filtillägget eller svarstypen 53 | validator.label.exception.providedContentSyntaxInvalid=Den angivna innehållstypen är inte giltig 54 | validator.label.exception.providedValidationTypeInvalid=Den angivna valideringstypen är inte giltig -------------------------------------------------------------------------------- /shaclvalidator-common/src/test/java/eu/europa/ec/itb/shacl/DomainConfigTest.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl; 2 | 3 | import org.junit.jupiter.api.Test; 4 | 5 | import static org.junit.jupiter.api.Assertions.assertNotNull; 6 | 7 | class DomainConfigTest { 8 | 9 | @Test 10 | void testConfigCreation() { 11 | var config = new DomainConfig(); 12 | assertNotNull(config); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /shaclvalidator-common/src/test/java/eu/europa/ec/itb/shacl/util/ShaclValidatorUtilsTest.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.util; 2 | 3 | import org.junit.jupiter.api.Test; 4 | 5 | import static eu.europa.ec.itb.shacl.util.ShaclValidatorUtils.handleEquivalentContentSyntaxes; 6 | import static eu.europa.ec.itb.shacl.util.ShaclValidatorUtils.isRdfContentSyntax; 7 | import static org.junit.jupiter.api.Assertions.*; 8 | 9 | class ShaclValidatorUtilsTest { 10 | 11 | @Test 12 | void testHandleEquivalentContentSyntaxes() { 13 | assertEquals("application/rdf+xml", handleEquivalentContentSyntaxes("application/rdf+xml")); 14 | assertEquals("application/rdf+xml", handleEquivalentContentSyntaxes("application/xml")); 15 | assertEquals("application/rdf+xml", handleEquivalentContentSyntaxes("text/xml")); 16 | assertEquals("application/rdf+xml", handleEquivalentContentSyntaxes("text/xml; charset=utf-8")); 17 | assertEquals("application/ld+json", handleEquivalentContentSyntaxes("application/json")); 18 | assertEquals("application/ld+json", handleEquivalentContentSyntaxes("application/ld+json")); 19 | assertEquals("text/plain", handleEquivalentContentSyntaxes("text/plain")); 20 | assertNull(handleEquivalentContentSyntaxes((String)null)); 21 | assertEquals("", handleEquivalentContentSyntaxes("")); 22 | } 23 | 24 | @Test 25 | void testIsRdfContentSyntax() { 26 | assertTrue(isRdfContentSyntax("application/rdf+xml")); 27 | assertTrue(isRdfContentSyntax("application/xml")); 28 | assertTrue(isRdfContentSyntax("text/xml")); 29 | assertTrue(isRdfContentSyntax("text/xml; charset=utf-8")); 30 | assertTrue(isRdfContentSyntax("application/json")); 31 | assertTrue(isRdfContentSyntax("application/ld+json")); 32 | assertFalse(isRdfContentSyntax("application/pdf")); 33 | assertFalse(isRdfContentSyntax("text/plain")); 34 | assertFalse(isRdfContentSyntax("")); 35 | assertFalse(isRdfContentSyntax(null)); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /shaclvalidator-common/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /shaclvalidator-jar/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | shaclvalidator 7 | eu.europa.ec.itb.shacl 8 | 1.9.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | shaclvalidator-jar 13 | 14 | 15 | 16 | 17 | org.apache.maven.plugins 18 | maven-antrun-plugin 19 | 20 | 21 | generate-resources 22 | 23 | run 24 | 25 | 26 | 27 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | org.springframework.boot 37 | spring-boot-maven-plugin 38 | 39 | 40 | 41 | repackage 42 | 43 | 44 | 45 | 46 | 47 | validator 48 | 49 | 50 | 51 | 52 | eu.europa.ec.itb.shacl 53 | shaclvalidator-common 54 | 55 | 56 | eu.europa.ec.itb 57 | gitb-types-jakarta 58 | 59 | 60 | eu.europa.ec.itb.commons 61 | validation-commons 62 | 63 | 64 | eu.europa.ec.itb.commons 65 | validation-commons-jar 66 | 67 | 68 | org.springframework.boot 69 | spring-boot-starter-logging 70 | 71 | 72 | commons-io 73 | commons-io 74 | 75 | 76 | org.apache.commons 77 | commons-lang3 78 | 79 | 80 | org.apache.jena 81 | jena-arq 82 | 83 | 84 | jakarta.annotation 85 | jakarta.annotation-api 86 | 87 | 88 | org.springframework.boot 89 | spring-boot-starter-test 90 | test 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /shaclvalidator-jar/src/main/java/eu/europa/ec/itb/shacl/standalone/Application.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.standalone; 2 | 3 | import eu.europa.ec.itb.validation.commons.jar.CommandLineValidator; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration; 6 | import org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration; 7 | import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration; 8 | import org.springframework.context.annotation.ComponentScan; 9 | 10 | import java.io.IOException; 11 | 12 | /** 13 | * Application entry point when running the validator as a command-line tool. 14 | */ 15 | @SpringBootApplication(exclude = {UserDetailsServiceAutoConfiguration.class, FreeMarkerAutoConfiguration.class, GsonAutoConfiguration.class}) 16 | @ComponentScan("eu.europa.ec.itb") 17 | public class Application { 18 | 19 | /** 20 | * Main method. 21 | * 22 | * @param args The command line arguments. 23 | * @throws IOException If an error occurs reading inputs or writing reports. 24 | */ 25 | public static void main(String[] args) throws IOException { 26 | new CommandLineValidator().start(Application.class, args, "shaclvalidator"); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /shaclvalidator-jar/src/main/java/eu/europa/ec/itb/shacl/standalone/ShaclValidationInput.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.standalone; 2 | 3 | import eu.europa.ec.itb.validation.commons.jar.ValidationInput; 4 | 5 | import java.io.File; 6 | 7 | /** 8 | * Captures the provided input and the input file name. The file name may be one 9 | * generated by the validator in case the input is not provided from the file system. 10 | */ 11 | public class ShaclValidationInput extends ValidationInput { 12 | 13 | private final String contentSyntax; 14 | 15 | /** 16 | * Constructor. 17 | * 18 | * @param inputFile The input file. 19 | * @param filename The file name. 20 | * @param contentSyntax The RDF syntax of the provided input. 21 | */ 22 | public ShaclValidationInput(File inputFile, String filename, String contentSyntax) { 23 | super(inputFile, filename); 24 | this.contentSyntax = contentSyntax; 25 | } 26 | 27 | /** 28 | * @return The RDF syntax of the provided input. 29 | */ 30 | public String getContentSyntax() { 31 | return this.contentSyntax; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /shaclvalidator-jar/src/test/java/eu/europa/ec/itb/shacl/standalone/ShaclValidationInputTest.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.standalone; 2 | 3 | import org.junit.jupiter.api.Test; 4 | 5 | import java.io.File; 6 | 7 | import static org.junit.jupiter.api.Assertions.assertEquals; 8 | 9 | class ShaclValidationInputTest { 10 | 11 | @Test 12 | void testValidationInput() { 13 | var file = new File("/tmp/test.txt"); 14 | var name = "aName.txt"; 15 | var syntax = "syntax1"; 16 | var input = new ShaclValidationInput(file, name, syntax); 17 | assertEquals(file, input.getInputFile()); 18 | assertEquals(name, input.getFileName()); 19 | assertEquals(syntax, input.getContentSyntax()); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /shaclvalidator-jar/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /shaclvalidator-resources/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | shaclvalidator 7 | eu.europa.ec.itb.shacl 8 | 1.9.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | shaclvalidator-resources 13 | 14 | 15 | validator-resources 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /shaclvalidator-resources/src/main/resources/any/config.properties: -------------------------------------------------------------------------------- 1 | validator.type = any 2 | validator.externalShapes.any = required 3 | validator.input.loadImports = optional 4 | validator.supportsQueries = true -------------------------------------------------------------------------------- /shaclvalidator-service/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | shaclvalidator 7 | eu.europa.ec.itb.shacl 8 | 1.9.0-SNAPSHOT 9 | 10 | 4.0.0 11 | shaclvalidator-service 12 | 13 | 14 | 15 | eu.europa.ec.itb.shacl 16 | shaclvalidator-common 17 | 18 | 19 | eu.europa.ec.itb.commons 20 | validation-commons 21 | 22 | 23 | eu.europa.ec.itb.commons 24 | validation-commons-web 25 | 26 | 27 | eu.europa.ec.itb 28 | gitb-types-jakarta 29 | 30 | 31 | org.springframework.boot 32 | spring-boot-starter-web 33 | 34 | 35 | org.apache.cxf 36 | cxf-spring-boot-starter-jaxws 37 | 38 | 39 | jakarta.annotation 40 | jakarta.annotation-api 41 | 42 | 43 | jakarta.xml.ws 44 | jakarta.xml.ws-api 45 | 46 | 47 | jakarta.jws 48 | jakarta.jws-api 49 | 50 | 51 | commons-io 52 | commons-io 53 | 54 | 55 | org.apache.jena 56 | jena-arq 57 | 58 | 59 | org.springdoc 60 | springdoc-openapi-starter-webmvc-ui 61 | 62 | 63 | com.fasterxml.jackson.core 64 | jackson-annotations 65 | 66 | 67 | org.freemarker 68 | freemarker 69 | 70 | 71 | org.springframework.boot 72 | spring-boot-starter-validation 73 | 74 | 75 | org.springframework.boot 76 | spring-boot-starter-test 77 | test 78 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /shaclvalidator-service/src/main/java/eu/europa/ec/itb/shacl/gitb/ValidationServiceConfig.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.gitb; 2 | 3 | import jakarta.annotation.PostConstruct; 4 | import javax.xml.namespace.QName; 5 | 6 | import eu.europa.ec.itb.shacl.ApplicationConfig; 7 | import org.apache.commons.lang3.StringUtils; 8 | import org.apache.cxf.Bus; 9 | import org.apache.cxf.jaxws.EndpointImpl; 10 | import org.apache.cxf.transport.servlet.CXFServlet; 11 | import org.springframework.beans.factory.annotation.Autowired; 12 | import org.springframework.boot.web.servlet.ServletRegistrationBean; 13 | import org.springframework.context.ApplicationContext; 14 | import org.springframework.context.annotation.Bean; 15 | import org.springframework.context.annotation.Configuration; 16 | 17 | import eu.europa.ec.itb.shacl.DomainConfig; 18 | import eu.europa.ec.itb.shacl.DomainConfigCache; 19 | import eu.europa.ec.itb.validation.commons.ValidatorChannel; 20 | 21 | /** 22 | * Configuration class responsible for creating the Spring beans required by the SOAP API. 23 | */ 24 | @Configuration 25 | public class ValidationServiceConfig { 26 | 27 | public static final String CXF_ROOT = "soap"; 28 | 29 | @Autowired 30 | private Bus cxfBus; 31 | 32 | @Autowired 33 | private ApplicationConfig config; 34 | 35 | @Autowired 36 | private ApplicationContext applicationContext; 37 | 38 | @Autowired 39 | private DomainConfigCache domainConfigCache; 40 | 41 | /** 42 | * Create the CXF registration bean. 43 | * 44 | * @param context The application context. 45 | * @return The bean. 46 | */ 47 | @Bean 48 | public ServletRegistrationBean servletRegistrationBean(ApplicationContext context) { 49 | ServletRegistrationBean srb = new ServletRegistrationBean<>(new CXFServlet(), "/"+ CXF_ROOT +"/*"); 50 | srb.addInitParameter("hide-service-list-page", "true"); 51 | return srb; 52 | } 53 | 54 | /** 55 | * Initialisation method to create a separate web service endpoint per configured domain. 56 | */ 57 | @PostConstruct 58 | public void publishValidationServices() { 59 | for (DomainConfig domainConfig: domainConfigCache.getAllDomainConfigurations()) { 60 | if (domainConfig.getChannels().contains(ValidatorChannel.SOAP_API)) { 61 | EndpointImpl endpoint = new EndpointImpl(cxfBus, applicationContext.getBean(ValidationServiceImpl.class, domainConfig)); 62 | endpoint.setEndpointName(new QName("http://www.gitb.com/vs/v1/", "ValidationServicePort")); 63 | endpoint.setServiceName(new QName("http://www.gitb.com/vs/v1/", "ValidationService")); 64 | if (StringUtils.isNotBlank(config.getBaseSoapEndpointUrl())) { 65 | var url = StringUtils.appendIfMissing(config.getBaseSoapEndpointUrl(), "/"); 66 | endpoint.setPublishedEndpointUrl(url+domainConfig.getDomainName()+"/validation"); 67 | } 68 | endpoint.publish("/"+domainConfig.getDomainName()+"/validation"); 69 | } 70 | } 71 | } 72 | 73 | } 74 | -------------------------------------------------------------------------------- /shaclvalidator-service/src/main/java/eu/europa/ec/itb/shacl/rest/ErrorHandler.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.rest; 2 | 3 | import eu.europa.ec.itb.validation.commons.web.rest.BaseErrorHandler; 4 | import org.springframework.web.bind.annotation.ControllerAdvice; 5 | 6 | /** 7 | * Error handler for REST API calls. 8 | * 9 | * @see BaseErrorHandler 10 | */ 11 | @ControllerAdvice(assignableTypes = {RestValidationController.class}) 12 | public class ErrorHandler extends BaseErrorHandler { 13 | } 14 | -------------------------------------------------------------------------------- /shaclvalidator-service/src/main/java/eu/europa/ec/itb/shacl/rest/HydraDocumentationConfig.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.rest; 2 | 3 | import eu.europa.ec.itb.shacl.DomainConfig; 4 | import eu.europa.ec.itb.shacl.DomainConfigCache; 5 | import eu.europa.ec.itb.shacl.validation.FileManager; 6 | import freemarker.cache.ClassTemplateLoader; 7 | import freemarker.template.Template; 8 | import org.apache.commons.io.FileUtils; 9 | import org.slf4j.Logger; 10 | import org.slf4j.LoggerFactory; 11 | import org.springframework.beans.factory.annotation.Autowired; 12 | import org.springframework.beans.factory.annotation.Value; 13 | import org.springframework.context.annotation.Configuration; 14 | 15 | import jakarta.annotation.PostConstruct; 16 | import java.io.File; 17 | import java.nio.file.Files; 18 | import java.util.HashMap; 19 | import java.util.Map; 20 | 21 | /** 22 | * Configuration for the validator's REST API documentation (based on Hydra). 23 | */ 24 | @Configuration 25 | public class HydraDocumentationConfig { 26 | 27 | private static final Logger logger = LoggerFactory.getLogger(HydraDocumentationConfig.class); 28 | 29 | @Value("${validator.hydraRootPath:null}") 30 | private String hydraRootPath; 31 | @Value("${server.servlet.context-path:null}") 32 | private String contextPath; 33 | 34 | @Autowired 35 | private DomainConfigCache domainConfigCache; 36 | @Autowired 37 | private FileManager fileManager; 38 | 39 | /** 40 | * Prepare the service's Hydra documentation on initialisation. 41 | */ 42 | @PostConstruct 43 | public void generateHydraDocumentation() { 44 | try { 45 | File docsRoot = fileManager.getHydraDocsRootFolder(); 46 | FileUtils.deleteQuietly(docsRoot); 47 | freemarker.template.Configuration templateConfig = new freemarker.template.Configuration(freemarker.template.Configuration.VERSION_2_3_28); 48 | templateConfig.setTemplateLoader(new ClassTemplateLoader(getClass(), "/hydra")); 49 | Template apiTemplate = templateConfig.getTemplate("api.jsonld"); 50 | Template entryPointTemplate = templateConfig.getTemplate("EntryPoint.jsonld"); 51 | Template vocabTemplate = templateConfig.getTemplate("vocab.jsonld"); 52 | String hydraRootPathToUse; 53 | if (hydraRootPath != null && !hydraRootPath.equals("/")) { 54 | hydraRootPathToUse = hydraRootPath; 55 | } else if (contextPath != null && !contextPath.equals("/")) { 56 | hydraRootPathToUse = contextPath; 57 | } else { 58 | hydraRootPathToUse = ""; 59 | } 60 | Map model = new HashMap<>(); 61 | for (DomainConfig domainConfig: domainConfigCache.getAllDomainConfigurations()) { 62 | File domainRoot = fileManager.getHydraDocsFolder(domainConfig.getDomainName()); 63 | domainRoot.mkdirs(); 64 | model.put("domainName", domainConfig.getDomainName()); 65 | model.put("rootPath", hydraRootPathToUse); 66 | apiTemplate.process(model, Files.newBufferedWriter(new File(domainRoot, apiTemplate.getName()).toPath())); 67 | entryPointTemplate.process(model, Files.newBufferedWriter(new File(domainRoot, entryPointTemplate.getName()).toPath())); 68 | vocabTemplate.process(model, Files.newBufferedWriter(new File(domainRoot, vocabTemplate.getName()).toPath())); 69 | } 70 | logger.info("Generated hydra documentation files in [{}]", docsRoot.getAbsolutePath()); 71 | } catch (Exception e) { 72 | throw new IllegalStateException("Failed to initialise hydra documentation", e); 73 | } 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /shaclvalidator-service/src/main/java/eu/europa/ec/itb/shacl/rest/ValidationResources.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.rest; 2 | 3 | import org.apache.jena.rdf.model.Model; 4 | 5 | import java.util.Optional; 6 | 7 | /** 8 | * Class used to wrap all resources that drive and result from a validation. 9 | */ 10 | public class ValidationResources { 11 | 12 | private final String inputContent; 13 | private final Model input; 14 | private final Model report; 15 | private final Model shapes; 16 | private final String validationType; 17 | 18 | /** 19 | * Constructor. 20 | * 21 | * @param inputContent The provided input content (if needed). 22 | * @param input The final input model that was validated. 23 | * @param report The produced SHACL validation report. 24 | * @param shapes The SHACL shapes that were used. 25 | * @param validationType The applied validation type. 26 | */ 27 | public ValidationResources(String inputContent, Model input, Model report, Model shapes, String validationType) { 28 | this.inputContent = inputContent; 29 | this.input = input; 30 | this.report = report; 31 | this.shapes = shapes; 32 | this.validationType = validationType; 33 | } 34 | 35 | /** 36 | * @return The provided input content (if needed). 37 | */ 38 | public Optional getInputContent() { 39 | return Optional.ofNullable(inputContent); 40 | } 41 | 42 | /** 43 | * @return The final input model that was validated. 44 | */ 45 | public Model getInput() { 46 | return input; 47 | } 48 | 49 | /** 50 | * @return The produced SHACL validation report. 51 | */ 52 | public Model getReport() { 53 | return report; 54 | } 55 | 56 | /** 57 | * @return The SHACL shapes that were used. 58 | */ 59 | public Model getShapes() { 60 | return shapes; 61 | } 62 | 63 | /** 64 | * @return The applied validation type. 65 | */ 66 | public String getValidationType() { 67 | return validationType; 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /shaclvalidator-service/src/main/java/eu/europa/ec/itb/shacl/rest/model/Output.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.rest.model; 2 | 3 | import io.swagger.v3.oas.annotations.media.Schema; 4 | 5 | /** 6 | * The validator's output providing the produced SHACL validation report. 7 | */ 8 | @Schema(description = "The content and metadata linked to the validation report that corresponds to a provided RDF input.") 9 | public class Output { 10 | 11 | @Schema(description = "The RDF validation report, provided as a BASE64 encoded String.") 12 | private String report; 13 | @Schema(description = "The mime type for the validation report as defined by the corresponding Input.reportSyntax property (or the applied default if missing).") 14 | private String reportSyntax; 15 | 16 | /** 17 | * @return The RDF validation report, provided as a BASE64 encoded String. 18 | */ 19 | public String getReport() { 20 | return report; 21 | } 22 | 23 | /** 24 | * @param report The RDF validation report, provided as a BASE64 encoded String. 25 | */ 26 | public void setReport(String report) { 27 | this.report = report; 28 | } 29 | 30 | /** 31 | * @return The mime type for the validation report as defined by the corresponding Input.reportSyntax property (or 32 | * the applied default if missing). 33 | */ 34 | public String getReportSyntax() { 35 | return reportSyntax; 36 | } 37 | 38 | /** 39 | * @param reportSyntax The mime type for the validation report as defined by the corresponding Input.reportSyntax 40 | * property (or the applied default if missing). 41 | */ 42 | public void setReportSyntax(String reportSyntax) { 43 | this.reportSyntax = reportSyntax; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /shaclvalidator-service/src/main/java/eu/europa/ec/itb/shacl/rest/model/RuleSet.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.rest.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 4 | import com.gitb.core.ValueEmbeddingEnumeration; 5 | import eu.europa.ec.itb.validation.commons.FileContent; 6 | import eu.europa.ec.itb.validation.commons.error.ValidatorException; 7 | import io.swagger.v3.oas.annotations.media.Schema; 8 | 9 | /** 10 | * A user-provided set of SHACL shapes to use in the validation. 11 | */ 12 | @JsonIgnoreProperties(ignoreUnknown = true) 13 | @Schema(description = "A set of rules to apply to the validation.") 14 | public class RuleSet { 15 | 16 | @Schema(required = true, description = "The RDF containing the rules to apply (shapes).") 17 | private String ruleSet; 18 | @Schema(description = "The way in which to interpret the value for ruleSet. If not provided, the method will be determined from the ruleSet value.", allowableValues = FileContent.EMBEDDING_STRING+","+FileContent.EMBEDDING_URL+","+FileContent.EMBEDDING_BASE_64) 19 | private String embeddingMethod; 20 | @Schema(description = "The mime type of the provided RDF content (e.g. \"application/rdf+xml\", \"application/ld+json\", \"text/turtle\"). If not provided the type is determined from the provided content (if possible).") 21 | private String ruleSyntax; 22 | 23 | /** 24 | * @return The RDF containing the rules to apply (shapes). 25 | */ 26 | public String getRuleSet() { return this.ruleSet; } 27 | 28 | /** 29 | * @return The way in which to interpret the value for ruleSet. If not provided, the method will be determined from 30 | * the ruleSet value. 31 | */ 32 | public String getEmbeddingMethod() { return this.embeddingMethod; } 33 | 34 | /** 35 | * @param ruleSet The RDF containing the rules to apply (shapes). 36 | */ 37 | public void setRuleSet(String ruleSet) { 38 | this.ruleSet = ruleSet; 39 | } 40 | 41 | /** 42 | * @param embeddingMethod The way in which to interpret the value for ruleSet. If not provided, the method will be 43 | * determined from the ruleSet value. 44 | */ 45 | public void setEmbeddingMethod(String embeddingMethod) { 46 | this.embeddingMethod = embeddingMethod; 47 | } 48 | 49 | /** 50 | * @return The syntax (mime type) to consider for this specific rule set (shapes). 51 | */ 52 | public String getRuleSyntax() { 53 | return ruleSyntax; 54 | } 55 | 56 | /** 57 | * @param ruleSyntax The syntax (mime type) to consider for this specific rule set (shapes). 58 | */ 59 | public void setRuleSyntax(String ruleSyntax) { 60 | this.ruleSyntax = ruleSyntax; 61 | } 62 | 63 | /** 64 | * Wrap the rule set's information metadata into a FileContent instance. 65 | * 66 | * @return The rule set information. 67 | */ 68 | public FileContent toFileContent() { 69 | if (ruleSyntax == null && FileContent.isValidEmbeddingMethod(embeddingMethod) && FileContent.embeddingMethodFromString(embeddingMethod) == ValueEmbeddingEnumeration.BASE_64) { 70 | throw new ValidatorException("validator.label.exception.externalBase64ShapesNeedAlsoSyntax"); 71 | } 72 | FileContent content = new FileContent(); 73 | content.setContent(ruleSet); 74 | content.setEmbeddingMethod(FileContent.embeddingMethodFromString(embeddingMethod)); 75 | content.setContentType(ruleSyntax); 76 | return content; 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /shaclvalidator-service/src/main/resources/hydra/EntryPoint.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "hydra": "http://www.w3.org/ns/hydra/core#", 4 | "vocab": "http://www.itb.ec.europa.eu/shacl/api/vocab#", 5 | "EntryPoint": "vocab:EntryPoint", 6 | "info": { 7 | "@id": "vocab:EntryPoint/apiInfo", 8 | "@type": "@id" 9 | }, 10 | "validate": { 11 | "@id": "vocab:EntryPoint/validate", 12 | "@type": "@id" 13 | }, 14 | "validateMultiple": { 15 | "@id": "vocab:EntryPoint/validateMultiple", 16 | "@type": "@id" 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /shaclvalidator-service/src/main/resources/hydra/api.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": "${rootPath}/${domainName}/api/contexts/EntryPoint.jsonld", 3 | "@id": "${rootPath}/${domainName}/api/", 4 | "@type": "EntryPoint", 5 | "info": "${rootPath}/${domainName}/api/info/", 6 | "validate": "${rootPath}/${domainName}/api/validate/", 7 | "validateMultiple": "${rootPath}/${domainName}/api/validateMultiple/" 8 | } -------------------------------------------------------------------------------- /shaclvalidator-service/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /shaclvalidator-war/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | shaclvalidator 7 | eu.europa.ec.itb.shacl 8 | 1.9.0-SNAPSHOT 9 | 10 | 4.0.0 11 | shaclvalidator-war 12 | jar 13 | 14 | 15 | 16 | 17 | 18 | org.springframework.boot 19 | spring-boot-maven-plugin 20 | 21 | 22 | 23 | repackage 24 | 25 | 26 | 27 | 28 | 29 | validator 30 | 31 | 32 | 33 | 34 | eu.europa.ec.itb.shacl 35 | shaclvalidator-common 36 | 37 | 38 | eu.europa.ec.itb.shacl 39 | shaclvalidator-service 40 | 41 | 42 | eu.europa.ec.itb.shacl 43 | shaclvalidator-web 44 | 45 | 46 | eu.europa.ec.itb.shacl 47 | shaclvalidator-resources 48 | 49 | 50 | eu.europa.ec.itb.commons 51 | validation-commons-war 52 | 53 | 54 | org.springframework.boot 55 | spring-boot-starter 56 | 57 | 58 | org.springframework.boot 59 | spring-boot-starter-aop 60 | 61 | 62 | org.aspectj 63 | aspectjweaver 64 | 65 | 66 | org.springframework.boot 67 | spring-boot-starter-test 68 | test 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /shaclvalidator-war/src/main/java/eu/europa/ec/itb/shacl/Application.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration; 6 | import org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration; 7 | import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration; 8 | import org.springframework.context.annotation.ComponentScan; 9 | import org.springframework.context.annotation.EnableAspectJAutoProxy; 10 | import org.springframework.scheduling.annotation.EnableScheduling; 11 | 12 | /** 13 | * Entry point to bootstrap the application. 14 | */ 15 | @SpringBootApplication(exclude = {UserDetailsServiceAutoConfiguration.class, FreeMarkerAutoConfiguration.class, GsonAutoConfiguration.class}) 16 | @EnableScheduling 17 | @ComponentScan("eu.europa.ec.itb") 18 | @EnableAspectJAutoProxy 19 | public class Application { 20 | 21 | /** 22 | * Main method. 23 | * 24 | * @param args The command line arguments. 25 | */ 26 | public static void main(String[] args) { 27 | SpringApplication.run(Application.class, args); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /shaclvalidator-war/src/test/java/eu/europa/ec/itb/shacl/webhook/StatisticReportingAspectTest.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.webhook; 2 | 3 | import eu.europa.ec.itb.shacl.upload.UploadController; 4 | import eu.europa.ec.itb.shacl.upload.UploadResult; 5 | import org.aspectj.lang.JoinPoint; 6 | import org.junit.jupiter.api.Test; 7 | import org.springframework.aop.aspectj.annotation.AspectJProxyFactory; 8 | import org.springframework.web.multipart.MultipartFile; 9 | 10 | import jakarta.servlet.http.HttpServletRequest; 11 | import jakarta.servlet.http.HttpServletResponse; 12 | 13 | import static org.junit.jupiter.api.Assertions.assertEquals; 14 | import static org.junit.jupiter.api.Assertions.assertTrue; 15 | 16 | class StatisticReportingAspectTest { 17 | 18 | @Test 19 | void testUploadPointcut() { 20 | final boolean[] aspectCalled = {false}; 21 | final boolean[] targetCalled = {false}; 22 | // Use subclasses as AspectJ proxies cannot be made over Mockito mocks and spies. 23 | var target = new UploadController() { 24 | @Override 25 | public UploadResult handleUpload(String domain, MultipartFile file, String uri, String string, String contentType, String validationType, String contentSyntaxType, String[] externalContentType, MultipartFile[] externalFiles, String[] externalUri, String[] externalString, String[] externalFilesSyntaxType, Boolean loadImportsValue, String contentQuery, String contentQueryEndpoint, Boolean contentQueryAuthenticate, String contentQueryUsername, String contentQueryPassword, HttpServletRequest request, HttpServletResponse response) { 26 | assertEquals("domain1", domain); 27 | assertTrue(aspectCalled[0]); // We expect the aspect to have been called before the method. 28 | // We only want to check if this was called. 29 | targetCalled[0] = true; 30 | return null; 31 | } 32 | }; 33 | var aspect = new StatisticReportingAspect() { 34 | @Override 35 | public void getUploadContext(JoinPoint joinPoint) { 36 | assertEquals("domain1", joinPoint.getArgs()[0]); 37 | aspectCalled[0] = true; 38 | } 39 | }; 40 | var aspectFactory = new AspectJProxyFactory(target); 41 | aspectFactory.addAspect(aspect); 42 | UploadController controller = aspectFactory.getProxy(); 43 | controller.handleUpload("domain1", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); 44 | assertTrue(aspectCalled[0]); 45 | assertTrue(targetCalled[0]); 46 | } 47 | 48 | @Test 49 | void testMinimalUploadPointcut() { 50 | final boolean[] aspectCalled = {false}; 51 | final boolean[] targetCalled = {false}; 52 | // Use subclasses as AspectJ proxies cannot be made over Mockito mocks and spies. 53 | var target = new UploadController() { 54 | @Override 55 | public UploadResult handleUploadMinimal(String domain, MultipartFile file, String uri, String string, String contentType, String validationType, String contentSyntaxType, String[] externalContentType, MultipartFile[] externalFiles, String[] externalUri, String[] externalString, String[] externalFilesSyntaxType, Boolean loadImportsValue, String contentQuery, String contentQueryEndpoint, Boolean contentQueryAuthenticate, String contentQueryUsername, String contentQueryPassword, HttpServletRequest request, HttpServletResponse response) { 56 | assertEquals("domain1", domain); 57 | assertTrue(aspectCalled[0]); // We expect the aspect to have been called before the method. 58 | // We only want to check if this was called. 59 | targetCalled[0] = true; 60 | return null; 61 | } 62 | }; 63 | var aspect = new StatisticReportingAspect() { 64 | @Override 65 | public void getUploadMinimalContext(JoinPoint joinPoint) { 66 | assertEquals("domain1", joinPoint.getArgs()[0]); 67 | aspectCalled[0] = true; 68 | } 69 | }; 70 | var aspectFactory = new AspectJProxyFactory(target); 71 | aspectFactory.addAspect(aspect); 72 | UploadController controller = aspectFactory.getProxy(); 73 | controller.handleUploadMinimal("domain1", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); 74 | assertTrue(aspectCalled[0]); 75 | assertTrue(targetCalled[0]); 76 | } 77 | 78 | } 79 | -------------------------------------------------------------------------------- /shaclvalidator-war/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /shaclvalidator-web/Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | grunt.initConfig({ 3 | pkg: grunt.file.readJSON('package.json'), 4 | handlebars: { 5 | compile: { 6 | options: { 7 | compilerOptions: { 8 | knownHelpers: { 9 | 'eq': true, 10 | 'ne': true, 11 | 'lt': true, 12 | 'gt': true, 13 | 'lte': true, 14 | 'gte': true, 15 | 'and': true, 16 | 'or': true, 17 | 'not': true, 18 | 'switch': true, 19 | 'case': true, 20 | 'stripNS': true, 21 | 'sum': true 22 | }, 23 | knownHelpersOnly: false 24 | }, 25 | namespace: 'App.Templates', 26 | processName: function(filePath) { 27 | var parts = filePath.split('/'); 28 | return parts[parts.length - 1]; 29 | }, 30 | processPartialName: function(filePath) { 31 | var parts = filePath.split('/'); 32 | return parts[parts.length - 1]; 33 | }, 34 | partialRegex: /.*/, 35 | partialsPathRegex: /\/partials\// 36 | }, 37 | files: { 38 | './target/temp/itb-templates-shacl.js': './src/main/resources/templates/js/**/*.hbs' 39 | } 40 | } 41 | }, 42 | concat: { 43 | options: { 44 | separator: ';' 45 | }, 46 | dist: { 47 | src: ['./src/main/resources/resources/js/itb-upload-shacl.js', './target/temp/itb-templates-shacl.js'], 48 | dest: './target/classes/resources/js/itb-upload-templates-shacl.js' 49 | } 50 | }, 51 | uglify: { 52 | my_target: { 53 | files: { 54 | './target/classes/resources/js/itb-upload-shacl-min.js': ['./target/classes/resources/js/itb-upload-templates-shacl.js'] 55 | } 56 | } 57 | }, 58 | cssmin: { 59 | target: { 60 | files: { 61 | './target/classes/resources/css/style-shacl-min.css': ['./src/main/resources/resources/css/style-shacl.css'] 62 | } 63 | } 64 | } 65 | }); 66 | // Load plugins. 67 | grunt.loadNpmTasks('grunt-contrib-handlebars'); 68 | grunt.loadNpmTasks('grunt-contrib-concat'); 69 | grunt.loadNpmTasks('grunt-contrib-uglify'); 70 | grunt.loadNpmTasks('grunt-contrib-cssmin'); 71 | // Default task(s). 72 | grunt.registerTask('default', ['handlebars', 'concat', 'uglify', 'cssmin']); 73 | }; -------------------------------------------------------------------------------- /shaclvalidator-web/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shaclvalidator-web", 3 | "version": "1.0.0", 4 | "devDependencies": { 5 | "grunt": "1.5.2", 6 | "grunt-contrib-concat": "2.1.0", 7 | "grunt-contrib-cssmin": "4.0.0", 8 | "grunt-contrib-handlebars": "3.0.0", 9 | "grunt-contrib-uglify": "5.2.1" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /shaclvalidator-web/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | 4 | shaclvalidator 5 | eu.europa.ec.itb.shacl 6 | 1.9.0-SNAPSHOT 7 | 8 | shaclvalidator-web 9 | 10 | 11 | 12 | 13 | com.github.eirslett 14 | frontend-maven-plugin 15 | 16 | 17 | install node and npm 18 | 19 | install-node-and-npm 20 | 21 | generate-resources 22 | 23 | v16.15.0 24 | 25 | 26 | 27 | npm install 28 | 29 | npm 30 | 31 | 32 | 33 | grunt build 34 | 35 | grunt 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | eu.europa.ec.itb.shacl 46 | shaclvalidator-common 47 | 48 | 49 | eu.europa.ec.itb 50 | gitb-types-jakarta 51 | 52 | 53 | eu.europa.ec.itb.commons 54 | validation-commons 55 | 56 | 57 | eu.europa.ec.itb.commons 58 | validation-commons-web 59 | 60 | 61 | commons-io 62 | commons-io 63 | 64 | 65 | org.apache.commons 66 | commons-lang3 67 | 68 | 69 | org.apache.jena 70 | jena-arq 71 | 72 | 73 | org.springframework.boot 74 | spring-boot-starter-web 75 | 76 | 77 | org.springframework.boot 78 | spring-boot-starter-thymeleaf 79 | 80 | 81 | org.topbraid 82 | shacl 83 | 84 | 85 | org.springframework.boot 86 | spring-boot-starter-test 87 | test 88 | 89 | 90 | eu.europa.ec.itb.commons 91 | validation-commons 92 | test-jar 93 | tests 94 | test 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /shaclvalidator-web/src/main/java/eu/europa/ec/itb/shacl/upload/Translations.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.upload; 2 | 3 | import com.gitb.tr.TAR; 4 | import eu.europa.ec.itb.validation.commons.LocalisationHelper; 5 | import eu.europa.ec.itb.validation.commons.config.DomainConfig; 6 | 7 | /** 8 | * User interface translations specific to the RDF validator. 9 | */ 10 | public class Translations extends eu.europa.ec.itb.validation.commons.web.dto.Translations { 11 | 12 | private String downloadReportButton; 13 | private String downloadShapesButton; 14 | private String downloadInputButton; 15 | 16 | /** 17 | * Constructor. 18 | * 19 | * @param helper The localisation helper to use in looking up translations. 20 | * @param report The detailed TAR report. 21 | * @param domainConfig The domain configuration. 22 | */ 23 | public Translations(LocalisationHelper helper, TAR report, DomainConfig domainConfig) { 24 | super(helper, report, domainConfig); 25 | } 26 | 27 | /** 28 | * @return The label value. 29 | */ 30 | public String getDownloadInputButton() { 31 | return downloadInputButton; 32 | } 33 | 34 | /** 35 | * @param downloadInputButton The value to use for the label. 36 | */ 37 | public void setDownloadInputButton(String downloadInputButton) { 38 | this.downloadInputButton = downloadInputButton; 39 | } 40 | 41 | /** 42 | * @return The label value. 43 | */ 44 | public String getDownloadReportButton() { 45 | return downloadReportButton; 46 | } 47 | 48 | /** 49 | * @param downloadReportButton The value to use for the label. 50 | */ 51 | public void setDownloadReportButton(String downloadReportButton) { 52 | this.downloadReportButton = downloadReportButton; 53 | } 54 | 55 | /** 56 | * @return The label value. 57 | */ 58 | public String getDownloadShapesButton() { 59 | return downloadShapesButton; 60 | } 61 | 62 | /** 63 | * @param downloadShapesButton The value to use for the label. 64 | */ 65 | public void setDownloadShapesButton(String downloadShapesButton) { 66 | this.downloadShapesButton = downloadShapesButton; 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /shaclvalidator-web/src/main/java/eu/europa/ec/itb/shacl/upload/UploadResult.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.upload; 2 | 3 | import eu.europa.ec.itb.validation.commons.web.KeyWithLabel; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * Class used to record the values for the result of a validation (through the UI). This is serialised to JSON as part of 9 | * the response. 10 | */ 11 | public class UploadResult extends eu.europa.ec.itb.validation.commons.web.dto.UploadResult { 12 | 13 | private List contentSyntax; 14 | 15 | /** 16 | * @param contentSyntax The supported RDF content syntax values. 17 | */ 18 | public void setContentSyntax(List contentSyntax) { 19 | this.contentSyntax = contentSyntax; 20 | } 21 | 22 | /** 23 | * @return The supported RDF content syntax values. 24 | */ 25 | public List getContentSyntax() { 26 | return contentSyntax; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /shaclvalidator-web/src/main/resources/resources/css/style-shacl.css: -------------------------------------------------------------------------------- 1 | .extra-query-field { 2 | padding-left: 0px; 3 | padding-right: 0px; 4 | } 5 | .extra-query-field-left { 6 | padding-left: 0px; 7 | } 8 | .extra-query-field-right { 9 | padding-right: 0px; 10 | } 11 | .query-form-group-check { 12 | margin-bottom: 15px; 13 | min-height: 35px; 14 | } 15 | .query-form-group { 16 | margin-bottom: 15px; 17 | } 18 | .external-shape-code-editor { 19 | margin-bottom: 15px; 20 | } 21 | #queryToValidate .CodeMirror { 22 | height: 250px; 23 | } -------------------------------------------------------------------------------- /shaclvalidator-web/src/main/resources/templates/js/partials/reportControlsShacl.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shaclvalidator-web/src/main/resources/templates/js/partials/reportOverviewButtonsShacl.hbs: -------------------------------------------------------------------------------- 1 |
2 |
3 | 7 | 23 |
24 |
25 | 29 | 34 |
35 |
36 | 40 | 45 |
46 |
-------------------------------------------------------------------------------- /shaclvalidator-web/src/main/resources/templates/js/reportMinimalShacl.hbs: -------------------------------------------------------------------------------- 1 | {{> reportSummary.hbs }} 2 | 10 | -------------------------------------------------------------------------------- /shaclvalidator-web/src/main/resources/templates/js/reportShacl.hbs: -------------------------------------------------------------------------------- 1 |
2 | {{> reportTitle.hbs }} 3 |
4 | {{> reportHeader.hbs }} 5 | {{> reportSummary.hbs }} 6 | {{> reportControlsShacl.hbs }} 7 |
8 | {{> reportDetails.hbs clickableItems=false includeInputModal=false }} 9 |
-------------------------------------------------------------------------------- /shaclvalidator-web/src/test/java/eu/europa/ec/itb/shacl/upload/FileControllerTest.java: -------------------------------------------------------------------------------- 1 | package eu.europa.ec.itb.shacl.upload; 2 | 3 | import eu.europa.ec.itb.shacl.DomainConfig; 4 | import eu.europa.ec.itb.shacl.DomainConfigCache; 5 | import eu.europa.ec.itb.shacl.validation.FileManager; 6 | import eu.europa.ec.itb.validation.commons.ValidatorChannel; 7 | import eu.europa.ec.itb.validation.commons.test.BaseTest; 8 | import org.junit.jupiter.api.AfterEach; 9 | import org.junit.jupiter.api.BeforeEach; 10 | import org.junit.jupiter.api.Test; 11 | 12 | import jakarta.servlet.http.HttpServletRequest; 13 | import jakarta.servlet.http.HttpServletResponse; 14 | import java.io.IOException; 15 | import java.nio.file.Path; 16 | import java.util.Set; 17 | 18 | import static org.junit.jupiter.api.Assertions.assertEquals; 19 | import static org.junit.jupiter.api.Assertions.assertNotNull; 20 | import static org.mockito.Mockito.*; 21 | 22 | class FileControllerTest extends BaseTest { 23 | 24 | FileManager fileManager; 25 | DomainConfigCache domainConfigCache; 26 | 27 | @BeforeEach 28 | protected void setup() throws IOException { 29 | super.setup(); 30 | fileManager = mock(FileManager.class); 31 | domainConfigCache = mock(DomainConfigCache.class); 32 | } 33 | 34 | @AfterEach 35 | protected void teardown() { 36 | super.teardown(); 37 | reset(fileManager, domainConfigCache); 38 | } 39 | 40 | private FileController createFileController() throws Exception { 41 | var fileController = new FileController(); 42 | var fileManagerField = FileController.class.getDeclaredField("fileManager"); 43 | fileManagerField.setAccessible(true); 44 | fileManagerField.set(fileController, fileManager); 45 | var domainConfigCacheField = FileController.class.getDeclaredField("domainConfigCache"); 46 | domainConfigCacheField.setAccessible(true); 47 | domainConfigCacheField.set(fileController, domainConfigCache); 48 | return fileController; 49 | } 50 | 51 | @Test 52 | void testGetReport() throws Exception { 53 | var domainConfig = mock(DomainConfig.class); 54 | doReturn(domainConfig).when(domainConfigCache).getConfigForDomainName(any()); 55 | doReturn(Set.of(ValidatorChannel.FORM)).when(domainConfig).getChannels(); 56 | doReturn(tmpFolder.toFile()).when(fileManager).getWebTmpFolder(); 57 | doReturn("xml").when(fileManager).getFileExtension(anyString()); 58 | var httpRequest = mock(HttpServletRequest.class); 59 | var httpResponse = mock(HttpServletResponse.class); 60 | var testFile = createFileWithContents(Path.of(tmpFolder.toString(), "id1", UploadController.FILE_NAME_INPUT +".xml"), "CONTENT"); 61 | var controller = createFileController(); 62 | var result = controller.getReport("domain1", "id1", UploadController.DOWNLOAD_TYPE_CONTENT, "application/rdf+xml", httpRequest, httpResponse); 63 | assertNotNull(result); 64 | assertNotNull(result.getFile()); 65 | assertEquals(testFile, result.getFile().toPath()); 66 | } 67 | 68 | } 69 | --------------------------------------------------------------------------------