dreamkg

DREAM-KG

Develop Dynamic, REsponsive, Adaptive, and Multifaceted Knowledge Graphs to Address Homelessness With Explainable AI

32.5K triples
14 classes
34 properties
1.8K subjects

DREAM-KG (Dynamic, REsponsive, Adaptive, and Multifaceted Knowledge Graph) is an Open Knowledge Network addressing homelessness for case workers, service providers, law enforcement, nonprofits, and people experiencing homelessness. The graph integrates 87 social service organizations with their locations, contact information, and 87 distinct service offerings, structured using Schema.org vocabulary for interoperability. It contains 32,460 triples across 1,764 entities, primarily modeling service availability (609 opening hours specifications), service categories (157 CategoryCodes), and target audiences (81 audience types). Data is extensively linked to Aunt Bertha's social services directory (1,392 external references) and employs W3C PROV ontology for provenance tracking of all entities through transformation activities. Services are geocoded with latitude/longitude, categorized by populations served (abuse survivors, adults, teens, African American communities).

List services that are available on Saturday or Sunday
PREFIX dreamkg: <http://www.semanticweb.org/dreamkg/ijcai/>
PREFIX sdo: <http://schema.org/>
SELECT DISTINCT ?service {
  ?service sdo:hoursAvailable ?hours .
  ?hours sdo:dayOfWeek ?dow .
  FILTER(?dow IN ("Saturday","Sunday"))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?dow")
  v3("?hours")
  v2("?service"):::projected 
  list0c2(["Sunday"]):::literal 
  list0c1(["Saturday"]):::literal 
  list0c1 --o f0
  list0c2 --o f0
  f0[[" in "]]
  f0 --> v1
  v2 --"schema:hoursAvailable"-->  v3
  v3 --"schema:dayOfWeek"-->  v1
List services that are provided in more than one language
PREFIX dreamkg: <http://www.semanticweb.org/dreamkg/ijcai/>
PREFIX sdo: <http://schema.org/>
SELECT ?service (GROUP_CONCAT(DISTINCT ?languageLabel; separator=" / ") AS ?languages) 
WHERE {
  ?service sdo:category ?language .
  ?language sdo:inCodeSet dreamkg:_CategoryCodeSet_Languages .
  ?language sdo:codeValue ?languageLabel
}
GROUP BY ?service
HAVING(COUNT(DISTINCT ?languageLabel) > 1)
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v4("?_anon_958ac33b45554f888316cfac7c72575b4")
  v2("?language")
  v3("?languageLabel"):::projected 
  v5("?languages")
  v1("?service"):::projected 
  a1((" "))
  c4([http://www.semanticweb.org/dreamkg/ijcai/_CategoryCodeSet_Languages]):::iri 
  f0[[" > '1^^xsd:integer'"]]
  f0 --> a1
  v1 --"schema:category"-->  v2
  v2 --"schema:inCodeSet"-->  c4
  v2 --"schema:codeValue"-->  v3
  bind3[/"count(?languageLabel)"/]
  v3 --o bind3
  bind3 --as--o v4
  bind4[/"?languageLabel"/]
  v3 --o bind4
  bind4 --as--o v5
SPARQL Endpoint https://frink.apps.renci.org/dreamkg/sparql
Triple Pattern Fragments https://frink.apps.renci.org/ldf/dreamkg
ClassEntities
PropertyTriples