Last active
August 29, 2015 13:56
-
-
Save ericmoritz/9229887 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "recent_rdf_store.rq returns nothing: "; arq --data=index.ttl --query=recent_rdf_store.rq | |
echo | |
echo "recent.rq returns two rows in arq: "; arq --data=index.ttl --query=recent.rq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<http://localhost:5000/> <http://memesearch.herokuapp.com/vocab/meme#recent> _:b0 . | |
<http://localhost:5000/meme/DiaODFKb> <http://schema.org/image> "http://i.imgur.com/DiaODFKb.jpg" . | |
<http://localhost:5000/meme/DiaODFKb> <http://schema.org/name> "I shall not pass." . | |
<http://localhost:5000/meme/DiaODFKb> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://memesearch.herokuapp.com/vocab/meme#Meme> . | |
<http://localhost:5000/meme/DiaODFKb> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://memesearch.herokuapp.com/vocab/meme#MemeItemPage> . | |
<http://localhost:5000/meme/DiaODFKb> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/hydra/core#Link> . | |
<http://localhost:5000/meme/DiaODFKb> <http://www.w3.org/1999/xhtml/vocab#start> <http://localhost:5000/> . | |
<http://localhost:5000/meme/bn0x9np> <http://schema.org/image> "http://i.imgur.com/ej3mFrZb.jpg" . | |
<http://localhost:5000/meme/bn0x9np> <http://schema.org/name> "Its an unbearably small world" . | |
<http://localhost:5000/meme/bn0x9np> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://memesearch.herokuapp.com/vocab/meme#Meme> . | |
<http://localhost:5000/meme/bn0x9np> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://memesearch.herokuapp.com/vocab/meme#MemeItemPage> . | |
<http://localhost:5000/meme/bn0x9np> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/hydra/core#Link> . | |
<http://localhost:5000/meme/bn0x9np> <http://www.w3.org/1999/xhtml/vocab#start> <http://localhost:5000/> . | |
_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/hydra/core#Collection> . | |
_:b0 <http://www.w3.org/ns/hydra/core#member> <http://localhost:5000/meme/DiaODFKb> . | |
_:b0 <http://www.w3.org/ns/hydra/core#member> <http://localhost:5000/meme/bn0x9np> . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX meme: <http://memesearch.herokuapp.com/vocab/meme#> | |
PREFIX schema: <http://schema.org/> | |
PREFIX hydra: <http://www.w3.org/ns/hydra/core#> | |
SELECT ?meme ?name | |
{ | |
<http://localhost:5000/> meme:recent ?recent . | |
?recent hydra:member ?meme . | |
?meme schema:name ?name . | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX : <http://localhost:5000/> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX meme: <http://memesearch.herokuapp.com/vocab/meme#> | |
PREFIX schema: <http://schema.org/> PREFIX | |
hydra: <http://www.w3.org/ns/hydra/core#> | |
SELECT ?meme ?name FROM : { | |
: meme:recent ?recent . | |
?recent hydra:member ?meme . | |
?meme schema:name ?name_iri . | |
?name_iri ?x ?name | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment