PREFIX phdd: <http://rdf-vocabulary.ddialliance.org/phdd#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

phdd:DelimitedColumnDescription a rdfs:Class ;
  rdfs:label "Delimited column description"@en ;
  rdfs:comment "Detailed description of a column in CSV data additionally to the common properties in \"ColumnDescription\"."@en ;
  rdfs:subClassOf phdd:ColumnDescription .

phdd:storageFormat a rdf:Property ;
  rdfs:label "Storage format"@en ;
  rdfs:comment """
\tDefinition of the storage format of data values of a column. Supports the use of an external controlled vocabulary in SKOS.

\tEquivalent element in DDI 3.2: p:StorageFormat
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/StorageFormat.html
\t"""@en ;
  rdfs:domain phdd:ColumnDescription ;
  rdfs:range <https://w3id.org/linkml/Any> .

phdd:recommendedDisplayDataFormat a rdf:Property ;
  rdfs:label "Recommended display data format"@en ;
  rdfs:comment """
\tThe recommended display format of the data values of a column. Supports the use of an external controlled vocabulary in SKOS.

\tEquivalent element in DDI 3.2: r:GenericOutputFormat
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/reusable_xsd/elements/GenericOutputFormat.html
\t"""@en ;
  rdfs:domain phdd:ColumnDescription ;
  rdfs:range <https://w3id.org/linkml/Any> .

phdd:recommendedDataType a rdf:Property ;
  rdfs:label "Recommended data type"@en ;
  rdfs:comment """
\tThe data type as recommended by the data producer.

\tEquivalent element in DDI 3.2: r:RecommendedDataType
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/reusable_xsd/elements/RecommendedDataType.html
\t"""@en ;
  rdfs:domain phdd:ColumnDescription ;
  rdfs:range xsd:string .

phdd:endPosition a rdf:Property ;
  rdfs:label "End position"@en ;
  rdfs:comment """
\tPosition of the last character of the column in a table with fixed record length. Must be specified if a value for \"width\" is not provided.

\tEquivalent element in DDI 3.2: p:EndPosition
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/EndPosition.html
\t"""@en ;
  rdfs:domain phdd:ColumnDescription ;
  rdfs:range xsd:positiveInteger .

phdd:recordNumber a rdf:Property ;
  rdfs:label "Record number"@en ;
  rdfs:comment """
\tThe record number where this data item (\"Column\") is included. This applies only to tables with cases using multiple records. Default is 1.

\tRelated element in DDI 3.2: p:PhysicalRecordSegment/@segmentOrder
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/complexTypes/PhysicalRecordSegmentType.html#a6
\t"""@en ;
  rdfs:domain phdd:ColumnDescription ;
  rdfs:range xsd:positiveInteger .

phdd:decimalPositions a rdf:Property ;
  rdfs:label "Decimal positions"@en ;
  rdfs:comment """
\tNumber of decimal places for data values with an implied decimal separator. Another expression is decimal scaling factor. Default is 0.

\tEquivalent element in DDI 3.2: p:DecimalPositions
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/DecimalPositions.html
\t"""@en ;
  rdfs:domain phdd:ColumnDescription ;
  rdfs:range xsd:positiveInteger .

phdd:width a rdf:Property ;
  rdfs:label "width"@en ;
  rdfs:comment """
\tColumn width in a table with fixed record length. Must be specified if a value for \"endPosition\" is not provided.

\tEquivalent element in DDI 3.2: p:Width
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/Width.html
\t"""@en ;
  rdfs:domain phdd:ColumnDescription ;
  rdfs:range xsd:positiveInteger .

phdd:columnPosition a rdf:Property ;
  rdfs:label "Column position"@en ;
  rdfs:comment """
\tPosition number of the column for delimited records.
\t
\tEquivalent element in DDI 3.2: ArrayPosition
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/ArrayPosition.html
\t"""@en ;
  rdfs:domain phdd:DelimitedColumnDescription ;
  rdfs:range xsd:positiveInteger .

phdd:startPosition a rdf:Property ;
  rdfs:label "Start position"@en ;
  rdfs:comment """
\tPosition of the first character of the column in a table with fixed record length.

\tEquivalent element in DDI 3.2: p:StartPosition
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/StartPosition.html
\t"""@en ;
  rdfs:domain phdd:ColumnDescription ;
  rdfs:range xsd:positiveInteger .

