@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix tb: <https://nakamura196.github.io/train-bodies/vocab#> .

tb:ColorSample a rdfs:Class ;
    rdfs:label "Colour sample"@en,
        "色見本"@ja ;
    rdfs:comment "One colour of a livery as painted on the 3D model, with its share of the painted surface."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:LineUse a rdfs:Class ;
    rdfs:label "Line use"@en,
        "路線での運用"@ja ;
    rdfs:comment "One class on one line: tb:line, tb:useStatus, tb:usedUntil, dcterms:source."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:Livery a rdfs:Class ;
    rdfs:label "Livery"@en,
        "塗装"@ja ;
    rdfs:comment "A paint scheme that a 3D model reproduces."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:VehicleClass a rdfs:Class ;
    rdfs:label "Vehicle class"@en,
        "形式"@ja ;
    rdfs:comment "A class (type) of railway vehicle or road vehicle; one record per class."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

<https://nakamura196.github.io/train-bodies/rdf/> a skos:ConceptScheme ;
    rdfs:label "train-bodies: vehicle classes"@en,
        "train-bodies: 車両の形式"@ja ;
    dcterms:license <https://creativecommons.org/publicdomain/zero/1.0/> .

tb:areaShare a rdf:Property ;
    rdfs:label "area share"@en,
        "面積の割合"@ja ;
    rdfs:comment "Share (0-1) of the painted surface of the 3D model that has this colour (glass, lamps, seams left out)."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:colorSample a rdf:Property ;
    rdfs:label "colour sample"@en,
        "色見本"@ja ;
    rdfs:comment "A colour of this livery, taken from the 3D model's faces."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:galleryGroup a rdf:Property ;
    rdfs:label "gallery group"@en,
        "ギャラリーの区分"@ja ;
    rdfs:comment "Group id used on the gallery page."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:handEntered a rdf:Property ;
    rdfs:label "hand-entered property"@en,
        "手入力の項目"@ja ;
    rdfs:comment "A property whose values on this class were entered by hand (see dcterms:source), not copied from Wikidata."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:has3DModel a rdf:Property ;
    rdfs:label "has 3D model"@en,
        "3D モデルあり"@ja ;
    rdfs:comment "True when at least one 3D model in train-bodies depicts this class."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:inferred a rdf:Property ;
    rdfs:label "inferred"@en,
        "推定"@ja ;
    rdfs:comment "True when the source names a service (e.g. a city pair) and the line was inferred from it."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:line a rdf:Property ;
    rdfs:label "line"@en,
        "路線"@ja ;
    rdfs:comment "The line (a Wikidata item)."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:lineUse a rdf:Property ;
    rdfs:label "line use"@en,
        "路線での運用"@ja ;
    rdfs:comment "How this class is (was) used on one line, with the source: a tb:LineUse."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:livery a rdf:Property ;
    rdfs:label "livery"@en,
        "塗装"@ja ;
    rdfs:comment "The livery a 3D model reproduces."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:liveryOf a rdf:Property ;
    rdfs:label "livery of"@en,
        "塗装の持ち主"@ja ;
    rdfs:comment "The operator whose livery this is."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:operatingCountry a rdf:Property ;
    rdfs:label "operating country"@en,
        "運行国"@ja ;
    rdfs:comment "A country where this class runs or ran: the countries (Wikidata P17) of its operators (P137) and of the lines it runs on (P3438 on the line, and the hand-filled line table). Added because P17 on a class is sometimes only the country it was built in."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:part a rdf:Property ;
    rdfs:label "part"@en,
        "部分"@ja ;
    rdfs:comment "Which part of the vehicle the model is, when one vehicle is split into several models."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:sourceSection a rdf:Property ;
    rdfs:label "source section"@en,
        "出典の節"@ja ;
    rdfs:comment "The section of the source (dcterms:source) that names the line."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:useStatus a rdf:Property ;
    rdfs:label "status"@en,
        "運用の状態"@ja ;
    rdfs:comment "\"current\", \"historical\" or \"unknown\"."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:usedOn a rdf:Property ;
    rdfs:label "used on line"@en,
        "走る路線"@ja ;
    rdfs:comment "A line (a Wikidata item) this class runs or ran on: the inverse direction of Wikidata P3438 (vehicle normally used), from the hand-filled table with sources, and from Wikidata P3438 statements (the source is the statement). See tb:lineUse for the status and the source."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

tb:usedUntil a rdf:Property ;
    rdfs:label "used until"@en,
        "運用の終わり"@ja ;
    rdfs:comment "The year the class stopped running on the line, when known (the last year the source mentions it, if no end is stated)."@en ;
    rdfs:isDefinedBy <https://nakamura196.github.io/train-bodies/vocab> .

