User:Jeblad/wb

There are two working sets, one global for cached items and one for matched items. The matched items are local for the instance. All access loading an item puts the item into the global set.

The identifier is a property if using the form "Pnum", an item if using the form "Qnum". A path consist of a sequence of identifiers, where an initial @ signifies a property or item used as a claim at the reified statemet.

Methods

 * find : This filter on the given path. Could be used as or   to do an implicit select of matched item. Returns self.
 * next : Matches any node one step forward from the current matched nodes. Note that as this steps on nodes a match on property or item could always fail. Could be used as,   or   to do an implicit select of matched item. Returns self.
 * nextItem : Matches any item node one step forward from the current matched nodes. Note that as this steps on nodes of type item and a match on property will always fail. Could be used as,   or   to do an implicit select of matched item. Returns self.
 * nextClaim : Matches any claim node one step forward from the current matched nodes. Note that as this steps on nodes of type claim and a match on item cwill always fail. Could be used as,   or   to do an implicit select of matched item. Returns self.
 * nextUntil : Matches any node forward from the current matched nodes. Will use all available expensive calls if misconfigurated. Could be used as,   or   to do an implicit select of matched item. Returns self.
 * back : Matches any node one step backward from the current matched nodes. Could be used as,   or   to do an implicit select of matched item. Returns self.
 * backItem
 * backClaim
 * backUntil
 * hasClaim
 * hasQualifier
 * hasReference
 * filter
 * types : This process the current nodes, and filter on the given type. Could be used as  or  . Returns the actual type or types.
 * items : This process the current nodes, if they are items, or unwinds them until an item is found, and filter on the given item id. Could be used as  or  . Returns the actual item or items.
 * claims : This process the current nodes, if they are claims, or unwinds them until a claim is found, and then filter on the given property id. Could be used as  or  . Returns the actual item or items.
 * qualifiers : This dives into the qualifiers for the current nodes, if they are claims, or unwinds them until a claim is found, and filter on the given property id. Could be used as  or  . Returns the actual qualifier or qualifiers.
 * references : This dives into the references for the current nodes, if they are claims, or unwinds them until a claim is found, and filter on the given property id. Could be used as  or  . Returns the actual reference or references.