New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rdf-entity-webcomponent

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rdf-entity-webcomponent

A Web component that displays a Graph Pointer (clownface)

  • 0.7.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
decreased by-55.56%
Maintainers
1
Weekly downloads
 
Created
Source

rdf-entity-webcomponent

A Web component that visualizes a dataset in (simple) tabular formats

Usage

The element requires a single property dataset which conforms to the rdf-dataset spec

Alternatively, one can directly specify turtle in the tag

<rdf-entity id="demo">
    <script type="text/turtle">
@prefix schema: <http://schema.org/> .
<http://tbbt.ld/john> a schema:Person ;
                      schema:name "John Doe" ;
                      schema:knows [
                            schema:name "Jane" ;
                        ] .
    </script>
</rdf-entity>

Run the examples

npm install
npm run dev

See the examples folder for details

Screenshot

screenshot.png

Properties

PropertyAttributeModifiersTypeDefaultDescription
datasetfalseObjectundefinedA rdf-dataset
termsfalseArrayundefinedAn array of rdf-terms to be displayed with priority
technicalCuestechnical-cuesBooleanfalseDisplay information such as languages or datatypes
compactModecompact-modeBooleanfalseGroup repeated properties or values for a compact visualization
preferredLanguagespreferred-languagesArray['en', 'fr', 'de', 'it']A list of the languages to show in the labels, ordered by priority
embedBlankNodesembed-named-nodesBooleanfalseRecursively embeds any blank node positioned as an object
embedNamedNodesembed-blank-nodesBooleanfalseRecursively embeds any named entity positioned as an object
embedListsembed-listsBooleanfalseDisplay rdf-lists as ordered lists
highlightLanguagehighlight-languageBooleanfalseHighlights literals matching prefered language
maxLevelmax-levelNumber3The maximum depth of the trees
showImagesshow-imagesBooleanfalseembeds images denoted by schema:image or foaf:img

FAQs

Package last updated on 27 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc