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

Correct support for container membership properties (RDF._1). #951

Merged
merged 2 commits into from
Mar 12, 2020
Merged

Correct support for container membership properties (RDF._1). #951

merged 2 commits into from
Mar 12, 2020

Conversation

LEW21
Copy link
Contributor

@LEW21 LEW21 commented Jan 8, 2020

Right now, rdflib supports accessing them only thru getattr(RDF, '1') - because RDF.1 is invalid Python.

The RDF spec references them as rdf:_1, so it looks like a good idea to allow RDF._1 (which is valid Python).

Also, the RDF spec allows only numbers greater than 0.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 75.531% when pulling af53562 on LEW21:container-membership-properties into e004802 on RDFLib:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 75.531% when pulling af53562 on LEW21:container-membership-properties into e004802 on RDFLib:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 75.531% when pulling af53562 on LEW21:container-membership-properties into e004802 on RDFLib:master.

@nicholascar nicholascar added this to the rdflib 4.3.0 milestone Mar 12, 2020
@nicholascar nicholascar merged commit 138a481 into RDFLib:master Mar 12, 2020
@white-gecko white-gecko added this to the rdflib 5.0.0 milestone Apr 7, 2020
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

Successfully merging this pull request may close these issues.

4 participants