Skip to content

Instantly share code, notes, and snippets.

@crssnky
Created January 28, 2018 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crssnky/451668df2b7b85eccdd8b533ef3b569b to your computer and use it in GitHub Desktop.
Save crssnky/451668df2b7b85eccdd8b533ef3b569b to your computer and use it in GitHub Desktop.
PREFIX schema: <http://schema.org/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX imas: <https://sparql.crssnky.xyz/imasrdf/URIs/imas-schema.ttl#>
SELECT ?calling ?called
WHERE {
?s rdf:type imas:CallName;
imas:Source ?caller;
imas:Destination ?callee;
imas:Called ?called.
?caller schema:name ?name1.
?callee schema:name ?name2.
bind(concat(?name1,"→",?name2)as ?calling)
}order by rand()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment