+ <form>SELECT DISTINCT ?thing </form>
+
+ <!-- Common indexes -->
+
+ <!-- bf.uri is a simple way to get to a thing -->
+ <index type="bf.uri">
+ ?thing rdf:type ?any FILTER( ?thing = %u ) </index>
+
+
+ <!-- The BF-L present format is the same for everything -->
+ <!-- Each db is supposed to provide a dedicated BF-F present format -->
+ <present type="BF-L">
+ CONSTRUCT {
+ ?thing ?rel ?subj
+ }
+ WHERE {
+ ?thing ?rel ?subj .
+ ?thing ?rel ?subj FILTER( str(?thing) = %s )
+ }
+ </present>
+
+ </db>
+
+ <!-- "smallindex" db that will be included in work and instance -->
+ <!-- It provides the small indexes like bf.person, bf.place, etc -->
+ <db path="smallindex">
+ <!-- Indexes for persons, organizations, etc -->
+ <!-- The person (etc) may be in any relation to the thing, -->
+ <!-- subject, creator, etc, as long as there is a direct link -->
+ <index type="bf.person">
+ ?thing ?rel ?person .
+ ?person a bf:Person .
+ ?person bf:label %v FILTER(contains(%v, %s))
+ </index>
+ <!-- TODO - make many more like the person above -->
+ </db>
+
+ <!-- work database -->