Skip to content

Conversation

@RichardWallis
Copy link
Contributor

Fix for issue (#1341)
Missed when integrating rdflib 'owl:' was not recognised as a used prefix.

Fix for issue (#1341)
Missed when integrating rdflib 'owl:' was not recognised as a used prefix.
@danbri
Copy link
Contributor

danbri commented Sep 5, 2016

Merged. Curious, what's the thinking behind this idiom:

l > 42 and (str[:43] == 'http://www.w3.org/1999/02/22-rdf-syntax-ns#')

... it seems longwindly alien to Python, but I didn't poke around the context.

@RichardWallis
Copy link
Contributor Author

A bit of boilerplate pasted from somewhere - could have used startswith and a list of candidate mappings (available in the namespaces list in api.py) - maybe I'll simplify it next time I'm working in that area ;-)

@RichardWallis RichardWallis deleted the RichardWallis-patch-10 branch May 10, 2017 10:40
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.

3 participants