phdd:Column a rdfs:Class ;
  rdfs:label "Column"@en ;
  rdfs:comment """
\tA column of a table. Other terms are variable or data item.

\tEquivalent class in Disco: Variable
\tDisco documentation: http://rdf-vocabulary.ddialliance.org/discovery.html#variable-and-variable-definition
\tEquivalent element in DDI 3.2: l:Variable
\tDDI 3.2 Documentation:  http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/logicalproduct_xsd/elements/Variable.html
\t"""@en .

phdd:isDescribedBy a rdf:Property ;
  rdfs:label "is described by"@en ;
  rdfs:range xsd:string .

<http://rdf-vocabulary.ddialliance.org/discovery#Variable> a rdfs:Class .

<http://rdf-vocabulary.ddialliance.org/discovery#DataFile> a rdfs:Class .

phdd:Table a rdfs:Class ;
  rdfs:label "Table"@en ;
  rdfs:comment """A table, which could be a rectangular file with character-separated values (CSV) or a rectangular file with fixed record length.

\tThis can be a subclass of \"Distribution\" in Data Catalog Vocabulary (DCAT), see: http://www.w3.org/TR/vocab-dcat/#class-distribution.
\tThe equivalent class in DDI-RDF Discovery (Disco) is \"DataFile\", see: http://rdf-vocabulary.ddialliance.org/discovery.html#datafile.
\t
\tRelated element in DDI 3.2: p:PhysicalDataProduct
\tDDI 3.2 Documentation:  http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/PhysicalDataProduct.html
\t"""@en ;
  rdfs:seeAlso <http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/PhysicalDataProduct.html> ;
  rdfs:subClassOf <http://www.w3.org/ns/dcat#Distribution> .

phdd:isStructuredBy a rdf:Property ;
  rdfs:label "is structured by"@en ;
  rdfs:domain phdd:Table ;
  rdfs:range phdd:TableStructure .

<http://www.w3.org/2004/02/skos/core#Concept> a rdfs:Class .

phdd:Delimited a rdfs:Class ;
  rdfs:label "Delimited"@en ;
  rdfs:comment "Detailed description of a table with character-separated values additionally to the common properties in \"TableStructure\"."@en ;
  rdfs:subClassOf phdd:TableStructure .

phdd:newLine a rdf:Property ;
  rdfs:label "New line"@en ;
  rdfs:comment """
\tSpecifies the end-of-line (EOL) marker used in the file as produced. If no value is provided assume the use of a CRLF (carriage return and line feed)

\tEquivalent element in DDI 3.2: p:EndOfLineMarker
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/EndOfLineMarker.html
\t"""@en ;
  rdfs:domain phdd:TableStructure ;
  rdfs:range xsd:string .

phdd:defaultLanguage a rdf:Property ;
  rdfs:label "Default language"@en ;
  rdfs:comment """
\tDefault language of text in the table. Supports the use of an external controlled vocabulary in SKOS.

\tRelated element in DDI 3.2: p:LanguageOfData
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/LanguageOfData.html
\t"""@en ;
  rdfs:seeAlso <http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/LanguageOfData.html> ;
  rdfs:domain phdd:TableStructure ;
  rdfs:range <https://w3id.org/linkml/Any> .

phdd:defaultDecimalSeparator a rdf:Property ;
  rdfs:label "Default decimal separator"@en ;
  rdfs:comment """
\tThe character used to separate whole numbers from decimals expressed as a one character string.

\tEquivalent element in DDI 3.2: r:DefaultDecimalSeparator
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/reusable_xsd/elements/DefaultDecimalSeparator.html
\t"""@en ;
  rdfs:domain phdd:TableStructure ;
  rdfs:range xsd:string .

phdd:defaultLocale a rdf:Property ;
  rdfs:label "Default locale"@en ;
  rdfs:comment """
\tThe default locale of text in the table. It is a set of parameters that defines the country, and any special variant preferences similar to BCP 47. The language can be defined by \"defaultLanguage\". Supports the use of an external controlled vocabulary in SKOS.

\tRelated element in DDI 3.2: p:LocaleOfData
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/LocaleOfData.html
\t"""@en ;
  rdfs:seeAlso <http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/LocaleOfData.html> ;
  rdfs:domain phdd:TableStructure ;
  rdfs:range <https://w3id.org/linkml/Any> .

phdd:defaultDecimalPositions a rdf:Property ;
  rdfs:label "Default decimal positions"@en ;
  rdfs:comment """
\tNumber of decimal places for data values with an implied decimal separator. It applies to the whole table. Another expression is decimal scaling factor. Default is 0.

\tEquivalent element in DDI 3.2: r:DefaultDecimalPositions
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/reusable_xsd/elements/DefaultDecimalPositions.html
\t"""@en ;
  rdfs:domain phdd:TableStructure ;
  rdfs:range xsd:positiveInteger .

phdd:namesOnFirstRow a rdf:Property ;
  rdfs:label "Names on first row"@en ;
  rdfs:comment """
\tIndicates if the first row of the table contains the names of the columns. Default is true.

\tEquivalent element in DDI 3.2: p:RecordLayout/@namesOnFirstRow
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/complexTypes/RecordLayoutType.html#a5
\t"""@en ;
  rdfs:domain phdd:Delimited ;
  rdfs:range xsd:boolean .

phdd:defaultDigitGroupSeparator a rdf:Property ;
  rdfs:label "default digit group separator"@en ;
  rdfs:comment """
\tThe character used to separate the component of whole numbers (thousands, millions, etc.) expressed as a one character string.

\tEquivalent element in DDI 3.2: r:DefaultDigitGroupSeparator
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/reusable_xsd/elements/DefaultDigitGroupSeparator.html
\t"""@en ;
  rdfs:domain phdd:TableStructure ;
  rdfs:range xsd:string .

phdd:firstDataLine a rdf:Property ;
  rdfs:label "First data line"@en ;
  rdfs:comment "First line where the data start. Default is 2."@en ;
  rdfs:domain phdd:Delimited ;
  rdfs:range xsd:positiveInteger .

phdd:column a rdf:Property ;
  rdfs:label "column"@en ;
  rdfs:comment """
\tA column of a table. Other terms are variable or data item.

\tEquivalent class in Disco: Variable
\tDisco documentation: http://rdf-vocabulary.ddialliance.org/discovery.html#variable-and-variable-definition
\tEquivalent element in DDI 3.2: l:Variable
\tDDI 3.2 Documentation:  http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/logicalproduct_xsd/elements/Variable.html
\t"""@en ;
  rdfs:domain phdd:TableStructure ;
  rdfs:range phdd:Column .

phdd:characterSet a rdf:Property ;
  rdfs:label "character set"@en ;
  rdfs:comment """
\tThe character set or encoding used in the table. Supports the use of an external controlled vocabulary in SKOS.

\tEquivalent element in DDI 3.2: CharacterSet
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/reusable_xsd/elements/CharacterSet.html
\t"""@en ;
  rdfs:domain phdd:TableStructure ;
  rdfs:range <https://w3id.org/linkml/Any> .

phdd:consecutiveDelimitersAsOne a rdf:Property ;
  rdfs:label "consecutive delimiters as one"@en ;
  rdfs:comment """
\tIndicates how consecutive delimiters should be handed by the software.

\tEquivalent element in DDI 3.2: p:Delimiter/@treatConsecutiveDelimiterAsOne
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/reusable_xsd/complexTypes/DelimiterType.html#a6
\t"""@en ;
  rdfs:domain phdd:Delimited ;
  rdfs:range xsd:boolean .

phdd:textQualifier a rdf:Property ;
  rdfs:label "text qualifier"@en ;
  rdfs:comment """
\tUse for delimited files to designate the which text qualifier, if any, was used. Valid values include: single quote, double quote, and none.

\tEquivalent element in DDI 3.2: p:RecordLayout/@textQualifier
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/complexTypes/BaseRecordLayoutType.html#a5
\t"""@en ;
  rdfs:domain phdd:Delimited ;
  rdfs:range xsd:string .

phdd:delimiter a rdf:Property ;
  rdfs:label "Delimiter"@en ;
  rdfs:comment """
\tDefines the delimiter used to separate variables in a delimited record.

\tEquivalent element in DDI 3.2: p:Delimiter
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicaldataproduct_xsd/elements/Delimiter.html
\t"""@en ;
  rdfs:domain phdd:Delimited ;
  rdfs:range xsd:string .

<http://www.w3.org/ns/dcat#Distribution> a rdfs:Class .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object"@en .

phdd:FixedRecordLength a rdfs:Class ;
  rdfs:label "Fixed record length"@en ;
  rdfs:comment "Detailed description of a table with fixed record length additionally to the common properties in \"TableStructure\"."@en ;
  rdfs:subClassOf phdd:TableStructure .

phdd:recordLength a rdf:Property ;
  rdfs:label "Record length"@en ;
  rdfs:comment "The length of a record with fixed length."@en ;
  rdfs:domain phdd:FixedRecordLength ;
  rdfs:range xsd:nonPositiveInteger .

phdd:TableDescription a rdfs:Class ;
  rdfs:label "Table Description"@en ;
  rdfs:comment "Description of a table by significant parameters."@en .

phdd:caseQuantity a rdf:Property ;
  rdfs:label "Case quantity"@en ;
  rdfs:comment """
\tNumber of cases or observations in the table.

\tEquivalent element in DDI 3.2: pi:CaseQuantity
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicalinstance_xsd/elements/CaseQuantity.html
\t"""@en ;
  rdfs:domain phdd:TableDescription ;
  rdfs:range xsd:nonNegativeInteger .

phdd:fileName a rdf:Property ;
  rdfs:label "File name"@en ;
  rdfs:comment """
\tThe file name or URI of the table.\t

\tEquivalent element in DDI 3.2: pi:DataFileIdentification
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicalinstance_xsd/elements/DataFileIdentification.html
\t"""@en ;
  rdfs:domain phdd:TableDescription ;
  rdfs:range <https://w3id.org/linkml/Any> .

phdd:inputProgram a rdf:Property ;
  rdfs:label "Input program"@en ;
  rdfs:comment """Program or program statements for reading the data.

\tRelated element in DDI 3.2: r:CommandFile
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/reusable_xsd/elements/CommandFile.html
\t"""@en ;
  rdfs:domain phdd:TableDescription ;
  rdfs:range phdd:InputProgram .

phdd:recordsPerCase a rdf:Property ;
  rdfs:label "Records per case"@en ;
  rdfs:comment "The number of records per case. Multiple records could represent one case. The default is 1."@en ;
  rdfs:domain phdd:TableDescription ;
  rdfs:range xsd:positiveInteger .

phdd:overallRecordCount a rdf:Property ;
  rdfs:label "Overall record count"@en ;
  rdfs:comment """
\tOverall record count in the table.

\tEquivalent element in DDI 3.2: pi:OverallRecordCount
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/physicalinstance_xsd/elements/OverallRecordCount.html
\t"""@en ;
  rdfs:domain phdd:TableDescription ;
  rdfs:range xsd:nonNegativeInteger .

phdd:TableStructure a rdfs:Class ;
  rdfs:label "Table Structure"@en ;
  rdfs:comment "The table properties described by default parameters of the data values."@en .

phdd:FixedColumnDescription a rdfs:Class ;
  rdfs:label "fixed column description"@en ;
  rdfs:comment "Detailed description of a column in fixed record length data in addition to the common properties in \"ColumnDescription\"."@en ;
  rdfs:subClassOf phdd:ColumnDescription .

phdd:ColumnDescription a rdfs:Class ;
  rdfs:label "Column description"@en ;
  rdfs:comment """
\tDetailed description of a column. It comprehends common properties of delimited column and fixed column data.
\t"""@en .

phdd:InputProgram a rdfs:Class ;
  rdfs:label "Input Program"@en ;
  rdfs:comment """Program or program statements for reading the data.

\tRelated element in DDI 3.2: r:CommandFile
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/reusable_xsd/elements/CommandFile.html
\t"""@en ;
  rdfs:seeAlso <http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/reusable_xsd/elements/CommandFile.html> .

phdd:programFileName a rdf:Property ;
  rdfs:label "Program file name"@en ;
  rdfs:comment "File name or URI of the input program."@en ;
  rdfs:domain phdd:InputProgram ;
  rdfs:range xsd:string .

phdd:softwareType a rdf:Property ;
  rdfs:label "Software type"@en ;
  rdfs:comment """
\tSoftware or program language used of the program for reading the data.

\tEquivalent element in DDI 3.2: r:ProgramLanguage
\tDDI 3.2 Documentation: http://www.ddialliance.org/Specification/DDI-Lifecycle/3.2/XMLSchema/FieldLevelDocumentation/schemas/reusable_xsd/elements/ProgramLanguage.html
\t"""@en ;
  rdfs:domain phdd:InputProgram ;
  rdfs:range xsd:string .

phdd:programVersion a rdf:Property ;
  rdfs:label "Program version"@en ;
  rdfs:comment "Version of the software used of the program for reading the data."@en ;
  rdfs:domain phdd:InputProgram ;
  rdfs:range xsd:string .
