-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #4 by adding backwards-compatible support for rdflib NamespaeMa…
…nager.
- Loading branch information
1 parent
ded56b1
commit f50e8ea
Showing
6 changed files
with
145 additions
and
53 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,15 @@ | |
license = f.read() | ||
|
||
setup( | ||
name='rdfpandas', | ||
version='1.0.0', | ||
description='RDF support for Pandas', | ||
long_description=readme, | ||
author='Eugene Morozov', | ||
author_email='[email protected]', | ||
url='https://github.com/cadmiumkitty/rdfpandas', | ||
license='MIT', | ||
packages=find_packages(exclude=('tests', 'docs')) | ||
name = 'rdfpandas', | ||
version = '1.1.0', | ||
description = 'RDF support for Pandas', | ||
long_description = readme, | ||
author = 'Eugene Morozov', | ||
author_email = '[email protected]', | ||
url = 'https://github.com/cadmiumkitty/rdfpandas', | ||
license = 'MIT', | ||
packages = find_packages(exclude = ('tests', 'docs')), | ||
install_requires = ['pandas>=1.2.0', 'rdflib>=5.0.0'] | ||
) | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
@prefix rdfpandas: <http://github.com/cadmiumkitty/rdfpandas/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
<rdfpandas:one> <rdfpandas:curie> <skos:broader> ; | ||
<rdfpandas:double> "10.0"^^<xsd:double> ; | ||
<rdfpandas:integer> "10"^^<xsd:integer> ; | ||
<rdfpandas:string> "String 1", | ||
rdfpandas:one rdfpandas:curie skos:broader ; | ||
rdfpandas:double "10.0"^^xsd:double ; | ||
rdfpandas:integer "10"^^xsd:integer ; | ||
rdfpandas:string "String 1", | ||
"String in English 1 (1)"@en, | ||
"String in English 2 (1)"@en, | ||
"String in Nepali 1 (1)"@ne, | ||
"String in Russian 1 (1)"@ru, | ||
"String with type 1 (1)"^^<xsd:string>, | ||
"String with type 2 (1)"^^<xsd:string> ; | ||
<rdfpandas:uri> <https://google.com> . | ||
"String with type 1 (1)"^^xsd:string, | ||
"String with type 2 (1)"^^xsd:string ; | ||
rdfpandas:uri <https://google.com> . | ||
|
||
<rdfpandas:two> <rdfpandas:anotherstring> "String 2" ; | ||
<rdfpandas:double> "20.0"^^<xsd:double> ; | ||
<rdfpandas:integer> "20"^^<xsd:integer> ; | ||
<rdfpandas:string> "String in English 1 (2)"@en, | ||
rdfpandas:two rdfpandas:anotherstring "String 2" ; | ||
rdfpandas:double "20.0"^^xsd:double ; | ||
rdfpandas:integer "20"^^xsd:integer ; | ||
rdfpandas:string "String in English 1 (2)"@en, | ||
"String in Nepali 1 (2)"@ne, | ||
"String in Nepali 2 (2)"@ne, | ||
"String with type 1 (2)"^^<xsd:string>, | ||
"String with type 2 (2)"^^<xsd:string> . | ||
"String with type 1 (2)"^^xsd:string, | ||
"String with type 2 (2)"^^xsd:string . |
This file contains 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