Manage Cookie Consent

AgroPortal uses cookies to help you navigate efficiently and for audience measurement. You will find detailed information about all cookies in the "Privacy policy" link

The cookies are functional and non-optional. By staying on AgroPortal, you acknowledge the information was delivered to you.

Ontologies
SAREF
Smart Applications REFerence ontology (SAREF)
OWL
Last submission date April 22, 2022

General information

Abstract

The Smart Applications REFerence ontology (SAREF) is intended to enable interoperability between solutions from different providers and among various activity sectors in the Internet of Things (IoT), thus contributing to the development of the global digital market.

Description

The Smart Applications REFerence ontology (SAREF) is intended to enable interoperability between solutions from different providers and among various activity sectors in the Internet of Things (IoT), thus contributing to the development of the global digital market.
Initial created on February 11, 2020. For additional information, contact Maxime Lefrançois (maxime.lefrancois@emse.fr) and Laura Daniele (laura.daniele@tno.nl) and Raúl García Castro (rgarcia@fi.upm.es) and María Poveda Villalon (mpoveda@fi.upm.es).

Languages

Keywords and classes

smart applications
internet of things
semantic interoperability
device abstraction layer
smart grids

Categories and subjects

Ag Eng
Ag Res


Metrics

FAIR score
Beta

We could not collect the data from the fairness service

Submissions

Version
Modified Submitted
Actions

v3.1.1

May 29, 2020 April 22, 2022

2.1.2

May 2, 2018 May 2, 2018

Identifiers

URI

https://saref.etsi.org/core/
https://saref.etsi.org/core/
Loading

Version IRI

https://saref.etsi.org/core/v3.1.1/
https://saref.etsi.org/core/v3.1.1/
Loading

AgroPortal URI

https://agroportal.lirmm.fr/ontologies/SAREF
https://agroportal.lirmm.fr/ontologies/SAREF
Loading

Visits

Views of SAREF

No views available for SAREF.

ID https://saref.etsi.org/core/Command
https://saref.etsi.org/core/Command
https://agroportal.lirmm.fr/ontologies/SAREF/Command
Loading
Preferred name

Command

Definitions
A directive that a device must support to perform a certain function. A command may act upon a state, but does not necessarily act upon a state. For example, the ON command acts upon the ON/OFF state, but the GET command does not act upon any state, it simply gives a directive to retrieve a certain value. We propose here a list of commands that are relevant for the purpose of SAREF, but this list can be extended.
Subject Author Type Created
No notes to display
ID https://saref.etsi.org/core/Washing
https://saref.etsi.org/core/Washing
https://agroportal.lirmm.fr/ontologies/SAREF/Washing
Loading
Label Washing
Type Task
comment A type of task for which a device is designed
Add SAREF Web Widgets to your site
Jump to

Type a class name from SAREF and jump to it in AgroPortal

  • Download the quick_jump.js file and put it on your server.
  • Copy the code below and paste it to your HTML page
  • Note: If you would like to use Quick Jump across multiple ontologies
    • You can enter a comma-separated list of ontology ids
      var BP_ontology_id = "NCIt,SNOMEDCT";
    • You can set the variable to 'all' to search all ontologies in AgroPortal:
      var BP_ontology_id = "all";
  • To include definitions in the Jump To drop-down, add the following variable in Javascript:
    var BP_include_definitions = true;
  • In the code that you just pasted, make sure to change the path to the quick_jump.js file to point to the location where you put the file (relative to your HTML file)
    • For example, if you put the quick_jump.js file in the same directory as your HTML file, this is the code you would use:
      <div id="bp_quick_jump"></div>
                  <script type="text/javascript">
                      var BP_ontology_id = "SAREF";</script>
                  <script src="quick_jump.js" type="text/javascript" charset="utf-8"></script>
      

For more help visit Widget Wiki


Autocomplete

Fill your form fields with classes from SAREF

Example 1 (start typing the class name to get its full URI)

Example 2 (get the ID for a class)

Example 3 (get the preferred name for a class)

  • Download the form_complete.js file and put it on your server.
  • In the header for the page where you want the form field, include the form_complete.js In the header for the page where you want the form field, include the
  • On your form, for the fields where you want to use the class-selection widget, specify the field's class in the following format: bp_form_complete-{ontology_id_list}-{value}
    • For example, bp_form_complete-NCIT-uri will use a ontology (ontology id is acronym) and will put the class URI in the field after the user selects the class from the pull-down list.
      • Note: In addition to single ontology ids, you can use a list:
        bp_form_complete-NCIT,NCBITAXON-uri
      • OR use 'all' to search across all AgroPortal ontologies:
        bp_form_complete-all-uri
      • The autocomplete widget accesses ontology content from the latest version of the ontology.
    • You can use the following parameters to select which value will be placed into the user-visible input field:
      • uri Put the complete URI of the class (e.g., https://saref.etsi.org/core/State )
      • shortid put the short id of the class, as used in AgroPortal (e.g., "Common_Neoplasm");
      • name put the preferred name of the class (e.g., "Common Neoplasm");
  • In addition to the input element you defined, there are four hidden form elements that are created and then set when a user selects a class from the list. For example, if you create a field with this code:
      <input type="text" name="a" class="bp_form_complete-all-uri" size="100"/>
    The 'name' attribute is used to create the four following fields (note how the 'a' from the name attribute is appended to the id attribute):
    • <input type="hidden" id="a_bioportal_preferred_name">
    • <input type="hidden" id="a_bioportal_concept_id">
    • <input type="hidden" id="a_bioportal_ontology_id">
    • <input type="hidden" id="a_bioportal_full_id">
    • Additional parameters are documented on the NCBO Widget Wiki

    For more help visit NCBO Widget Wiki


    Visualization

    Display a visualization for a given class/concept in SAREF

    Copy the code below and paste it to your HTML page

    <iframe frameborder="0" src="/widgets/visualization?ontology=SAREF&class=https%3A%2F%2Fsaref.etsi.org%2Fcore%2FState&apikey=YOUR_API_KEY"></iframe>
    

    For more help visit NCBO Widget Wiki


    Tree Widget

    Display class/concept hiearchy tree with a search field for ontology SAREF

    Copy the code below and paste it to your HTML page

    <link rel="stylesheet" type="text/css" href="/widgets/jquery.ncbo.tree.css">
      <script src="/widgets/jquery.ncbo.tree-2.0.2.js"></script>
      <div id="widget_tree"></div>
      var widget_tree = $("#widget_tree").NCBOTree({
        apikey: "YOUR_API_KEY",
        ontology: "SAREF"
      });
    
    

    You can also view a detailed demonstration

    For more help visit Widget Wiki