• User Guide
  • How-To Guides
  • Developer Guide
  • API Documentation
  • FAQs
  • Support
  • API Documentation
  • VDS.RDF
  • GraphPersistenceWrapper
Show / Hide Table of Contents
  • System.Web.UI
    • HtmlTextWriter
    • HtmlTextWriterAttribute
    • HtmlTextWriterStyle
    • HtmlTextWriterTag
  • VDS.RDF
    • AsyncError
    • BaseBlankNode
    • BaseDemandGraphCollection
    • BaseEndpoint
    • BaseGraph
    • BaseGraphCollection
    • BaseGraphLiteralNode
    • BaseLiteralNode
    • BaseNode
    • BaseTripleCollection
    • BaseTripleComparer
    • BaseTripleStore
    • BaseUriNode
    • BaseVariableNode
    • BasicTripleContext
    • BlankNode
    • BlankNodeMapper
    • BlankNodeOutputMapper
    • CancellableGraphEventArgs
    • CancellableGraphEventHandler
    • ComparisonHelper
    • DiskDemandGraphCollection
    • DiskDemandTripleStore
    • EqualityHelper
    • Extensions
    • FastNodeComparer
    • FastVirtualNodeComparer
    • FileGraphPersistenceWrapper
    • FullTripleComparer
    • Graph
    • GraphCallback
    • GraphCollection
    • GraphDiff
    • GraphDiffReport
    • GraphDiffReportExtensions
    • GraphEventArgs
    • GraphEventHandler
    • GraphExtensions
    • GraphFactory
    • GraphLiteralNode
    • GraphMatcher
    • GraphPersistenceAction
    • GraphPersistenceActionType
    • GraphPersistenceWrapper
    • GraphSizeComparer
    • IBlankNode
    • IGraph
    • IGraphLiteralNode
    • IInferencingTripleStore
    • IInMemoryQueryableStore
    • ILiteralNode
    • INamespaceMapper
    • INativelyQueryableStore
    • IndexHelper
    • INestedNamespaceMapper
    • INode
    • INodeFactory
    • IObjectParser<T>
    • IRdfHandler
    • IRdfReader
    • IRdfWriter
    • ISparqlResultsHandler
    • ISparqlResultsReader
    • ISparqlResultsWriter
    • IStoreReader
    • IStoreWriter
    • ITransactionalGraph
    • ITransactionalStore
    • ITripleContext
    • ITripleStore
    • IUpdateableTripleStore
    • IUriNode
    • IVariableNode
    • IWrappingRdfHandler
    • LiteralEqualityMode
    • LiteralExtensions
    • LiteralNode
    • MimeTypeDefinition
    • MimeTypeSelector
    • MimeTypesHelper
    • NamespaceCallback
    • NamespaceChanged
    • NamespaceMapper
    • NestedNamespaceMapper
    • NodeFactory
    • NodeListCallback
    • NodeType
    • NonIndexedGraph
    • NonIndexedThreadSafeGraph
    • ObjectComparer
    • ObjectSubjectComparer
    • Options
    • PersistentTripleStore
    • PredicateComparer
    • PredicateObjectComparer
    • QNameMapping
    • QNameOutputMapper
    • QueryableGraph
    • QueryCallback
    • RdfException
    • RdfHandlerCallback
    • RdfReaderWarning
    • RdfWriterWarning
    • SparqlResultsCallback
    • SparqlResultsHandlerCallback
    • SparqlWarning
    • StoreGraphPersistenceWrapper
    • StoreReaderWarning
    • StoreWriterWarning
    • StringExtensions
    • SubjectComparer
    • SubjectObjectComparer
    • SubjectPredicateComparer
    • SubTreeIndexedTripleCollection
    • ThreadSafeGraph
    • ThreadSafeGraphCollection
    • ThreadSafeQNameOutputMapper
    • ThreadSafeTripleCollection
    • ThreadSafeTripleStore
    • Tools
    • TreeIndexedTripleCollection
    • Triple
    • TripleCollection
    • TripleEqualityComparer
    • TripleEventArgs
    • TripleEventHandler
    • TripleIndexType
    • TriplePersistenceAction
    • TripleStore
    • TripleStoreCallback
    • TripleStoreEventArgs
    • TripleStoreEventHandler
    • TripleStoreExtensions
    • TripleStorePersistenceAction
    • UnionGraph
    • UnionTripleCollection
    • UnregisteredRdfWriterTypeException
    • UpdateCallback
    • UriComparer
    • UriFactory
    • UriNode
    • VariableContext
    • VariableContextType
    • VariableNode
    • WebDemandGraphCollection
    • WebDemandTripleStore
    • WrapperGraph
    • WrapperGraphCollection
    • WrapperNode
    • WrapperTripleCollection
    • WrapperTripleStore
  • VDS.RDF.Configuration
    • CollectionFactory
    • ConfigurationLoader
    • ConfigurationManagerSettingsProvider
    • ConfigurationSerializationContext
    • CredentialsFactory
    • DatasetFactory
    • DotNetRdfConfigurationException
    • ExpressionFactoryFactory
    • FullTextObjectFactory
    • GraphFactory
    • IConfigurationLoader
    • IConfigurationSerializable
    • IObjectFactory
    • IPathResolver
    • ISettingsProvider
    • ObjectFactoryFactory
    • OperatorFactory
    • OptimiserFactory
    • ParserFactory
    • PermissionFactory
    • PropertyFunctionFactoryFactory
    • ProtocolProcessorFactory
    • ProxyFactory
    • QueryProcessorFactory
    • ReasonerFactory
    • SparqlEndpointFactory
    • StorageFactory
    • StoreFactory
    • UpdateProcessorFactory
    • UserGroupFactory
    • VirtuosoObjectFactory
    • WriterFactory
  • VDS.RDF.Configuration.Permissions
    • IPermission
    • Permission
    • PermissionModel
    • PermissionSet
    • UserGroup
  • VDS.RDF.Data.DataTables
    • DataTableHandler
    • GraphExtensions
    • SparqlResultSetExtensions
  • VDS.RDF.Dynamic
    • DynamicExtensions
    • DynamicGraph
    • DynamicNode
    • DynamicObjectCollection
    • DynamicObjectCollection<T>
    • DynamicSparqlResult
    • DynamicSparqlResultSet
    • DynamicSubjectCollection
    • DynamicSubjectCollection<T>
  • VDS.RDF.JsonLd
    • DefaultDocumentLoader
    • IBlankNodeGenerator
    • INodeMapGenerator
    • IRemoteContextProvider
    • JsonLdContext
    • JsonLdErrorCode
    • JsonLdLoaderOptions
    • JsonLdProcessor
    • JsonLdProcessorException
    • JsonLdProcessorOptions
    • JsonLdProcessorWarning
    • JsonLdRemoteContext
    • JsonLdTermDefinition
    • RemoteContextProvider
    • RemoteDocument
  • VDS.RDF.JsonLd.Processors
    • BlankNodeGenerator
    • NodeMapGenerator
  • VDS.RDF.JsonLd.Syntax
    • JsonLdContainer
    • JsonLdEmbed
    • JsonLdKeywords
    • JsonLdProcessingMode
    • JsonLdRdfDirectionMode
    • JsonLdSyntax
    • JsonLdVocabulary
    • LanguageDirection
  • VDS.RDF.Nodes
    • BooleanNode
    • ByteNode
    • DateNode
    • DateTimeNode
    • DecimalNode
    • DoubleNode
    • FloatNode
    • IValuedNode
    • LongNode
    • NumericNode
    • SignedByteNode
    • StringNode
    • TimeSpanNode
    • UnsignedLongNode
    • ValuedNodeExtensions
  • VDS.RDF.Ontology
    • Individual
    • Ontology
    • OntologyClass
    • OntologyGraph
    • OntologyHelper
    • OntologyProperty
    • OntologyResource
    • RdfOntologyException
    • ReasonerGraph
  • VDS.RDF.Parsing
    • BaseGZipDatasetParser
    • BaseGZipParser
    • BaseGZipResultsParser
    • BlockingTextReader
    • BufferedTextReader
    • DataUriLoader
    • EmbeddedResourceLoader
    • FileLoader
    • GZippedJsonLdParser
    • GZippedNotation3Parser
    • GZippedNQuadsParser
    • GZippedNTriplesParser
    • GZippedRdfAParser
    • GZippedRdfJsonParser
    • GZippedRdfXmlParser
    • GZippedSparqlCsvParser
    • GZippedSparqlJsonParser
    • GZippedSparqlTsvParser
    • GZippedSparqlXmlParser
    • GZippedTriGParser
    • GZippedTriXParser
    • GZippedTurtleParser
    • IRdfAVocabulary
    • IriSpecsHelper
    • ITokenisingParser
    • ITraceableParser
    • ITraceableTokeniser
    • IUriLoaderCache
    • JsonLdParser
    • LanguageTag
    • NonBlockingTextReader
    • Notation3Parser
    • NQuadsParser
    • NQuadsSyntax
    • NTriplesParser
    • NTriplesSyntax
    • ParserHelper
    • ParsingTextReader
    • PositionInfo
    • RdfAParser
    • RdfAParserBase<THtmlDocument, TElement, TNode, TAttribute>
    • RdfASyntax
    • RdfJsonParser
    • RdfParseException
    • RdfParserSelectionException
    • RdfParsingTerminatedException
    • RdfSpecsHelper
    • RdfThreadedParsingException
    • RdfXmlParser
    • RdfXmlParserMode
    • RdfXmlParseType
    • RdfXmlSpecsHelper
    • SparqlBooleanParser
    • SparqlCsvParser
    • SparqlJsonParser
    • SparqlQueryParser
    • SparqlQuerySyntax
    • SparqlRdfParser
    • SparqlTsvParser
    • SparqlUpdateParser
    • SparqlXmlParser
    • StringParser
    • TermMappings
    • TriGParser
    • TriGSyntax
    • TriXParser
    • TurtleParser
    • TurtleSpecsHelper
    • TurtleSyntax
    • UnicodeSpecsHelper
    • UriLoader
    • VirtuosoReader
    • XHtmlRdfAVocabulary
    • XmlSpecsHelper
  • VDS.RDF.Parsing.Contexts
    • BaseParserContext
    • BaseResultsParserContext
    • BaseStoreParserContext
    • IEventParserContext<T>
    • IncompleteTriple
    • IncompleteTripleDirection
    • IParserContext
    • IResultsParserContext
    • IStoreParserContext
    • ITokenisingParserContext
    • JsonParserContext
    • Notation3ParserContext
    • RdfAEvaluationContext
    • RdfAParserContext<THtmlDocument>
    • RdfXmlParserContext
    • SparqlJsonParserContext
    • SparqlQueryParserContext
    • SparqlRdfParserContext
    • SparqlUpdateParserContext
    • SparqlXmlParserContext
    • TokenisingParserContext
    • TokenisingResultParserContext
    • TokenisingStoreParserContext
    • TriGParserContext
    • TurtleParserContext
  • VDS.RDF.Parsing.Events
    • BaseEvent
    • BaseEventQueue<T>
    • BaseRdfAEvent
    • BaseRdfXmlEvent
    • EventQueue<T>
    • IEvent
    • IEventGenerator<T>
    • IEventQueue<T>
    • IJitEventGenerator<T>
    • IPreProcessingEventGenerator<TEvent, TContext>
    • IRdfAEvent
    • IRdfXmlEvent
    • IRdfXmlJitEventGenerator
    • IRdfXmlPreProcessingEventGenerator
    • StreamingEventQueue<T>
    • SublistEventQueue<T>
  • VDS.RDF.Parsing.Events.RdfXml
    • AttributeEvent
    • BlankNodeIDEvent
    • DomBasedEventGenerator
    • ElementEvent
    • EndElementEvent
    • LanguageAttributeEvent
    • NamespaceAttributeEvent
    • ParseTypeAttributeEvent
    • PlainLiteralEvent
    • QNameEvent
    • RdfXmlEvent
    • RootEvent
    • StreamingEventGenerator
    • TextEvent
    • TypedLiteralEvent
    • UriReferenceEvent
    • XmlBaseAttributeEvent
  • VDS.RDF.Parsing.Handlers
    • AnyHandler
    • BaseHandler
    • BaseRdfHandler
    • BaseResultsHandler
    • CancellableHandler
    • ChainedHandler
    • CountHandler
    • GraphHandler
    • GraphUriRewriteHandler
    • HandlerExtensions
    • ListStringsHandler
    • ListUrisHandler
    • MergingResultSetHandler
    • MultiHandler
    • MultisetHandler
    • NullHandler
    • PagingHandler
    • ResultCountHandler
    • ResultSetHandler
    • ResultWriteThroughHandler
    • StoreCountHandler
    • StoreHandler
    • StripStringHandler
    • UniqueBlankNodesHandler
    • WriteThroughHandler
    • WriteToStoreHandler
  • VDS.RDF.Parsing.Tokens
    • AbsKeywordToken
    • AddKeywordToken
    • AllKeywordToken
    • AllToken
    • AndToken
    • AscKeywordToken
    • AsKeywordToken
    • AskKeywordToken
    • AssignmentToken
    • AsynchronousBufferedTokenQueue
    • ATToken
    • AvgKeywordToken
    • BaseDirectiveToken
    • BaseToken
    • BaseTokeniser
    • BaseTokenQueue
    • BindingsKeywordToken
    • BindKeywordToken
    • BitwiseOrToken
    • BlankNodeCollectionToken
    • BlankNodeToken
    • BlankNodeWithIDToken
    • BNodeKeywordToken
    • BOFToken
    • BoundKeywordToken
    • BufferedTokenQueue
    • CallKeywordToken
    • CeilKeywordToken
    • ClearKeywordToken
    • CoalesceKeywordToken
    • CommaToken
    • CommentToken
    • ConcatKeywordToken
    • ConstructKeywordToken
    • CopyKeywordToken
    • CountKeywordToken
    • CreateKeywordToken
    • CsvTokeniser
    • CustomKeywordDefinitionToken
    • CustomKeywordToken
    • DataKeywordToken
    • DataTypeKeywordToken
    • DataTypeToken
    • DayKeywordToken
    • DefaultKeywordToken
    • DeleteKeywordToken
    • DescKeywordToken
    • DescribeKeywordToken
    • DistinctKeywordToken
    • DivideToken
    • DotToken
    • DropKeywordToken
    • EncodeForUriKeywordToken
    • EOFToken
    • EOLToken
    • EqualityToken
    • ExclamationToken
    • ExistsKeywordToken
    • FilterKeywordToken
    • FloorKeywordToken
    • ForAllQuantifierToken
    • ForSomeQuantifierToken
    • FromKeywordToken
    • FromNamedKeywordToken
    • GraphKeywordToken
    • GraphLiteralToken
    • GreaterThanOrEqualToToken
    • GreaterThanToken
    • GroupByKeywordToken
    • GroupConcatKeywordToken
    • HashToken
    • HatHatToken
    • HatToken
    • HavingKeywordToken
    • HoursKeywordToken
    • IfKeywordToken
    • ImpliedByToken
    • ImpliesToken
    • InKeywordToken
    • InsertKeywordToken
    • IntoKeywordToken
    • IriKeywordToken
    • IsBlankKeywordToken
    • IsIriKeywordToken
    • IsLiteralKeywordToken
    • IsNumericKeywordToken
    • IsUriKeywordToken
    • IToken
    • ITokeniser
    • ITokenQueue
    • KeywordAToken
    • KeywordDirectiveToken
    • KeywordIsToken
    • KeywordOfToken
    • LangKeywordToken
    • LangMatchesKeywordToken
    • LanguageSpecifierToken
    • LCaseKeywordToken
    • LeftBracketToken
    • LeftCurlyBracketToken
    • LeftSquareBracketToken
    • LengthKeywordToken
    • LessThanOrEqualToToken
    • LessThanToken
    • LetKeywordToken
    • LimitKeywordToken
    • LiteralToken
    • LiteralWithDataTypeToken
    • LiteralWithLanguageSpecifierToken
    • LoadKeywordToken
    • LongLiteralToken
    • MaxKeywordToken
    • MD5KeywordToken
    • MedianKeywordToken
    • MinKeywordToken
    • MinusKeywordToken
    • MinusToken
    • MinutesKeywordToken
    • ModeKeywordToken
    • MonthKeywordToken
    • MoveKeywordToken
    • MultiplyToken
    • NamedKeywordToken
    • NegationToken
    • NonTokenisedTokenQueue
    • Notation3Tokeniser
    • NotEqualsToken
    • NotExistsKeywordToken
    • NotInKeywordToken
    • NowKeywordToken
    • NTriplesTokeniser
    • NumericMaxKeywordToken
    • NumericMinKeywordToken
    • OffsetKeywordToken
    • OptionalKeywordToken
    • OrderByKeywordToken
    • OrToken
    • PathToken
    • PlainLiteralToken
    • PlusToken
    • PrefixDirectiveToken
    • PrefixToken
    • QNameToken
    • QuestionToken
    • RandKeywordToken
    • ReducedKeywordToken
    • RegexKeywordToken
    • ReplaceKeywordToken
    • RightBracketToken
    • RightCurlyBracketToken
    • RightSquareBracketToken
    • RoundKeywordToken
    • SameTermKeywordToken
    • SampleKeywordToken
    • SecondsKeywordToken
    • SelectKeywordToken
    • SemicolonToken
    • SeparatorKeywordToken
    • ServiceKeywordToken
    • Sha1KeywordToken
    • Sha224KeywordToken
    • Sha256KeywordToken
    • Sha384KeywordToken
    • Sha512KeywordToken
    • SilentKeywordToken
    • SparqlTokeniser
    • StrAfterKeywordToken
    • StrBeforeKeywordToken
    • StrContainsKeywordToken
    • StrDtKeywordToken
    • StrEndsKeywordToken
    • StrKeywordToken
    • StrLangKeywordToken
    • StrLenKeywordToken
    • StrStartsKeywordToken
    • StrUUIDKeywordToken
    • SubStrKeywordToken
    • SumKeywordToken
    • TabToken
    • TimezoneKeywordToken
    • Token
    • TokeniserEscapeMode
    • TokenQueue
    • TokenQueueMode
    • ToKeywordToken
    • TriGTokeniser
    • TsvTokeniser
    • TurtleTokeniser
    • TZKeywordToken
    • UCaseKeywordToken
    • UndefKeywordToken
    • UnderscoreToken
    • UnionKeywordToken
    • UnsaidKeywordToken
    • UriKeywordToken
    • UriToken
    • UsingKeywordToken
    • UUIDKeywordToken
    • ValuesKeywordToken
    • VariableToken
    • WhereKeywordToken
    • WithKeywordToken
    • YearKeywordToken
  • VDS.RDF.Parsing.Validation
    • ISyntaxValidationResults
    • ISyntaxValidator
    • RdfDatasetSyntaxValidator
    • RdfStrictSyntaxValidator
    • RdfSyntaxValidator
    • SparqlQueryValidator
    • SparqlResultsValidator
    • SparqlUpdateValidator
    • SyntaxValidationResults
  • VDS.RDF.Query
    • BaseSparqlView
    • BindingGroup
    • ExplainQueryProcessor
    • ExplanationLevel
    • FederatedSparqlRemoteEndpoint
    • FullTextHelper
    • GenericQueryProcessor
    • ISparqlQueryAlgebraProcessor<TResult, TContext>
    • ISparqlQueryProcessor
    • LeviathanLeftJoinBinder
    • LeviathanQueryProcessor
    • LeviathanResultBinder
    • NativeSparqlView
    • PelletQueryProcessor
    • QueryProcessorBase
    • RdfQueryException
    • RdfQueryTimeoutException
    • RdfReasoningException
    • RemoteQueryProcessor
    • SimpleQueryProcessor
    • SparqlEvaluationContext
    • SparqlNodeComparer
    • SparqlOrderingComparer
    • SparqlParameterizedString
    • SparqlQuery
    • SparqlQueryType
    • SparqlRemoteEndpoint
    • SparqlRemoteEndpoint.AsyncQueryWithResultGraph
    • SparqlRemoteEndpoint.AsyncQueryWithResultSet
    • SparqlResult
    • SparqlResultBinder
    • SparqlResultSet
    • SparqlResultsType
    • SparqlSpecialQueryType
    • SparqlSpecsHelper
    • SparqlVariable
    • SparqlView
  • VDS.RDF.Query.Aggregates
    • BaseAggregate
    • ISparqlAggregate
  • VDS.RDF.Query.Aggregates.Leviathan
    • AllAggregate
    • AnyAggregate
    • MedianAggregate
    • ModeAggregate
    • NoneAggregate
    • NumericMaxAggregate
    • NumericMinAggregate
  • VDS.RDF.Query.Aggregates.Sparql
    • AverageAggregate
    • CountAggregate
    • CountAllAggregate
    • CountAllDistinctAggregate
    • CountDistinctAggregate
    • GroupConcatAggregate
    • MaxAggregate
    • MinAggregate
    • SampleAggregate
    • SumAggregate
  • VDS.RDF.Query.Aggregates.XPath
    • StringJoinAggregate
  • VDS.RDF.Query.Algebra
    • AlgebraExtensions
    • Ask
    • AskAnyTriples
    • AskBgp
    • AskUnion
    • BaseArbitraryLengthPathOperator
    • BaseMultiset
    • BasePathOperator
    • BaseSet
    • Bgp
    • Bindings
    • Distinct
    • ExistsJoin
    • Extend
    • Filter
    • FilteredProduct
    • FullTextQuery
    • Graph
    • GroupBy
    • GroupMultiset
    • Having
    • IAbstractJoin
    • IBgp
    • IdentityFilter
    • IdentityMultiset
    • IExistsJoin
    • IFilter
    • IJoin
    • ILeftJoin
    • IMinus
    • IPathOperator
    • ISet
    • ISparqlAlgebra
    • ITerminalOperator
    • IUnaryOperator
    • IUnion
    • Join
    • LazyBgp
    • LazyUnion
    • LeftJoin
    • Minus
    • Multiset
    • NegatedPropertySet
    • NullMultiset
    • NullOperator
    • OneOrMorePath
    • OrderBy
    • ParallelJoin
    • ParallelUnion
    • PartitionedMultiset
    • PropertyFunction
    • PropertyPath
    • Reduced
    • SameTermFilter
    • Select
    • SelectDistinctGraphs
    • Service
    • Set
    • SetDistinctnessComparer
    • SingleValueRestrictionFilter
    • Slice
    • SubQuery
    • Table
    • Union
    • VariableRestrictionFilter
    • ZeroLengthPath
    • ZeroOrMorePath
  • VDS.RDF.Query.Builder
    • GraphPatternBuilder
    • GraphPatternType
    • IAggregateBuilder
    • IAssignmentVariableNamePart<T>
    • IBindingTupleBuilder
    • IDescribeBuilder
    • IDescribeGraphPatternBuilder
    • IDistinctAggregateBuilder
    • IExpressionBuilder
    • IfElsePart
    • IfThenPart
    • IGraphPatternBuilder
    • IInlineDataBuilder
    • INonAggregateExpressionBuilder
    • IPatternItemFactory
    • IQueryBuilder
    • ISelectBuilder
    • ITriplePatternBuilder
    • ITriplePatternBuilderInternal
    • QueryBuilder
    • QueryBuilderExtensions
    • SparqlCastBuilder
    • TriplePatternBuilder
    • TriplePatternObjectPart
    • TriplePatternPredicatePart
  • VDS.RDF.Query.Builder.Expressions
    • AggregateExpression
    • BlankNodeExpression
    • BooleanExpression
    • IriExpression
    • LiteralExpression
    • NumericExpression
    • NumericExpression<T>
    • PrimaryExpression<TExpression>
    • RdfTermExpression
    • SparqlExpression
    • TypedLiteralExpression<T>
    • VariableExpression
  • VDS.RDF.Query.Construct
    • ConstructContext
  • VDS.RDF.Query.Datasets
    • BaseDataset
    • BaseDemandDataset
    • BaseImmutableDataset
    • BaseImmutableQuadDataset
    • BaseQuadDataset
    • BaseTransactionalDataset
    • BaseTransactionalQuadDataset
    • DatasetGraphCollection
    • FullTextIndexedDataset
    • InMemoryDataset
    • InMemoryQuadDataset
    • ISparqlDataset
    • IThreadSafeDataset
    • WebDemandDataset
    • WrapperDataset
  • VDS.RDF.Query.Describe
    • BaseDescribeAlgorithm
    • ConciseBoundedDescription
    • ISparqlDescribe
    • LabelledDescription
    • MinimalSpanningGraph
    • NamedGraphDescription
    • SimpleSubjectDescription
    • SimpleSubjectObjectDescription
    • SymmetricConciseBoundedDescription
  • VDS.RDF.Query.Expressions
    • ArqFunctionFactory
    • BaseBinaryExpression
    • BaseUnaryExpression
    • FullTextFunctionFactory
    • IExpressionTransformer
    • ISparqlCustomExpressionFactory
    • ISparqlExpression
    • LeviathanFunctionFactory
    • PrimaryExpressionSubstituter
    • SparqlBuiltInFunctionFactory
    • SparqlExpressionFactory
    • SparqlExpressionType
    • SparqlNumericType
    • XPathFunctionFactory
  • VDS.RDF.Query.Expressions.Arithmetic
    • AdditionExpression
    • DivisionExpression
    • MinusExpression
    • MultiplicationExpression
    • SubtractionExpression
  • VDS.RDF.Query.Expressions.Comparison
    • EqualsExpression
    • GreaterThanExpression
    • GreaterThanOrEqualToExpression
    • LessThanExpression
    • LessThanOrEqualToExpression
    • NotEqualsExpression
  • VDS.RDF.Query.Expressions.Conditional
    • AndExpression
    • NotExpression
    • OrExpression
  • VDS.RDF.Query.Expressions.Functions
    • FullTextMatchFunction
    • UnknownFunction
  • VDS.RDF.Query.Expressions.Functions.Arq
    • BNodeFunction
    • EFunction
    • LocalNameFunction
    • MaxFunction
    • MinFunction
    • NamespaceFunction
    • NowFunction
    • PiFunction
    • Sha1Function
    • StringJoinFunction
    • SubstringFunction
  • VDS.RDF.Query.Expressions.Functions.Leviathan.Hash
    • MD5HashFunction
    • Sha256HashFunction
  • VDS.RDF.Query.Expressions.Functions.Leviathan.Numeric
    • CartesianFunction
    • CubeFunction
    • EFunction
    • FactorialFunction
    • LeviathanNaturalLogFunction
    • LogFunction
    • PowerFunction
    • PythagoreanDistanceFunction
    • RandomFunction
    • ReciprocalFunction
    • RootFunction
    • SquareFunction
    • SquareRootFunction
    • TenFunction
  • VDS.RDF.Query.Expressions.Functions.Leviathan.Numeric.Trigonometry
    • BaseTrigonometricFunction
    • CosecantFunction
    • CosineFunction
    • CotangentFunction
    • DegreesToRadiansFunction
    • RadiansToDegreesFunction
    • SecantFunction
    • SineFunction
    • TangentFunction
  • VDS.RDF.Query.Expressions.Functions.Sparql
    • CallFunction
    • CoalesceFunction
    • IfElseFunction
  • VDS.RDF.Query.Expressions.Functions.Sparql.Boolean
    • BoundFunction
    • ExistsFunction
    • IsBlankFunction
    • IsIriFunction
    • IsLiteralFunction
    • IsNumericFunction
    • IsUriFunction
    • LangMatchesFunction
    • RegexFunction
    • SameTermFunction
  • VDS.RDF.Query.Expressions.Functions.Sparql.Constructor
    • BNodeFunction
    • IriFunction
    • StrDtFunction
    • StrLangFunction
  • VDS.RDF.Query.Expressions.Functions.Sparql.DateTime
    • DayFunction
    • HoursFunction
    • MinutesFunction
    • MonthFunction
    • NowFunction
    • SecondsFunction
    • TimezoneFunction
    • TZFunction
    • YearFunction
  • VDS.RDF.Query.Expressions.Functions.Sparql.Hash
    • BaseHashFunction
    • MD5HashFunction
    • Sha1HashFunction
    • Sha256HashFunction
    • Sha384HashFunction
    • Sha512HashFunction
  • VDS.RDF.Query.Expressions.Functions.Sparql.Numeric
    • AbsFunction
    • CeilFunction
    • FloorFunction
    • RandFunction
    • RoundFunction
  • VDS.RDF.Query.Expressions.Functions.Sparql.Set
    • BaseSetFunction
    • InFunction
    • NotInFunction
  • VDS.RDF.Query.Expressions.Functions.Sparql.String
    • BaseBinaryStringFunction
    • BaseUUIDFunction
    • ConcatFunction
    • ContainsFunction
    • DataType11Function
    • DataTypeFunction
    • EncodeForUriFunction
    • LangFunction
    • LCaseFunction
    • ReplaceFunction
    • StrAfterFunction
    • StrBeforeFunction
    • StrEndsFunction
    • StrFunction
    • StrLenFunction
    • StrStartsFunction
    • StrUUIDFunction
    • SubStrFunction
    • UCaseFunction
    • UUIDFunction
  • VDS.RDF.Query.Expressions.Functions.XPath
    • BooleanFunction
  • VDS.RDF.Query.Expressions.Functions.XPath.Cast
    • BaseCast
    • BooleanCast
    • DateTimeCast
    • DecimalCast
    • DoubleCast
    • FloatCast
    • IntegerCast
    • StringCast
  • VDS.RDF.Query.Expressions.Functions.XPath.DateTime
    • BaseUnaryDateTimeFunction
    • DayFromDateTimeFunction
    • HoursFromDateTimeFunction
    • MinutesFromDateTimeFunction
    • MonthFromDateTimeFunction
    • SecondsFromDateTimeFunction
    • TimezoneFromDateTimeFunction
    • YearFromDateTimeFunction
  • VDS.RDF.Query.Expressions.Functions.XPath.Numeric
    • AbsFunction
    • CeilingFunction
    • FloorFunction
    • RoundFunction
    • RoundHalfToEvenFunction
  • VDS.RDF.Query.Expressions.Functions.XPath.String
    • BaseBinaryStringFunction
    • BaseUnaryStringFunction
    • CompareFunction
    • ConcatFunction
    • ContainsFunction
    • EncodeForUriFunction
    • EndsWithFunction
    • EscapeHtmlUriFunction
    • LowerCaseFunction
    • NormalizeSpaceFunction
    • NormalizeUnicodeFunction
    • ReplaceFunction
    • StartsWithFunction
    • StringLengthFunction
    • SubstringAfterFunction
    • SubstringBeforeFunction
    • SubstringFunction
    • UpperCaseFunction
  • VDS.RDF.Query.Expressions.Primary
    • AggregateTerm
    • AllModifier
    • ConstantTerm
    • DistinctModifier
    • GraphPatternTerm
    • VariableTerm
  • VDS.RDF.Query.Filters
    • BaseUnaryFilter
    • BoundFilter
    • ChainFilter
    • ISparqlFilter
    • UnaryExpressionFilter
  • VDS.RDF.Query.FullText
    • FullTextIndexException
    • FullTextQueryException
    • NamespaceDoc
  • VDS.RDF.Query.FullText.Indexing
    • BaseFullTextIndexer
    • BaseSimpleFullTextIndexer
    • IFullTextIndexer
    • IndexingMode
    • NamespaceDoc
  • VDS.RDF.Query.FullText.Indexing.Lucene
    • BaseSimpleLuceneIndexer
    • LuceneObjectsIndexer
    • LucenePredicatesIndexer
    • LuceneSubjectsIndexer
    • NamespaceDoc
  • VDS.RDF.Query.FullText.Schema
    • BaseIndexSchema
    • DefaultIndexSchema
    • IFullTextIndexSchema
    • NamespaceDoc
  • VDS.RDF.Query.FullText.Search
    • FullTextSearchResult
    • IFullTextSearchProvider
    • IFullTextSearchResult
    • NamespaceDoc
  • VDS.RDF.Query.FullText.Search.Lucene
    • BaseLuceneSearchProvider
    • LuceneSearchProvider
    • NamespaceDoc
  • VDS.RDF.Query.Grouping
    • BaseGroupBy
    • GroupByExpression
    • GroupByVariable
    • ISparqlGroupBy
  • VDS.RDF.Query.Inference
    • IInferenceEngine
    • IOwlReasoner
    • IQueryableOwlReasoner
    • OwlHelper
    • OwlHelper.OwlExtractMode
    • OwlReasonerWrapper
    • PelletReasoner
    • RdfsReasoner
    • SimpleN3RulesReasoner
    • SkosReasoner
    • StaticOwlReasonerWrapper
    • StaticRdfsReasoner
    • StaticSkosReasoner
  • VDS.RDF.Query.Inference.Pellet
    • KnowledgeBase
    • PelletClusterServiceCallback
    • PelletConsistencyCallback
    • PelletHelper
    • PelletSearchServiceCallback
    • PelletServer
    • PelletServerReadyCallback
    • PelletService
    • PelletSimilarityServiceCallback
    • ServiceEndpoint
  • VDS.RDF.Query.Inference.Pellet.Services
    • ClassifyService
    • ClusterService
    • ConsistencyService
    • ExplainInconsistentService
    • ExplainInstanceService
    • ExplainPropertyService
    • ExplainService
    • ExplainSubclassService
    • ExplainUnsatService
    • IntegrityConstraintValidationService
    • NamespaceService
    • PredictService
    • QueryService
    • RealizeService
    • SearchService
    • SearchServiceResult
    • SimilarityService
    • UnsupportedService
  • VDS.RDF.Query.Operators
    • BaseOperator
    • ISparqlOperator
    • SparqlOperators
    • SparqlOperatorType
  • VDS.RDF.Query.Operators.DateTime
    • BaseDateTimeOperator
    • BaseTimeSpanOperator
    • DateTimeAddition
    • DateTimeSubtraction
    • TimeSpanAddition
    • TimeSpanSubtraction
  • VDS.RDF.Query.Operators.Numeric
    • AdditionOperator
    • BaseNumericOperator
    • DivisionOperator
    • MultiplicationOperator
    • SubtractionOperator
  • VDS.RDF.Query.Optimisation
    • AskBgpOptimiser
    • BaseAlgebraOptimiser
    • BaseQueryOptimiser
    • DefaultOptimiser
    • FilteredProductOptimiser
    • FullTextOptimiser
    • IAlgebraOptimiser
    • IdentityFilterOptimiser
    • ImplicitJoinOptimiser
    • IQueryOptimiser
    • LazyBgpOptimiser
    • NoReorderComparer
    • NoReorderOptimiser
    • OrderByDistinctOptimiser
    • ParallelEvaluationOptimiser
    • PropertyFunctionOptimiser
    • SimpleVirtualAlgebraOptimiser
    • SparqlOptimiser
    • StrictAlgebraOptimiser
    • VariableSubstitutionTransformer
    • VirtualAlgebraOptimiser<TNodeID, TGraphID>
    • WeightedOptimiser
  • VDS.RDF.Query.Ordering
    • BaseOrderBy
    • ISparqlOrderBy
    • OrderByExpression
    • OrderByVariable
  • VDS.RDF.Query.Paths
    • AlternativePath
    • BaseBinaryPath
    • BaseUnaryPath
    • Cardinality
    • FixedCardinality
    • InversePath
    • ISparqlPath
    • NegatedSet
    • NOrMore
    • NToM
    • OneOrMore
    • PathEvaluationContext
    • PathTransformContext
    • PotentialPath
    • Property
    • SequencePath
    • ZeroOrMore
    • ZeroOrOne
    • ZeroToN
  • VDS.RDF.Query.Patterns
    • BaseTriplePattern
    • BindingsPattern
    • BindingTuple
    • BindPattern
    • BlankNodePattern
    • FilterPattern
    • FixedBlankNodePattern
    • GraphPattern
    • IAssignmentPattern
    • IConstructTriplePattern
    • IFilterPattern
    • IMatchTriplePattern
    • IPropertyFunctionPattern
    • IPropertyPathPattern
    • ISubQueryPattern
    • ITriplePattern
    • LetPattern
    • NodeMatchPattern
    • PatternItem
    • PropertyFunctionPattern
    • PropertyPathPattern
    • SubQueryPattern
    • TriplePattern
    • TriplePatternType
    • TriplePatternTypeComparer
    • VariablePattern
  • VDS.RDF.Query.PropertyFunctions
    • FullTextMatchPropertyFunction
    • FullTextPropertyFunctionFactory
    • IPropertyFunctionFactory
    • ISparqlPropertyFunction
    • PropertyFunctionFactory
    • PropertyFunctionHelper
    • PropertyFunctionInfo
  • VDS.RDF.Query.Spin
    • SpinWrappedDataset
    • SpinWrappedGraph
  • VDS.RDF.Query.Spin.Core
    • Aggregations
  • VDS.RDF.Query.Spin.Inference
    • InferenceExtensions
  • VDS.RDF.Query.Spin.LibraryOntology
    • RDFx
  • VDS.RDF.Query.Spin.Statistics
    • ISPINStatisticsListener
  • VDS.RDF.Shacl
    • Path
    • ShapesGraph
    • Vocabulary
  • VDS.RDF.Shacl.Validation
    • Report
    • Result
    • ResultCollection
  • VDS.RDF.Skos
    • RdfSkosException
    • SkosCollection
    • SkosConcept
    • SkosConceptScheme
    • SkosGraph
    • SkosHelper
    • SkosMember
    • SkosOrderedCollection
    • SkosResource
  • VDS.RDF.Storage
    • AllegroGraphConnector
    • AsyncStorageCallback
    • AsyncStorageCallbackArgs
    • AsyncStorageOperation
    • BaseAsyncHttpConnector
    • BaseAsyncSafeConnector
    • BaseHttpConnector
    • BaseSesameHttpProtocolConnector
    • BaseStardogConnector
    • BatchTriple
    • DatasetFileManager
    • FourStoreConnector
    • FusekiConnector
    • IAsyncQueryableStorage
    • IAsyncStorageProvider
    • IAsyncTransactionalStorage
    • IAsyncUpdateableStorage
    • InMemoryManager
    • IOBehaviour
    • IQueryableStorage
    • IReasoningQueryableStorage
    • IStorageCapabilities
    • IStorageProvider
    • ITransactionalStorage
    • IUpdateableStorage
    • QueryableReadOnlyConnector
    • RdfStorageException
    • ReadOnlyConnector
    • ReadWriteSparqlConnector
    • SesameHttpProtocolConnector
    • SesameHttpProtocolVersion5Connector
    • SesameHttpProtocolVersion6Connector
    • SparqlConnector
    • SparqlConnectorLoadMethod
    • SparqlHttpProtocolConnector
    • StardogConnector
    • StardogReasoningMode
    • StardogV1Connector
    • StardogV2Connector
    • StardogV3Connector
    • StorageHelper
    • VirtuosoManager
  • VDS.RDF.Storage.Management
    • AllegroGraphServer
    • BaseStardogServer
    • BaseStardogServer.DatabaseOptions
    • IAsyncStorageServer
    • IStorageServer
    • SesameServer
    • StardogServer
    • StardogV1Server
    • StardogV2Server
    • StardogV3Server
  • VDS.RDF.Storage.Management.Provisioning
    • IStoreTemplate
    • StoreTemplate
  • VDS.RDF.Storage.Management.Provisioning.Sesame
    • BaseSesameTemplate
    • SesameHttpTemplate
    • SesameMemTemplate
    • SesameNativeIndexMode
    • SesameNativeTemplate
  • VDS.RDF.Storage.Management.Provisioning.Stardog
    • BaseStardogTemplate
    • StardogDiskTemplate
    • StardogMemTemplate
  • VDS.RDF.Storage.Virtualisation
    • BaseVirtualBlankNode<TNodeID, TGraphID>
    • BaseVirtualGraphLiteralNode<TNodeID, TGraphID>
    • BaseVirtualLiteralNode<TNodeID, TGraphID>
    • BaseVirtualNode<TNodeID, TGraphID>
    • BaseVirtualUriNode<TNodeID, TGraphID>
    • BaseVirtualVariableNode<TNodeID, TGraphID>
    • ICanCopy
    • IVirtualIdComparable
    • IVirtualNode<TNodeID, TGraphID>
    • IVirtualRdfProvider<TNodeID, TGraphID>
    • SimpleVirtualBlankNode
    • SimpleVirtualGraphLiteralNode
    • SimpleVirtualLiteralNode
    • SimpleVirtualNodeCache<TNodeID>
    • SimpleVirtualUriNode
    • SimpleVirtualVariableNode
    • StoreVirtualGraphPersistenceWrapper<TNodeID, TGraphID>
    • VirtualNodeCache<TNodeID, TKey>
  • VDS.RDF.Update
    • ExplainUpdateProcessor
    • GenericUpdateProcessor
    • ISparqlUpdateProcessor
    • LeviathanUpdateProcessor
    • RemoteUpdateProcessor
    • SimpleUpdateProcessor
    • SparqlRemoteUpdateEndpoint
    • SparqlUpdateCommand
    • SparqlUpdateCommandSet
    • SparqlUpdateCommandType
    • SparqlUpdateEvaluationContext
    • SparqlUpdateException
    • SparqlUpdateMalformedException
    • SparqlUpdatePermissionException
    • SparqlUpdateSpecsHelper
    • SparqlUpdateTimeoutException
  • VDS.RDF.Update.Commands
    • AddCommand
    • BaseModificationCommand
    • BaseTransferCommand
    • ClearCommand
    • ClearMode
    • CopyCommand
    • CreateCommand
    • DeleteCommand
    • DeleteDataCommand
    • DropCommand
    • InsertCommand
    • InsertDataCommand
    • LoadCommand
    • ModifyCommand
    • MoveCommand
  • VDS.RDF.Update.Protocol
    • BaseProtocolProcessor
    • GenericProtocolProcessor
    • ISparqlHttpProtocolProcessor
    • LeviathanProtocolProcessor
    • ProtocolToUpdateProcessor
    • SparqlHttpProtocolException
    • SparqlHttpProtocolUriInvalidException
    • SparqlHttpProtocolUriResolutionException
  • VDS.RDF.Web
    • BaseDatasetHandler
    • BaseGraphHandler
    • BaseSparqlHttpProtocolHandler
    • BaseSparqlQueryHandler
    • BaseSparqlServer
    • BaseSparqlUpdateHandler
    • DatasetHandler
    • GraphHandler
    • HandlerHelper
    • HttpContextExtensions
    • IHttpContext
    • IHttpProtocolRequest
    • IHttpProtocolResponse
    • NegotiateByFileExtension
    • ProtocolHandler
    • QueryHandler
    • SchemaGraphHandler
    • ServiceDescriptionType
    • SparqlServer
    • SparqlServiceDescriber
    • UpdateHandler
    • WebContext
    • WildcardGraphHandler
    • WildcardProtocolHandler
  • VDS.RDF.Web.Configuration
    • BaseHandlerConfiguration
    • WebConfigurationLoader
    • WebConfigurationPathResolver
  • VDS.RDF.Web.Configuration.Protocol
    • BaseProtocolHandlerConfiguration
    • ProtocolHandlerConfiguration
  • VDS.RDF.Web.Configuration.Query
    • BaseQueryHandlerConfiguration
    • QueryHandlerConfiguration
  • VDS.RDF.Web.Configuration.Resource
    • BaseDatasetHandlerConfiguration
    • BaseGraphHandlerConfiguration
    • DatasetHandlerConfiguration
    • GraphHandlerConfiguration
  • VDS.RDF.Web.Configuration.Server
    • BaseSparqlServerConfiguration
    • SparqlServerConfiguration
  • VDS.RDF.Web.Configuration.Update
    • BaseUpdateHandlerConfiguration
    • UpdateHandlerConfiguration
  • VDS.RDF.Writing
    • BaseGZipDatasetWriter
    • BaseGZipResultsWriter
    • BaseGZipWriter
    • BaseHtmlWriter
    • BaseRdfWriter
    • CollectionSearchMode
    • CompressingTurtleWriter
    • CsvStoreWriter
    • CsvWriter
    • GraphMLSpecsHelper
    • GraphMLWriter
    • GraphVizGenerator
    • GraphVizWriter
    • GZippedJsonLdWriter
    • GZippedNotation3Writer
    • GZippedNQuadsWriter
    • GZippedNTriplesWriter
    • GZippedRdfAWriter
    • GZippedRdfJsonWriter
    • GZippedRdfXmlWriter
    • GZippedSparqlCsvWriter
    • GZippedSparqlJsonWriter
    • GZippedSparqlTsvWriter
    • GZippedSparqlXmlWriter
    • GZippedTriGWriter
    • GZippedTriXWriter
    • GZippedTurtleWriter
    • HtmlSchemaWriter
    • HtmlWriter
    • IAttributeWriter
    • ICollapseLiteralsWriter
    • ICompressingWriter
    • IDtdWriter
    • IFormatterBasedWriter
    • IHighSpeedWriter
    • IHtmlWriter
    • IMultiThreadedWriter
    • INamespaceWriter
    • IPrettyPrintingWriter
    • JsonLdWriter
    • JsonLdWriterOptions
    • NodeFormat
    • Notation3Writer
    • NQuadsWriter
    • NTriplesWriter
    • OutputRdfCollection
    • PrettyRdfXmlWriter
    • RdfJsonWriter
    • RdfOutputException
    • RdfThreadedOutputException
    • RdfWriterSelectionException
    • RdfXmlWriter
    • SingleGraphWriter
    • SparqlCsvWriter
    • SparqlHtmlWriter
    • SparqlJsonWriter
    • SparqlRdfWriter
    • SparqlTsvWriter
    • SparqlXmlWriter
    • SparqlXsltWriter
    • StringWriter
    • TriGWriter
    • TripleSegment
    • TriXWriter
    • TsvStoreWriter
    • TsvWriter
    • TurtleWriter
    • WriterCompressionLevel
    • WriterErrorMessages
    • WriterHelper
  • VDS.RDF.Writing.Contexts
    • BaseStoreWriterContext
    • BaseWriterContext
    • CompressingTurtleWriterContext
    • HtmlWriterContext
    • ICollectionCompressingWriterContext
    • IStoreWriterContext
    • IWriterContext
    • NTriplesWriterContext
    • RdfXmlWriterContext
    • ThreadedStoreWriterContext
    • TriGWriterContext
    • TurtleWriterContext
  • VDS.RDF.Writing.Formatting
    • BaseFormatter
    • CsvFormatter
    • DeliminatedLineFormatter
    • HtmlFormatter
    • IBaseUriFormatter
    • ICharFormatter
    • IGraphFormatter
    • INamespaceFormatter
    • INodeFormatter
    • IQueryFormatter
    • IResultFormatter
    • IResultSetFormatter
    • ITripleFormatter
    • IUriFormatter
    • Notation3Formatter
    • NQuads11Formatter
    • NQuadsFormatter
    • NTriples11Formatter
    • NTriplesFormatter
    • QNameFormatter
    • RdfXmlFormatter
    • SparqlFormatter
    • SparqlXmlFormatter
    • TsvFormatter
    • TurtleFormatter
    • TurtleW3CFormatter
    • UncompressedNotation3Formatter
    • UncompressedTurtleFormatter

