pyLodStorage 0.2.10__tar.gz → 0.2.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pylodstorage-0.2.10/pylodstorage.egg-info → pylodstorage-0.2.11}/PKG-INFO +1 -1
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/trulytabular.py +2 -1
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/version.py +1 -1
- {pylodstorage-0.2.10 → pylodstorage-0.2.11/pylodstorage.egg-info}/PKG-INFO +1 -1
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/LICENSE +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/README.md +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/__init__.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/csv.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/entity.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/jsonable.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/jsonpicklemixin.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/lod.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/mwTable.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/plot.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/query.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/querymain.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/sample.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/schema.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/sparql.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/sql.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/storageconfig.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/tabulateCounter.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/uml.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/xml.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/lodstorage/yamlablemixin.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/pylodstorage.egg-info/SOURCES.txt +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/pylodstorage.egg-info/dependency_links.txt +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/pylodstorage.egg-info/entry_points.txt +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/pylodstorage.egg-info/requires.txt +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/pylodstorage.egg-info/top_level.txt +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/sampledata/__init__.py +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/sampledata/endpoints.yaml +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/sampledata/formats.yaml +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/sampledata/queries.yaml +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/sampledata/scholia.yaml +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/sampledata/trulytabular.yaml +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/sampledata/wf.yaml +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/sampledata/wikidata.yaml +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/setup.cfg +0 -0
- {pylodstorage-0.2.10 → pylodstorage-0.2.11}/setup.py +0 -0
|
@@ -135,6 +135,7 @@ class WikidataItem:
|
|
|
135
135
|
sparql(SPARQL): the sparql access to use
|
|
136
136
|
'''
|
|
137
137
|
self.qid=qid
|
|
138
|
+
self.url=f"https://www.wikidata.org/wiki/{self.qid}"
|
|
138
139
|
self.lang=lang
|
|
139
140
|
self.sparql=sparql
|
|
140
141
|
if sparql is not None:
|
|
@@ -163,7 +164,7 @@ class WikidataItem:
|
|
|
163
164
|
desc=textwrap.fill(desc,width=wrapAt)
|
|
164
165
|
text+=f"☞{desc}"
|
|
165
166
|
if long:
|
|
166
|
-
text+=f"→
|
|
167
|
+
text+=f"→ {self.url}"
|
|
167
168
|
return text
|
|
168
169
|
|
|
169
170
|
@classmethod
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|