Skip to content

Commit

Permalink
Fix update triples script
Browse files Browse the repository at this point in the history
  • Loading branch information
renatocjn committed Jan 21, 2025
1 parent 00b5deb commit fbffc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update-triples-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ wget --no-check-certificate -q https://raw.githubusercontent.com/identifiers-org
wget --no-check-certificate -q https://raw.githubusercontent.com/identifiers-org/ontop/refs/heads/main/idorg-ontology/idorg-ontology.ttl
wget --no-check-certificate -q https://raw.githubusercontent.com/identifiers-org/ontop/refs/heads/main/idorg-ontology/idorg-ontology.obda
ontop materialize --db-user "$ONTOP_DB_USER" --db-password "$ONTOP_DB_PASSWORD" --db-url "$ONTOP_DB_URL" -m ./idorg-ontology.obda -t ./idorg-ontology.ttl -o ./new-idorg-ontology-materialized.rdf -p /dev/null
if diff -q new-idorg-ontology-materialized.rdf idorg-ontology-materialized.rdf > /dev/null; then
if ! diff -q new-idorg-ontology-materialized.rdf idorg-ontology-materialized.rdf > /dev/null; then
echo Updating materialized file

echo -n "{\"message\":\"Sync triples with database [skip ci]\", \"committer\":{\"name\":\"Sync bot\", \"email\":\"[email protected]\"}, \"content\":\"" > datafile
Expand Down

0 comments on commit fbffc34

Please sign in to comment.