You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2016/05/14 16:11:00 UTC

[36/41] jena git commit: Fix line-ending changes.

http://git-wip-us.apache.org/repos/asf/jena/blob/3d70d735/jena-arq/Vocabularies/test-query.ttl
----------------------------------------------------------------------
diff --git a/jena-arq/Vocabularies/test-query.ttl b/jena-arq/Vocabularies/test-query.ttl
index f508a9a..eb70cd8 100644
--- a/jena-arq/Vocabularies/test-query.ttl
+++ b/jena-arq/Vocabularies/test-query.ttl
@@ -1,47 +1,47 @@
-@prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix owl:    <http://www.w3.org/2002/07/owl#> .
-@prefix dc:     <http://purl.org/dc/elements/1.1/> .
-
-@prefix mf:     <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
-@prefix :       <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
-
-## Query-specific test vocabulary for a manifest action.
-
-:   rdfs:comment     "Vocabulary for query test cases" ;
-    dc:creator       "Andy Seaborne" ;
-    dc:subject       "" ;
-    dc:publisher     "W3C RDF Data Access Working Group" ;
-    dc:title         "Query test case vocabulary" ;
-    dc:description   "Query test case vocabulary" ;
-    dc:date          "2004-07" ;
-    dc:format        "RDF" ;
-    dc:identifier    : ;
-    .
-## ---- Class declarations ----
-
-:QueryTest a rdfs:Class ;
-    rdfs:comment "The class of query tests" .
-
-## ---- Property declarations ----
-
-
-:query a rdf:Property ;
-    rdfs:comment "The query to ask" ;
-    rdfs:domain	 :QueryTest ;
-    ## rdfs:range   ?? ;
-    .	
-
-:data a rdf:Property ;
-    rdfs:comment "Optional: data for the query test" ;
-    rdfs:domain	 :QueryTest ;
-    rdfs:range   rdfs:Resource ;
-    .
-
-
-:graphData a rdf:Property ;
-    rdfs:comment "Optional: named-graph only data for the query test" ;
-    rdfs:domain  :QueryTest ;
-    rdfs:range   rdfs:Resource ;
-    .
-
+@prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix owl:    <http://www.w3.org/2002/07/owl#> .
+@prefix dc:     <http://purl.org/dc/elements/1.1/> .
+
+@prefix mf:     <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
+@prefix :       <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
+
+## Query-specific test vocabulary for a manifest action.
+
+:   rdfs:comment     "Vocabulary for query test cases" ;
+    dc:creator       "Andy Seaborne" ;
+    dc:subject       "" ;
+    dc:publisher     "W3C RDF Data Access Working Group" ;
+    dc:title         "Query test case vocabulary" ;
+    dc:description   "Query test case vocabulary" ;
+    dc:date          "2004-07" ;
+    dc:format        "RDF" ;
+    dc:identifier    : ;
+    .
+## ---- Class declarations ----
+
+:QueryTest a rdfs:Class ;
+    rdfs:comment "The class of query tests" .
+
+## ---- Property declarations ----
+
+
+:query a rdf:Property ;
+    rdfs:comment "The query to ask" ;
+    rdfs:domain	 :QueryTest ;
+    ## rdfs:range   ?? ;
+    .	
+
+:data a rdf:Property ;
+    rdfs:comment "Optional: data for the query test" ;
+    rdfs:domain	 :QueryTest ;
+    rdfs:range   rdfs:Resource ;
+    .
+
+
+:graphData a rdf:Property ;
+    rdfs:comment "Optional: named-graph only data for the query test" ;
+    rdfs:domain  :QueryTest ;
+    rdfs:range   rdfs:Resource ;
+    .
+