Class GraphPersistenceWrapper

The Graph Persistence Wrapper is a wrapper around another Graph that can be used to batch persistence actions with the ability to Flush/Discard changes as desired.
Inheritance
System.Object
GraphPersistenceWrapper
FileGraphPersistenceWrapper
StoreGraphPersistenceWrapper
Implements
ITransactionalGraph
IGraph
INodeFactory
System.IDisposable
System.Xml.Serialization.IXmlSerializable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
[Serializable]
public class GraphPersistenceWrapper : ITransactionalGraph, IGraph, INodeFactory, IDisposable, IXmlSerializable
Remarks

When disposed any outstanding changes are always flushed so if you make changes which you don't want to persist be sure to call the Discard() method before disposing of the Graph.

Implementors who wish to make persistent graphs should extend this class and override the SupportsTriplePersistence property and the PersistInsertedTriples(IEnumerable<Triple>), PersistDeletedTriples(IEnumerable<Triple>) and PersistGraph() methods. If you return true for the property then the PersistInsertedTriples(IEnumerable<Triple>) and PersistDeletedTriples(IEnumerable<Triple>) methods will be invoked to do persistence on batches of Triples. If your persistence mechanism requires persisting the entire graph at once return false for the property and override the PersistGraph() method appropriately.

Warning

