Skip to content
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

schema:nationality 'expects' instance of schema:Country #1

Open
bencomp opened this issue Sep 16, 2021 · 1 comment
Open

schema:nationality 'expects' instance of schema:Country #1

bencomp opened this issue Sep 16, 2021 · 1 comment

Comments

@bencomp
Copy link

bencomp commented Sep 16, 2021

Looking at the schema:nationality documentation, I think a schema:Person's nationality should have an instance of a schema:Country as object value instead of a code as string.

I'm not sure what list the country codes are from, but perhaps you could adjust

line=$(echo $line | sed "s@</schema:Person>@<schema:nationality>$natio</schema:nationality></schema:Person>@")

to refer to an rdf:resource=".../$natio".

@bencomp
Copy link
Author

bencomp commented Oct 26, 2021

What kind of codes are used in field 019@? I'm not familiar with the PICA+ record format...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant