This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| index 5ba4cfb..67a5df8 100644 | |
| --- legal_tools/rdf_generator.py | |
| +++ legal_tools/rdf_generator.py | |
| @@ -126,6 +126,16 @@ def generate_rdf_triples(category, unit, version, jurisdiction=None): | |
| ) | |
| ) | |
| + if tool_obj.is_replaced_by: | |
| + g.add( | |
| + ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='utf-8'?> | |
| <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
| <cc:License rdf:about="http://creativecommons.org/licenses/by/4.0/"> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.ar" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.cs" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.da" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.de" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.el" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.en" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='utf-8'?> | |
| <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
| <cc:License rdf:about="http://creativecommons.org/licenses/by/3.0/es/"> | |
| <cc:jurisdiction rdf:resource="http://creativecommons.org/international/es" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.ast" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.ca" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.es" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.eu" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.gl" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='utf-8'?> | |
| <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
| <cc:License rdf:about="http://creativecommons.org/publicdomain/zero/1.0/"> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.da" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.de" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.el" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.en" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.es" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.eu" /> | |
| <cc:legalcode rdf:resource="http://crea |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='utf-8'?> | |
| <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
| <cc:License rdf:about="http://creativecommons.org/licenses/by/4.0/"> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.ar" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.cs" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.da" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.de" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.el" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.en" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.es" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='utf-8'?> | |
| <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
| <cc:License rdf:about="http://creativecommons.org/licenses/by/3.0/es/"> | |
| <cc:jurisdiction rdf:resource="http://creativecommons.org/international/es" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.ast" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.ca" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.es" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.eu" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.gl" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.oc-aranes" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='utf-8'?> | |
| <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
| <cc:License rdf:about="http://creativecommons.org/publicdomain/zero/1.0/"> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.da" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.de" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.el" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.en" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.es" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalcode.eu" /> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/legalc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='utf-8'?> | |
| <rdf:RDF xmlns:exif="http://www.w3.org/2003/12/exif/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
| <rdf:Description rdf:about="http://licensebuttons.net/l/by-nc-nd/2.0/80x15.png"> | |
| <exif:height>15</exif:height> | |
| <exif:width>80</exif:width> | |
| </rdf:Description> | |
| <rdf:Description rdf:about="http://licensebuttons.net/l/by-nc-nd/2.0/88x31.png"> | |
| <exif:height>31</exif:height> | |
| <exif:width>88</exif:width> | |
| </rdf:Description> |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='utf-8'?> | |
| <rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
| <cc:License rdf:about="http://creativecommons.org/licenses/by-nc-nd/2.0/"> | |
| <cc:legalcode rdf:resource="http://creativecommons.org/licenses/by-nc-nd/2.0/legalcode.en" /> | |
| <cc:licenseClass rdf:resource="http://creativecommons.org/licenses/" /> | |
| <cc:prohibits rdf:resource="http://creativecommons.org/ns#CommercialUse" /> | |
| <cc:requires rdf:resource="http://creativecommons.org/ns#Attribution" /> | |
| <cc:requires rdf:resource="http://creativecommons.org/ns#Notice" /> | |
| <dcterms:creator rdf:resource="http://creativecommons.org" /> | |
| <dcterms:hasVersion>2.0</dcterms:hasVersion> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| index 97005a4..23ddca6 100644 | |
| --- legal_tools/rdf_generator.py | |
| +++ legal_tools/rdf_generator.py | |
| @@ -129,6 +129,7 @@ def generate_rdf_file( | |
| # ) | |
| if tool_obj.jurisdiction_code: | |
| + logo_prefix = f"{foaf_logo_url}{tool_obj.unit}/{tool_obj.version}/{tool_obj.jurisdiction_code}" | |
| g.add( | |
| ( |