-
Notifications
You must be signed in to change notification settings - Fork 19
Fix structural inconsistency: Corrected 'Infrastucture' typo in ontology and snapshots #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -361,8 +361,8 @@ | |
| <rdfs:label xml:lang="fr">tunnel de voie navigable</rdfs:label><rdfs:label xml:lang="en">waterway tunnel</rdfs:label><rdfs:label xml:lang="ur">آبی گزرگاہ کی سرنگ</rdfs:label><rdfs:label xml:lang="de">Kanaltunnel</rdfs:label><rdfs:label xml:lang="ga">tollán uiscebhealaigh</rdfs:label><rdfs:label xml:lang="nl">kanaaltunnel</rdfs:label><rdfs:subClassOf rdf:resource="http://dbpedia.org/ontology/RouteOfTransportation"/><prov:wasDerivedFrom rdf:resource="http://mappings.dbpedia.org/index.php/OntologyClass:WaterwayTunnel"/> | ||
| </owl:Class><owl:Class rdf:about="http://dbpedia.org/ontology/Ocean"> | ||
| <rdfs:label xml:lang="fr">Océan</rdfs:label><rdfs:label xml:lang="en">Ocean</rdfs:label><rdfs:label xml:lang="ur">سمندر</rdfs:label><rdfs:label xml:lang="el">Ωκεανός</rdfs:label><rdfs:label xml:lang="pt">oceano</rdfs:label><rdfs:label xml:lang="de">Ozean</rdfs:label><rdfs:label xml:lang="ja">大洋</rdfs:label><rdfs:label xml:lang="ga">aigéan</rdfs:label><rdfs:label xml:lang="nl">oceaan</rdfs:label><rdfs:comment xml:lang="ur">نمکین پانی کا ایک جسم جو سیارے کے ہائیڈروسفیئر کا زیادہ تر حصہ بناتا ہے۔</rdfs:comment><rdfs:comment xml:lang="en">A body of saline water that composes much of a planet's hydrosphere.</rdfs:comment><rdfs:comment xml:lang="el">Μάζα αλμυρού νερού που αποτελεί σημαντικό μέρος της υδρόσφαιρας ενός πλανήτη.</rdfs:comment><rdfs:subClassOf rdf:resource="http://dbpedia.org/ontology/BodyOfWater"/><owl:equivalentClass rdf:resource="http://www.wikidata.org/entity/Q9430"/><prov:wasDerivedFrom rdf:resource="http://mappings.dbpedia.org/index.php/OntologyClass:Ocean"/> | ||
| </owl:Class><owl:Class rdf:about="http://dbpedia.org/ontology/Infrastucture"> | ||
| <rdfs:label xml:lang="en">infrastructure</rdfs:label><rdfs:label xml:lang="fr">infrastructure</rdfs:label><rdfs:label xml:lang="ur">بنیادی ڈھانچہ</rdfs:label><rdfs:subClassOf rdf:resource="http://dbpedia.org/ontology/ArchitecturalStructure"/><prov:wasDerivedFrom rdf:resource="http://mappings.dbpedia.org/index.php/OntologyClass:Infrastucture"/> | ||
| </owl:Class><owl:Class rdf:about="http://dbpedia.org/ontology/Infrastructure"> | ||
| <rdfs:label xml:lang="en">infrastructure</rdfs:label><rdfs:label xml:lang="fr">infrastructure</rdfs:label><rdfs:label xml:lang="ur">بنیادی ڈھانچہ</rdfs:label><rdfs:subClassOf rdf:resource="http://dbpedia.org/ontology/ArchitecturalStructure"/><prov:wasDerivedFrom rdf:resource="http://mappings.dbpedia.org/index.php/OntologyClass:Infrastructure"/> | ||
|
Comment on lines
+364
to
+365
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove duplicated
Also applies to: 957-958 🤖 Prompt for AI Agents |
||
| </owl:Class><owl:Class rdf:about="http://dbpedia.org/ontology/Airport"> | ||
| <rdfs:label xml:lang="es">aeropuerto</rdfs:label><rdfs:label xml:lang="fr">aéroport</rdfs:label><rdfs:label xml:lang="en">airport</rdfs:label><rdfs:label xml:lang="ur">ہوائی اڈہ</rdfs:label><rdfs:label xml:lang="ko">공항</rdfs:label><rdfs:label xml:lang="el">αεροδρόμιο</rdfs:label><rdfs:label xml:lang="ru">аэропорт</rdfs:label><rdfs:label xml:lang="pt">aeroporto</rdfs:label><rdfs:label xml:lang="da">lufthavn</rdfs:label><rdfs:label xml:lang="pl">lotnisko</rdfs:label><rdfs:label xml:lang="de">Flughafen</rdfs:label><rdfs:label xml:lang="gl">aeroporto</rdfs:label><rdfs:label xml:lang="ja">空港</rdfs:label><rdfs:label xml:lang="ga">aerfort</rdfs:label><rdfs:label xml:lang="zh">機場</rdfs:label><rdfs:label xml:lang="nl">luchthaven</rdfs:label><rdfs:label xml:lang="it">aeroporto</rdfs:label><rdfs:subClassOf rdf:resource="http://dbpedia.org/ontology/Infrastructure"/><owl:equivalentClass rdf:resource="http://schema.org/Airport"/><owl:equivalentClass rdf:resource="http://www.wikidata.org/entity/Q1248784"/><prov:wasDerivedFrom rdf:resource="http://mappings.dbpedia.org/index.php/OntologyClass:Airport"/> | ||
| </owl:Class><owl:Class rdf:about="http://dbpedia.org/ontology/Boxer"> | ||
|
|
@@ -953,7 +953,7 @@ | |
| </owl:Class><owl:Class rdf:about="http://dbpedia.org/ontology/PoliticalFunction"> | ||
| <rdfs:label xml:lang="fr">fonction politique</rdfs:label><rdfs:label xml:lang="en">political function</rdfs:label><rdfs:label xml:lang="ur">سیاسی تقریب</rdfs:label><rdfs:label xml:lang="de">politische Funktion</rdfs:label><rdfs:label xml:lang="nl">politieke functie</rdfs:label><rdfs:subClassOf rdf:resource="http://dbpedia.org/ontology/PersonFunction"/><prov:wasDerivedFrom rdf:resource="http://mappings.dbpedia.org/index.php/OntologyClass:PoliticalFunction"/> | ||
| </owl:Class><owl:Class rdf:about="http://dbpedia.org/ontology/ElectricalSubstation"> | ||
| <rdfs:label xml:lang="en">electrical substation</rdfs:label><rdfs:label xml:lang="fr">poste électrique</rdfs:label><rdfs:label xml:lang="nl">transformatorhuisje</rdfs:label><rdfs:label xml:lang="ur">برقی ذیلی مرکز</rdfs:label><rdfs:comment xml:lang="ur">برقی ذیلی مرکز وولٹیج کو زیادہ سے کم، یا برعکس میں تبدیل کرتے ہیں۔</rdfs:comment><rdfs:comment xml:lang="en">Substations transform voltage from high to low, or the reverse.</rdfs:comment><rdfs:comment xml:lang="fr">poste de transformation abaisseur ou élévateur de tension.</rdfs:comment><rdfs:subClassOf rdf:resource="http://dbpedia.org/ontology/Infrastucture"/><prov:wasDerivedFrom rdf:resource="http://mappings.dbpedia.org/index.php/OntologyClass:ElectricalSubstation"/> | ||
| <rdfs:label xml:lang="en">electrical substation</rdfs:label><rdfs:label xml:lang="fr">poste électrique</rdfs:label><rdfs:label xml:lang="nl">transformatorhuisje</rdfs:label><rdfs:label xml:lang="ur">برقی ذیلی مرکز</rdfs:label><rdfs:comment xml:lang="ur">برقی ذیلی مرکز وولٹیج کو زیادہ سے کم، یا برعکس میں تبدیل کرتے ہیں۔</rdfs:comment><rdfs:comment xml:lang="en">Substations transform voltage from high to low, or the reverse.</rdfs:comment><rdfs:comment xml:lang="fr">poste de transformation abaisseur ou élévateur de tension.</rdfs:comment><rdfs:subClassOf rdf:resource="http://dbpedia.org/ontology/Infrastructure"/><prov:wasDerivedFrom rdf:resource="http://mappings.dbpedia.org/index.php/OntologyClass:ElectricalSubstation"/> | ||
| </owl:Class><owl:Class rdf:about="http://dbpedia.org/ontology/Infrastructure"> | ||
| <rdfs:label xml:lang="fr">infrastructure</rdfs:label><rdfs:label xml:lang="en">infrastructure</rdfs:label><rdfs:label xml:lang="ur">بنیادی ڈھانچہ</rdfs:label><rdfs:label xml:lang="el">Υποδομή</rdfs:label><rdfs:label xml:lang="da">infrastruktur</rdfs:label><rdfs:label xml:lang="de">Infrastruktur</rdfs:label><rdfs:label xml:lang="ja">インフラストラクチャー</rdfs:label><rdfs:label xml:lang="nl">infrastructure</rdfs:label><rdfs:subClassOf rdf:resource="http://dbpedia.org/ontology/ArchitecturalStructure"/><prov:wasDerivedFrom rdf:resource="http://mappings.dbpedia.org/index.php/OntologyClass:Infrastructure"/> | ||
| </owl:Class><owl:Class rdf:about="http://dbpedia.org/ontology/Atoll"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3196,7 +3196,7 @@ Includes concentration, extermination, transit, detention, internment, (forced) | |||||||||
| :ElectricalSubstation | ||||||||||
| a owl:Class ; | ||||||||||
| rdfs:label "Transformatorenstation"@de, "electrical substation"@en, "transformatorhuisje"@nl ; | ||||||||||
| rdfs:subClassOf :Infrastucture ; | ||||||||||
| rdfs:subClassOf :Infrastructure ; | ||||||||||
| prov:wasDerivedFrom <http://mappings.dbpedia.org/index.php/OntologyClass:ElectricalSubstation> . | ||||||||||
|
|
||||||||||
| :Embryology | ||||||||||
|
|
@@ -17395,7 +17395,7 @@ Includes concentration, extermination, transit, detention, internment, (forced) | |||||||||
|
|
||||||||||
| :leadership | ||||||||||
| a rdf:Property, owl:DatatypeProperty ; | ||||||||||
| rdfs:domain :Person ; | ||||||||||
| rdfs:domain :PopulatedPlace ; | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unscoped ontology semantic change in this PR. Line 17398 changes Suggested minimal fix in this PR :leadership
a rdf:Property, owl:DatatypeProperty ;
- rdfs:domain :PopulatedPlace ;
+ rdfs:domain :Person ;📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
| rdfs:label "Führung"@de, "leadership"@en ; | ||||||||||
| rdfs:range xsd:string ; | ||||||||||
| prov:wasDerivedFrom <http://mappings.dbpedia.org/index.php/OntologyProperty:leadership> . | ||||||||||
|
|
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: dbpedia/ontology-tracker
Length of output: 6727
Remove 6 duplicate triples for
dbo:Infrastructure— deduplication missed multiple lines.The addition of
dbo:Infrastructureintroduced six exact duplicates of already-present triples:rdf:type owl:Classrdfs:label "..."@ur(Urdu)rdfs:label "infrastructure"@enrdfs:label "infrastructure"@frrdfs:subClassOf dbo:ArchitecturalStructureprov:wasDerivedFrom <...OntologyClass:Infrastructure>This occurred because the misspelled
dbo:Infrastuctureblock was replaced via URI substitution, appending all triples under the correct URI without checking for pre-existing ones. The PR notes deduplication was applied todbo-snapshots.dl, but this.ntfile was skipped.🗑️ Proposed fix — remove the six duplicate triples
📝 Committable suggestion
🤖 Prompt for AI Agents