http://git-wip-us.apache.org/repos/asf/jena/blob/3d70d735/jena-arq/etc/dataset-db.ttl
----------------------------------------------------------------------
diff --git a/jena-arq/etc/dataset-db.ttl b/jena-arq/etc/dataset-db.ttl
index a0d265e..7f5a605 100644
--- a/jena-arq/etc/dataset-db.ttl
+++ b/jena-arq/etc/dataset-db.ttl
@@ -1,48 +1,48 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# 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 ;
-    # Database-backed model
-    ja:defaultGraph _:modelDB1 ;
-    # And also a memory model - can mix and match.
-    ja:namedGraph [ ja:graphName <http://example/graph1> ;
-                    ja:graph    :data1 ] ;
-    .
-
-_:modelDB1 rdf:type ja:RDBModel ;
-    ja:connection
-    [
-        ja:dbType       "MySQL" ;
-        ja:dbURL        <jdbc:mysql://localhost/jena-db> ;
-        ja:dbUser       "user" ;
-        ja:dbPassword   "password" ;
-        ja:dbClass      "com.mysql.jdbc.Driver" ;
-    ] ;
-    ## Add a model name - this is the name of the mode in the database
-    ## It is NOT the name in the dataset (that comes from 
-    ## ja:namedGraph/ja:graphName)
-    ja:modelName "DEFAULT"
-    . 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# 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 ;
+    # Database-backed model
+    ja:defaultGraph _:modelDB1 ;
+    # And also a memory model - can mix and match.
+    ja:namedGraph [ ja:graphName <http://example/graph1> ;
+                    ja:graph    :data1 ] ;
+    .
+
+_:modelDB1 rdf:type ja:RDBModel ;
+    ja:connection
+    [
+        ja:dbType       "MySQL" ;
+        ja:dbURL        <jdbc:mysql://localhost/jena-db> ;
+        ja:dbUser       "user" ;
+        ja:dbPassword   "password" ;
+        ja:dbClass      "com.mysql.jdbc.Driver" ;
+    ] ;
+    ## Add a model name - this is the name of the mode in the database
+    ## It is NOT the name in the dataset (that comes from 
+    ## ja:namedGraph/ja:graphName)
+    ja:modelName "DEFAULT"
+    . 

http://git-wip-us.apache.org/repos/asf/jena/blob/3d70d735/jena-arq/etc/dataset-owl-inf.ttl
----------------------------------------------------------------------
diff --git a/jena-arq/etc/dataset-owl-inf.ttl b/jena-arq/etc/dataset-owl-inf.ttl
index 8756c0c..0675a3a 100644
--- a/jena-arq/etc/dataset-owl-inf.ttl
+++ b/jena-arq/etc/dataset-owl-inf.ttl
@@ -1,48 +1,48 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Setting up a dataset which is a single graph which is an OntModel.
-
-@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix ja:     <http://jena.hpl.hp.com/2005/11/Assembler#> .
-@prefix :       <#> .
-
-## Datatset
-
-<> rdf:type         ja:RDFDataset ;
-    ja:graph :ontModel
-    . 
-
-:ontModel rdf:type ja:OntModel ;
-    ja:baseModel 
-        [ rdf:type ja:MemoryModel ;
-          ja:content [ja:externalContent <D.ttl>] ] ;
-    ja:reasoner
-    ## Choices include:
-    ## <http://jena.hpl.hp.com/2003/GenericRuleReasoner>
-    ## <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner>
-    ## <http://jena.hpl.hp.com/2003/OWLMicroFBRuleReasoner>
-    ## <http://jena.hpl.hp.com/2003/OWLMiniFBRuleReasoner>
-    ## <http://jena.hpl.hp.com/2003/DIGReasoner>
-        [ ja:reasonerURL <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner> ; ] ;
-        
-## See http://jena.sourceforge.net/assembler/assembler-howto.htm
-##     ja:ontModelSpec
-##         [ rdf:type ja:OntModelSpec ;
-##           ja:reasonerFactory ... ; 
-##           ja:documentManager ... ;
-##         ] ;
-    .
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Setting up a dataset which is a single graph which is an OntModel.
+
+@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix ja:     <http://jena.hpl.hp.com/2005/11/Assembler#> .
+@prefix :       <#> .
+
+## Datatset
+
+<> rdf:type         ja:RDFDataset ;
+    ja:graph :ontModel
+    . 
+
+:ontModel rdf:type ja:OntModel ;
+    ja:baseModel 
+        [ rdf:type ja:MemoryModel ;
+          ja:content [ja:externalContent <D.ttl>] ] ;
+    ja:reasoner
+    ## Choices include:
+    ## <http://jena.hpl.hp.com/2003/GenericRuleReasoner>
+    ## <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner>
+    ## <http://jena.hpl.hp.com/2003/OWLMicroFBRuleReasoner>
+    ## <http://jena.hpl.hp.com/2003/OWLMiniFBRuleReasoner>
+    ## <http://jena.hpl.hp.com/2003/DIGReasoner>
+        [ ja:reasonerURL <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner> ; ] ;
+        
+## See http://jena.sourceforge.net/assembler/assembler-howto.htm
+##     ja:ontModelSpec
+##         [ rdf:type ja:OntModelSpec ;
+##           ja:reasonerFactory ... ; 
+##           ja:documentManager ... ;
+##         ] ;
+    .

