Skip to main content

semantify3

semantify³ - extract knowledge graph ready triples from human readable annotations whereever possible - Syntax matters!

PyPi PyPI Status License pypi format downloads
GitHub Github Actions Build Release Contributors Last Commit GitHub issues GitHub closed issues
Code style-black imports-isort
Docs API Docs formatter-docformatter style-google

Documentation

Wiki

Authors

Usage

usage: sem3 [-h] [-a] [-d] [--debugLocalPath DEBUGLOCALPATH] [--debugPort DEBUGPORT]
            [--debugRemotePath DEBUGREMOTEPATH] [--debugServer DEBUGSERVER] [-f] [-q] [-v] [-V] [-i INPUT]
            [-o OUTPUT] [--format {turtle,n3,ntriples,xml,json-ld,sidif,graphml,graphson,cypher}]
            [files ...]

Extract knowledge graph ready triples from human-readable annotations wherever possible  Syntax matters!

positional arguments:
  files

options:
  -h, --help            show this help message and exit
  -a, --about           show version info and open documentation
  -d, --debug           enable debug output
  --debugLocalPath DEBUGLOCALPATH
                        remote debug Server path mapping - localPath - path on machine where python runs
  --debugPort DEBUGPORT
                        remote debug Port [default: 5678]
  --debugRemotePath DEBUGREMOTEPATH
                        remote debug Server path mapping - remotePath - path on debug server
  --debugServer DEBUGSERVER
                        remote debug Server
  -f, --force           force overwrite or unsafe actions
  -q, --quiet           suppress all output
  -v, --verbose         increase output verbosity
  -V, --version         show program's version number and exit
  -i INPUT, --input INPUT
                        Input file glob expression
  -o OUTPUT, --output OUTPUT
                        Output file path for triples
  --format {turtle,n3,ntriples,xml,json-ld,sidif,graphml,graphson,cypher}
                        Output serialization format (default: turtle)

Examples

markup extraction
sem3 --extract -i "**/*.py"
1: yaml in extractor.py:3
extractor:
  isA: PythonModule
  author: Wolfgang Fahl
  createdAt: 2025-11-29
  purpose: extraction of relevant markup snippets for semantify³.
--------------------
2: yaml in sem3_cmd.py:3
sem3_cmd:
  isA: PythonModule
  author: Wolfgang Fahl
  createdAt: 2025-11-29
  purpose: Command-line interface for semantify³.
--------------------
3: yaml in test_cmd.py:3
test_cmd:
  isA: PythonTestModule
  author: Wolfgang Fahl
  createdAt: 2025-11-29
  purpose: Unit tests for the semantify³ CLI.
--------------------
4: sidif in test_extractor.py:2
test_extractor isA PythonModule
  "Wolfgang Fahl" is author of it
  "2025-11-29" is createdAt of it
  "Test main micro annotation snippet extraction" is purpose of it
--------------------
5: yaml in test_extractor.py:63
ypgen.bitplan.com:
  isA: Service
  ui: nicegui
  url: https://ypgen.bitplan.com
  createdAt: 2024-07-23T09:19:32.709025
  publicity: intranet
--------------------
triple conversion
sem3 -i "**/*.py"
@prefix python_module: <https://semantify3.bitplan.com/source_code/> .

python_module:base_sem3test a python_module:PythonModule ;
    python_module:author "Wolfgang Fahl" ;
    python_module:createdAt "2025-11-30" ;
    python_module:isA "PythonModule" ;
    python_module:name "base_sem3test" ;
    python_module:purpose "Base Test class for semantify³ tests" .

python_module:extractor a python_module:PythonModule ;
    python_module:author "Wolfgang Fahl" ;
    python_module:createdAt "2025-11-29" ;
    python_module:isA "PythonModule" ;
    python_module:name "extractor" ;
    python_module:purpose "extraction of relevant markup snippets for semantify³." ;
    python_module:source "sem3/extractor.py:3" .

python_module:lod2rdf a python_module:PythonModule ;
    python_module:author "Wolfgang Fahl" ;
    python_module:createdAt "2025-11-10" ;
    python_module:isA "PythonModule" ;
    python_module:name "lod2rdf" ;
    python_module:purpose "list of dict to RDF conversion for semantify³." ;
    python_module:source "sem3/lod2rdf.py:2" .

python_module:sem3_cmd a python_module:PythonModule ;
    python_module:author "Wolfgang Fahl" ;
    python_module:createdAt "2025-11-29" ;
    python_module:isA "PythonModule" ;
    python_module:name "sem3_cmd" ;
    python_module:purpose "Command-line interface for semantify³." ;
    python_module:source "sem3/sem3_cmd.py:3" .

python_module:test_cmd a python_module:PythonModule ;
    python_module:author "Wolfgang Fahl" ;
    python_module:createdAt "2025-11-29" ;
    python_module:isA "PythonTestModule" ;
    python_module:name "test_cmd" ;
    python_module:purpose "Unit tests for the semantify³ CLI." ;
    python_module:source "tests/test_cmd.py:3" .

python_module:test_extractor a python_module:PythonModule ;
    python_module:author "Wolfgang Fahl" ;
    python_module:createdAt "2025-11-29" ;
    python_module:isA "PythonModule" ;
    python_module:name "test_extractor" ;
    python_module:purpose "Test main micro annotation snippet extraction" .

python_module:ypgen.bitplan.com a python_module:PythonModule ;
    python_module:createdAt "2024-07-23 09:19:32.709025" ;
    python_module:isA "Service" ;
    python_module:name "ypgen.bitplan.com" ;
    python_module:publicity "intranet" ;
    python_module:source "tests/test_extractor.py:42" ;
    python_module:ui "nicegui" ;
    python_module:url "https://ypgen.bitplan.com" .

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semantify3-0.0.6.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

semantify3-0.0.6-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file semantify3-0.0.6.tar.gz.

File metadata

  • Download URL: semantify3-0.0.6.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for semantify3-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d40b10968cff3bae1ea443a5312f932cf0b45936c01433f03a8cac8d97d692c7
MD5 1c43f7abd77c0eb70d9cc34446368c94
BLAKE2b-256 57e7874c8b907da8e95d753f7ed03f4c515e84c96b69f715867b1958b58c4579

See more details on using hashes here.

Provenance

The following attestation bundles were made for semantify3-0.0.6.tar.gz:

Publisher: upload-to-pypi.yml on BITPlan/semantify3

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file semantify3-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: semantify3-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for semantify3-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5d93d0cda411ed2d90f446882a50dbacf586c11428beff4b7db02c61bb3ff035
MD5 86cefef2ca31574d5fffacefd87555ce
BLAKE2b-256 21aca952e7d1e5f6cfe252ca48f5056c1b6f49664c96c592eda378161f697f2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for semantify3-0.0.6-py3-none-any.whl:

Publisher: upload-to-pypi.yml on BITPlan/semantify3

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page