Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2. Search for ‘endocrinology.’

 

 

 

 

3. At the right side of the page, under “Display only,” click “organizations” to show only search results that are organizations.

 Image Added

 

 

4. Let’s inspect the linked data available for the first search result.  Right-click and copy its Web address. 

Image Added

 

 

5.  Visit http://linksailor.com/ and past the address into its search box.

 

 Image Added

6. Click the green arrow.  When the next page appears, click “Show data” in the upper left-hand corner.  You should see Linksailor’s rendering of the raw data:

 

 

 Image Added

7. Scroll all the way to the bottom, where you should see some basic triples directly related to this department:

 Image Added

The facet control on the search results page was able to identify this search result as an organization because the linked data specifies that it has an rdf:type value of http://xmlns.com/foaf/0.1/Organization.  The search was able to return this resource in a search for ‘endocrinology’ because the linked data specifies an rdfs:label value containing that string.

...

8.  The SPARQL query language lets us query the structured semantic relationships directly, instead of relying on text matches.  To begin, visit http://sparql.vivo.ufl.edu/. 

Image Added

 

9. Click the first link, “Control Panel.” 

10. Click the “Select” button.

 Image Added

 

 

11.   Let’s write a query that finds organizations whose members do research on endocrinology.  Instead of searching on a text string, we’ll use the URI of a SKOS Concept for endocrinology, http://vivo.ufl.edu/individual/n84048.  Our query will find people who are specified as having this concept as a research area, and additionally ask for the organizations in which they hold positions.

Code Block
titleSPARQL for organizations
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?orgName
WHERE {
    ?person vivo:hasResearchArea <http://vivo.ufl.edu/individual/n84048> .
    ?person vivo:personInPosition ?position .
    ?position vivo:positionInOrganization ?organization .
    ?organization rdfs:label ?orgName .
}

 

Enter the following query into the text box:

...