Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielhmills/b6666bcb18cb019edc766e2ff3bcda9f to your computer and use it in GitHub Desktop.
Save danielhmills/b6666bcb18cb019edc766e2ff3bcda9f to your computer and use it in GitHub Desktop.
input {
jdbc {
jdbc_driver_library => "/path_to_virtuoso_jdbc_driver/virtjdbc4.jar"
jdbc_driver_class => "Java::virtuoso.jdbc4.Driver"
jdbc_connection_string => "jdbc:virtuoso://localhost:1111"
jdbc_user => "{Username}"
jdbc_password => "{Password}"
#SPARQL-Within-SQL Example
statement => "SELECT CAST(X.s as varchar) AS test FROM (SPARQL SELECT ?s WHERE {?s ?p ?o} LIMIT 10) as X"
#SQL Example
#statement => "SELECT * FROM wine.kg.data"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment