Skip to content

Latest commit

 

History

History
80 lines (60 loc) · 2.38 KB

File metadata and controls

80 lines (60 loc) · 2.38 KB

Expert-System

This is the repository for the paper "Providing Humanitarian Relief Support through Knowledge Graphs"

Table of contents

  1. Expert System Overview
  2. Schemas
  3. Instance Data
    1. Event View
    2. Expert View
  4. Interfaces
    1. Follow-your-Nose Search
    2. Expert Similarity
  5. Competency Questions

Expert System Overview

Expert System Overview

Schemas

Expert Knowledge Graph Schema

Instance Data

Event View

Instance Data of an event

Expert View

Instance Data of an expert

Interfaces

Follow-your-Nose Search

Follow-your-Nose

Expert Similarity Search

Expert Similarity

Competency Questions

endpoint: http://stko-roy.geog.ucsb.edu:7202/sparql

repository: KnowWhereGraph-V1

interface:

Query

Query One

“Who has expertise related to diseases in the Sahel region?”

PREFIX kwgr: <http://stko-roy.geog.ucsb.edu/lod/resource/>
PREFIX kwg-ont: <http://stko-roy.geog.ucsb.edu/lod/ontology/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?expert_fullName ?title ?affiliation ?expertise_topic
where { 
    ?expert a kwg-ont:Expert ;
            kwg-ont:fullName ?expert_fullName ;
            kwg-ont:hasTitle/rdfs:label ?title;
            kwg-ont:hasAffiliation/rdfs:label ?affiliation;
            kwg-ont:hasExpertise ?expertise.
    ?expertise kwg-ont:hasTopic/rdfs:label ?expertise_topic.
    ?expertise kwg-ont:scopedBy/kwg-ont:hasSpatialScope kwgr:Earth.North_America.USA.5_1 .
    filter(regex(?expertise_topic, "disease", "i"))
}

Query Two

“Show me all Experts in Hurricane Events.”

  PREFIX kwgr: <http://stko-roy.geog.ucsb.edu/lod/resource/>
  PREFIX kwg-ont: <http://stko-roy.geog.ucsb.edu/lod/ontology/>
  PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
 
 select ?expert_name where {
      ?expert kwg-ont:hasExpertise kwgr:topic.hurricanes ;  
        rdfs:label ?expert_name . 
}