{"id":26190066,"url":"https://github.com/zazuko/rdf-entity-webcomponent","last_synced_at":"2025-04-15T02:09:30.385Z","repository":{"id":63691356,"uuid":"568734156","full_name":"zazuko/rdf-entity-webcomponent","owner":"zazuko","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-18T13:21:41.000Z","size":3188,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-28T14:01:38.808Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zazuko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-21T09:50:19.000Z","updated_at":"2025-02-24T16:53:47.000Z","dependencies_parsed_at":"2023-02-19T07:46:10.039Z","dependency_job_id":null,"html_url":"https://github.com/zazuko/rdf-entity-webcomponent","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Frdf-entity-webcomponent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Frdf-entity-webcomponent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Frdf-entity-webcomponent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zazuko%2Frdf-entity-webcomponent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zazuko","download_url":"https://codeload.github.com/zazuko/rdf-entity-webcomponent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248560313,"owners_count":21124630,"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":"2025-03-12T00:52:23.040Z","updated_at":"2025-04-15T02:09:30.368Z","avatar_url":"https://github.com/zazuko.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rdf-entity-webcomponent\n\nA Web component that visualizes a dataset in (simple) tabular formats\n\n## Usage\n\nThe element requires a single property `dataset` which conforms to\nthe [rdf-dataset spec](https://rdf.js.org/dataset-spec/)\n\nAlternatively, one can directly specify turtle in the tag \n\n```html\n\u003crdf-entity id=\"demo\"\u003e\n    \u003cscript type=\"text/turtle\"\u003e\n@prefix schema: \u003chttp://schema.org/\u003e .\n\u003chttp://tbbt.ld/john\u003e a schema:Person ;\n                      schema:name \"John Doe\" ;\n                      schema:knows [\n                            schema:name \"Jane\" ;\n                        ] .\n    \u003c/script\u003e\n\u003c/rdf-entity\u003e\n```\n\n## Run the examples\n\n```\nnpm install\nnpm run dev\n```\n\nSee the [examples](./examples) folder for details\n\n## Screenshot\n\n![screenshot.png](./docs/screenshot.png)\n\n## Properties\n\n| Property             | Attribute             | Modifiers | Type      | Default                  | Description                                                                                               |\n|----------------------|-----------------------|-----------|-----------|--------------------------|-----------------------------------------------------------------------------------------------------------|\n| `dataset`            | false                 |           | `Object`  | undefined                | A [rdf-dataset](https://rdf.js.org/dataset-spec/)                                                         |\n| `terms`              | false                 |           | `Array`   | undefined                | An array of [rdf-terms](https://rdf.js.org/data-model-spec/#term-interface) to be displayed with priority |\n| `technicalCues`      | `technical-cues`      |           | `Boolean` | false                    | Display information such as languages or datatypes                                                        |\n| `compactMode`        | `compact-mode`        |           | `Boolean` | false                    | Group repeated properties or values for a compact visualization                                           |\n| `preferredLanguages` | `preferred-languages` |           | `Array`   | ['en', 'fr', 'de', 'it'] | A list of the languages to show in the labels, ordered by priority                                        |\n| `embedBlankNodes`    | `embed-named-nodes`   |           | `Boolean` | false                    | Recursively embeds any blank node positioned as an object                                                 |\n| `embedNamedNodes`    | `embed-blank-nodes`   |           | `Boolean` | false                    | Recursively embeds any named entity positioned as an object                                               |\n| `embedLists`         | `embed-lists`         |           | `Boolean` | false                    | Display rdf-lists as ordered lists                                                                        |\n| `highlightLanguage`  | `highlight-language`  |           | `Boolean` | false                    | Highlights literals matching prefered language                                                            |\n| `maxLevel`           | `max-level`           |           | `Number`  | 3                        | The maximum depth of the trees                                                                            |\n| `showImages`         | `show-images`         |           | `Boolean` | false                    | embeds images denoted by schema:image or foaf:img                                                         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzazuko%2Frdf-entity-webcomponent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzazuko%2Frdf-entity-webcomponent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzazuko%2Frdf-entity-webcomponent/lists"}