title: How do I generate a random sample of data in SPARQL?
body: <p>Is it possible to generate a random sample of triples using SPARQL?
  I thought it might be via the SAMPLE function but this returns a single SAMPLE.</p>
  
  <p>My workaround would be to generate a random number to use with the OFFSET keyword and use the LIMIT keyword to return the desired sample size. I'll just hardcode the random number for offset to 200 for ease like so:</p>
  
  <pre><code>SELECT *
  WHERE {
  ?s ?p ?o
  } 
  OFFSET 200 #random number variable
  LIMIT 100
  </code></pre>
  
  <p>Any better suggestions to generate a random sample of 100 data triples from a  SPARQL endpoint? </p>