Skip to content

Commit

Permalink
Update prefix in SPARQL queries to use example.com domain
Browse files Browse the repository at this point in the history
  • Loading branch information
remiceres committed Jul 23, 2024
1 parent cb0c3ec commit 10c3b7b
Show file tree
Hide file tree
Showing 69 changed files with 371 additions and 366 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

PREFIX : <http://stardog.com/tutorial/>
PREFIX : <http://example.com/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
{
"@context": {
"xsd": "http://www.w3.org/2001/XMLSchema#",
"ns1": "http://stardog.com/tutorial/"
"ns1": "http://example.com/"
},

"@graph":
[
{
"@id": "http://stardog.com/tutorial/George_Harrison",
"@type": "http://stardog.com/tutorial/SoloArtist"
"@id": "http://example.com/George_Harrison",
"@type": "http://example.com/SoloArtist"
},

{
"@id": "http://stardog.com/tutorial/Imagine",
"@type": "http://stardog.com/tutorial/Album",
"ns1:artist": {"@id": "http://stardog.com/tutorial/John_Lennon"},
"@id": "http://example.com/Imagine",
"@type": "http://example.com/Album",
"ns1:artist": {"@id": "http://example.com/John_Lennon"},
"ns1:date": {"@value": "1971-10-11", "@type": "xsd:date"},
"ns1:name": "Imagine"
},

{
"@id": "http://stardog.com/tutorial/John_Lennon",
"@type": "http://stardog.com/tutorial/SoloArtist"
"@id": "http://example.com/John_Lennon",
"@type": "http://example.com/SoloArtist"
},

{
"@id": "http://stardog.com/tutorial/Love_Me_Do",
"@type": "http://stardog.com/tutorial/Song",
"@id": "http://example.com/Love_Me_Do",
"@type": "http://example.com/Song",
"ns1:length": 125,
"ns1:name": "Love Me Do",
"ns1:writer": [{"@id": "http://stardog.com/tutorial/John_Lennon"}, {"@id": "http://stardog.com/tutorial/Paul_McCartney"}]
"ns1:writer": [{"@id": "http://example.com/John_Lennon"}, {"@id": "http://example.com/Paul_McCartney"}]
},

{
"@id": "http://stardog.com/tutorial/McCartney",
"@type": "http://stardog.com/tutorial/Album",
"ns1:artist": {"@id": "http://stardog.com/tutorial/Paul_McCartney"},
"@id": "http://example.com/McCartney",
"@type": "http://example.com/Album",
"ns1:artist": {"@id": "http://example.com/Paul_McCartney"},
"ns1:date": {"@value": "1970-04-17", "@type": "xsd:date"},
"ns1:name": "McCartney"
},

{
"@id": "http://stardog.com/tutorial/Paul_McCartney",
"@type": "http://stardog.com/tutorial/SoloArtist"
"@id": "http://example.com/Paul_McCartney",
"@type": "http://example.com/SoloArtist"
},

{
"@id": "http://stardog.com/tutorial/Please_Please_Me",
"@type": "http://stardog.com/tutorial/Album",
"ns1:artist": {"@id": "http://stardog.com/tutorial/The_Beatles"},
"@id": "http://example.com/Please_Please_Me",
"@type": "http://example.com/Album",
"ns1:artist": {"@id": "http://example.com/The_Beatles"},
"ns1:date": {"@value": "1963-03-22", "@type": "xsd:date"},
"ns1:name": "Please Please Me",
"ns1:track": {"@id": "http://stardog.com/tutorial/Love_Me_Do"}
"ns1:track": {"@id": "http://example.com/Love_Me_Do"}
},

{
"@id": "http://stardog.com/tutorial/Ringo_Starr",
"@type": "http://stardog.com/tutorial/SoloArtist"
"@id": "http://example.com/Ringo_Starr",
"@type": "http://example.com/SoloArtist"
},

{
"@id": "http://stardog.com/tutorial/The_Beatles",
"@type": "http://stardog.com/tutorial/Band",
"ns1:member": [{"@id": "http://stardog.com/tutorial/John_Lennon"}, {"@id": "http://stardog.com/tutorial/Paul_McCartney"}, {"@id": "http://stardog.com/tutorial/Ringo_Starr"}, {"@id": "http://stardog.com/tutorial/George_Harrison"}],
"@id": "http://example.com/The_Beatles",
"@type": "http://example.com/Band",
"ns1:member": [{"@id": "http://example.com/John_Lennon"}, {"@id": "http://example.com/Paul_McCartney"}, {"@id": "http://example.com/Ringo_Starr"}, {"@id": "http://example.com/George_Harrison"}],
"ns1:name": "The Beatles"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,62 +3,62 @@
]>

<rdf:RDF
xmlns:ns1='http://stardog.com/tutorial/'
xmlns:ns1='http://example.com/'
xmlns:ft='http://ns.inria.fr/sparql-template/format/rdfxml/'
xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

<rdf:Description rdf:about='http://stardog.com/tutorial/George_Harrison'>
<rdf:type rdf:resource='http://stardog.com/tutorial/SoloArtist' />
<rdf:Description rdf:about='http://example.com/George_Harrison'>
<rdf:type rdf:resource='http://example.com/SoloArtist' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/Imagine'>
<ns1:artist rdf:resource='http://stardog.com/tutorial/John_Lennon' />
<rdf:Description rdf:about='http://example.com/Imagine'>
<ns1:artist rdf:resource='http://example.com/John_Lennon' />
<ns1:date rdf:datatype='&xsd;date'>1971-10-11</ns1:date>
<ns1:name>Imagine</ns1:name>
<rdf:type rdf:resource='http://stardog.com/tutorial/Album' />
<rdf:type rdf:resource='http://example.com/Album' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/John_Lennon'>
<rdf:type rdf:resource='http://stardog.com/tutorial/SoloArtist' />
<rdf:Description rdf:about='http://example.com/John_Lennon'>
<rdf:type rdf:resource='http://example.com/SoloArtist' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/Love_Me_Do'>
<rdf:Description rdf:about='http://example.com/Love_Me_Do'>
<ns1:length rdf:datatype='&xsd;integer'>125</ns1:length>
<ns1:name>Love Me Do</ns1:name>
<ns1:writer rdf:resource='http://stardog.com/tutorial/John_Lennon' />
<ns1:writer rdf:resource='http://stardog.com/tutorial/Paul_McCartney' />
<rdf:type rdf:resource='http://stardog.com/tutorial/Song' />
<ns1:writer rdf:resource='http://example.com/John_Lennon' />
<ns1:writer rdf:resource='http://example.com/Paul_McCartney' />
<rdf:type rdf:resource='http://example.com/Song' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/McCartney'>
<ns1:artist rdf:resource='http://stardog.com/tutorial/Paul_McCartney' />
<rdf:Description rdf:about='http://example.com/McCartney'>
<ns1:artist rdf:resource='http://example.com/Paul_McCartney' />
<ns1:date rdf:datatype='&xsd;date'>1970-04-17</ns1:date>
<ns1:name>McCartney</ns1:name>
<rdf:type rdf:resource='http://stardog.com/tutorial/Album' />
<rdf:type rdf:resource='http://example.com/Album' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/Paul_McCartney'>
<rdf:type rdf:resource='http://stardog.com/tutorial/SoloArtist' />
<rdf:Description rdf:about='http://example.com/Paul_McCartney'>
<rdf:type rdf:resource='http://example.com/SoloArtist' />
</rdf:Description>

<ns1:Album rdf:about='http://stardog.com/tutorial/Please_Please_Me'>
<ns1:artist rdf:resource='http://stardog.com/tutorial/The_Beatles' />
<ns1:Album rdf:about='http://example.com/Please_Please_Me'>
<ns1:artist rdf:resource='http://example.com/The_Beatles' />
<ns1:date rdf:datatype='&xsd;date'>1963-03-22</ns1:date>
<ns1:name>Please Please Me</ns1:name>
<ns1:track rdf:resource='http://stardog.com/tutorial/Love_Me_Do' />
<ns1:track rdf:resource='http://example.com/Love_Me_Do' />
</ns1:Album>

<rdf:Description rdf:about='http://stardog.com/tutorial/Ringo_Starr'>
<rdf:type rdf:resource='http://stardog.com/tutorial/SoloArtist' />
<rdf:Description rdf:about='http://example.com/Ringo_Starr'>
<rdf:type rdf:resource='http://example.com/SoloArtist' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/The_Beatles'>
<ns1:member rdf:resource='http://stardog.com/tutorial/George_Harrison' />
<ns1:member rdf:resource='http://stardog.com/tutorial/John_Lennon' />
<ns1:member rdf:resource='http://stardog.com/tutorial/Paul_McCartney' />
<ns1:member rdf:resource='http://stardog.com/tutorial/Ringo_Starr' />
<rdf:Description rdf:about='http://example.com/The_Beatles'>
<ns1:member rdf:resource='http://example.com/George_Harrison' />
<ns1:member rdf:resource='http://example.com/John_Lennon' />
<ns1:member rdf:resource='http://example.com/Paul_McCartney' />
<ns1:member rdf:resource='http://example.com/Ringo_Starr' />
<ns1:name>The Beatles</ns1:name>
<rdf:type rdf:resource='http://stardog.com/tutorial/Band' />
<rdf:type rdf:resource='http://example.com/Band' />
</rdf:Description>

</rdf:RDF>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PREFIX : <http://stardog.com/tutorial/>
PREFIX : <http://example.com/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

PREFIX : <http://stardog.com/tutorial/>
PREFIX : <http://example.com/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
{
"@context": {
"xsd": "http://www.w3.org/2001/XMLSchema#",
"ns1": "http://stardog.com/tutorial/"
"ns1": "http://example.com/"
},

"@graph":
[
{
"@id": "http://stardog.com/tutorial/George_Harrison",
"@type": "http://stardog.com/tutorial/SoloArtist"
"@id": "http://example.com/George_Harrison",
"@type": "http://example.com/SoloArtist"
},

{
"@id": "http://stardog.com/tutorial/Imagine",
"@type": "http://stardog.com/tutorial/Album",
"ns1:artist": {"@id": "http://stardog.com/tutorial/John_Lennon"},
"@id": "http://example.com/Imagine",
"@type": "http://example.com/Album",
"ns1:artist": {"@id": "http://example.com/John_Lennon"},
"ns1:date": {"@value": "1971-10-11", "@type": "xsd:date"},
"ns1:name": "Imagine"
},

{
"@id": "http://stardog.com/tutorial/John_Lennon",
"@type": "http://stardog.com/tutorial/SoloArtist"
"@id": "http://example.com/John_Lennon",
"@type": "http://example.com/SoloArtist"
},

{
"@id": "http://stardog.com/tutorial/Love_Me_Do",
"@type": "http://stardog.com/tutorial/Song",
"@id": "http://example.com/Love_Me_Do",
"@type": "http://example.com/Song",
"ns1:length": 125,
"ns1:name": "Love Me Do",
"ns1:writer": [{"@id": "http://stardog.com/tutorial/John_Lennon"}, {"@id": "http://stardog.com/tutorial/Paul_McCartney"}]
"ns1:writer": [{"@id": "http://example.com/John_Lennon"}, {"@id": "http://example.com/Paul_McCartney"}]
},

{
"@id": "http://stardog.com/tutorial/McCartney",
"@type": "http://stardog.com/tutorial/Album",
"ns1:artist": {"@id": "http://stardog.com/tutorial/Paul_McCartney"},
"@id": "http://example.com/McCartney",
"@type": "http://example.com/Album",
"ns1:artist": {"@id": "http://example.com/Paul_McCartney"},
"ns1:date": {"@value": "1970-04-17", "@type": "xsd:date"},
"ns1:name": "McCartney"
},

{
"@id": "http://stardog.com/tutorial/Paul_McCartney",
"@type": "http://stardog.com/tutorial/SoloArtist"
"@id": "http://example.com/Paul_McCartney",
"@type": "http://example.com/SoloArtist"
},

{
"@id": "http://stardog.com/tutorial/Please_Please_Me",
"@type": "http://stardog.com/tutorial/Album",
"ns1:artist": {"@id": "http://stardog.com/tutorial/The_Beatles"},
"@id": "http://example.com/Please_Please_Me",
"@type": "http://example.com/Album",
"ns1:artist": {"@id": "http://example.com/The_Beatles"},
"ns1:date": {"@value": "1963-03-22", "@type": "xsd:date"},
"ns1:name": "Please Please Me",
"ns1:track": {"@id": "http://stardog.com/tutorial/Love_Me_Do"}
"ns1:track": {"@id": "http://example.com/Love_Me_Do"}
},

{
"@id": "http://stardog.com/tutorial/Ringo_Starr",
"@type": "http://stardog.com/tutorial/SoloArtist"
"@id": "http://example.com/Ringo_Starr",
"@type": "http://example.com/SoloArtist"
},

{
"@id": "http://stardog.com/tutorial/The_Beatles",
"@type": "http://stardog.com/tutorial/Band",
"ns1:member": [{"@id": "http://stardog.com/tutorial/John_Lennon"}, {"@id": "http://stardog.com/tutorial/Paul_McCartney"}, {"@id": "http://stardog.com/tutorial/Ringo_Starr"}, {"@id": "http://stardog.com/tutorial/George_Harrison"}],
"@id": "http://example.com/The_Beatles",
"@type": "http://example.com/Band",
"ns1:member": [{"@id": "http://example.com/John_Lennon"}, {"@id": "http://example.com/Paul_McCartney"}, {"@id": "http://example.com/Ringo_Starr"}, {"@id": "http://example.com/George_Harrison"}],
"ns1:name": "The Beatles"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,62 +3,62 @@
]>

<rdf:RDF
xmlns:ns1='http://stardog.com/tutorial/'
xmlns:ns1='http://example.com/'
xmlns:ft='http://ns.inria.fr/sparql-template/format/rdfxml/'
xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

<rdf:Description rdf:about='http://stardog.com/tutorial/George_Harrison'>
<rdf:type rdf:resource='http://stardog.com/tutorial/SoloArtist' />
<rdf:Description rdf:about='http://example.com/George_Harrison'>
<rdf:type rdf:resource='http://example.com/SoloArtist' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/Imagine'>
<ns1:artist rdf:resource='http://stardog.com/tutorial/John_Lennon' />
<rdf:Description rdf:about='http://example.com/Imagine'>
<ns1:artist rdf:resource='http://example.com/John_Lennon' />
<ns1:date rdf:datatype='&xsd;date'>1971-10-11</ns1:date>
<ns1:name>Imagine</ns1:name>
<rdf:type rdf:resource='http://stardog.com/tutorial/Album' />
<rdf:type rdf:resource='http://example.com/Album' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/John_Lennon'>
<rdf:type rdf:resource='http://stardog.com/tutorial/SoloArtist' />
<rdf:Description rdf:about='http://example.com/John_Lennon'>
<rdf:type rdf:resource='http://example.com/SoloArtist' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/Love_Me_Do'>
<rdf:Description rdf:about='http://example.com/Love_Me_Do'>
<ns1:length rdf:datatype='&xsd;integer'>125</ns1:length>
<ns1:name>Love Me Do</ns1:name>
<ns1:writer rdf:resource='http://stardog.com/tutorial/John_Lennon' />
<ns1:writer rdf:resource='http://stardog.com/tutorial/Paul_McCartney' />
<rdf:type rdf:resource='http://stardog.com/tutorial/Song' />
<ns1:writer rdf:resource='http://example.com/John_Lennon' />
<ns1:writer rdf:resource='http://example.com/Paul_McCartney' />
<rdf:type rdf:resource='http://example.com/Song' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/McCartney'>
<ns1:artist rdf:resource='http://stardog.com/tutorial/Paul_McCartney' />
<rdf:Description rdf:about='http://example.com/McCartney'>
<ns1:artist rdf:resource='http://example.com/Paul_McCartney' />
<ns1:date rdf:datatype='&xsd;date'>1970-04-17</ns1:date>
<ns1:name>McCartney</ns1:name>
<rdf:type rdf:resource='http://stardog.com/tutorial/Album' />
<rdf:type rdf:resource='http://example.com/Album' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/Paul_McCartney'>
<rdf:type rdf:resource='http://stardog.com/tutorial/SoloArtist' />
<rdf:Description rdf:about='http://example.com/Paul_McCartney'>
<rdf:type rdf:resource='http://example.com/SoloArtist' />
</rdf:Description>

<ns1:Album rdf:about='http://stardog.com/tutorial/Please_Please_Me'>
<ns1:artist rdf:resource='http://stardog.com/tutorial/The_Beatles' />
<ns1:Album rdf:about='http://example.com/Please_Please_Me'>
<ns1:artist rdf:resource='http://example.com/The_Beatles' />
<ns1:date rdf:datatype='&xsd;date'>1963-03-22</ns1:date>
<ns1:name>Please Please Me</ns1:name>
<ns1:track rdf:resource='http://stardog.com/tutorial/Love_Me_Do' />
<ns1:track rdf:resource='http://example.com/Love_Me_Do' />
</ns1:Album>

<rdf:Description rdf:about='http://stardog.com/tutorial/Ringo_Starr'>
<rdf:type rdf:resource='http://stardog.com/tutorial/SoloArtist' />
<rdf:Description rdf:about='http://example.com/Ringo_Starr'>
<rdf:type rdf:resource='http://example.com/SoloArtist' />
</rdf:Description>

<rdf:Description rdf:about='http://stardog.com/tutorial/The_Beatles'>
<ns1:member rdf:resource='http://stardog.com/tutorial/George_Harrison' />
<ns1:member rdf:resource='http://stardog.com/tutorial/John_Lennon' />
<ns1:member rdf:resource='http://stardog.com/tutorial/Paul_McCartney' />
<ns1:member rdf:resource='http://stardog.com/tutorial/Ringo_Starr' />
<rdf:Description rdf:about='http://example.com/The_Beatles'>
<ns1:member rdf:resource='http://example.com/George_Harrison' />
<ns1:member rdf:resource='http://example.com/John_Lennon' />
<ns1:member rdf:resource='http://example.com/Paul_McCartney' />
<ns1:member rdf:resource='http://example.com/Ringo_Starr' />
<ns1:name>The Beatles</ns1:name>
<rdf:type rdf:resource='http://stardog.com/tutorial/Band' />
<rdf:type rdf:resource='http://example.com/Band' />
</rdf:Description>

</rdf:RDF>
Loading

0 comments on commit 10c3b7b

Please sign in to comment.