http://git-wip-us.apache.org/repos/asf/jena/blob/3d70d735/jena-arq/etc/dataset-owl.ttl
----------------------------------------------------------------------
diff --git a/jena-arq/etc/dataset-owl.ttl b/jena-arq/etc/dataset-owl.ttl
index de599f1..f93ae20 100644
--- a/jena-arq/etc/dataset-owl.ttl
+++ b/jena-arq/etc/dataset-owl.ttl
@@ -1,33 +1,33 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Setting up a dataset which is a single graph which is an OntModel.
-
-@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix ja:     <http://jena.hpl.hp.com/2005/11/Assembler#> .
-@prefix :       <#> .
-
-## Datatset
-
-<> rdf:type         ja:RDFDataset ;
-    ja:graph :ontModel
-    . 
-
-:ontModel rdf:type ja:OntModel ;
-    ja:baseModel 
-        [ rdf:type ja:MemoryModel ;
-          ja:content [ja:externalContent <D.ttl>] ];
-    . 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Setting up a dataset which is a single graph which is an OntModel.
+
+@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix ja:     <http://jena.hpl.hp.com/2005/11/Assembler#> .
+@prefix :       <#> .
+
+## Datatset
+
+<> rdf:type         ja:RDFDataset ;
+    ja:graph :ontModel
+    . 
+
+:ontModel rdf:type ja:OntModel ;
+    ja:baseModel 
+        [ rdf:type ja:MemoryModel ;
+          ja:content [ja:externalContent <D.ttl>] ];
+    . 

