Skip to content

Commit

Permalink
Merge pull request #110 from LD4P/remove-whitespace-in-ttl
Browse files Browse the repository at this point in the history
main and added entry specs: remove extra whitespace in ttl
  • Loading branch information
justinlittman authored Sep 24, 2021
2 parents f8b7fb4 + 59d88af commit f31806d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
13 changes: 6 additions & 7 deletions spec/rdf2marc/rdf2model/mappers/added_entry_fields_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,10 @@
let(:ttl) do
<<~TTL
<#{work_term}> <http://id.loc.gov/ontologies/bibframe/contribution> _:b9.
_:b9 a <http://id.loc.gov/ontologies/bibframe/Contribution>;
<http://id.loc.gov/ontologies/bibframe/agent> _:b10.
_:b10 a <http://id.loc.gov/ontologies/bibframe/Organization>;
<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "Iranian Chemical Society", "United States. Army Map Service".
_:b9 a <http://id.loc.gov/ontologies/bibframe/Contribution>;
<http://id.loc.gov/ontologies/bibframe/agent> _:b10.
_:b10 a <http://id.loc.gov/ontologies/bibframe/Organization>;
<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "Iranian Chemical Society", "United States. Army Map Service".
TTL
end

Expand Down Expand Up @@ -412,7 +412,7 @@
context 'when mapping from multiple BF.Meeting URIs' do
let(:ttl) do
<<~TTL
<#{work_term}> <http://id.loc.gov/ontologies/bibframe/contribution> _:b11.
<#{work_term}> <http://id.loc.gov/ontologies/bibframe/contribution> _:b11.
_:b11 a <http://id.loc.gov/ontologies/bibframe/Contribution>;
<http://id.loc.gov/ontologies/bibframe/agent> _:b12.
_:b12 a <http://id.loc.gov/ontologies/bibframe/Meeting>;
Expand Down Expand Up @@ -455,7 +455,6 @@
<http://id.loc.gov/ontologies/bibframe/agent> _:b14.
_:b14 a <http://id.loc.gov/ontologies/bibframe/Meeting>;
<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "Women and National Health Insurance Meeting", "Van Cliburn International Piano Competition".
#{' '}
TTL
end

Expand All @@ -480,7 +479,7 @@
context 'when mapping from multiple BF.Meeting URIs with roles' do
let(:ttl) do
<<~TTL
<#{work_term}> <http://id.loc.gov/ontologies/bibframe/contribution> _:b11.
<#{work_term}> <http://id.loc.gov/ontologies/bibframe/contribution> _:b11.
_:b11 a <http://id.loc.gov/ontologies/bibframe/Contribution>;
<http://id.loc.gov/ontologies/bibframe/agent> _:b12;
<http://id.loc.gov/ontologies/bibframe/role> <http://id.loc.gov/vocabulary/relators/ill>;
Expand Down
1 change: 0 additions & 1 deletion spec/rdf2marc/rdf2model/mappers/main_entry_fields_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@
<http://id.loc.gov/ontologies/bibframe/agent> _:b14.
_:b14 a <http://id.loc.gov/ontologies/bibframe/Meeting>;
<http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "Women and National Health Insurance Meeting", "Van Cliburn International Piano Competition".
#{' '}
TTL
end

Expand Down

0 comments on commit f31806d

Please sign in to comment.