266 | | <ed:Capabilities> |
267 | | <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability> |
268 | | </ed:Capabilities> |
269 | | <ed:SupportedDataViews> |
270 | | <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView> |
271 | | </ed:SupportedDataViews> |
272 | | <ed:Resources> |
273 | | <!-- just one top-level resource at the Endpoint --> |
274 | | <ed:Resource pid="http://hdl.handle.net/4711/0815"> |
275 | | <ed:Title xml:lang="de">Goethe Korpus</ed:Title> |
276 | | <ed:Title xml:lang="en">Goethe corpus</ed:Title> |
277 | | <ed:Description xml:lang="de">Das Goethe-Korpus des IDS Mannheim.</ed:Description> |
278 | | <ed:Description xml:lang="en">The Goethe corpus of IDS Mannheim.</ed:Description> |
279 | | <ed:LandingPageURI>http://repos.example.org/corpus1.html</ed:LandingPageURI> |
280 | | <ed:Languages> |
281 | | <ed:Language>deu</ed:Language> |
282 | | </ed:Languages> |
283 | | <ed:AvailableDataViews ref="hits" /> |
| 266 | <ed:Capabilities> |
| 267 | <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability> |
| 268 | </ed:Capabilities> |
| 269 | <ed:SupportedDataViews> |
| 270 | <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView> |
| 271 | </ed:SupportedDataViews> |
| 272 | <ed:Resources> |
| 273 | <!-- just one top-level resource at the Endpoint --> |
| 274 | <ed:Resource pid="http://hdl.handle.net/4711/0815"> |
| 275 | <ed:Title xml:lang="de">Goethe Korpus</ed:Title> |
| 276 | <ed:Title xml:lang="en">Goethe corpus</ed:Title> |
| 277 | <ed:Description xml:lang="de">Das Goethe-Korpus des IDS Mannheim.</ed:Description> |
| 278 | <ed:Description xml:lang="en">The Goethe corpus of IDS Mannheim.</ed:Description> |
| 279 | <ed:LandingPageURI>http://repos.example.org/corpus1.html</ed:LandingPageURI> |
| 280 | <ed:Languages> |
| 281 | <ed:Language>deu</ed:Language> |
| 282 | </ed:Languages> |
| 283 | <ed:AvailableDataViews ref="hits" /> |
| 284 | </ed:Resource> |
| 285 | </ed:Resources> |
| 286 | </ed:EndpointDescription> |
| 287 | }}} |
| 288 | [#REF_Example_4 Example 4] shows a simple Endpoint Description for an Endpoint that only supports the ''Basic Search'' Capability and only provides the Generic Hits Data View, which is indicated by a `<ed:SupportedDataView>` element. This element carries an `@id` attribute with a value of `hits`, the recommended value for the short identifier, and indicates a delivery policy of ''send-by-default'' by the `@delivery-policy` attribute. It only provides one top-level resource identified by the persistent identifier `http://hdl.handle.net/4711/0815`. The resource has a title as well as a description in German and English. A landing page is located at `http://repos.example.org/corpus1.html`. The predominant language in the resource contents is German. Only the Generic Hits Data View is supported for this resource, because the `<ed:AvailableDataViews>` element only references the `<ed:SupporedDataView>` element with the `@id` with a value of `hits`. |
| 289 | |
| 290 | [=#REF_Example_5]Example 5: |
| 291 | {{{#!xml |
| 292 | <ed:EndpointDescription xmlns:ed="http://clarin.eu/fcs/endpoint-description" version="2"> |
| 293 | <ed:Capabilities> |
| 294 | <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability> |
| 295 | </ed:Capabilities> |
| 296 | <ed:SupportedDataViews> |
| 297 | <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView> |
| 298 | <ed:SupportedDataView id="cmdi" delivery-policy="need-to-request">application/x-cmdi+xml</ed:SupportedDataView> |
| 299 | </ed:SupportedDataViews> |
| 300 | <ed:Resources> |
| 301 | <!-- top-level resource 1 --> |
| 302 | <ed:Resource pid="http://hdl.handle.net/4711/0815"> |
| 303 | <ed:Title xml:lang="de">Goethe Korpus</ed:Title> |
| 304 | <ed:Title xml:lang="en">Goethe corpus</ed:Title> |
| 305 | <ed:Description xml:lang="de">Das Goethe-Korpus des IDS Mannheim.</ed:Description> |
| 306 | <ed:Description xml:lang="en">The Goethe corpus of IDS Mannheim.</ed:Description> |
| 307 | <ed:LandingPageURI>http://repos.example.org/corpus1.html</ed:LandingPageURI> |
| 308 | <ed:Languages> |
| 309 | <ed:Language>deu</ed:Language> |
| 310 | </ed:Languages> |
| 311 | <ed:AvailableDataViews ref="hits" /> |
| 312 | </ed:Resource> |
| 313 | <!-- top-level resource 2 --> |
| 314 | <ed:Resource pid="http://hdl.handle.net/4711/0816"> |
| 315 | <ed:Title xml:lang="de">Zeitungskorpus des Mannheimer Morgen</ed:Title> |
| 316 | <ed:Title xml:lang="en">Mannheimer Morgen newspaper corpus</ed:Title> |
| 317 | <ed:LandingPageURI>http://repos.example.org/corpus2.html</ed:LandingPageURI> |
| 318 | <ed:Languages> |
| 319 | <ed:Language>deu</ed:Language> |
| 320 | </ed:Languages> |
| 321 | <ed:AvailableDataViews ref="hits cmdi" /> |
| 322 | <ed:Resources> |
| 323 | <!-- sub-resource 1 of top-level resource 2 --> |
| 324 | <ed:Resource pid="http://hdl.handle.net/4711/0816-1"> |
| 325 | <ed:Title xml:lang="de">Zeitungskorpus des Mannheimer Morgen (vor 1990)</ed:Title> |
| 326 | <ed:Title xml:lang="en">Mannheimer Morgen newspaper corpus (before 1990)</ed:Title> |
| 327 | <ed:LandingPageURI>http://repos.example.org/corpus2.html#sub1</ed:LandingPageURI> |
| 328 | <ed:Languages> |
| 329 | <ed:Language>deu</ed:Language> |
| 330 | </ed:Languages> |
| 331 | <ed:AvailableDataViews ref="hits cmdi" /> |
285 | | </ed:Resources> |
286 | | </ed:EndpointDescription> |
287 | | }}} |
288 | | [#REF_Example_4 Example 4] shows a simple Endpoint Description for an Endpoint that only supports the ''Basic Search'' Capability and only provides the Generic Hits Data View, which is indicated by a `<ed:SupportedDataView>` element. This element carries an `@id` attribute with a value of `hits`, the recommended value for the short identifier, and indicates a delivery policy of ''send-by-default'' by the `@delivery-policy` attribute. It only provides one top-level resource identified by the persistent identifier `http://hdl.handle.net/4711/0815`. The resource has a title as well as a description in German and English. A landing page is located at `http://repos.example.org/corpus1.html`. The predominant language in the resource contents is German. Only the Generic Hits Data View is supported for this resource, because the `<ed:AvailableDataViews>` element only references the `<ed:SupporedDataView>` element with the `@id` with a value of `hits`. |
289 | | |
290 | | [=#REF_Example_5]Example 5: |
291 | | {{{#!xml |
292 | | <ed:EndpointDescription xmlns:ed="http://clarin.eu/fcs/endpoint-description" version="2"> |
293 | | <ed:Capabilities> |
294 | | <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability> |
295 | | </ed:Capabilities> |
296 | | <ed:SupportedDataViews> |
297 | | <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView> |
298 | | <ed:SupportedDataView id="cmdi" delivery-policy="need-to-request">application/x-cmdi+xml</ed:SupportedDataView> |
299 | | </ed:SupportedDataViews> |
300 | | <ed:Resources> |
301 | | <!-- top-level resource 1 --> |
302 | | <ed:Resource pid="http://hdl.handle.net/4711/0815"> |
303 | | <ed:Title xml:lang="de">Goethe Korpus</ed:Title> |
304 | | <ed:Title xml:lang="en">Goethe corpus</ed:Title> |
305 | | <ed:Description xml:lang="de">Das Goethe-Korpus des IDS Mannheim.</ed:Description> |
306 | | <ed:Description xml:lang="en">The Goethe corpus of IDS Mannheim.</ed:Description> |
307 | | <ed:LandingPageURI>http://repos.example.org/corpus1.html</ed:LandingPageURI> |
308 | | <ed:Languages> |
309 | | <ed:Language>deu</ed:Language> |
310 | | </ed:Languages> |
311 | | <ed:AvailableDataViews ref="hits" /> |
| 333 | <!-- sub-resource 2 of top-level resource 2 --> |
| 334 | <ed:Resource pid="http://hdl.handle.net/4711/0816-2"> |
| 335 | <ed:Title xml:lang="de">Zeitungskorpus des Mannheimer Morgen (nach 1990)</ed:Title> |
| 336 | <ed:Title xml:lang="en">Mannheimer Morgen newspaper corpus (after 1990)</ed:Title> |
| 337 | <ed:LandingPageURI>http://repos.example.org/corpus2.html#sub2</ed:LandingPageURI> |
| 338 | <ed:Languages> |
| 339 | <ed:Language>deu</ed:Language> |
| 340 | </ed:Languages> |
| 341 | <ed:AvailableDataViews ref="hits cmdi" /> |
613 | | <Segments unit="items"> |
614 | | <Segment id="s1" start="1" end="1" |
615 | | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=0:173"/> |
616 | | <Segment id="s2" start="3" end="4" |
617 | | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=173:304"/> |
618 | | <Segment id="s3" start="6" end="7" |
619 | | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=173:304"/> |
620 | | <Segment id="s4" start="9" end="10" |
621 | | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=304:480"/> |
622 | | <Segment id="s5" start="12" end="16" |
623 | | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=480:1119"/> |
624 | | <Segment id="s6" start="18" end="22" |
625 | | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=1339:1901"/> |
626 | | <Segment id="s7" start="24" end="27" |
627 | | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=1901:2427"/> |
628 | | <Segment id="s8" start="29" end="32" |
629 | | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3084:3493"/> |
630 | | <Segment id="s9" start="34" end="36" |
631 | | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3493:3754"/> |
632 | | <Segment id="s10" start="38" end="43" |
633 | | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3754:4274"/> |
634 | | </Segments> |
635 | | |
636 | | <Layers> |
637 | | <Layer id="http://endpoint.example.org/Layers/orth1"> |
638 | | <Span ref="s1">t</Span> |
639 | | <Span ref="s2">da</Span> |
640 | | <Span ref="s3">'s</Span> |
641 | | <Span ref="s4">de</Span> |
642 | | <Span ref="s5">enige</Span> |
643 | | <Span ref="s6">echte</Span> |
644 | | <Span ref="s7">hoop</Span> |
645 | | <Span ref="s8">voor</Span> |
646 | | <Span ref="s9">ons</Span> |
647 | | <Span ref="s10">mensen</Span> |
648 | | </Layer> |
649 | | |
650 | | <Layer id="http://endpoint.example.org/Layers/pos1"> |
651 | | <Span ref="s1" alt-value="SPEC(afgebr)">X</Span> |
652 | | <Span ref="s2" alt-value="VNW(aanw,pron,stan,vol,3o,ev)">PRON</Span> |
653 | | <Span ref="s3" alt-value="WW(pv,tgw,ev)">VERB</Span> |
654 | | <Span ref="s4" alt-value="LID(bep,stan,rest)">DET</Span> |
655 | | <Span ref="s5" alt-value="VNW(onbep,det,stan,prenom,met-e,rest)">DET</Span> |
656 | | <Span ref="s6" alt-value="ADJ(prenom,basis,met-e,stan)">ADJ</Span> |
657 | | <Span ref="s7" alt-value="N(soort,ev,basis,zijd,stan)">NOUN</Span> |
658 | | <Span ref="s8" alt-value="VZ(init)">ADP</Span> |
659 | | <Span ref="s9" alt-value="VNW(pr,pron,obl,vol,1,mv)">PRON</Span> |
660 | | <Span ref="s10" alt-value="N(soort,mv,basis)">NOUN</Span> |
661 | | </Layer> |
662 | | |
663 | | <Layer id="http://endpoint.example.org/Layers/lemma1"> |
664 | | <Span ref="s1">_</Span> |
665 | | <Span ref="s2">dat</Span> |
666 | | <Span ref="s3">zijn</Span> |
667 | | <Span ref="s4" >de</Span> |
668 | | <Span ref="s5">enig</Span> |
669 | | <Span ref="s6" highlight="h1">echt</Span> |
670 | | <Span ref="s7" highlight="h1">hoop</Span> |
671 | | <Span ref="s8">voor</Span> |
672 | | <Span ref="s9">ons</Span> |
673 | | <Span ref="s10">mens</Span> |
674 | | </Layer> |
675 | | |
676 | | <Layer id="http://endpoint.example.org/Layers/phon"> |
677 | | <Span ref="s1">t@</Span> |
678 | | <Span ref="s2" highlight="h2">dAz</Span> |
679 | | <Span ref="s3">dAz</Span> |
680 | | <Span ref="s4">d@</Span> |
681 | | <Span ref="s5">en@G@</Span> |
682 | | <Span ref="s6">Ext@</Span> |
683 | | <Span ref="s7">hop</Span> |
684 | | <Span ref="s8">for</Span> |
685 | | <Span ref="s9">Ons</Span> |
686 | | <Span ref="s10">mEns@</Span> |
687 | | </Layer> |
688 | | </Layers> |
| 613 | <Segments unit="items"> |
| 614 | <Segment id="s1" start="1" end="1" |
| 615 | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=0:173"/> |
| 616 | <Segment id="s2" start="3" end="4" |
| 617 | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=173:304"/> |
| 618 | <Segment id="s3" start="6" end="7" |
| 619 | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=173:304"/> |
| 620 | <Segment id="s4" start="9" end="10" |
| 621 | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=304:480"/> |
| 622 | <Segment id="s5" start="12" end="16" |
| 623 | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=480:1119"/> |
| 624 | <Segment id="s6" start="18" end="22" |
| 625 | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=1339:1901"/> |
| 626 | <Segment id="s7" start="24" end="27" |
| 627 | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=1901:2427"/> |
| 628 | <Segment id="s8" start="29" end="32" |
| 629 | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3084:3493"/> |
| 630 | <Segment id="s9" start="34" end="36" |
| 631 | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3493:3754"/> |
| 632 | <Segment id="s10" start="38" end="43" |
| 633 | ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3754:4274"/> |
| 634 | </Segments> |
| 635 | |
| 636 | <Layers> |
| 637 | <Layer id="http://endpoint.example.org/Layers/orth1"> |
| 638 | <Span ref="s1">t</Span> |
| 639 | <Span ref="s2">da</Span> |
| 640 | <Span ref="s3">'s</Span> |
| 641 | <Span ref="s4">de</Span> |
| 642 | <Span ref="s5">enige</Span> |
| 643 | <Span ref="s6">echte</Span> |
| 644 | <Span ref="s7">hoop</Span> |
| 645 | <Span ref="s8">voor</Span> |
| 646 | <Span ref="s9">ons</Span> |
| 647 | <Span ref="s10">mensen</Span> |
| 648 | </Layer> |
| 649 | |
| 650 | <Layer id="http://endpoint.example.org/Layers/pos1"> |
| 651 | <Span ref="s1" alt-value="SPEC(afgebr)">X</Span> |
| 652 | <Span ref="s2" alt-value="VNW(aanw,pron,stan,vol,3o,ev)">PRON</Span> |
| 653 | <Span ref="s3" alt-value="WW(pv,tgw,ev)">VERB</Span> |
| 654 | <Span ref="s4" alt-value="LID(bep,stan,rest)">DET</Span> |
| 655 | <Span ref="s5" alt-value="VNW(onbep,det,stan,prenom,met-e,rest)">DET</Span> |
| 656 | <Span ref="s6" alt-value="ADJ(prenom,basis,met-e,stan)">ADJ</Span> |
| 657 | <Span ref="s7" alt-value="N(soort,ev,basis,zijd,stan)">NOUN</Span> |
| 658 | <Span ref="s8" alt-value="VZ(init)">ADP</Span> |
| 659 | <Span ref="s9" alt-value="VNW(pr,pron,obl,vol,1,mv)">PRON</Span> |
| 660 | <Span ref="s10" alt-value="N(soort,mv,basis)">NOUN</Span> |
| 661 | </Layer> |
| 662 | |
| 663 | <Layer id="http://endpoint.example.org/Layers/lemma1"> |
| 664 | <Span ref="s1">_</Span> |
| 665 | <Span ref="s2">dat</Span> |
| 666 | <Span ref="s3">zijn</Span> |
| 667 | <Span ref="s4">de</Span> |
| 668 | <Span ref="s5">enig</Span> |
| 669 | <Span ref="s6" highlight="h1">echt</Span> |
| 670 | <Span ref="s7" highlight="h1">hoop</Span> |
| 671 | <Span ref="s8">voor</Span> |
| 672 | <Span ref="s9">ons</Span> |
| 673 | <Span ref="s10">mens</Span> |
| 674 | </Layer> |
| 675 | |
| 676 | <Layer id="http://endpoint.example.org/Layers/phon"> |
| 677 | <Span ref="s1">t@</Span> |
| 678 | <Span ref="s2" highlight="h2">dAz</Span> |
| 679 | <Span ref="s3">dAz</Span> |
| 680 | <Span ref="s4">d@</Span> |
| 681 | <Span ref="s5">en@G@</Span> |
| 682 | <Span ref="s6">Ext@</Span> |
| 683 | <Span ref="s7">hop</Span> |
| 684 | <Span ref="s8">for</Span> |
| 685 | <Span ref="s9">Ons</Span> |
| 686 | <Span ref="s10">mEns@</Span> |
| 687 | </Layer> |
| 688 | </Layers> |
866 | | </zr:indexInfo> |
867 | | <zr:schemaInfo> |
868 | | <zr:schema identifier="http://clarin.eu/fcs/resource" name="fcs"> |
869 | | <zr:title lang="en" primary="true">CLARIN Content Search</zr:title> |
870 | | </zr:schema> |
871 | | </zr:schemaInfo> |
872 | | <zr:configInfo> |
873 | | <zr:default type="numberOfRecords">250</zr:default> |
874 | | <zr:setting type="maximumRecords">1000</zr:setting> |
875 | | </zr:configInfo> |
876 | | </zr:explain> |
877 | | </sruResponse:recordData> |
878 | | </sruResponse:record> |
879 | | <sruResponse:echoedExplainRequest> |
880 | | <sruResponse:version>2.0</sruResponse:version> |
881 | | </sruResponse:echoedExplainRequest> |
882 | | <sruResponse:extraResponseData> |
883 | | <ed:EndpointDescription version="2"> |
884 | | <ed:Capabilities> |
885 | | <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability> |
886 | | <ed:Capability>http://clarin.eu/fcs/capability/advanced-search</ed:Capability> |
887 | | </ed:Capabilities> |
888 | | <ed:SupportedDataViews> |
889 | | <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView> |
890 | | <ed:SupportedDataView id="adv" delivery-policy="send-by-default">application/x-clarin-fcs-adv+xml</ed:SupportedDataView> |
891 | | </ed:SupportedDataViews> |
892 | | <ed:SupportedLayers> |
893 | | <ed:SupportedLayer id="word" result-id="http://spraakbanken.gu.se/ns/fcs/layer/word">text</ed:SupportedLayer> |
894 | | <ed:SupportedLayer id="lemma" result-id="http://spraakbanken.gu.se/ns/fcs/layer/lemma">lemma</ed:SupportedLayer> |
895 | | <ed:SupportedLayer id="pos" result-id="http://spraakbanken.gu.se/ns/fcs/layer/pos">pos</ed:SupportedLayer> |
896 | | </ed:SupportedLayers> |
897 | | <ed:Resources> |
898 | | <ed:Resource pid="hdl:10794/suc"> |
899 | | <ed:Title xml:lang="sv">SUC-korpusen</ed:Title> |
900 | | <ed:Title xml:lang="en">The SUC corpus</ed:Title> |
901 | | <ed:Description xml:lang="sv">Stockholm-Umeå-korpusen hos Språkbanken.</ed:Description> |
902 | | <ed:Description xml:lang="en">The Stockholm-Umeå corpus at Språkbanken.</ed:Description> |
903 | | <ed:LandingPageURI>https://spraakbanken.gu.se/resurser/suc</ed:LandingPageURI> |
904 | | <ed:Languages> |
905 | | <ed:Language>swe</ed:Language> |
906 | | </ed:Languages> |
907 | | <ed:AvailableDataViews ref="hits adv"/> |
908 | | <ed:AvailableLayers ref="word lemma pos"/> |
909 | | </ed:Resource> |
910 | | </ed:Resources> |
911 | | </ed:EndpointDescription> |
912 | | </sruResponse:extraResponseData> |
| 866 | </zr:indexInfo> |
| 867 | <zr:schemaInfo> |
| 868 | <zr:schema identifier="http://clarin.eu/fcs/resource" name="fcs"> |
| 869 | <zr:title lang="en" primary="true">CLARIN Content Search</zr:title> |
| 870 | </zr:schema> |
| 871 | </zr:schemaInfo> |
| 872 | <zr:configInfo> |
| 873 | <zr:default type="numberOfRecords">250</zr:default> |
| 874 | <zr:setting type="maximumRecords">1000</zr:setting> |
| 875 | </zr:configInfo> |
| 876 | </zr:explain> |
| 877 | </sruResponse:recordData> |
| 878 | </sruResponse:record> |
| 879 | <sruResponse:echoedExplainRequest> |
| 880 | <sruResponse:version>2.0</sruResponse:version> |
| 881 | </sruResponse:echoedExplainRequest> |
| 882 | <sruResponse:extraResponseData> |
| 883 | <ed:EndpointDescription version="2"> |
| 884 | <ed:Capabilities> |
| 885 | <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability> |
| 886 | <ed:Capability>http://clarin.eu/fcs/capability/advanced-search</ed:Capability> |
| 887 | </ed:Capabilities> |
| 888 | <ed:SupportedDataViews> |
| 889 | <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView> |
| 890 | <ed:SupportedDataView id="adv" delivery-policy="send-by-default">application/x-clarin-fcs-adv+xml</ed:SupportedDataView> |
| 891 | </ed:SupportedDataViews> |
| 892 | <ed:SupportedLayers> |
| 893 | <ed:SupportedLayer id="word" result-id="http://spraakbanken.gu.se/ns/fcs/layer/word">text</ed:SupportedLayer> |
| 894 | <ed:SupportedLayer id="lemma" result-id="http://spraakbanken.gu.se/ns/fcs/layer/lemma">lemma</ed:SupportedLayer> |
| 895 | <ed:SupportedLayer id="pos" result-id="http://spraakbanken.gu.se/ns/fcs/layer/pos">pos</ed:SupportedLayer> |
| 896 | </ed:SupportedLayers> |
| 897 | <ed:Resources> |
| 898 | <ed:Resource pid="hdl:10794/suc"> |
| 899 | <ed:Title xml:lang="sv">SUC-korpusen</ed:Title> |
| 900 | <ed:Title xml:lang="en">The SUC corpus</ed:Title> |
| 901 | <ed:Description xml:lang="sv">Stockholm-Umeå-korpusen hos Språkbanken.</ed:Description> |
| 902 | <ed:Description xml:lang="en">The Stockholm-Umeå corpus at Språkbanken.</ed:Description> |
| 903 | <ed:LandingPageURI>https://spraakbanken.gu.se/resurser/suc</ed:LandingPageURI> |
| 904 | <ed:Languages> |
| 905 | <ed:Language>swe</ed:Language> |
| 906 | </ed:Languages> |
| 907 | <ed:AvailableDataViews ref="hits adv"/> |
| 908 | <ed:AvailableLayers ref="word lemma pos"/> |
| 909 | </ed:Resource> |
| 910 | </ed:Resources> |
| 911 | </ed:EndpointDescription> |
| 912 | </sruResponse:extraResponseData> |
1336 | | <!-- |
1337 | | NOTE: this is purely fictional and only serves to demonstrate how |
1338 | | to add custom extensions to the result representation |
1339 | | within CLARIN-FCS. |
1340 | | --> |
1341 | | |
1342 | | <!-- |
1343 | | Example 1: a hypothetical Endpoint extension for navigation in a result |
1344 | | set: it basically provides a set of hrefs that a GUI can convert into |
1345 | | navigation buttions. |
1346 | | --> |
1347 | | <nav:navigation xmlns:nav="http://repos.example.org/navigation"> |
1348 | | <nav:curr href="http://repos.example.org/resultset/4711/4611" /> |
1349 | | <nav:prev href="http://repos.example.org/resultset/4711/4610" /> |
1350 | | <nav:next href="http://repos.example.org/resultset/4711/4612" /> |
1351 | | </nav:navigation> |
1352 | | |
1353 | | <!-- |
1354 | | Example 2: a hypothetical Endpoint extension for directly referencing parent |
1355 | | resources: it basically provides a link to the parent resource that can be |
1356 | | exploited by a GUI (e.g. build on XSLT/XQuery). |
1357 | | --> |
1358 | | <parent:Parent xmlns:parent="http://repos.example.org/parent" |
1359 | | ref="http://repos.example.org/path/to/parent/1235.cmdi" /> |
| 1336 | <!-- |
| 1337 | NOTE: this is purely fictional and only serves to demonstrate how |
| 1338 | to add custom extensions to the result representation |
| 1339 | within CLARIN-FCS. |
| 1340 | --> |
| 1341 | |
| 1342 | <!-- |
| 1343 | Example 1: a hypothetical Endpoint extension for navigation in a result |
| 1344 | set: it basically provides a set of hrefs that a GUI can convert into |
| 1345 | navigation buttions. |
| 1346 | --> |
| 1347 | <nav:navigation xmlns:nav="http://repos.example.org/navigation"> |
| 1348 | <nav:curr href="http://repos.example.org/resultset/4711/4611" /> |
| 1349 | <nav:prev href="http://repos.example.org/resultset/4711/4610" /> |
| 1350 | <nav:next href="http://repos.example.org/resultset/4711/4612" /> |
| 1351 | </nav:navigation> |
| 1352 | |
| 1353 | <!-- |
| 1354 | Example 2: a hypothetical Endpoint extension for directly referencing parent |
| 1355 | resources: it basically provides a link to the parent resource that can be |
| 1356 | exploited by a GUI (e.g. build on XSLT/XQuery). |
| 1357 | --> |
| 1358 | <parent:Parent xmlns:parent="http://repos.example.org/parent" |
| 1359 | ref="http://repos.example.org/path/to/parent/1235.cmdi" /> |