Created
July 1, 2010 02:05
-
-
Save fumi/459459 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rdf' | |
require 'rdf/raptor' | |
repo = RDF::Repository.new | |
count = 0 | |
while true | |
repo.load("test.ttl") | |
count += 1 | |
puts count | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix rdfs: <http://www.w3.org/2000/01/01/rdf-schema#> . | |
<http://example.org/1> rdfs:label "Test" . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suppose we could also consider improving rdf-raptor's CLI/FFI mode autodetection to look for the FFI library in some well-known locations such as this one. For instance, most Mac OS X users would benefit from it trying the MacPorts location of
/opt/local/lib
, yet that path will rarely be in the system's library path since that is known to cause conflicts and general weirdness (hence the numerousDYLD_FALLBACK_LIBRARY_PATH
hacks out there, and so on). Something I'll try and keep in mind for the next point release (please feel free to open a ticket if you'd like to see this feature).