Skip to content

Instantly share code, notes, and snippets.

@hochgi
Last active November 21, 2017 17:27
Show Gist options
  • Save hochgi/05af93055c555ae68f96189e957043b2 to your computer and use it in GitHub Desktop.
Save hochgi/05af93055c555ae68f96189e957043b2 to your computer and use it in GitHub Desktop.
RDF sample data to demonstrate CM-Well's yg pipe feature
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix locn: <http://www.w3.org/ns/locn#> .
@prefix madsrdf: <http://www.loc.gov/mads/rdf/v1#> .
@prefix geonames: <http://www.geonames.org/ontology#> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix xmpl: <http://ont.example.org/2017/v1.0#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix cc: <http://creativecommons.org/ns#> .
<http://example.org/Individuals/Donald_Trump> a foaf:Person ;
madsrdf:birthPlace <http://sws.geonames.org/5122525/> .
<http://example.org/Residence/fedcba98-7654-3210-1234-56789abcdef0> a xmpl:Residence ;
locn:location <http://sws.geonames.org/5122525/> ;
xmpl:hasTenant <http://example.org/Individuals/Donald_Trump> ;
time:hasBeginning "2017-01-20"^^xsd:date ;
time:hasEnd "TBD" .
<http://sws.geonames.org/5122525/> a geonames:Feature ;
rdfs:isDefinedBy <http://sws.geonames.org/5122525/about.rdf> ;
geonames:name "Jamaica Hospital Medical Center" ;
geonames:alternateName "Jamaica Hospital" ;
geonames:officialName "Jamaica Hospital Medical Center"@en ;
geonames:featureClass geonames:S ;
geonames:featureCode geonames:S\.HSP ;
geonames:countryCode "US" ;
geo:lat "40.70078"^^xsd:decimal ;
geo:long "-73.81635"^^xsd:decimal ;
geo:alt "18"^^xsd:decimal ;
geonames:parentFeature <http://sws.geonames.org/5133268/> ;
geonames:parentCountry <http://sws.geonames.org/6252001/> ;
geonames:parentADM1 <http://sws.geonames.org/5128638/> ;
geonames:parentADM2 <http://sws.geonames.org/5133268/> ;
geonames:nearbyFeatures <http://sws.geonames.org/5122525/nearby.rdf> ;
geonames:locationMap <http://www.geonames.org/5122525/jamaica-hospital-medical-center.html> .
<http://sws.geonames.org/5122525/about.rdf> a foaf:Document ;
foaf:primaryTopic <http://sws.geonames.org/5122525/> ;
cc:license <http://creativecommons.org/licenses/by/3.0/> ;
cc:attributionURL <http://sws.geonames.org/5122525/> ;
cc:attributionName "GeoNames"^^xsd:string ;
dc:created "2006-01-15"^^xsd:date ;
dc:modified "2016-12-06"^^xsd:date .
<http://sws.geonames.org/4140704/> a <http://www.geonames.org/ontology#Feature> ;
rdfs:isDefinedBy <http://sws.geonames.org/4140704/about.rdf> ;
geonames:name "The White House" ;
geonames:alternateName "Executive Mansion", "Presidents House", "Presidents Palace", "White House"@en ;
geonames:officialName "Maison Blanche"@fr, "The White House"@en, "Weißes Haus"@de ;
geonames:featureClass geonames:S ;
geonames:featureCode geonames:S\.BLDG ;
geonames:countryCode "US" ;
geo:lat "38.89761"^^xsd:decimal ;
geo:long "-77.03637"^^xsd:decimal ;
geo:alt "17"^^xsd:decimal ;
geonames:parentFeature <http://sws.geonames.org/4140987/> ;
geonames:parentCountry <http://sws.geonames.org/6252001/> ;
geonames:parentADM1 <http://sws.geonames.org/4138106/> ;
geonames:parentADM2 <http://sws.geonames.org/4140987/> ;
geonames:nearbyFeatures <http://sws.geonames.org/4140704/nearby.rdf> ;
geonames:locationMap <http://www.geonames.org/4140704/the-white-house.html> .
<http://sws.geonames.org/4140704/about.rdf> a foaf:Document ;
foaf:primaryTopic <http://sws.geonames.org/4140704/> ;
cc:license <http://creativecommons.org/licenses/by/3.0/> ;
cc:attributionURL <http://sws.geonames.org/4140704/> ;
cc:attributionName "GeoNames"^^xsd:string ;
dc:created "2006-01-15"^^xsd:date ;
dc:modified "2014-08-04"^^xsd:date .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment