{"id":21291539,"url":"https://github.com/Scaseco/Embeddable-BSBM","last_synced_at":"2025-07-11T16:30:34.142Z","repository":{"id":57738361,"uuid":"93851570","full_name":"SmartDataAnalytics/Embeddable-BSBM","owner":"SmartDataAnalytics","description":"Fork of the BSBM source code intended for closer integration in software projects","archived":false,"fork":false,"pushed_at":"2024-04-18T09:37:43.000Z","size":2327,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-04-18T10:46:04.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SmartDataAnalytics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-06-09T11:18:29.000Z","updated_at":"2022-03-28T11:59:35.000Z","dependencies_parsed_at":"2023-11-06T05:24:18.767Z","dependency_job_id":"d07f861b-ac61-450a-882c-c4094770f2e0","html_url":"https://github.com/SmartDataAnalytics/Embeddable-BSBM","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartDataAnalytics%2FEmbeddable-BSBM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartDataAnalytics%2FEmbeddable-BSBM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartDataAnalytics%2FEmbeddable-BSBM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartDataAnalytics%2FEmbeddable-BSBM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SmartDataAnalytics","download_url":"https://codeload.github.com/SmartDataAnalytics/Embeddable-BSBM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225737985,"owners_count":17516468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T13:35:05.845Z","updated_at":"2025-07-11T16:30:27.412Z","avatar_url":"https://github.com/SmartDataAnalytics.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BSBM-Fork\nThis project is a fork of the [BSBM Source code (revision 81)](https://sourceforge.net/p/bsbmtools/code/81) intended for closer integration in projects.\n\n\n## Changes over the original code base\n\n* Converted to a maven project together with deployment/release of artifacts\n* Logging:\n  * Replaced the original logger with slf4j\n  * Split the original BSBM code into [bsbm-core](bsbm-core) and [bsbm-cli](bsbm-cli) modules, where the main difference is, that the latter depends on a concrete logger implementation.\n* Enhanced code base to not require files for communication between components - this means:\n  * Moved static resources to (bsbm-core/src/main/resources)[bsbm-core/src/main/resources]\n  * Added a TestDriverParams class. The Generator yields objects of this class, and the TestDriver can be configured with such an instance.\n  * Added a SerializerModel class which writes the generated dataset to a Jena model (instead of a file)\n\n## Maven artifacts\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.aksw.bsbm\u003c/groupId\u003e\n    \u003cartifactId\u003ebsbm-jsa\u003c/artifactId\u003e\n    \u003cversion\u003e3.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nFor snapshot version, add our archiva:\n```xml\n    \u003crepositories\u003e\n        \u003crepository\u003e\n            \u003cid\u003emaven.aksw.snapshots\u003c/id\u003e\n            \u003cname\u003eAKSW Snapshot Repository\u003c/name\u003e\n            \u003curl\u003ehttp://maven.aksw.org/archiva/repository/snapshots\u003c/url\u003e\n            \u003creleases\u003e\n                \u003cenabled\u003efalse\u003c/enabled\u003e\n            \u003c/releases\u003e\n            \u003csnapshots\u003e\n                \u003cenabled\u003etrue\u003c/enabled\u003e\n            \u003c/snapshots\u003e\n        \u003c/repository\u003e\n    \u003c/repositories\u003e\n```\n\n\nFor the original bsbm without the jena-sparql-api (jsa) integration, use `bsbm-core` instead.\n\n## Usage\n\n```java\n    // The BSBM Generator is a static class \n    Serializer serializer = new SerializerModel();\n    Generator.init(Arrays.\u003cString\u003easList());\n    Generator.setSerializer(serializer);\n    Generator.run();\n    \n    // Obtain the result artifacts\n    TestDriverParams testDriverParams = Generator.getTestDriverParams();\n    Model model = serializer.getModel();\n\n    // Create the jena-sparql-api query abstraction\n    QueryExecutionFactory qef = FluentQueryExecutionFactory.http(\"http://your.endpoint/sparql\", \"http://your-bsbm-dataset-graph.org\").create();\n\n    // Configure and run the test driver\n    TestDriver testDriver = new TestDriver(Arrays.asList\u003cString\u003e());\n    testDriver.setParameterPool(new LocalSPARQLParameterPool(testDriverParams, testDriver.getSeed()));\n    testDriver.setServer(new SPARQLConnection2(qef));\n\n    testDriver.run();\n```\n\n## TODOs\n\n* Extend the APIs to make benchmark results programmatically accessible\n* Compare benchmark runs of the forked code base to those of original one to ensure we did not introduce any mistakes that influence the benchmark results\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FScaseco%2FEmbeddable-BSBM","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FScaseco%2FEmbeddable-BSBM","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FScaseco%2FEmbeddable-BSBM/lists"}