Created
July 30, 2011 19:26
-
-
Save kendall/1115889 to your computer and use it in GitHub Desktop.
applicationContext.xml
This file contains hidden or 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
<bean name="dataSource" class="com.clarkparsia.stardog.ext.spring.DataSourceFactoryBean"> | |
<property name="to" value="testdb"/> | |
<property name="createIfNotPresent" value="true"/> | |
</bean> | |
<bean name="template" class="com.clarkparsia.stardog.ext.spring.SnarlTemplate"> | |
<property name="dataSource" ref="dataSource"/> | |
</bean> | |
<bean name="importer" class="com.clarkparsia.stardog.ext.spring.DataImporter"> | |
<property name="snarlTemplate" ref="template"/> | |
<property name="format" value="N3"/> | |
<property name="inputFiles"> | |
<list> | |
<value>classpath:sp2b_10k.n3</value> | |
</list> | |
</property> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment