SHARE
TWEET

Untitled

a guest Nov 27th, 2019 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PREFIX BASE: <http://schemas.ogf.org/nml/2013/05/base#>
  2. PREFIX ndl-topology-owl: <http://cinegrid.uvalight.nl/owl/ndl-topology.owl#>
  3. PREFIX sdndl: <http://www.gsi.dit.upm.es/ontologies/sdndl#>
  4. PREFIX sdndlcao: <http://www.ctb.upm.es/ontologies/sdndlcao#>
  5. PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
  6.  
  7. SELECT DISTINCT STR(?mac_address) AS ?mac_address
  8.                 STR(?mac_manufacturer) AS ?mac_manufacturer
  9.                 STR(?ip_address) AS ?ip_address
  10.                 STR(?operating_system) AS ?operating_system
  11.                 STR(?hostname) AS ?hostname
  12. WHERE
  13.       {
  14.       ?service_instance
  15. #sdndl:portNumber "3306"^^xsd:integer;
  16.                         sdndlcao:serviceName "mysql"^^xsd:string;
  17.                         sdndlcao:serviceOfDevice ?device_instance.
  18.  
  19.       ?device_instance sdndl:hardwareAddress ?mac_address;
  20.                        sdndlcao:macManufacturer ?mac_manufacturer;
  21.                        sdndl:ipAddress ?ip_address;
  22.                        sdndlcao:operatingSystem ?operating_system;
  23.                        sdndlcao:hostname ?hostname.
  24.  
  25.       }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top