Note that the wrapper does not automatically dispose of the wrapped graph when the wrapper is Dispose, this is by design since disposing of the wrapped Graph can have unintended consequences.

Constructors

| Improve this Doc View Source

GraphPersistenceWrapper()

Creates a new Graph Persistence Wrapper around a new Graph.
Declaration
public GraphPersistenceWrapper()
| Improve this Doc View Source

GraphPersistenceWrapper(Boolean)

Creates a new Graph Persistence Wrapper around a new Graph with the given always queue setting.
Declaration
public GraphPersistenceWrapper(bool alwaysQueueActions)
Parameters
Type Name Description
System.Boolean alwaysQueueActions Whether to always queue actions.
Remarks
The alwaysQueueActions setting when enabled will cause the wrapper to queue Asserts and Retracts for persistence regardless of whether the relevant Triples already exist (i.e. normally if a Triple exists is cannot be asserted again and if it doesn't exist it cannot be retracted). This is useful for creating derived wrappers which operate in write-only mode i.e. append mode for an existing graph that may be too large to reasonably load into memory.
| Improve this Doc View Source

GraphPersistenceWrapper(SerializationInfo, StreamingContext)

Deserialization Constructor.
Declaration
protected GraphPersistenceWrapper(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info Serialization Information.
System.Runtime.Serialization.StreamingContext context Streaming Context.
| Improve this Doc View Source

GraphPersistenceWrapper(IGraph)

Creates a new Graph Persistence Wrapper around the given Graph.
Declaration
public GraphPersistenceWrapper(IGraph g)
Parameters
Type Name Description
IGraph g Graph.
| Improve this Doc View Source

GraphPersistenceWrapper(IGraph, Boolean)

Creates a new Graph Persistence Wrapper around the given Graph with the given always queue setting.
Declaration
public GraphPersistenceWrapper(IGraph g, bool alwaysQueueActions)
Parameters
Type Name Description
IGraph g Graph.
System.Boolean alwaysQueueActions Whether to always queue actions.
Remarks
The alwaysQueueActions setting when enabled will cause the wrapper to queue Asserts and Retracts for persistence regardless of whether the relevant Triples already exist (i.e. normally if a Triple exists is cannot be asserted again and if it doesn't exist it cannot be retracted). This is useful for creating derived wrappers which operate in write-only mode i.e. append mode for an existing graph that may be too large to reasonably load into memory.

Fields

| Improve this Doc View Source

_g

Underlying Graph this is a wrapper around.
Declaration
protected readonly IGraph _g
Field Value
Type Description
IGraph

Properties

| Improve this Doc View Source

AllNodes

Gets the unique Subject, Predicate and Object nodes of the Graph.
Declaration
public IEnumerable<INode> AllNodes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<INode>
| Improve this Doc View Source

BaseUri

Gets/Sets the Base URI of the Graph.
Declaration
public Uri BaseUri { get; set; }
Property Value
Type Description
System.Uri
| Improve this Doc View Source

IsEmpty

Gets whether the Graph is empty.
Declaration
public bool IsEmpty { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

NamespaceMap

Gets the Namespace Map for the Graph.
Declaration
public INamespaceMapper NamespaceMap { get; }
Property Value
Type Description
INamespaceMapper
| Improve this Doc View Source

Nodes

Gets the unique Subject and Object nodes of the Graph.
Declaration
public IEnumerable<INode> Nodes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<INode>
Remarks
This property returns only nodes that appear in the Subject or Object position in triples. To retrieve a list of all INode instances in a graph including those in Predicate position in a triple, use the AllNodes property.
| Improve this Doc View Source

SupportsTriplePersistence

Used to indicate whether the persistence mechanism can persist batches of Triples.
Declaration
protected virtual bool SupportsTriplePersistence { get; }
Property Value
Type Description
System.Boolean
Remarks

If true then the PersistInsertedTriples(IEnumerable<Triple>) and PersistDeletedTriples(IEnumerable<Triple>) methods are used to persist changes when the Flush() method is called. If false then the PersistGraph() method will be invoked instead.

| Improve this Doc View Source

Triples

Gets the Triple Collection for the Graph.
Declaration
public BaseTripleCollection Triples { get; }
Property Value
Type Description
BaseTripleCollection

Methods

| Improve this Doc View Source

Assert(IEnumerable<Triple>)

Asserts Triples in the Graph.
Declaration
public bool Assert(IEnumerable<Triple> ts)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Triple> ts Triples.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Assert(Triple)

Asserts a Triple in the Graph.
Declaration
public virtual bool Assert(Triple t)
Parameters
Type Name Description
Triple t Triple.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

AttachEventHandlers(BaseTripleCollection)

Helper method for attaching the necessary event Handlers to a Triple Collection.
Declaration
protected void AttachEventHandlers(BaseTripleCollection tripleCollection)
Parameters
Type Name Description
BaseTripleCollection tripleCollection Triple Collection.
Remarks
May be useful if you replace the Triple Collection after instantiation e.g. as done in SparqlView's.
| Improve this Doc View Source

Clear()

Clears the Graph.
Declaration
public void Clear()
| Improve this Doc View Source

ContainsTriple(Triple)

Gets whether a given Triple exists in this Graph.
Declaration
public virtual bool ContainsTriple(Triple t)
Parameters
Type Name Description
Triple t Triple to test.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

CreateBlankNode()

Creates a new Blank Node.
Declaration
public IBlankNode CreateBlankNode()
Returns
Type Description
IBlankNode
| Improve this Doc View Source

CreateBlankNode(String)

Creates a new Blank Node with the given Node ID.
Declaration
public IBlankNode CreateBlankNode(string nodeId)
Parameters
Type Name Description
System.String nodeId Node ID.
Returns
Type Description
IBlankNode
| Improve this Doc View Source

CreateGraphLiteralNode()

Creates a new Graph Literal Node.
Declaration
public IGraphLiteralNode CreateGraphLiteralNode()
Returns
Type Description
IGraphLiteralNode
| Improve this Doc View Source

CreateGraphLiteralNode(IGraph)

Creates a new Graph Literal Node with the given sub-graph.
Declaration
public IGraphLiteralNode CreateGraphLiteralNode(IGraph subgraph)
Parameters
Type Name Description
IGraph subgraph Sub-graph.
Returns
Type Description
IGraphLiteralNode
| Improve this Doc View Source

CreateLiteralNode(String)

Creates a new Literal Node.
Declaration
public ILiteralNode CreateLiteralNode(string literal)
Parameters
Type Name Description
System.String literal Value.
Returns
Type Description
ILiteralNode
| Improve this Doc View Source

CreateLiteralNode(String, String)

Creates a new Literal Node with the given Language.
Declaration
public ILiteralNode CreateLiteralNode(string literal, string langspec)
Parameters
Type Name Description
System.String literal Value.
System.String langspec Language.
Returns
Type Description
ILiteralNode
| Improve this Doc View Source

CreateLiteralNode(String, Uri)

Creates a new Literal Node with the given Datatype.
Declaration
public ILiteralNode CreateLiteralNode(string literal, Uri datatype)
Parameters
Type Name Description
System.String literal Value.
System.Uri datatype Datatype URI.
Returns
Type Description
ILiteralNode
| Improve this Doc View Source

CreateUriNode()

Creates a new URI Node that references the Graphs Base URI.
Declaration
public IUriNode CreateUriNode()
Returns
Type Description
IUriNode
| Improve this Doc View Source

CreateUriNode(String)

Creates a new URI Node from a QName.
Declaration
public IUriNode CreateUriNode(string qname)
Parameters
Type Name Description
System.String qname QName.
Returns
Type Description
IUriNode
| Improve this Doc View Source

CreateUriNode(Uri)

Creates a new URI Node.
Declaration
public IUriNode CreateUriNode(Uri uri)
Parameters
Type Name Description
System.Uri uri URI.
Returns
Type Description
IUriNode
| Improve this Doc View Source

CreateVariableNode(String)

Creates a new Variable Node.
Declaration
public IVariableNode CreateVariableNode(string varname)
Parameters
Type Name Description
System.String varname Variable Name.
Returns
Type Description
IVariableNode
| Improve this Doc View Source

DetachEventHandlers(BaseTripleCollection)

Helper method for detaching the necessary event Handlers from a Triple Collection.
Declaration
protected void DetachEventHandlers(BaseTripleCollection tripleCollection)
Parameters
Type Name Description
BaseTripleCollection tripleCollection Triple Collection.
Remarks
May be useful if you replace the Triple Collection after instantiation e.g. as done in SparqlView's.
| Improve this Doc View Source

Difference(IGraph)

Computes the Difference between this Graph the given Graph.
Declaration
public GraphDiffReport Difference(IGraph g)
Parameters
Type Name Description
IGraph g Graph.
Returns
Type Description
GraphDiffReport
Remarks

Produces a report which shows the changes that must be made to this Graph to produce the given Graph.

| Improve this Doc View Source

Discard()

Discards all changes which have yet to be persisted so that they are not persisted to the underlying storage.
Declaration
public void Discard()
| Improve this Doc View Source

Dispose()

Disposes of the persistence wrapper and in doing so persists any changes to the underlying storage.
Declaration
public void Dispose()
| Improve this Doc View Source

Dispose(Boolean)

Disposes of the persistence wrapper and in doing so persists any changes to the underlying storage.
Declaration
protected void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing Whether the method was called from Dispose() or the destructor.
| Improve this Doc View Source

Equals(Object)

Determines whether a Graph is equal to another Object.
Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj Object to test.
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)
Remarks

A Graph can only be equal to another Object which is an IGraph.

Graph Equality is determined by a somewhat complex algorithm which is explained in the remarks of the other overload for Equals.

| Improve this Doc View Source

Equals(IGraph, out Dictionary<INode, INode>)

Determines whether this Graph is equal to the given Graph.
Declaration
public bool Equals(IGraph g, out Dictionary<INode, INode> mapping)
Parameters
Type Name Description
IGraph g Graph to test for equality.
System.Collections.Generic.Dictionary<INode, INode> mapping Mapping of Blank Nodes iff the Graphs are equal and contain some Blank Nodes.
Returns
Type Description
System.Boolean
Remarks

The algorithm used to determine Graph equality is based in part on a Iterative Vertex Classification Algorithm described in a Technical Report from HP by Jeremy J Carroll -. Matching RDF Graphs

Graph Equality is determined according to the following algorithm:.

  1. If the given Graph is null Graphs are not equal
  2. If the given Graph is this Graph (as determined by Reference Equality) then Graphs are equal
  3. If the Graphs have a different number of Triples they are not equal
  4. Declare a list of Triples which are the Triples of the given Graph called OtherTriples
  5. Declare two dictionaries of Nodes to Integers which are called LocalClassification and OtherClassification
  6. For Each Triple in this Graph
    1. If it is a Ground Triple and cannot be found and removed from OtherTriples then Graphs are not equal since the Triple does not exist in both Graphs
    2. If it contains Blank Nodes track the number of usages of this Blank Node in LocalClassification
  7. If there are any Triples remaining in OtherTriples which are Ground Triples then Graphs are not equal since this Graph does not contain them
  8. If all the Triples from both Graphs were Ground Triples and there were no Blank Nodes then the Graphs are equal
  9. Iterate over the remaining Triples in OtherTriples and populate the OtherClassification
  10. If the count of the two classifications is different the Graphs are not equal since there are differing numbers of Blank Nodes in the Graph
  11. Now build two additional dictionaries of Integers to Integers which are called LocalDegreeClassification and OtherDegreeClassification. Iterate over LocalClassification and OtherClassification such that the corresponding degree classifications contain a mapping of the number of Blank Nodes with a given degree
  12. If the count of the two degree classifications is different the Graphs are not equal since there are not the same range of Blank Node degrees in both Graphs
  13. For All classifications in LocalDegreeClassification there must be a matching classification in OtherDegreeClassification else the Graphs are not equal
  14. Then build a possible mapping using the following rules:
    1. Any Blank Node used only once should be mapped to an equivalent Blank Node in the other Graph. If this is not possible then the Graphs are not equal
    2. Any Blank Node with a unique degree should be mapped to an equivalent Blank Node in the other Graph. If this is not possible then the Graphs are not equal
    3. Keep a copy of the mapping up to this point as a Base Mapping for use as a fallback in later steps
    4. Build up lists of dependent pairs of Blank Nodes for both Graphs
    5. Use these lists to determine if there are any independent nodes not yet mapped. These should be mapped to equivalent Blank Nodes in the other Graph, if this is not possible the Graphs are not equal
    6. Use the Dependencies and existing mappings to generate a possible mapping
    7. If a Complete Possible Mapping (there is a Mapping for each Blank Node from this Graph to the Other Graph) then test this mapping. If it succeeds then the Graphs are equal
    8. Otherwise we now fallback to the Base Mapping and use it as a basis for Brute Forcing the possible solution space and testing every possibility until either a mapping works or we find the Graphs to be non-equal
| Improve this Doc View Source

Finalize()

Destructor for the wrapper to ensure that Dispose() is called and thus that persistence happens
Declaration
protected void Finalize()
| Improve this Doc View Source

Flush()

Flushes all changes which have yet to be persisted to the underlying storage.
Declaration
public void Flush()
| Improve this Doc View Source

GetBlankNode(String)

Attempts to get the Blank Node with the given ID.
Declaration
public IBlankNode GetBlankNode(string nodeId)
Parameters
Type Name Description
System.String nodeId Node ID.
Returns
Type Description
IBlankNode The Node if it exists or null.
| Improve this Doc View Source

GetLiteralNode(String)

Attempts to get the Literal Node with the given Value.
Declaration
public ILiteralNode GetLiteralNode(string literal)
Parameters
Type Name Description
System.String literal Value.
Returns
Type Description
ILiteralNode The Node if it exists or null.
| Improve this Doc View Source

GetLiteralNode(String, String)

Attempts to get the Literal Node with the given Value and Language.
Declaration
public ILiteralNode GetLiteralNode(string literal, string langspec)
Parameters
Type Name Description
System.String literal Value.
System.String langspec Language.
Returns
Type Description
ILiteralNode The Node if it exists or null.
| Improve this Doc View Source

GetLiteralNode(String, Uri)

Attempts to get the Literal Node with the given Value and Datatype.
Declaration
public ILiteralNode GetLiteralNode(string literal, Uri datatype)
Parameters
Type Name Description
System.String literal Value.
System.Uri datatype Datatype URI.
Returns
Type Description
ILiteralNode The Node if it exists or null otherwise.
| Improve this Doc View Source

GetNextBlankNodeID()

Gets the next available Blank Node ID.
Declaration
public string GetNextBlankNodeID()
Returns
Type Description
System.String
| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

Gets the Serialization Information.
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info Serialization Information.
System.Runtime.Serialization.StreamingContext context Streaming Context.
| Improve this Doc View Source

GetSchema()

Gets the Schema for XML serialization.
Declaration
public XmlSchema GetSchema()
Returns
Type Description
System.Xml.Schema.XmlSchema
| Improve this Doc View Source

GetTriples(Uri)

Gets all the Triples involving the given URI.
Declaration
public IEnumerable<Triple> GetTriples(Uri uri)
Parameters
Type Name Description
System.Uri uri The URI to find Triples involving.
Returns
Type Description
System.Collections.Generic.IEnumerable<Triple> Zero/More Triples.
| Improve this Doc View Source

GetTriples(INode)

Gets all the Triples involving the given Node.
Declaration
public IEnumerable<Triple> GetTriples(INode n)
Parameters
Type Name Description
INode n The Node to find Triples involving.
Returns
Type Description
System.Collections.Generic.IEnumerable<Triple> Zero/More Triples.
| Improve this Doc View Source

GetTriplesWithObject(Uri)

Gets all the Triples with the given URI as the Object.
Declaration
public IEnumerable<Triple> GetTriplesWithObject(Uri u)
Parameters
Type Name Description
System.Uri u The URI to find Triples with it as the Object.
Returns
Type Description
System.Collections.Generic.IEnumerable<Triple> Zero/More Triples.
| Improve this Doc View Source

GetTriplesWithObject(INode)

Gets all the Triples with the given Node as the Object.
Declaration
public IEnumerable<Triple> GetTriplesWithObject(INode n)
Parameters
Type Name Description
INode n The Node to find Triples with it as the Object.
Returns
Type Description
System.Collections.Generic.IEnumerable<Triple>
| Improve this Doc View Source

GetTriplesWithPredicate(Uri)

Gets all the Triples with the given Uri as the Predicate.
Declaration
public IEnumerable<Triple> GetTriplesWithPredicate(Uri u)
Parameters
Type Name Description
System.Uri u The Uri to find Triples with it as the Predicate.
Returns
Type Description
System.Collections.Generic.IEnumerable<Triple> Zero/More Triples.
| Improve this Doc View Source

GetTriplesWithPredicate(INode)

Gets all the Triples with the given Node as the Predicate.
Declaration
public IEnumerable<Triple> GetTriplesWithPredicate(INode n)
Parameters
Type Name Description
INode n The Node to find Triples with it as the Predicate.
Returns
Type Description
System.Collections.Generic.IEnumerable<Triple>
| Improve this Doc View Source

GetTriplesWithPredicateObject(INode, INode)

Selects all Triples with the given Predicate and Object.
Declaration
public IEnumerable<Triple> GetTriplesWithPredicateObject(INode pred, INode obj)
Parameters
Type Name Description
INode pred Predicate.
INode obj Object.
Returns
Type Description
System.Collections.Generic.IEnumerable<Triple>
| Improve this Doc View Source

GetTriplesWithSubject(Uri)

Gets all the Triples with the given Uri as the Subject.
Declaration
public IEnumerable<Triple> GetTriplesWithSubject(Uri u)
Parameters
Type Name Description
System.Uri u The Uri to find Triples with it as the Subject.
Returns
Type Description
System.Collections.Generic.IEnumerable<Triple> Zero/More Triples.
| Improve this Doc View Source

GetTriplesWithSubject(INode)

Gets all the Triples with the given Node as the Subject.
Declaration
public IEnumerable<Triple> GetTriplesWithSubject(INode n)
Parameters
Type Name Description
INode n The Node to find Triples with it as the Subject.
Returns
Type Description
System.Collections.Generic.IEnumerable<Triple> Zero/More Triples.
| Improve this Doc View Source

GetTriplesWithSubjectObject(INode, INode)

Selects all Triples with the given Subject and Object.
Declaration
public IEnumerable<Triple> GetTriplesWithSubjectObject(INode subj, INode obj)
Parameters
Type Name Description
INode subj Subject.
INode obj Object.
Returns
Type Description
System.Collections.Generic.IEnumerable<Triple>
| Improve this Doc View Source

GetTriplesWithSubjectPredicate(INode, INode)

Selects all Triples with the given Subject and Predicate.
Declaration
public IEnumerable<Triple> GetTriplesWithSubjectPredicate(INode subj, INode pred)
Parameters
Type Name Description
INode subj Subject.
INode pred Predicate.
Returns
Type Description
System.Collections.Generic.IEnumerable<Triple>
| Improve this Doc View Source

GetUriNode(String)

Returns the UriNode with the given QName if it exists.
Declaration
public IUriNode GetUriNode(string qname)
Parameters
Type Name Description
System.String qname The QName of the Node to select.
Returns
Type Description
IUriNode
| Improve this Doc View Source

GetUriNode(Uri)

Returns the UriNode with the given Uri if it exists.
Declaration
public IUriNode GetUriNode(Uri uri)
Parameters
Type Name Description
System.Uri uri The Uri of the Node to select.
Returns
Type Description
IUriNode Either the UriNode Or null if no Node with the given Uri exists.
| Improve this Doc View Source

HasSubGraph(IGraph)

Checks whether this Graph has the given Graph as a sub-graph.
Declaration
public bool HasSubGraph(IGraph g)
Parameters
Type Name Description
IGraph g Graph.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

HasSubGraph(IGraph, out Dictionary<INode, INode>)

Checks whether this Graph has the given Graph as a sub-graph.
Declaration
public bool HasSubGraph(IGraph g, out Dictionary<INode, INode> mapping)
Parameters
Type Name Description
IGraph g Graph.
System.Collections.Generic.Dictionary<INode, INode> mapping Mapping of Blank Nodes.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsSubGraphOf(IGraph)

Checks whether this Graph is a sub-graph of the given Graph.
Declaration
public bool IsSubGraphOf(IGraph g)
Parameters
Type Name Description
IGraph g Graph.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsSubGraphOf(IGraph, out Dictionary<INode, INode>)

Checks whether this Graph is a sub-graph of the given Graph.
Declaration
public bool IsSubGraphOf(IGraph g, out Dictionary<INode, INode> mapping)
Parameters
Type Name Description
IGraph g Graph.
System.Collections.Generic.Dictionary<INode, INode> mapping Mapping of Blank Nodes.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Merge(IGraph)

Merges another Graph into the current Graph.
Declaration
public virtual void Merge(IGraph g)
Parameters
Type Name Description
IGraph g Graph to Merge into this Graph.
Remarks
The Graph on which you invoke this method will preserve its Blank Node IDs while the Blank Nodes from the Graph being merged in will be given new IDs as required in the scope of this Graph.
| Improve this Doc View Source

Merge(IGraph, Boolean)

Merges another Graph into the current Graph.
Declaration
public virtual void Merge(IGraph g, bool keepOriginalGraphUri)
Parameters
Type Name Description
IGraph g Graph to Merge into this Graph.
System.Boolean keepOriginalGraphUri Indicates that the Merge should preserve the Graph URIs of Nodes so they refer to the Graph they originated in.
Remarks

The Graph on which you invoke this method will preserve its Blank Node IDs while the Blank Nodes from the Graph being merged in will be given new IDs as required in the scope of this Graph.

The Graph will raise the MergeRequested event before the Merge operation which gives any event handlers the oppurtunity to cancel this event. When the Merge operation is completed the Merged event is raised.

| Improve this Doc View Source

OnTripleAsserted(Object, TripleEventArgs)

Event Handler which handles the TripleAdded event from the underlying Triple Collection by raising the Graph's TripleAsserted event.
Declaration
protected virtual void OnTripleAsserted(object sender, TripleEventArgs args)
Parameters
Type Name Description
System.Object sender Sender.
TripleEventArgs args Triple Event Arguments.
| Improve this Doc View Source

OnTripleRetracted(Object, TripleEventArgs)

Event Handler which handles the TripleRemoved event from the underlying Triple Collection by raising the Graph's TripleRetracted event.
Declaration
protected virtual void OnTripleRetracted(object sender, TripleEventArgs args)
Parameters
Type Name Description
System.Object sender Sender.
TripleEventArgs args Triple Event Arguments.
| Improve this Doc View Source

PersistDeletedTriples(IEnumerable<Triple>)

Persists deleted Triples to the underlying Storage.
Declaration
protected virtual void PersistDeletedTriples(IEnumerable<Triple> ts)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Triple> ts
| Improve this Doc View Source

PersistGraph()

Persists the entire Graph to the underlying Storage.
Declaration
protected virtual void PersistGraph()
| Improve this Doc View Source

PersistInsertedTriples(IEnumerable<Triple>)

Persists inserted Triples to the underlying Storage.
Declaration
protected virtual void PersistInsertedTriples(IEnumerable<Triple> ts)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Triple> ts Triples.
| Improve this Doc View Source

RaiseCleared()

Helper method for raising the Cleared event.
Declaration
protected void RaiseCleared()
| Improve this Doc View Source

RaiseClearRequested()

Helper method for raising the ClearRequested event and returning whether any of the Event Handlers cancelled the operation.
Declaration
protected bool RaiseClearRequested()
Returns
Type Description
System.Boolean True if the operation can continue, false if it should be aborted.
| Improve this Doc View Source

RaiseGraphChanged()

Helper method for raising the Changed event.
Declaration
protected void RaiseGraphChanged()
| Improve this Doc View Source

RaiseGraphChanged(TripleEventArgs)

Helper method for raising the Changed event.
Declaration
protected void RaiseGraphChanged(TripleEventArgs args)
Parameters
Type Name Description
TripleEventArgs args Triple Event Arguments.
| Improve this Doc View Source

RaiseMerged()

Helper method for raising the Merged event.
Declaration
protected void RaiseMerged()
| Improve this Doc View Source

RaiseMergeRequested()

Helper method for raising the MergeRequested event and returning whether any of the Event Handlers cancelled the operation.
Declaration
protected bool RaiseMergeRequested()
Returns
Type Description
System.Boolean True if the operation can continue, false if it should be aborted.
| Improve this Doc View Source

RaiseTripleAsserted(Triple)

Helper method for raising the TripleAsserted event manually.
Declaration
protected void RaiseTripleAsserted(Triple t)
Parameters
Type Name Description
Triple t Triple.
| Improve this Doc View Source

RaiseTripleAsserted(TripleEventArgs)

Helper method for raising the TripleAsserted event manually.
Declaration
protected void RaiseTripleAsserted(TripleEventArgs args)
Parameters
Type Name Description
TripleEventArgs args Triple Event Arguments.
| Improve this Doc View Source

RaiseTripleRetracted(Triple)

Helper method for raising the TripleRetracted event manually.
Declaration
protected void RaiseTripleRetracted(Triple t)
Parameters
Type Name Description
Triple t Triple.
| Improve this Doc View Source

RaiseTripleRetracted(TripleEventArgs)

Helper method for raising the TripleRetracted event manually.
Declaration
protected void RaiseTripleRetracted(TripleEventArgs args)
Parameters
Type Name Description
TripleEventArgs args
| Improve this Doc View Source

ReadXml(XmlReader)

Reads the data for XML deserialization.
Declaration
public void ReadXml(XmlReader reader)
Parameters
Type Name Description
System.Xml.XmlReader reader XML Reader.
| Improve this Doc View Source

ResolveQName(String)

Helper function for Resolving QNames to URIs.
Declaration
public Uri ResolveQName(string qname)
Parameters
Type Name Description
System.String qname QName to resolve to a Uri.
Returns
Type Description
System.Uri
| Improve this Doc View Source

Retract(IEnumerable<Triple>)

Retracts Triples from the Graph.
Declaration
public bool Retract(IEnumerable<Triple> ts)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Triple> ts Triples.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Retract(Triple)

Retracts a Triple from the Graph.
Declaration
public virtual bool Retract(Triple t)
Parameters
Type Name Description
Triple t Triple.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

WriteXml(XmlWriter)

Writes the data for XML serialization.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type Name Description
System.Xml.XmlWriter writer XML Writer.

Events

| Improve this Doc View Source

Changed

Event which is raised when the Graph contents change
Declaration
public event GraphEventHandler Changed
Event Type
Type Description
GraphEventHandler
| Improve this Doc View Source

Cleared

Event which is raised after the Graph is cleared of its contents
Declaration
public event GraphEventHandler Cleared
Event Type
Type Description
GraphEventHandler
| Improve this Doc View Source

ClearRequested

Event which is raised just before the Graph is cleared of its contents
Declaration
public event CancellableGraphEventHandler ClearRequested
Event Type
Type Description
CancellableGraphEventHandler
| Improve this Doc View Source

Merged

Event which is raised when a Merge operation is completed on the Graph
Declaration
public event GraphEventHandler Merged
Event Type
Type Description
GraphEventHandler
| Improve this Doc View Source

MergeRequested

Event which is raised when a Merge operation is requested on the Graph
Declaration
public event CancellableGraphEventHandler MergeRequested
Event Type
Type Description
CancellableGraphEventHandler
| Improve this Doc View Source

TripleAsserted

Event which is raised when a Triple is asserted in the Graph
Declaration
public event TripleEventHandler TripleAsserted
Event Type
Type Description
TripleEventHandler
| Improve this Doc View Source

TripleRetracted

Event which is raised when a Triple is retracted from the Graph
Declaration
public event TripleEventHandler TripleRetracted
Event Type
Type Description
TripleEventHandler

Implements

ITransactionalGraph
IGraph
INodeFactory
System.IDisposable
System.Xml.Serialization.IXmlSerializable

Extension Methods

GraphExtensions.ToDataTable(IGraph)
Extensions.AsEnumerable<T>(T)
Extensions.Assert(IGraph, INode, INode, INode)
Extensions.Retract(IGraph, INode, INode, INode)
Extensions.AssertList<T>(IGraph, IEnumerable<T>, Func<T, INode>)
Extensions.AssertList<T>(IGraph, INode, IEnumerable<T>, Func<T, INode>)
Extensions.AssertList(IGraph, IEnumerable<INode>)
Extensions.AssertList(IGraph, INode, IEnumerable<INode>)
Extensions.GetListAsTriples(IGraph, INode)
Extensions.GetListItems(IGraph, INode)
Extensions.GetListNodes(IGraph, INode)
Extensions.RetractList(IGraph, INode)
Extensions.AddToList<T>(IGraph, INode, IEnumerable<T>, Func<T, INode>)
Extensions.AddToList(IGraph, INode, IEnumerable<INode>)
Extensions.RemoveFromList<T>(IGraph, INode, IEnumerable<T>, Func<T, INode>)
Extensions.RemoveFromList(IGraph, INode, IEnumerable<INode>)
GraphExtensions.ExecuteQuery(IGraph, String)
GraphExtensions.ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, String)
GraphExtensions.ExecuteQuery(IGraph, SparqlParameterizedString)
GraphExtensions.ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, SparqlParameterizedString)
GraphExtensions.ExecuteQuery(IGraph, SparqlQuery)
GraphExtensions.ExecuteQuery(IGraph, IRdfHandler, ISparqlResultsHandler, SparqlQuery)
GraphExtensions.LoadFromFile(IGraph, String, IRdfReader)
GraphExtensions.LoadFromFile(IGraph, String)
GraphExtensions.LoadFromUri(IGraph, Uri, IRdfReader)
GraphExtensions.LoadFromUri(IGraph, Uri)
GraphExtensions.LoadFromString(IGraph, String, IRdfReader)
GraphExtensions.LoadFromString(IGraph, String)
GraphExtensions.LoadFromEmbeddedResource(IGraph, String)
GraphExtensions.LoadFromEmbeddedResource(IGraph, String, IRdfReader)
GraphExtensions.SaveToFile(IGraph, String, IRdfWriter)
GraphExtensions.SaveToFile(IGraph, String, IStoreWriter)
GraphExtensions.SaveToFile(IGraph, String)
GraphExtensions.SaveToStream(IGraph, TextWriter, IRdfWriter)
GraphExtensions.SaveToStream(IGraph, TextWriter, IStoreWriter)
GraphExtensions.SaveToStream(IGraph, String, TextWriter)
DynamicExtensions.AsDynamic(IGraph, Uri, Uri)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • GraphPersistenceWrapper()
    • GraphPersistenceWrapper(Boolean)
    • GraphPersistenceWrapper(SerializationInfo, StreamingContext)
    • GraphPersistenceWrapper(IGraph)
    • GraphPersistenceWrapper(IGraph, Boolean)
  • Fields
    • _g
  • Properties
    • AllNodes
    • BaseUri
    • IsEmpty
    • NamespaceMap
    • Nodes
    • SupportsTriplePersistence
    • Triples
  • Methods
    • Assert(IEnumerable<Triple>)
    • Assert(Triple)
    • AttachEventHandlers(BaseTripleCollection)
    • Clear()
    • ContainsTriple(Triple)
    • CreateBlankNode()
    • CreateBlankNode(String)
    • CreateGraphLiteralNode()
    • CreateGraphLiteralNode(IGraph)
    • CreateLiteralNode(String)
    • CreateLiteralNode(String, String)
    • CreateLiteralNode(String, Uri)
    • CreateUriNode()
    • CreateUriNode(String)
    • CreateUriNode(Uri)
    • CreateVariableNode(String)
    • DetachEventHandlers(BaseTripleCollection)
    • Difference(IGraph)
    • Discard()
    • Dispose()
    • Dispose(Boolean)
    • Equals(Object)
    • Equals(IGraph, out Dictionary<INode, INode>)
    • Finalize()
    • Flush()
    • GetBlankNode(String)
    • GetLiteralNode(String)
    • GetLiteralNode(String, String)
    • GetLiteralNode(String, Uri)
    • GetNextBlankNodeID()
    • GetObjectData(SerializationInfo, StreamingContext)
    • GetSchema()
    • GetTriples(Uri)
    • GetTriples(INode)
    • GetTriplesWithObject(Uri)
    • GetTriplesWithObject(INode)
    • GetTriplesWithPredicate(Uri)
    • GetTriplesWithPredicate(INode)
    • GetTriplesWithPredicateObject(INode, INode)
    • GetTriplesWithSubject(Uri)
    • GetTriplesWithSubject(INode)
    • GetTriplesWithSubjectObject(INode, INode)
    • GetTriplesWithSubjectPredicate(INode, INode)
    • GetUriNode(String)
    • GetUriNode(Uri)
    • HasSubGraph(IGraph)
    • HasSubGraph(IGraph, out Dictionary<INode, INode>)
    • IsSubGraphOf(IGraph)
    • IsSubGraphOf(IGraph, out Dictionary<INode, INode>)
    • Merge(IGraph)
    • Merge(IGraph, Boolean)
    • OnTripleAsserted(Object, TripleEventArgs)
    • OnTripleRetracted(Object, TripleEventArgs)
    • PersistDeletedTriples(IEnumerable<Triple>)
    • PersistGraph()
    • PersistInsertedTriples(IEnumerable<Triple>)
    • RaiseCleared()
    • RaiseClearRequested()
    • RaiseGraphChanged()
    • RaiseGraphChanged(TripleEventArgs)
    • RaiseMerged()
    • RaiseMergeRequested()
    • RaiseTripleAsserted(Triple)
    • RaiseTripleAsserted(TripleEventArgs)
    • RaiseTripleRetracted(Triple)
    • RaiseTripleRetracted(TripleEventArgs)
    • ReadXml(XmlReader)
    • ResolveQName(String)
    • Retract(IEnumerable<Triple>)
    • Retract(Triple)
    • WriteXml(XmlWriter)
  • Events
    • Changed
    • Cleared
    • ClearRequested
    • Merged
    • MergeRequested
    • TripleAsserted
    • TripleRetracted
  • Implements
  • Extension Methods
Back to top Generated by DocFX