Skip to main content

DL2SPARQL: Description Logic Concept to SPARQL Query

Installation

conda create -n dl2sparql python=3.9 --no-default-packages && conda activate dl2sparql
pip3 install pytest
pip3 install pandas
pip3 install parsimonious
pip3 install rdflib
# To test it
pytest tests
from dl2sparql import DescriptionLogicConcept, SPARQLQuery
ce_str = "∃hasChild.Male"
concept = DescriptionLogicConcept(dl_str="∃hasChild.Male", namespace="http://www.benchmark.org/family#")
query = SPARQLQuery(dl_concept=concept)
"""
SELECT
 DISTINCT ?x WHERE { 
?x a <http://www.w3.org/2002/07/owl#NamedIndividual> . 
?x <http://www.benchmark.org/family#hasChild> ?s_1 . 
?s_1 a <http://www.benchmark.org/family#Male> . 
 }
"""

For any questions or wishes, please contact: caglar.demir@upb.de or caglardemir8@gmail.com

Metadata

Release files for dl2sparql 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dl2sparql 0.0.1
File Size Uploaded Provenance Actions
dl2sparql-0.0.1.tar.gz 54.5 kB Without provenance Details for dl2sparql-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dl2sparql 0.0.1
File Interpreter ABI Platform Actions
dl2sparql-0.0.1-py3-none-any.whl Python 3 none any Details for dl2sparql-0.0.1-py3-none-any.whl

Total release size: 116.9 kB

Release files / dl2sparql-0.0.1.tar.gz

Download URL dl2sparql-0.0.1.tar.gz
Size 54.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ae39672750df0c6cc86cb2d5bc38e7f97f6aa9d4d58026b1ac52158e9f6c0118
BLAKE2b-256 checksum
How to use checksums
53c319993ea6ab77fe1125170caff5d921437b95ce9fc8d5c7c5fac65863e597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

Release files / dl2sparql-0.0.1-py3-none-any.whl

Download URL dl2sparql-0.0.1-py3-none-any.whl
Size 62.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28c6529ef900969680960cad3fc0a721e17beaae92b6744a88b8558a311deff8
BLAKE2b-256 checksum
How to use checksums
b8fe7b2f6a3f978040da69e08f451fa5ce10c244fd0915312108aa289d7da7fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

Security for dl2sparql 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page