whitespace
authorHeikki Levanto <heikki@indexdata.dk>
Fri, 8 May 2015 09:36:54 +0000 (11:36 +0200)
committerHeikki Levanto <heikki@indexdata.dk>
Fri, 8 May 2015 09:36:54 +0000 (11:36 +0200)
bibframe/triplestore.xml

index 000f8ce..25fab14 100644 (file)
 
                     OPTIONAL {
                         ?wobj1 ?wrel2 ?wobj2
-                        MINUS { ?wobj1 a bf:Work }
-                        MINUS { ?wobj1 a bf:Instance }
+                            MINUS { ?wobj1 a bf:Work }
+                            MINUS { ?wobj1 a bf:Instance }
                         OPTIONAL {
                             ?wobj2 ?wrel3 ?wobj3
-                            MINUS { ?wobj2 a bf:Work }
-                            MINUS { ?wobj2 a bf:Instance }
+                                MINUS { ?wobj2 a bf:Work }
+                                MINUS { ?wobj2 a bf:Instance }
                         }
                     }
                     <!-- Link to the instance(s) -->
                         ?inst ?irel1 ?iobj1
                         OPTIONAL {
                             ?iobj1 ?irel2 ?iobj2
-                            MINUS { ?iobj1 a bf:Work }
-                            MINUS { ?iobj1 a bf:Instance }
+                                MINUS { ?iobj1 a bf:Work }
+                                MINUS { ?iobj1 a bf:Instance }
                             OPTIONAL {
                                 ?iobj2 ?irel3 ?iobj3
-                                MINUS { ?iobj2 a bf:Work }
-                                MINUS { ?iobj2 a bf:Instance }
+                                    MINUS { ?iobj2 a bf:Work }
+                                    MINUS { ?iobj2 a bf:Instance }
                             }
                         }
                     }
                     %u ?irel1 ?iobj1
                     OPTIONAL {
                         ?iobj1 ?irel2 ?iobj2
-                        MINUS { ?iobj2 a bf:Work }
-                        MINUS { ?iobj2 a bf:Instance }
+                            MINUS { ?iobj2 a bf:Work }
+                            MINUS { ?iobj2 a bf:Instance }
                         OPTIONAL {
                             ?iobj2 ?irel3 ?iobj3
-                            MINUS { ?iobj3 a bf:Work }
-                            MINUS { ?iobj3 a bf:Instance }
+                                MINUS { ?iobj3 a bf:Work }
+                                MINUS { ?iobj3 a bf:Instance }
                         }
                     }
-
-                    OPTIONAL {
+                    OPTIONAL { <!-- Work -->
                         %u bf:instanceOf ?work
                         ?work ?wrel1 ?wobj1
                         OPTIONAL {
                             ?wobj1 ?wrel2 ?wobj2
-                            MINUS { ?wobj1 a bf:Work }
-                            MINUS { ?wobj1 a bf:Instance }
+                                MINUS { ?wobj1 a bf:Work }
+                                MINUS { ?wobj1 a bf:Instance }
                             OPTIONAL {
                                 ?wobj2 ?wrel3 ?wobj3
-                                MINUS { ?wobj2 a bf:Work }
-                                MINUS { ?wobj2 a bf:Instance }
+                                    MINUS { ?wobj2 a bf:Work }
+                                    MINUS { ?wobj2 a bf:Instance }
                             }
                         }
                     }