anchor.diff:  
   Another type of SPARQL query is the CONSTRUCT-query: instead of returning the result as a sequence of variable bindings, CONSTRUCT-queries return RDF statements. CONSTRUCT queries are very useful for quickly retrieving data subsets from an RDF database, and for transforming that data. 
   
  -https://github.com/eclipse/rdf4j-doc/examples/src/main/java/org/eclipse/rdf4j/examples/repository/Example14SPARQLConstructQuery.java[Example 14] shows how we can execute a SPARQL CONSTRUCT query in RDF4J. As you can see, most of the code is quite similar to previous examples:
  +https://github.com/eclipse/rdf4j-doc/tree/master/examples/src/main/java/org/eclipse/rdf4j/examples/repository/Example14SPARQLConstructQuery.java[Example 14] shows how we can execute a SPARQL CONSTRUCT query in RDF4J. As you can see, most of the code is quite similar to previous examples:
   
   [[code-example-14]]
   [source,java,linenum]
  
positive.code: 
  Getting started with RDF is not hard! In this tutorial, we go through the basics of what RDF is and how you can use it, and we show how you can use the Eclipse RDF4J framework to create, process, store, and query RDF data. We assume that you know a little about programming in Java, but no prior knowledge on RDF is assumed.
  
  TIP: The code examples in this tutorial are available for download from the https://github.com/eclipse/rdf4j-doc/examples[rdf4j-doc examples GitHub repository]. We encourage you to download these examples and play around with them. The easiest way to do this is to download the GitHub repository in your favorite Java IDE as an Apache Maven project. 
  
  :numbered:
  == Introducing RDF
  
negative.code: Set<Value> paintings = model.filter(vanGogh, EX.CREATOR_OF, null).objects();
  ----
  
  TIP: notice that we are suddenly using a new vocabulary constant for our property: `EX.CREATOR_OF`. It is generally a good idea to create a class containing  constants for your own IRIs when you program with RDF4J: it makes it easier to reuse them and avoids introducing typos (not to mention a lot of hassle if you later decide to rename one of your resources). See https://github.com/eclipse/rdf4j-doc/tree/master/examples/src/main/java/org/eclipse/rdf4j/examples/model/vocabulary/EX.java[the EX vocabulary class] for an example of how to create your own vocabulary classes.
  
  Once we have selected the values, we can iterate and do something with them. For example, we could try and retrieve further information about each value, like so:
  
  