diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a83870c04..79b7eb6ab 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -65,7 +65,7 @@ repos: - --fuzzy-match-generates-todo - --use-current-year - id: insert-license - files: \.(bash|bazel|textproto|yaml)$ + files: \.(bash|bazel|textproto|ttl|yaml)$ exclude: ^docs/use|test/ args: - --comment-style diff --git a/models/enola.dev/files.ttl b/models/enola.dev/files.ttl index 0d0b046fd..fa0322b9a 100644 --- a/models/enola.dev/files.ttl +++ b/models/enola.dev/files.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix enola: . @prefix owl: . @prefix schema: . diff --git a/models/enola.dev/java.ttl b/models/enola.dev/java.ttl index d3bc08221..894d0b3c3 100644 --- a/models/enola.dev/java.ttl +++ b/models/enola.dev/java.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix enola: . @prefix enolaj: . @prefix schema: . diff --git a/models/enola.dev/linux.ttl b/models/enola.dev/linux.ttl index b4b0f64ec..9b82cdf87 100644 --- a/models/enola.dev/linux.ttl +++ b/models/enola.dev/linux.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix enola: . @prefix lenola: . @prefix owl: . diff --git a/models/enola.dev/properties.ttl b/models/enola.dev/properties.ttl index cecc12fb2..9e8d70ef8 100644 --- a/models/enola.dev/properties.ttl +++ b/models/enola.dev/properties.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix enola: . @prefix enolay: . @prefix enolaj: . diff --git a/models/enola.dev/yaml.ttl b/models/enola.dev/yaml.ttl index ca0740ad4..683059260 100644 --- a/models/enola.dev/yaml.ttl +++ b/models/enola.dev/yaml.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix enola: . @prefix enolay: . @prefix schema: . diff --git a/models/enola.ttl b/models/enola.ttl index aef68206f..48addfc22 100644 --- a/models/enola.ttl +++ b/models/enola.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # This is Things metadata *ABOUT* https://enola.dev, # as in, The Org, The Software, and such. # This is *different* from Enola models! diff --git a/models/example.org/astronomy.ttl b/models/example.org/astronomy.ttl index ce85e71a5..8bad79462 100644 --- a/models/example.org/astronomy.ttl +++ b/models/example.org/astronomy.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix : . @prefix schema: . @prefix enola: . diff --git a/models/example.org/greeting1.ttl b/models/example.org/greeting1.ttl index b0e01bd59..3686bf9f3 100644 --- a/models/example.org/greeting1.ttl +++ b/models/example.org/greeting1.ttl @@ -1,2 +1,18 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + "hello, world". diff --git a/models/example.org/greeting2.ttl b/models/example.org/greeting2.ttl index e10bcb38c..439e24249 100644 --- a/models/example.org/greeting2.ttl +++ b/models/example.org/greeting2.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix : . :greeting2 diff --git a/models/example.org/greeting3.ttl b/models/example.org/greeting3.ttl index a2dcd14a6..132639a86 100644 --- a/models/example.org/greeting3.ttl +++ b/models/example.org/greeting3.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix rdfs: . @prefix enola: . @prefix : . diff --git a/models/example.org/greetingN.ttl b/models/example.org/greetingN.ttl index 7dcae03df..e388689a9 100644 --- a/models/example.org/greetingN.ttl +++ b/models/example.org/greetingN.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix : . @prefix rdfs: . @prefix enola: . diff --git a/models/purl.org/emojis.ttl b/models/purl.org/emojis.ttl index fb8ec36b1..99467b525 100644 --- a/models/purl.org/emojis.ttl +++ b/models/purl.org/emojis.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix dc: . @prefix enola: . diff --git a/models/schema.org/emojis.ttl b/models/schema.org/emojis.ttl index 0546cff89..552276779 100644 --- a/models/schema.org/emojis.ttl +++ b/models/schema.org/emojis.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix schema: . @prefix enola: . diff --git a/models/schema.org/properties.ttl b/models/schema.org/properties.ttl index 758a4f660..1dbef4229 100644 --- a/models/schema.org/properties.ttl +++ b/models/schema.org/properties.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # TODO Load full https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/schema.ttl ?! # (For speed, this will require implementing caching in OkHttpResource and switching to it instead of UrlResource; # among possibly a bit more other work; incl. implementing ORIGIN merging in class ThingMerger, etc.) diff --git a/models/www.w3.org/emojis.ttl b/models/www.w3.org/emojis.ttl index 39045d105..b58e9294b 100644 --- a/models/www.w3.org/emojis.ttl +++ b/models/www.w3.org/emojis.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix rdf: . @prefix rdfs: . @prefix owl: . diff --git a/models/www.w3.org/owl.ttl b/models/www.w3.org/owl.ttl index 488a7af75..d6753459e 100644 --- a/models/www.w3.org/owl.ttl +++ b/models/www.w3.org/owl.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix dc: . @prefix grddl: . @prefix owl: . diff --git a/models/www.w3.org/rdf-schema.ttl b/models/www.w3.org/rdf-schema.ttl index 95e224f5d..9040819dc 100644 --- a/models/www.w3.org/rdf-schema.ttl +++ b/models/www.w3.org/rdf-schema.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix rdf: . @prefix rdfs: . @prefix owl: . diff --git a/models/www.w3.org/rdf.ttl b/models/www.w3.org/rdf.ttl index 4eb4851e5..f5a7f442d 100644 --- a/models/www.w3.org/rdf.ttl +++ b/models/www.w3.org/rdf.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + @prefix rdf: . @prefix rdfs: . @prefix owl: . diff --git a/models/www.w3.org/xml-schema.ttl b/models/www.w3.org/xml-schema.ttl index 9f8fbee75..1b874eb52 100644 --- a/models/www.w3.org/xml-schema.ttl +++ b/models/www.w3.org/xml-schema.ttl @@ -1,3 +1,19 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright 2024 The Enola Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # https://gitlab.com/sharedvocabs/vocabularies/-/raw/main/xml-schema/xml-schema.ttl @prefix : .