Comments (2)
I couldn't create the CSV file for sgv:Subject
and sgv:Sequence
. The unresolved and resolved XML files have been downloaded though:
- https://github.com/Participatory-Image-Archives/pia-data-model/tree/main/salsah-export/Subject
- https://github.com/Participatory-Image-Archives/pia-data-model/tree/main/salsah-export/Sequence
Update: As @thgie will most likely use the unresolved XML files to populate the PIA Database, it's not a big deal.
from pia-data-model.
I've just noticed that the sgv:Persons
metadata are not exhaustive. We have only 999 items. Here is the error I got:
Traceback (most recent call last):
File "/Users/julienraemy/Documents/GitHub/salsah-export/salsah2xml.py", line 1274, in <module>
main()
File "/Users/julienraemy/Documents/GitHub/salsah-export/salsah2xml.py", line 1270, in main
program()
File "/Users/julienraemy/Documents/GitHub/salsah-export/salsah2xml.py", line 1263, in program
con.process_resource(resource, images_path, download, args.request_image_type, write_metadata, verbose)
File "/Users/julienraemy/Documents/GitHub/salsah-export/salsah2xml.py", line 1117, in process_resource
propnode = self.process_property(propname, resource["props"][propname], verbose) # process_property()
File "/Users/julienraemy/Documents/GitHub/salsah-export/salsah2xml.py", line 1060, in process_property
valnode = self.process_value(int(prop["valuetype_id"]), value, verbose)
File "/Users/julienraemy/Documents/GitHub/salsah-export/salsah2xml.py", line 904, in process_value
encoding, valele.text = process_richtext(
File "/Users/julienraemy/Documents/GitHub/salsah-export/salsah2xml.py", line 134, in process_richtext
attributes = json.loads(textattr)
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 20 (char 19)
from pia-data-model.
Related Issues (11)
- Creation of IIIF v3 Manifests and Collections HOT 1
- Alpha Version Manifest Generator
- PIA Subdomains
- Refactor images for objects in data model/schema
- Change Data to New Data Model - Add `sgv:ImageRepresentation` and `sgv:MovingImageRepresentation` links and resources HOT 1
- Change Data to New Data Model - SGV-17 Datasets
- Salsah-export (once again) HOT 1
- Creation of a triplestore to enable SPARQL HOT 1
- PostgreSQL database dump HOT 1
- inconsistencies in `asv_places.csv`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pia-data-model.