Skip to content

iskim1018/bigdata-metadata-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metadata(RDF/XML형식) 교환을 위한 API 예제

개요

  • RDF 문서 기반의 메타데이터 등록 / 수정 / 삭제 API 동작 예제
  • Template Engine(thymeleaf)를 RDF(XML형식) 생성 예제

사전 설치 필요 패키지

  • Java 8
  • Mysql server 5.7
  • maven

테스트 절차

  • application.yml 설정

    • src/main/resources/application-sample.yml을 복사하여 동일한 디렉토리에 application.yml 생성
    • application.yml의 datasource 부분의 url, username, password를 테스트할 db에 맞게 정보 수정
  • 테스트 db 생성

    • 최초 Build 수행 시 src/main/resource/db/migration 이하의 flyway에 의해 sql을 순차적으로 수행함
    • Empty DB를 신규 생성하거나
    • 기존 DB를 사용할 경우는 동일 테이블 존재 등 확인 필요함
      • flyway 오류 발생 시 flyway_schema_history 테이블의 success 컬럼이 0인 값을 삭제 후 Build 재수행
  • maven을 이용한 빌드

     $ mvn install
    
  • API 서버 구동

    • SpringBoot 2.2.1 이용
       $ mvn spring-boot:run
      
    • localhost의 TCP port 8080을 사용(기존 8080 port를 사용하고 있는 daemon 확인 필요)
  • API 요청 테스트(Dataset / DataService 표준규격 준수)

    • 메타데이터 초기 등록 (기 등록된 메타데이터 삭재 후 신규 등록 처리 수행)
      $ curl -X POST \
          http://localhost:8080/api/metadata/init \
          -H 'Authorization: Bearer test-token' \
          -H 'Content-Type: application/xml' \
          -d '<rdf:RDF xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dct="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcat="http://www.w3.org/ns/dcat#" xmlns:vcard="http://www.w3.org/2006/vcard/ns#"><dcat:Dataset rdf:resource="http://www.konantech.com"><dct:accessRights>public</dct:accessRights><dcat:contactPoint><vcard:Individual><vcard:fn>홍길동</vcard:fn><vcard:hasEmail rdf:resource="mailto:hong@koti.re.kr" /><vcard:hasTelephone rdf:resource="tel:02-1234-5678" /></vcard:Individual></dcat:contactPoint><dct:creator><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:creator><dct:description>During the period 1982-86 a team of geologists from the British Geological Survey ...</dct:description><dct:title>Zimbabwe Regional Geochemical Survey.</dct:title><dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:issued><dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:modified><dct:language rdf:resource="http://id.loc.gov/vocabulary/iso639-1/ko" /><dct:publisher><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:publisher><dct:identifier>9df8df51-63db-37a8-e044-0003ba9b0d91</dct:identifier><dcat:theme>Earth Sciences</dcat:theme><dct:type>dataset</dct:type><dcat:keyword>exploration</dcat:keyword><dcat:keyword>탐사</dcat:keyword><dcat:landingPage rdf:resource="http://dataset.info.org" /><dct:license>Creative Commons Attribution</dct:license><dct:rights>Copyrigh ...</dct:rights><dcat:distribution><dcat:Distribution rdf:about="https://data.some.org/catalog/datasets/9df8df51-63db-37a8-e044-0003ba9b0d98/1"><dcat:accessService>9df8df51-63db-37a8-e044-0003ba9b0d98</dcat:accessService><dcat:accessURL rdf:resource="http://www.bgs.ac.uk/gbase/geochemcd/home.html" /><dcat:byteSize>12323</dcat:byteSize><dcat:compressFormat>zip</dcat:compressFormat><dcat:downloadURL rdf:resource="http://www.example.org/files/001.csv" /><dcat:mediaType>text/csv</dcat:mediaType><dcat:packageFormat>tar</dcat:packageFormat><dcat:spatialResolutionInMeters>30.0</dcat:spatialResolutionInMeters><dcat:temporalResolution>1일</dcat:temporalResolution><dct:accessRights>public</dct:accessRights><dct:description>During the period 1982-86 a team of geologists from the British Geological Survey ...</dct:description><dct:format>text/plain</dct:format><dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:issued><dct:license>Creative Commons Attribution</dct:license><dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:modified><dct:rights>Copyrigh ...</dct:rights><dct:title>Zimbabwe Regional Geochemical Survey.</dct:title><version>1.0</version><versionDescription>초기버전입니다.</versionDescription><priceInfo>...</priceInfo><qualityInfo>...</qualityInfo></dcat:Distribution></dcat:distribution><dcat:spatialResolutionInMeters>30.0</dcat:spatialResolutionInMeters><dcat:temporalResolution>1일</dcat:temporalResolution><dct:accrualPeriodicity>1개월</dct:accrualPeriodicity><dct:spatial>120749.725 487589.422 , 120752.55 487594.375,120751.227 487595.129 , 120732.539 487605.788</dct:spatial><dct:temporal>temporal_start:2109-10-11,temporal_end:2019-12-25</dct:temporal><version>1.0</version><versionDescription>초기버전입니다.</versionDescription><priceInfo>...</priceInfo><qualityInfo>...</qualityInfo></dcat:Dataset><dcat:Dataset rdf:resource="http://www.konantech.com"><dct:accessRights>public</dct:accessRights><dcat:contactPoint><vcard:Individual><vcard:fn>홍길동</vcard:fn><vcard:hasEmail rdf:resource="mailto:hong@koti.re.kr" /><vcard:hasTelephone rdf:resource="tel:02-1234-5678" /></vcard:Individual></dcat:contactPoint><dct:creator><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:creator><dct:description>During the period 1982-86 a team of geologists from the British Geological Survey ...</dct:description><dct:title>Zimbabwe Regional Geochemical Survey.</dct:title><dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:issued><dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:modified><dct:language rdf:resource="http://id.loc.gov/vocabulary/iso639-1/ko" /><dct:publisher><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:publisher><dct:identifier>9df8df51-63db-37a8-e044-0003ba9b0d98</dct:identifier><dcat:theme>Earth Sciences</dcat:theme><dct:type>dataset</dct:type><dcat:keyword>exploration</dcat:keyword><dcat:keyword>탐사</dcat:keyword><dcat:landingPage rdf:resource="http://dataset.info.org" /><dct:license>Creative Commons Attribution</dct:license><dct:rights>Copyrigh ...</dct:rights><dcat:distribution><dcat:Distribution rdf:about="https://data.some.org/catalog/datasets/9df8df51-63db-37a8-e044-0003ba9b0d98/1"><dcat:accessService>9df8df51-63db-37a8-e044-0003ba9b0d98</dcat:accessService><dcat:accessURL rdf:resource="http://www.bgs.ac.uk/gbase/geochemcd/home.html" /><dcat:byteSize>12323</dcat:byteSize><dcat:compressFormat>zip</dcat:compressFormat><dcat:downloadURL rdf:resource="http://www.example.org/files/001.csv" /><dcat:mediaType>text/csv</dcat:mediaType><dcat:packageFormat>tar</dcat:packageFormat><dcat:spatialResolutionInMeters>30.0</dcat:spatialResolutionInMeters><dcat:temporalResolution>1일</dcat:temporalResolution><dct:accessRights>public</dct:accessRights><dct:description>During the period 1982-86 a team of geologists from the British Geological Survey ...</dct:description><dct:format>text/plain</dct:format><dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:issued><dct:license>Creative Commons Attribution</dct:license><dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:modified><dct:rights>Copyrigh ...</dct:rights><dct:title>Zimbabwe Regional Geochemical Survey.</dct:title><version>1.0</version><versionDescription>초기버전입니다.</versionDescription><priceInfo>...</priceInfo><qualityInfo>...</qualityInfo></dcat:Distribution></dcat:distribution><dcat:spatialResolutionInMeters>30.0</dcat:spatialResolutionInMeters><dcat:temporalResolution>1일</dcat:temporalResolution><dct:accrualPeriodicity>1개월</dct:accrualPeriodicity><dct:spatial>120749.725 487589.422 , 120752.55 487594.375,120751.227 487595.129 , 120732.539 487605.788</dct:spatial><dct:temporal>temporal_start:2109-10-11,temporal_end:2019-12-25</dct:temporal><version>1.0</version><versionDescription>초기버전입니다.</versionDescription><priceInfo>...</priceInfo><qualityInfo>...</qualityInfo></dcat:Dataset><dcat:DataService><dct:accessRights>public</dct:accessRights><dcat:contactPoint><vcard:Individual><vcard:fn>홍길동</vcard:fn><vcard:hasEmail rdf:resource="mailto:hong@koti.re.kr" /><vcard:hasTelephone rdf:resource="tel:02-1234-5678" /></vcard:Individual></dcat:contactPoint><dct:creator><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:creator><dct:description>During the period 1982-86 a team of geologists from the British Geological Survey ...</dct:description><dct:title>Zimbabwe Regional Geochemical Survey.</dct:title><dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:issued><dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:modified><dct:language rdf:resource="http://id.loc.gov/vocabulary/iso639-1/ko" /><dct:publisher><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:publisher><dct:identifier>9df8df51-63db-37a8-e044-0003ba9b0d93</dct:identifier><dcat:theme>Earth Sciences</dcat:theme><dct:type>dataset</dct:type><dcat:keyword>exploration</dcat:keyword><dcat:keyword>탐사</dcat:keyword><dcat:landingPage rdf:resource="http://dataset.info.org" /><dct:license>Creative Commons Attribution</dct:license><dct:rights>Copyrigh ...</dct:rights><dcat:endpointURL rdf:resource="http://vocabs.ands.org.au/repository/api/sparql" /><dcat:endpointDescription>2019년 날씨 정보를 제공하는 api 입니다.</dcat:endpointDescription><dcat:servesDataset>9df8df51-63db-37a8-e044-0003ba9b0d98,9df8df51-63db-37a8-e044-0003ba9b0d99</dcat:servesDataset><version>1.0</version><versionDescription>초기버전입니다.</versionDescription><priceInfo>...</priceInfo><qualityInfo>...</qualityInfo></dcat:DataService></rdf:RDF>'
      
    • 메타데이터 추가 및 수정 (identifier 속성값 기준으로 신규 등록 또는 수)
      $ curl -X POST \
        http://localhost:8080/api/metadata/upsert \
        -H 'Authorization: Bearer test-token' \
        -H 'Content-Type: application/xml' \
        -d '<?xml version="1.0" encoding="UTF-8"?><rdf:RDF xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dct="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcat="http://www.w3.org/ns/dcat#" xmlns:vcard="http://www.w3.org/2006/vcard/ns#"><dcat:Dataset rdf:resource="http://www.konantech.com"><dct:accessRights>public</dct:accessRights><dcat:contactPoint><vcard:Individual><vcard:fn>홍길동2</vcard:fn><vcard:hasEmail rdf:resource="mailto:hong@koti.re.kr" /><vcard:hasTelephone rdf:resource="tel:02-1234-5678" /></vcard:Individual></dcat:contactPoint><dct:creator><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:creator><dct:description>During the period 1982-86 a team of geologists from the British Geological Survey ...</dct:description><dct:title>Zimbabwe Regional Geochemical Survey.</dct:title><dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:issued><dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:modified><dct:language rdf:resource="http://id.loc.gov/vocabulary/iso639-1/ko" /><dct:publisher><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:publisher><dct:identifier>new-identifier-for-test</dct:identifier><dcat:theme>Earth Sciences</dcat:theme><dct:type>dataset</dct:type><dcat:keyword>exploration</dcat:keyword><dcat:keyword>탐사</dcat:keyword><dcat:landingPage rdf:resource="http://dataset.info.org" /><dct:license>Creative Commons Attribution</dct:license><dct:rights>Copyrigh ...</dct:rights><dcat:distribution><dcat:Distribution rdf:about="https://data.some.org/catalog/datasets/9df8df51-63db-37a8-e044-0003ba9b0d98/1"><dcat:accessService>9df8df51-63db-37a8-e044-0003ba9b0d98</dcat:accessService><dcat:accessURL rdf:resource="http://www.bgs.ac.uk/gbase/geochemcd/home.html" /><dcat:byteSize>12323</dcat:byteSize><dcat:compressFormat>zip</dcat:compressFormat><dcat:downloadURL rdf:resource="http://www.example.org/files/001.csv" /><dcat:mediaType>text/csv</dcat:mediaType><dcat:packageFormat>tar</dcat:packageFormat><dcat:spatialResolutionInMeters>30.0</dcat:spatialResolutionInMeters><dcat:temporalResolution>1일</dcat:temporalResolution><dct:accessRights>public</dct:accessRights><dct:description>During the period 1982-86 a team of geologists from the British Geological Survey ...</dct:description><dct:format>text/plain</dct:format><dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:issued><dct:license>Creative Commons Attribution</dct:license><dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:modified><dct:rights>Copyrigh ...</dct:rights><dct:title>Zimbabwe Regional Geochemical Survey.</dct:title><version>1.0</version><versionDescription>초기버전입니다.</versionDescription><priceInfo>...</priceInfo><qualityInfo>...</qualityInfo></dcat:Distribution></dcat:distribution><dcat:spatialResolutionInMeters>30.0</dcat:spatialResolutionInMeters><dcat:temporalResolution>1일</dcat:temporalResolution><dct:accrualPeriodicity>1개월</dct:accrualPeriodicity><dct:spatial>120749.725 487589.422 , 120752.55 487594.375,120751.227 487595.129 , 120732.539 487605.788</dct:spatial><dct:temporal>temporal_start:2109-10-11,temporal_end:2019-12-25</dct:temporal><version>1.0</version><versionDescription>초기버전입니다.</versionDescription><priceInfo>...</priceInfo><qualityInfo>...</qualityInfo></dcat:Dataset><dcat:Dataset rdf:resource="http://www.konantech.com"><dct:accessRights>public</dct:accessRights><dcat:contactPoint><vcard:Individual><vcard:fn>홍길동</vcard:fn><vcard:hasEmail rdf:resource="mailto:hong@koti.re.kr" /><vcard:hasTelephone rdf:resource="tel:02-1234-5678" /></vcard:Individual></dcat:contactPoint><dct:creator><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:creator><dct:description>During the period 1982-86 a team of geologists from the British Geological Survey ...</dct:description><dct:title>Zimbabwe Regional Geochemical Survey.</dct:title><dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:issued><dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:modified><dct:language rdf:resource="http://id.loc.gov/vocabulary/iso639-1/ko" /><dct:publisher><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:publisher><dct:identifier>9df8df51-63db-37a8-e044-0003ba9b0d98</dct:identifier><dcat:theme>Earth Sciences</dcat:theme><dct:type>dataset</dct:type><dcat:keyword>exploration</dcat:keyword><dcat:keyword>탐사</dcat:keyword><dcat:landingPage rdf:resource="http://dataset.info.org" /><dct:license>Creative Commons Attribution</dct:license><dct:rights>Copyrigh ...</dct:rights><dcat:distribution><dcat:Distribution rdf:about="https://data.some.org/catalog/datasets/9df8df51-63db-37a8-e044-0003ba9b0d98/1"><dcat:accessService>9df8df51-63db-37a8-e044-0003ba9b0d98</dcat:accessService><dcat:accessURL rdf:resource="http://www.bgs.ac.uk/gbase/geochemcd/home.html" /><dcat:byteSize>12323</dcat:byteSize><dcat:compressFormat>zip</dcat:compressFormat><dcat:downloadURL rdf:resource="http://www.example.org/files/001.csv" /><dcat:mediaType>text/csv</dcat:mediaType><dcat:packageFormat>tar</dcat:packageFormat><dcat:spatialResolutionInMeters>30.0</dcat:spatialResolutionInMeters><dcat:temporalResolution>1일</dcat:temporalResolution><dct:accessRights>public</dct:accessRights><dct:description>During the period 1982-86 a team of geologists from the British Geological Survey ...</dct:description><dct:format>text/plain</dct:format><dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:issued><dct:license>Creative Commons Attribution</dct:license><dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:modified><dct:rights>Copyrigh ...</dct:rights><dct:title>Zimbabwe Regional Geochemical Survey.</dct:title><version>1.0</version><versionDescription>초기버전입니다.</versionDescription><priceInfo>...</priceInfo><qualityInfo>...</qualityInfo></dcat:Distribution></dcat:distribution><dcat:spatialResolutionInMeters>30.0</dcat:spatialResolutionInMeters><dcat:temporalResolution>1일</dcat:temporalResolution><dct:accrualPeriodicity>1개월</dct:accrualPeriodicity><dct:spatial>120749.725 487589.422 , 120752.55 487594.375,120751.227 487595.129 , 120732.539 487605.788</dct:spatial><dct:temporal>temporal_start:2109-10-11,temporal_end:2019-12-25</dct:temporal><version>1.0</version><versionDescription>초기버전입니다.</versionDescription><priceInfo>...</priceInfo><qualityInfo>...</qualityInfo></dcat:Dataset><dcat:DataService><dct:accessRights>public</dct:accessRights><dcat:contactPoint><vcard:Individual><vcard:fn>홍길동</vcard:fn><vcard:hasEmail rdf:resource="mailto:hong@koti.re.kr" /><vcard:hasTelephone rdf:resource="tel:02-1234-5678" /></vcard:Individual></dcat:contactPoint><dct:creator><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:creator><dct:description>During the period 1982-86 a team of geologists from the British Geological Survey ...</dct:description><dct:title>Zimbabwe Regional Geochemical Survey.</dct:title><dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:issued><dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-06-21</dct:modified><dct:language rdf:resource="http://id.loc.gov/vocabulary/iso639-1/ko" /><dct:publisher><foaf:Organization><foaf:homepage rdf:resource="https://data.some.org/the/actual/catalog" /><foaf:name>Publishing Organization for dataset 1</foaf:name><foaf:mbox>contact@some.org</foaf:mbox><foaf:phone>02-123-1234</foaf:phone></foaf:Organization></dct:publisher><dct:identifier>9df8df51-63db-37a8-e044-0003ba9b0d93</dct:identifier><dcat:theme>Earth Sciences</dcat:theme><dct:type>dataset</dct:type><dcat:keyword>exploration</dcat:keyword><dcat:keyword>탐사</dcat:keyword><dcat:landingPage rdf:resource="http://dataset.info.org" /><dct:license>Creative Commons Attribution</dct:license><dct:rights>Copyrigh ...</dct:rights><dcat:endpointURL rdf:resource="http://vocabs.ands.org.au/repository/api/sparql" /><dcat:endpointDescription>2019년 날씨 정보를 제공하는 api 입니다.</dcat:endpointDescription><dcat:servesDataset>9df8df51-63db-37a8-e044-0003ba9b0d98,9df8df51-63db-37a8-e044-0003ba9b0d99</dcat:servesDataset><version>1.0</version><versionDescription>초기버전입니다.</versionDescription><priceInfo>...</priceInfo><qualityInfo>...</qualityInfo></dcat:DataService></rdf:RDF>'
      
    • 메타데이터 삭제 (identifier 속성값 기준으로 삭제 수행)
        $ curl -X POST \
          http://localhost:8080/api/metadata/delete \
          -H 'Authorization: Bearer test-token' \
          -H 'Content-Type: application/xml' \
          -d '<?xml version="1.0" encoding="UTF-8"?><rdf:RDF xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dct="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcat="http://www.w3.org/ns/dcat#" xmlns:vcard="http://www.w3.org/2006/vcard/ns#"><dcat:Dataset rdf:resource="http://www.konantech.com"><dct:identifier>new-identifier-for-test</dct:identifier></dcat:Dataset><dcat:DataService><dct:identifier>9df8df51-63db-37a8-e044-0003ba9b0d93</dct:identifier></dcat:DataService></rdf:RDF>'
      
    • 메타데이터 조회 (RDF 기반 메타데이터 조회)
        $ curl -X GET \
          http://localhost:8080/dcat/metadata \
          -H 'Authorization: Bearer test-token'
      

About

RDF(XML) 기반의 메타데이터 교환 API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published