Skip to content

Commit

Permalink
premier commit
Browse files Browse the repository at this point in the history
  • Loading branch information
maxguen committed Oct 5, 2024
0 parents commit 081cfed
Show file tree
Hide file tree
Showing 15 changed files with 1,028 additions and 0 deletions.
13 changes: 13 additions & 0 deletions queries/artistsWorks.rq
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
PREFIX rt: <https://artbase.rhizome.org/prop/direct/>
SELECT DISTINCT ?workTitle ?creationDate ?artworkPage ?artbaseLegacyTags WHERE {
# r:Q676 is the artist Andy Cox if I need to sub it in next line for testing
?artwork rt:P29 <{{.}}> ; # artwork by artist
rdfs:label ?workTitle;
rt:P26 ?creationDateTime .
OPTIONAL { ?artwork rt:P48 ?artbaseLegacyTags . }
BIND(SUBSTR(str(?creationDateTime),1,10) AS ?creationDate)
?artworkPage schema:about ?artwork;
schema:isPartOf <https://artbase.rhizome.org/>.
}
ORDER BY (?workTitle)

11 changes: 11 additions & 0 deletions queries/index.rq
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
PREFIX rt: <https://artbase.rhizome.org/prop/direct/>
SELECT DISTINCT ?artistName ?artist ?searchTag WHERE {
BIND("Flash" AS ?searchTag)
?artwork rt:P29 ?artist .
?artist rdfs:label ?artistName .
?artwork rt:P48 ?artbaseLegacyTags .
# Compare lower-case versions of both to make it case-insensitive
FILTER CONTAINS(LCASE(?artbaseLegacyTags),LCASE(?searchTag))
}
ORDER BY (?artistName)

3 changes: 3 additions & 0 deletions site/files/Q1005.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<table class="test">

<tr><td>
3 changes: 3 additions & 0 deletions site/files/Q1167.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<table>

<tr><td>
Loading

0 comments on commit 081cfed

Please sign in to comment.