Explore and Validate an RDF Graph

You can view the list of RDF graphs to which you have access in Graph Studio and explore their properties.

Also, you can execute SPARQL queries on an RDF graph in the Query Playground page.
  1. Navigate to the Graphs page.
  2. Select the RDF Graph tab.
    All the RDF graphs to which you have access are displayed.
  3. Select the required row having the Type as RDF.
    The graph properties are displayed on the bottom panel as shown:

    Description of explore_rdf_graph.png follows
    Description of the illustration explore_rdf_graph.png

    You can view the RDF statements that are loaded for the graph.

  4. Optionally, click open the additional options menu to perform any of the following actions.
    • Click Rename Graph to rename an RDF graph.
    • Click Share Graph to share an RDF graph with another user. See Share an RDF Graph for more information.
    • Click Append to Graph to append RDF data obtained from OCI Object Storage to an existing RDF graph. See Append RDF Data to an RDF Graph for more information.
    • Click Create PGQL Property Graph to create a property graph from an RDF graph.
    • Click Delete to delete an RDF graph.

      It is important to note that when an RDF graph is deleted, Graph Studio removes all the RDF graph collections and entailments using this RDF graph. An appropriate warning is displayed as shown:

      Description of rdf_graph_delete.png follows
      Description of the illustration rdf_graph_delete.png
  5. Optionally, click the </> Query button and run any SPARQL query on the selected RDF graph type in the Query Playground page.

    For example:

    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
    PREFIX ms: <http://www.example.com/moviestream/>
    SELECT DISTINCT ?gname
    WHERE {
    ?movie ms:actor/ms:name "Keanu Reeves" ;
    ms:genre/ms:genreName ?gname .
    }
    ORDER BY ASC(?gname)

    The query gets executed and the resulting query output is displayed.