Skip to content

Commit 6dc61cc

Browse files
committed
change default shape format to SHACL
1 parent 445fc27 commit 6dc61cc

File tree

6 files changed

+43
-39
lines changed

6 files changed

+43
-39
lines changed

README.md

Lines changed: 33 additions & 33 deletions
Large diffs are not rendered by default.

examples/dbpedia/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"targetShape": "MovieShape",
77
"backend": "travshacl",
88
"output_format": "simple",
9-
"outputs": true
9+
"outputs": true,
10+
"shapeFormat": "JSON"
1011
}

examples/lubm/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"backend": "travshacl",
77
"start_with_target_shape": false,
88
"replace_target_query": false,
9-
"remove_constraints": false
9+
"remove_constraints": false,
10+
"shapeFormat": "JSON"
1011
}

examples/lubm_extended/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"backend": "travshacl",
77
"start_with_target_shape": false,
88
"replace_target_query": false,
9-
"remove_constraints": false
9+
"remove_constraints": false,
10+
"shapeFormat": "JSON"
1011
}

examples/vaccinated_people/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"start_with_target_shape": false,
77
"replace_target_query": false,
88
"remove_constraints": false,
9-
"prune_shape_network": false
9+
"prune_shape_network": false,
10+
"shapeFormat": "JSON"
1011
}

shaclapi/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def output_directory(self):
122122
@property
123123
def schema_format(self):
124124
"""
125-
The format of the shape files. Can be JSON or TTL
125+
The format of the shape files. Can be JSON or SHACL
126126
"""
127127
if 'shapeFormat' in self.config_dict:
128128
return self.config_dict['shapeFormat']
@@ -131,7 +131,7 @@ def schema_format(self):
131131
elif 'schema_format' in self.config_dict:
132132
return self.config_dict['schema_format']
133133
else:
134-
return 'JSON'
134+
return 'SHACL'
135135

136136
@property
137137
def work_in_parallel(self):

0 commit comments

Comments
 (0)