Sha256: cdec842937a0305d1df6acb9da48375266e3255bb1cd053c3748e5aaf35824c4

Contents?: true

Size: 1.21 KB

Versions: 14

Compression:

Stored size: 1.21 KB

Contents

Feature: load triples into a store

	In order to query and share data
	I want to be able load the output into a variety of store 

	Scenario: Use an RDF::Graph to store data
		Given a store of type graph
		When I call the stores add method with the turtle file spec/turtle/bacon and an RDF::Repository
		Then I should recieve a non-empty graph

	Scenario: Use 4store to store data
		Given a store of type fourstore
		When I call the stores add method with the turtle file spec/turtle/bacon and the graph name "test"
		Then I should receive an info string

	Scenario: Run queries on store
		Given a store of type fourstore
		When I call the query method using the text in file spec/queries/integrity/1.rq
		Then I should receive 0 results
		When I call the query method using the text in file resources/queries/test.rq
		Then I should receive 10 results

	Scenario: Run queries on graph based store
		Given a store of type graph
		When I call the stores add method with the turtle file spec/turtle/bacon and an RDF::Repository
		Then calling the query method using the text in file spec/queries/integrity/1.rq should return 0 results
		And calling the query method using the text in file resources/queries/test.rq should return 10 results

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
publisci-0.1.6 features/store.feature
publisci-0.1.5 features/store.feature
publisci-0.1.4 features/store.feature
publisci-0.1.3 features/store.feature
publisci-0.1.2 features/store.feature
bio-publisci-0.1.0 features/store.feature
bio-publisci-0.0.8 features/store.feature
bio-publisci-0.0.7 features/store.feature
bio-publisci-0.0.6 features/store.feature
bio-publisci-0.0.5 features/store.feature
bio-publisci-0.0.4 features/store.feature
bio-publisci-0.0.3 features/store.feature
bio-publisci-0.0.2 features/store.feature
bio-publisci-0.0.1 features/store.feature