diff --git a/src/acdhOeaw/arche/lib/schema/Ontology.php b/src/acdhOeaw/arche/lib/schema/Ontology.php index 8f78ade..acfe64d 100644 --- a/src/acdhOeaw/arche/lib/schema/Ontology.php +++ b/src/acdhOeaw/arche/lib/schema/Ontology.php @@ -692,7 +692,6 @@ private function loadRest(): void { RDF::RDF_TYPE => 'type', $nmsp . 'automatedFill' => 'automatedFill', $nmsp . 'defaultValue' => 'defaultValue', - $nmsp . 'langTag' => 'langTag', $nmsp . 'ordering' => 'ordering', $nmsp . 'recommendedClass' => 'recommendedClass', $nmsp . 'vocabs' => 'vocabs', @@ -717,7 +716,7 @@ private function loadRest(): void { if (!isset($objects[$sbj])) { $objects[$sbj] = (object) ['id' => (int) substr($sbj, $baseUrlL)]; } - if (in_array($pred, ['type', 'automatedFill', 'defaultValue', 'langTag', + if (in_array($pred, ['type', 'automatedFill', 'defaultValue', 'ordering', 'vocabs', 'min', 'max'])) { $objects[$sbj]->$pred = $obj->getValue(); } elseif ($pred === 'cardinality') { @@ -830,9 +829,6 @@ private function loadPropertyCommon(PropertyDesc $prop): void { if (!empty($prop->vocabs)) { $prop->setOntology($this); } - if ($prop->langTag) { - $prop->range = [RDF::RDF_LANG_STRING]; - } foreach ($prop->property as $i) { $this->properties[(string) $i] = $prop; }