Skip to content

[Specifications] Html Render

Olivier Filangi edited this page Apr 15, 2022 · 1 revision

Html Render

Html information about an uri

return String with html content with

  • URI
  • type
  • property (focus is the subject)
  • property (focus is the object)
  • values
<script>
let html = SWDiscovery(config)
           .prefix("X","https://xxxxxx.org#X")
           .prefix("Y","https://xxxxxx.org#Y")
            .something("i")
            .setList(18,19,20)
           .root()
             .something("m1")
              .isA("peak_class:Compound")
              .html()
</script>

Html information about results

<script>
let html = SWDiscovery(config)
           .prefix("X","https://xxxxxx.org#X")
           .prefix("Y","https://xxxxxx.org#Y")
            .something("i")
            .setList(18,19,20)
           .root()
             .something("m1")
              .isA("peak_class:Compound")
              .select("m1")
              .commit()
              .html().then((html) => { } )
</script>