http://git-wip-us.apache.org/repos/asf/jena/blob/3d70d735/jena-arq/etc/dataset-rdfs.ttl
----------------------------------------------------------------------
diff --git a/jena-arq/etc/dataset-rdfs.ttl b/jena-arq/etc/dataset-rdfs.ttl
index c389cb4..c1bf88f 100644
--- a/jena-arq/etc/dataset-rdfs.ttl
+++ b/jena-arq/etc/dataset-rdfs.ttl
@@ -1,35 +1,35 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Setting up a dataset which is a single graph which is an RDFS-backed model
-
-@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix ja:     <http://jena.hpl.hp.com/2005/11/Assembler#> .
-@prefix :       <#> .
-
-## Datatset
-
-<> rdf:type         ja:RDFDataset ;
-    ja:graph :ontModel
-    . 
-
-:ontModel rdf:type ja:OntModel ;
-    ja:baseModel 
-        [ rdf:type ja:MemoryModel ;
-          ja:content [ja:externalContent <D.ttl>] ];
-    ja:reasoner
-         [ ja:reasonerURL <http://jena.hpl.hp.com/2003/RDFSExptRuleReasoner> ]
-    . 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Setting up a dataset which is a single graph which is an RDFS-backed model
+
+@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix ja:     <http://jena.hpl.hp.com/2005/11/Assembler#> .
+@prefix :       <#> .
+
+## Datatset
+
+<> rdf:type         ja:RDFDataset ;
+    ja:graph :ontModel
+    . 
+
+:ontModel rdf:type ja:OntModel ;
+    ja:baseModel 
+        [ rdf:type ja:MemoryModel ;
+          ja:content [ja:externalContent <D.ttl>] ];
+    ja:reasoner
+         [ ja:reasonerURL <http://jena.hpl.hp.com/2003/RDFSExptRuleReasoner> ]
+    . 

http://git-wip-us.apache.org/repos/asf/jena/blob/3d70d735/jena-arq/etc/dataset-rules.ttl
----------------------------------------------------------------------
diff --git a/jena-arq/etc/dataset-rules.ttl b/jena-arq/etc/dataset-rules.ttl
index 92aed59..fa5d491 100644
--- a/jena-arq/etc/dataset-rules.ttl
+++ b/jena-arq/etc/dataset-rules.ttl
@@ -1,39 +1,39 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Setting up a single graph which is a rule-backed infModel
-
-@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:graph :inf .
-
-:inf rdf:type ja:InfModel ;
-    ja:baseModel :data ;
-    ja:reasoner
-        [ ja:reasonerURL <http://jena.hpl.hp.com/2003/GenericRuleReasoner> ;
-          ja:rulesFrom <owlax.jena> 
-        ] ;
-    .
-
-:data rdf:type ja:MemoryModel ;
-    ja:content [ja:externalContent <input-data.ttl>] ;
-    .
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Setting up a single graph which is a rule-backed infModel
+
+@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:graph :inf .
+
+:inf rdf:type ja:InfModel ;
+    ja:baseModel :data ;
+    ja:reasoner
+        [ ja:reasonerURL <http://jena.hpl.hp.com/2003/GenericRuleReasoner> ;
+          ja:rulesFrom <owlax.jena> 
+        ] ;
+    .
+
+:data rdf:type ja:MemoryModel ;
+    ja:content [ja:externalContent <input-data.ttl>] ;
+    .

http://git-wip-us.apache.org/repos/asf/jena/blob/3d70d735/jena-arq/etc/dataset-trans.ttl
----------------------------------------------------------------------
diff --git a/jena-arq/etc/dataset-trans.ttl b/jena-arq/etc/dataset-trans.ttl
index 12b793f..a36d33e 100644
--- a/jena-arq/etc/dataset-trans.ttl
+++ b/jena-arq/etc/dataset-trans.ttl
@@ -1,35 +1,35 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Setting up a single graph which is backed by the transitive reasoner.
-
-@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix ja:     <http://jena.hpl.hp.com/2005/11/Assembler#> .
-@prefix :       <#> .
-
-## Datatset
-
-<> rdf:type         ja:RDFDataset ;
-    ja:graph :ontModel
-    . 
-
-:ontModel rdf:type ja:OntModel ;
-    ja:baseModel 
-        [ rdf:type ja:MemoryModel ;
-          ja:content [ja:externalContent <D.ttl>] ];
-    ja:reasoner
-         [ ja:reasonerURL <http://jena.hpl.hp.com/2003/TransitiveReasoner> ]
-    . 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Setting up a single graph which is backed by the transitive reasoner.
+
+@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix ja:     <http://jena.hpl.hp.com/2005/11/Assembler#> .
+@prefix :       <#> .
+
+## Datatset
+
+<> rdf:type         ja:RDFDataset ;
+    ja:graph :ontModel
+    . 
+
+:ontModel rdf:type ja:OntModel ;
+    ja:baseModel 
+        [ rdf:type ja:MemoryModel ;
+          ja:content [ja:externalContent <D.ttl>] ];
+    ja:reasoner
+         [ ja:reasonerURL <http://jena.hpl.hp.com/2003/TransitiveReasoner> ]
+    . 

http://git-wip-us.apache.org/repos/asf/jena/blob/3d70d735/jena-arq/etc/dataset.ttl
----------------------------------------------------------------------
diff --git a/jena-arq/etc/dataset.ttl b/jena-arq/etc/dataset.ttl
index 5429294..1e580fa 100644
--- a/jena-arq/etc/dataset.ttl
+++ b/jena-arq/etc/dataset.ttl
@@ -1,43 +1,43 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# 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>] ;
-    .
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# 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>] ;
+    .

http://git-wip-us.apache.org/repos/asf/jena/blob/3d70d735/jena-arq/etc/graphstore.ttl
----------------------------------------------------------------------
diff --git a/jena-arq/etc/graphstore.ttl b/jena-arq/etc/graphstore.ttl
index e2373e5..1274f81 100644
--- a/jena-arq/etc/graphstore.ttl
+++ b/jena-arq/etc/graphstore.ttl
@@ -1,42 +1,42 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Graph store -- for SPARQL/Update
-
-@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 :       <#> .
-
-## Graphstore - one default graph, two named graphs, all empty.
-
-<> rdf:type         ja:GraphStore ;
-    ja:defaultGraph
-        [ rdf:type ja:MemoryModel ] ;
-    ja:namedGraph [ ja:graphName <http://example/graph1> ;
-                    ja:graph    :data1 ] ;
-    ja:namedGraph [ ja:graphName <http://example/graph2> ;
-                    ja:graph    :data2 ] ;
-    . 
-
-# Empty
-:data1 rdf:type ja:MemoryModel ;
-    .
-
-# Empty
-:data2 rdf:type ja:MemoryModel ;
-    .
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Graph store -- for SPARQL/Update
+
+@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 :       <#> .
+
+## Graphstore - one default graph, two named graphs, all empty.
+
+<> rdf:type         ja:GraphStore ;
+    ja:defaultGraph
+        [ rdf:type ja:MemoryModel ] ;
+    ja:namedGraph [ ja:graphName <http://example/graph1> ;
+                    ja:graph    :data1 ] ;
+    ja:namedGraph [ ja:graphName <http://example/graph2> ;
+                    ja:graph    :data2 ] ;
+    . 
+
+# Empty
+:data1 rdf:type ja:MemoryModel ;
+    .
+
+# Empty
+:data2 rdf:type ja:MemoryModel ;
+    .

http://git-wip-us.apache.org/repos/asf/jena/blob/3d70d735/jena-arq/etc/update-data.ttl
----------------------------------------------------------------------
diff --git a/jena-arq/etc/update-data.ttl b/jena-arq/etc/update-data.ttl
index 359a169..8dd8852 100644
--- a/jena-arq/etc/update-data.ttl
+++ b/jena-arq/etc/update-data.ttl
@@ -1,19 +1,19 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-@prefix : <http://example/> .
-
-:x :p 123 .
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+@prefix : <http://example/> .
+
+:x :p 123 .

http://git-wip-us.apache.org/repos/asf/jena/blob/3d70d735/jena-arq/src-examples/arq/examples/constructquads/ExampleConstructQuads.java
----------------------------------------------------------------------
diff --git a/jena-arq/src-examples/arq/examples/constructquads/ExampleConstructQuads.java b/jena-arq/src-examples/arq/examples/constructquads/ExampleConstructQuads.java
index e8f8b4a..febd328 100644
--- a/jena-arq/src-examples/arq/examples/constructquads/ExampleConstructQuads.java
+++ b/jena-arq/src-examples/arq/examples/constructquads/ExampleConstructQuads.java
@@ -1,191 +1,191 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package arq.examples.constructquads;
-
-import java.io.* ;
-import java.util.Iterator;
-
-import org.apache.jena.graph.Triple;
-import org.apache.jena.query.* ;
-import org.apache.jena.rdf.model.Model;
-import org.apache.jena.rdf.model.ModelFactory;
-import org.apache.jena.rdf.model.Property;
-import org.apache.jena.rdf.model.Resource;
-import org.apache.jena.riot.Lang;
-import org.apache.jena.riot.RDFDataMgr;
-import org.apache.jena.sparql.core.Quad;
-import org.apache.jena.util.PrintUtil;
-
-public class ExampleConstructQuads {
-	public static void main(String[] args) throws FileNotFoundException, IOException {
-
-		// create testing data :
-		// 1) default graph data
-		Model model = ModelFactory.createDefaultModel();
-		Resource s = model.createResource("http://eg.com/s");
-		Property p = model.createProperty("http://eg.com/p");
-		Resource o = model.createResource("http://eg.com/o");
-		model.add(s, p, o);
-		Dataset dataset = DatasetFactory.create(model);
-		// 2) named graph data
-		Model model1 = ModelFactory.createDefaultModel();
-		Resource s1 = model.createResource("http://eg.com/s1");
-		Property p1 = model.createProperty("http://eg.com/p1");
-		Resource o1 = model.createResource("http://eg.com/o1");
-		model1.add(s1, p1, o1);
-		dataset.addNamedModel("http://eg.com/g1", model1);
-		
-		PrintUtil.printOut(dataset.asDatasetGraph().find());
-
-		// construct named graph
-		System.out.println("construct named graph:");
-		String queryString = "CONSTRUCT { GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} } WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
-		Query query = QueryFactory.create(queryString, Syntax.syntaxARQ);
-		try (QueryExecution qexec = QueryExecutionFactory
-				.create(query, dataset)) {
-			Iterator<Quad> quads = qexec.execConstructQuads();
-			PrintUtil.printOut(quads);
-		}
-		System.out.println(query);
-
-		// construct default graph 1
-		System.out.println("construct default graph 1:");
-		queryString = "CONSTRUCT {  {<http://eg.com/s1> <http://eg.com/p1> ?o} } WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
-		try (QueryExecution qexec = QueryExecutionFactory
-				.create(query, dataset)) {
-			Iterator<Quad> quads = qexec.execConstructQuads();
-			PrintUtil.printOut(quads);
-		}
-        System.out.println(query);
-
-		// construct default graph 2
-		System.out.println("construct default graph 2:");
-		queryString = "CONSTRUCT {<http://eg.com/s1> <http://eg.com/p1> ?o}  WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
-		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
-		try (QueryExecution qexec = QueryExecutionFactory
-				.create(query, dataset)) {
-			Iterator<Quad> quads = qexec.execConstructQuads();
-			PrintUtil.printOut(quads);
-		}
-        System.out.println(query);
-
-		// construct triples
-		System.out.println("construct default graph 2:");
-		queryString = "CONSTRUCT {<http://eg.com/s1> <http://eg.com/p1> ?o}  WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
-		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
-		try (QueryExecution qexec = QueryExecutionFactory
-				.create(query, dataset)) {
-			Iterator<Triple> triples = qexec.execConstructTriples();
-			PrintUtil.printOut(triples);
-		}
-        System.out.println(query);
-
-		// construct dataset
-		System.out.println("construct dataset:");
-		queryString = "CONSTRUCT { GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} } WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
-		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
-		try (QueryExecution qexec = QueryExecutionFactory
-				.create(query, dataset)) {
-			Dataset d = qexec.execConstructDataset();
-			RDFDataMgr.write(System.out, d, Lang.TRIG);
-		}
-        System.out.println(query);
-
-		// short form 1
-		System.out.println("short form 1:");
-		queryString = "CONSTRUCT WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
-		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
-		try (QueryExecution qexec = QueryExecutionFactory
-				.create(query, dataset)) {
-			Iterator<Quad> quads = qexec.execConstructQuads();
-			PrintUtil.printOut(quads);
-		}
-		System.out.println(query);
-
-		// short form 2
-		System.out.println("short form 2:");
-		queryString = "CONSTRUCT WHERE{ <http://eg.com/s> <http://eg.com/p> ?o }";
-		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
-		try (QueryExecution qexec = QueryExecutionFactory
-				.create(query, dataset)) {
-			Iterator<Quad> quads = qexec.execConstructQuads();
-			PrintUtil.printOut(quads);
-		}
-		System.out.println(query);
-
-		// short form 3
-		System.out.println("short form 3:");
-		queryString = "CONSTRUCT WHERE{ <http://eg.com/s> <http://eg.com/p> ?o }";
-		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
-		try (QueryExecution qexec = QueryExecutionFactory
-				.create(query, dataset)) {
-			Iterator<Triple> triples = qexec.execConstructTriples();
-			PrintUtil.printOut(triples);
-		}
-		System.out.println(query);
-
-		// short form 4
-		System.out.println("short form 4:");
-		queryString = "CONSTRUCT WHERE{ {<http://eg.com/s> <http://eg.com/p> ?o} }";
-		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
-		try (QueryExecution qexec = QueryExecutionFactory
-				.create(query, dataset)) {
-			Iterator<Quad> quads = qexec.execConstructQuads();
-			PrintUtil.printOut(quads);
-		}
-		System.out.println(query);
-		
-		// short form 4
-		System.out.println("default graph projection:");
-		queryString = "CONSTRUCT { {<http://eg.com/s> <http://eg.com/p> ?o} GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} } WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
-		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
-		try (QueryExecution qexec = QueryExecutionFactory
-				.create(query, dataset)) {
-			Iterator<Triple> triples = qexec.execConstructTriples();
-			PrintUtil.printOut(triples);
-		}
-		System.out.println(query);
-
-		// run-construct-quad-test
-		System.out.println("run-construct-quad-test:");
-		File[] tests = new File("testing/ARQ/Syntax/Syntax-ARQ")
-				.listFiles((dir, fname)->{
-						if (fname.startsWith("syntax-quad-construct-")) {
-							return true;
-						}
-						return false;
-				});
-		for (File test : tests) {
-			System.out.println("======== File: "+test.getName());
-			try (BufferedReader br = new BufferedReader(new FileReader(test))) {
-				String line = null;
-				while( (line = br.readLine()) != null){
-					System.out.println(line);
-				}
-			}
-			System.out.println("==== Output of parse/print file "+ test.getName());
-			try {
-			    Query q = QueryFactory.read(test.getAbsolutePath(), Syntax.syntaxARQ) ;
-			    System.out.println(q);
-			} catch (QueryParseException ex) {
-			    System.out.println("File "+test.getAbsolutePath()+ " : "+ex.getMessage()) ;
-			}
-		}
-	}
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package arq.examples.constructquads;
+
+import java.io.* ;
+import java.util.Iterator;
+
+import org.apache.jena.graph.Triple;
+import org.apache.jena.query.* ;
+import org.apache.jena.rdf.model.Model;
+import org.apache.jena.rdf.model.ModelFactory;
+import org.apache.jena.rdf.model.Property;
+import org.apache.jena.rdf.model.Resource;
+import org.apache.jena.riot.Lang;
+import org.apache.jena.riot.RDFDataMgr;
+import org.apache.jena.sparql.core.Quad;
+import org.apache.jena.util.PrintUtil;
+
+public class ExampleConstructQuads {
+	public static void main(String[] args) throws FileNotFoundException, IOException {
+
+		// create testing data :
+		// 1) default graph data
+		Model model = ModelFactory.createDefaultModel();
+		Resource s = model.createResource("http://eg.com/s");
+		Property p = model.createProperty("http://eg.com/p");
+		Resource o = model.createResource("http://eg.com/o");
+		model.add(s, p, o);
+		Dataset dataset = DatasetFactory.create(model);
+		// 2) named graph data
+		Model model1 = ModelFactory.createDefaultModel();
+		Resource s1 = model.createResource("http://eg.com/s1");
+		Property p1 = model.createProperty("http://eg.com/p1");
+		Resource o1 = model.createResource("http://eg.com/o1");
+		model1.add(s1, p1, o1);
+		dataset.addNamedModel("http://eg.com/g1", model1);
+		
+		PrintUtil.printOut(dataset.asDatasetGraph().find());
+
+		// construct named graph
+		System.out.println("construct named graph:");
+		String queryString = "CONSTRUCT { GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} } WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
+		Query query = QueryFactory.create(queryString, Syntax.syntaxARQ);
+		try (QueryExecution qexec = QueryExecutionFactory
+				.create(query, dataset)) {
+			Iterator<Quad> quads = qexec.execConstructQuads();
+			PrintUtil.printOut(quads);
+		}
+		System.out.println(query);
+
+		// construct default graph 1
+		System.out.println("construct default graph 1:");
+		queryString = "CONSTRUCT {  {<http://eg.com/s1> <http://eg.com/p1> ?o} } WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
+		try (QueryExecution qexec = QueryExecutionFactory
+				.create(query, dataset)) {
+			Iterator<Quad> quads = qexec.execConstructQuads();
+			PrintUtil.printOut(quads);
+		}
+        System.out.println(query);
+
+		// construct default graph 2
+		System.out.println("construct default graph 2:");
+		queryString = "CONSTRUCT {<http://eg.com/s1> <http://eg.com/p1> ?o}  WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
+		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
+		try (QueryExecution qexec = QueryExecutionFactory
+				.create(query, dataset)) {
+			Iterator<Quad> quads = qexec.execConstructQuads();
+			PrintUtil.printOut(quads);
+		}
+        System.out.println(query);
+
+		// construct triples
+		System.out.println("construct default graph 2:");
+		queryString = "CONSTRUCT {<http://eg.com/s1> <http://eg.com/p1> ?o}  WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
+		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
+		try (QueryExecution qexec = QueryExecutionFactory
+				.create(query, dataset)) {
+			Iterator<Triple> triples = qexec.execConstructTriples();
+			PrintUtil.printOut(triples);
+		}
+        System.out.println(query);
+
+		// construct dataset
+		System.out.println("construct dataset:");
+		queryString = "CONSTRUCT { GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} } WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
+		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
+		try (QueryExecution qexec = QueryExecutionFactory
+				.create(query, dataset)) {
+			Dataset d = qexec.execConstructDataset();
+			RDFDataMgr.write(System.out, d, Lang.TRIG);
+		}
+        System.out.println(query);
+
+		// short form 1
+		System.out.println("short form 1:");
+		queryString = "CONSTRUCT WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
+		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
+		try (QueryExecution qexec = QueryExecutionFactory
+				.create(query, dataset)) {
+			Iterator<Quad> quads = qexec.execConstructQuads();
+			PrintUtil.printOut(quads);
+		}
+		System.out.println(query);
+
+		// short form 2
+		System.out.println("short form 2:");
+		queryString = "CONSTRUCT WHERE{ <http://eg.com/s> <http://eg.com/p> ?o }";
+		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
+		try (QueryExecution qexec = QueryExecutionFactory
+				.create(query, dataset)) {
+			Iterator<Quad> quads = qexec.execConstructQuads();
+			PrintUtil.printOut(quads);
+		}
+		System.out.println(query);
+
+		// short form 3
+		System.out.println("short form 3:");
+		queryString = "CONSTRUCT WHERE{ <http://eg.com/s> <http://eg.com/p> ?o }";
+		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
+		try (QueryExecution qexec = QueryExecutionFactory
+				.create(query, dataset)) {
+			Iterator<Triple> triples = qexec.execConstructTriples();
+			PrintUtil.printOut(triples);
+		}
+		System.out.println(query);
+
+		// short form 4
+		System.out.println("short form 4:");
+		queryString = "CONSTRUCT WHERE{ {<http://eg.com/s> <http://eg.com/p> ?o} }";
+		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
+		try (QueryExecution qexec = QueryExecutionFactory
+				.create(query, dataset)) {
+			Iterator<Quad> quads = qexec.execConstructQuads();
+			PrintUtil.printOut(quads);
+		}
+		System.out.println(query);
+		
+		// short form 4
+		System.out.println("default graph projection:");
+		queryString = "CONSTRUCT { {<http://eg.com/s> <http://eg.com/p> ?o} GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} } WHERE{ GRAPH ?g {<http://eg.com/s1> <http://eg.com/p1> ?o} }";
+		query = QueryFactory.create(queryString, Syntax.syntaxARQ);
+		try (QueryExecution qexec = QueryExecutionFactory
+				.create(query, dataset)) {
+			Iterator<Triple> triples = qexec.execConstructTriples();
+			PrintUtil.printOut(triples);
+		}
+		System.out.println(query);
+
+		// run-construct-quad-test
+		System.out.println("run-construct-quad-test:");
+		File[] tests = new File("testing/ARQ/Syntax/Syntax-ARQ")
+				.listFiles((dir, fname)->{
+						if (fname.startsWith("syntax-quad-construct-")) {
+							return true;
+						}
+						return false;
+				});
+		for (File test : tests) {
+			System.out.println("======== File: "+test.getName());
+			try (BufferedReader br = new BufferedReader(new FileReader(test))) {
+				String line = null;
+				while( (line = br.readLine()) != null){
+					System.out.println(line);
+				}
+			}
+			System.out.println("==== Output of parse/print file "+ test.getName());
+			try {
+			    Query q = QueryFactory.read(test.getAbsolutePath(), Syntax.syntaxARQ) ;
+			    System.out.println(q);
+			} catch (QueryParseException ex) {
+			    System.out.println("File "+test.getAbsolutePath()+ " : "+ex.getMessage()) ;
+			}
+		}
+	}
+}