Changes between Version 16 and Version 17 of RdsWipSampleQueries

Show
Ignore:
Timestamp:
12/22/08 14:26:50 (11 years ago)
Author:
jowik (IP: 193.212.132.34)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RdsWipSampleQueries

    v16 v17  
    6565==== 2. Get me all subclasses of PUMP, in a typical OWL format ==== 
    6666 
    67 The following query serves to extract a (tiny) subset of the Reference Data Library, returning RDF data with `rdfs:label` applied for the names of the reference entitites. To see the output right away, [http://rdl.rdlfacade.org/data?query=PREFIX+owl%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E%0D%0APREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0APREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0D%0APREFIX+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0D%0APREFIX+rdl%3A+%3Chttp%3A%2F%2Frds.posccaesar.org%2F2008%2F06%2FOWL%2FRDL%23%3E%0D%0APREFIX+part2%3A+%3Chttp%3A%2F%2Frds.posccaesar.org%2F2008%2F02%2FOWL%2FISO-15926-2_2003%23%3E%0D%0APREFIX+base%3A+%3Chttp%3A%2F%2Frds.posccaesar.org%2F2008%2F06%2FOWL%2FRDL%3E%0D%0APREFIX+dc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+rdswip%3A+%3Chttp%3A%2F%2Frdswip.posccaesar.org%2Fpcardl%23%3E%0D%0ACONSTRUCT%0D%0A{%0D%0A++rdl%3ARDL_Fragment_Test+a+owl%3AOntology+.%0D%0A++%3Fsubclass+a+owl%3AClass+.%0D%0A++%3Fsuperclass+a+owl%3AClass+.%0D%0A++%3Fsubclass+rdfs%3AsubClassOf+%3Fsuperclass+.%0D%0A++%3Fsubclass+rdfs%3Alabel+%3FsubclassDesignation+.%0D%0A++%3Fsuperclass+rdfs%3Alabel+%3FsuperclassDesignation+.%0D%0A}%0D%0AWHERE+%0D%0A{%0D%0A++%3Fspecialization+part2%3AhasSuperclass+%3Fsuperclass+.%0D%0A++%3Fspecialization+part2%3AhasSubclass+%3Fsubclass+.%0D%0A++%3Fsubclass+rdswip%3AhasIdPCA+%3FsubclassIdPCA+.%0D%0A++%3Fsubclass+rdswip%3AhasDesignation+%3FsubclassDesignation+.%0D%0A++%3Fsuperclass+rdswip%3AhasIdPCA+%3FsuperclassIdPCA+.%0D%0A++%3Fsuperclass+rdswip%3AhasDesignation+%3FsuperclassDesignation+.%0D%0A++%3Fsuperclass+rdswip%3AhasDesignation+%22PUMP%22++%0D%0A}%0D%0Alimit+100&stylesheet=http%3A%2F%2Frdswip.posccaesar.org%2Fpresentation%2Fscripts%2Fsimple%2Fsparql-presentation.xsl click here]. If you save the resulting page from your browser to a file, say `pumps.owl`, you can load it in an OWL application, such as the on-line [http://pellet.owldl.com/owlsight/ OwlSight] or the [http://protege.stanford.edu/ Protégé] editor. 
     67The following query serves to extract a (tiny) subset of the Reference Data Library, returning RDF data with `rdfs:label` applied for the names of the reference entitites. To see the output right away, [http://rdl.rdlfacade.org/data?query=PREFIX+owl%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E%0D%0APREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0APREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0D%0APREFIX+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0D%0APREFIX+dm%3A+%3Chttp%3A%2F%2Fdm.rdlfacade.org%2Fdata%23%3E%0D%0APREFIX+dc%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+rdl%3A+%3Chttp%3A%2F%2Frds.posccaesar.org%2F2008%2F06%2FOWL%2FRDL%23%3E%0D%0APREFIX+base%3A+%3Chttp%3A%2F%2Frdl.rdlfacade.org%2Fdata%3E%0D%0ACONSTRUCT%0D%0A{%0D%0A++rdl%3ARDL_Fragment_Test+a+owl%3AOntology+.%0D%0A++%3Fsubclass+a+owl%3AClass+.%0D%0A++%3Fsuperclass+a+owl%3AClass+.%0D%0A++%3Fsubclass+rdfs%3AsubClassOf+%3Fsuperclass+.%0D%0A++%3Fsubclass+rdfs%3Alabel+%3FsubclassDesignation+.%0D%0A++%3Fsuperclass+rdfs%3Alabel+%3FsuperclassDesignation+.%0D%0A}%0D%0AWHERE+%0D%0A{%0D%0A++%3Fspecialization+dm%3AhasSuperclass+%3Fsuperclass+.%0D%0A++%3Fspecialization+dm%3AhasSubclass+%3Fsubclass+.%0D%0A++%3Fsubclass+rdl%3AhasIdPCA+%3FsubclassIdPCA+.%0D%0A++%3Fsubclass+rdl%3AhasDesignation+%3FsubclassDesignation+.%0D%0A++%3Fsuperclass+rdl%3AhasIdPCA+%3FsuperclassIdPCA+.%0D%0A++%3Fsuperclass+rdl%3AhasDesignation+%3FsuperclassDesignation+.%0D%0A++%3Fsuperclass+rdl%3AhasDesignation+%22PUMP%22++%0D%0A}%0D%0Alimit+100&stylesheet=%2Fpresentation%2Fscripts%2Fmain%2Fsparql-presentation.xsl click here]. If you save the resulting page from your browser to a file, say `pumps.owl`, you can load it in an OWL application, such as the on-line [http://pellet.owldl.com/owlsight/ OwlSight] or the [http://protege.stanford.edu/ Protégé] editor. 
    6868 
    6969{{{ 
     
    7272PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
    7373PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
     74PREFIX dm: <http://dm.rdlfacade.org/data#> 
     75PREFIX dc: <http://purl.org/dc/elements/1.1/> 
    7476PREFIX rdl: <http://rds.posccaesar.org/2008/06/OWL/RDL#> 
    75 PREFIX dm: <http://dm.rdlfacade.org/data#> 
    76 PREFIX base: <http://rds.posccaesar.org/2008/06/OWL/RDL> 
    77 PREFIX dc: <http://purl.org/dc/elements/1.1/> 
    78 PREFIX rdl: <http://rdl.rdlfacade.org/data#> 
     77PREFIX base: <http://rdl.rdlfacade.org/data> 
    7978CONSTRUCT 
    8079{ 
Home
About PCA
Reference Data Services (RDS)
RDS Operations Support
Meetings and Conferences
ISO 15926
Special Interest Groups
Technical Advisory Board
Norwegian Continental Shelf Std
Projects
Search