@prefix sh: <http://www.w3.org/ns/shacl#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix rico: <https://www.ica.org/standards/RiC/ontology#>.
@prefix ric: <http://archives.nanet.go.kr/id/>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix schema: <https://schema.org/>.
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix prov: <http://www.w3.org/ns/prov#>.
@prefix oa: <http://www.w3.org/ns/oa#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix nara: <http://archives.nanet.go.kr/voca#>.

<http://archives.nanet.go.kr/id/ap/shape/21> a sh:NodeShape;
    sh:targetClass rico:Position;
    rdfs:label "직위"@ko;
    rdfs:comment "국회의장·국회의원 등 직위 기술규칙"@ko;
    sh:property _:p1.
_:p1 sh:path rico:name;
    sh:name "직위명"@ko;
    sh:minCount 0;
    sh:maxCount 1;
    sh:nodeKind sh:Literal;
    sh:description "실측 268개 중 143개 보유 — 전거에서 온 직위는 name 트리플이 없다"@ko.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p2.
_:p2 sh:path rdfs:label;
    sh:name "라벨"@ko;
    sh:minCount 0;
    sh:maxCount 1;
    sh:nodeKind sh:Literal.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p3.
_:p3 sh:path rico:identifier;
    sh:name "식별자"@ko;
    sh:minCount 0;
    sh:nodeKind sh:Literal.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p4.
_:p4 sh:path rico:generalDescription;
    sh:name "설명"@ko;
    sh:minCount 0;
    sh:maxCount 1;
    sh:nodeKind sh:Literal.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p5.
_:p5 sh:path rico:beginningDate;
    sh:name "재임 시작일"@ko;
    sh:minCount 0;
    sh:maxCount 1;
    sh:nodeKind sh:Literal.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p6.
_:p6 sh:path rico:endDate;
    sh:name "재임 종료일"@ko;
    sh:minCount 0;
    sh:maxCount 1;
    sh:nodeKind sh:Literal.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p7.
_:p7 sh:path foaf:depiction;
    sh:name "대표 이미지"@ko;
    sh:minCount 0;
    sh:maxCount 1;
    sh:nodeKind sh:Literal.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p8.
_:p8 sh:path rico:isOrWasOccupiedBy;
    sh:name "재임자"@ko;
    sh:minCount 0;
    sh:nodeKind sh:IRI;
    sh:class rico:Person.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p9.
_:p9 sh:path rico:existsOrExistedIn;
    sh:name "소속처"@ko;
    sh:minCount 0;
    sh:nodeKind sh:IRI;
    sh:class rico:Thing;
    sh:description "목적어 113건 중 110건 단체·3건 장소"@ko.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p10.
_:p10 sh:path rico:isAssociatedWithPlace;
    sh:name "관련 장소"@ko;
    sh:minCount 0;
    sh:nodeKind sh:IRI;
    sh:class rico:Place.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p11.
_:p11 sh:path rico:isRelatedTo;
    sh:name "관련 자원"@ko;
    sh:minCount 0;
    sh:maxCount 1;
    sh:nodeKind sh:IRI;
    sh:class rico:Thing.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p12.
_:p12 sh:path owl:sameAs;
    sh:name "동일 개체(외부 URI)"@ko;
    sh:minCount 0;
    sh:nodeKind sh:IRI.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p13.
_:p13 sh:path nara:ofTerm;
    sh:name "해당 대수"@ko;
    sh:minCount 0;
    sh:maxCount 1;
    sh:nodeKind sh:IRI;
    sh:class nara:AssemblyTerm;
    sh:description "한 직위는 한 대수에 속한다 — 일반 직위(국무총리 등)는 비워 둔다"@ko.
<http://archives.nanet.go.kr/id/ap/shape/21> sh:property _:p14.
_:p14 sh:path nara:termHalf;
    sh:name "전·후반기"@ko;
    sh:minCount 0;
    sh:maxCount 1;
    sh:nodeKind sh:Literal;
    sh:description "값: '전반기' 또는 '후반기' — 원구성 반기(의장단 임기 2년)"@ko.

# --- 위 규칙이 쓰는 커스텀 어휘 정의 (동봉 — LLM·검증기가 용어 뜻을 이 파일 안에서 찾는다) ---

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix rico: <https://www.ica.org/standards/RiC/ontology#>.
@prefix ric: <http://archives.nanet.go.kr/id/>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix schema: <https://schema.org/>.
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix prov: <http://www.w3.org/ns/prov#>.
@prefix oa: <http://www.w3.org/ns/oa#>.
@prefix nara: <http://archives.nanet.go.kr/voca#>.

nara:AssemblyTerm a rdfs:Class;
    rdfs:label "국회 대수"@ko;
    rdfs:comment "총선으로 구성되어 4년 임기 동안 존속하는 국회의 회기 단위(제1대~). 의원들의 집합체이므로 rico:Group 의 하위 클래스 — 재임은 rico:hasOrHadMember(대수→인물)로 적는다."@ko;
    rdfs:subClassOf rico:Group.
nara:ofTerm a rdf:Property;
    rdfs:label "해당 대수"@ko;
    rdfs:comment "대수 표기 직위(제15대 국회의원, 제20대 전반기 국회의장 등)가 속하는 국회 대수. 일반 직위(국무총리 등)는 비워 둔다."@ko;
    rdfs:domain rico:Position;
    rdfs:range nara:AssemblyTerm.
nara:termHalf a rdf:Property;
    rdfs:label "전·후반기"@ko;
    rdfs:comment "원구성 반기 구분 — 값은 '전반기' 또는 '후반기'. 국회의장단·상임위원장 임기는 대수의 절반(2년)이다."@ko;
    rdfs:domain rico:Position;
    rdfs:range xsd:string.
