# Dataset which has named graphs and a default graph. | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . | |
@prefix : <#> . | |
## Datatset | |
<> rdf:type ja:RDFDataset ; | |
ja:defaultGraph | |
[ rdf:type ja:MemoryModel ; | |
ja:content [ja:externalContent <D.ttl>] ] ; | |
ja:namedGraph [ ja:graphName <http://example/graph1> ; | |
ja:graph :data1 ] ; | |
ja:namedGraph [ ja:graphName <http://example/graph2> ; | |
ja:graph :data2 ] ; | |
. | |
:data1 rdf:type ja:MemoryModel ; | |
ja:content [ja:externalContent <D1.ttl>] ; | |
. | |
:data2 rdf:type ja:MemoryModel ; | |
ja:content [ja:externalContent <D2.ttl>] ; | |
. |