%META:TOPICPARENT{name="VirtuosoFacetsWebService"}%
---+ Virtuoso Facets Web Service CURL Example with search string "napoleon"
curl -H "Content-Type: text/xml" -d @post.xml http://lod.openlinksw.com/fct/service
Where 'post.xml' document contains query document:
napoleon
Produces the following response:
SELECT ?s1 AS ?c1,
( bif:search_excerpt
( bif:vector
( 'napoleon' ),
?o1
)
) AS ?c2,
?sc,
?rank
WHERE {
{{ SELECT ?s1,
(?sc * 3e-1) AS ?sc,
?o1,
(sql:rnk_scale (<LONG::IRI_RANK> (?s1))) AS ?rank
WHERE { ?s1 ?s1textp ?o1 .
?o1 bif:contains '"napoleon"'
OPTION (score ?sc)
}
ORDER BY DESC (?sc * 3e-1 + sql:rnk_scale (<LONG::IRI_RANK> (?s1)))
LIMIT 5
OFFSET 0
}}
}
3531
yes
0
23.1KR rnd 13.29KR seq 80.41KP disk 1.341MB / 472 messages
Napoleon Dynamite Napoleon Dynamite no original um filme de longa metragem de com dia baseado no curta...]]>
Napoleon Dynamite Napoleon Dynamite no original um filme de longa metragem de com dia baseado no curta...]]>
Charles Napoleon Bonaparte prins Napoleon f dd 19 oktober 1950 son till Louis Napoleon Bonaparte och...]]>
Louis Napoleon Bonaparte Napoleon IV.]]>
... kes kuuta Napoleon Bonaparte julistautuu uudelleen Ranskan keisariksi. Napoleon Bonaparten satap iv inen keisarikunta Ranskassa Vuoden 1812 sota p ttyi Yhdysvaltain ja Ison...]]>
---++ Related
* Facets Web Service:
* [[VirtuosoFacetsWebService][Virtuoso Facets Web Service]]
* Linked Data:
* [[VirtuosoFacetsViewsLinkedData][Faceted Views over Large-Scale Linked Data]]
* Facet Browser Installation and configuration:
* [[VirtFacetBrowserInstallConfig][Virtuoso Facet Browser Installation and configuration]]
* Facet APIs:
* [[VirtFacetBrowserAPIs][Virtuoso APIs for FCT REST services]]
* [[VirtFacetBrowserAPIsFCTEXEC][fct_exec
API Example]]
* Pivot Viewer and CXML:
* [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSparqlCxmlFacetPivotBridge#AncSparqlCxmlFacetPivotBridge][Facet Pivot Bridge - A bridge to PivotViewer from Virtuoso's Faceted query service for RDF]]
* [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSparqlCxml#AncFacetTypeAutoDetection][Auto-Detection of Facet Type]]
* Tutorials:
* [[VirtuosoLODSampleTutorial][Faceted Browsing Sample using LOD Cloud Cache data space]]
* [[VirtuosoFacetsWebServiceSOAPExample][SOAP Facets Example]]
* [[VirtFacetBrowserInstallConfigQueried][Querying The Facet Browser Web Service endpoint]]
* [[VirtFCTFeatureQueries][Virtuoso Facet Browser Featured Queries]]
* [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtVisualizeWithPivotViewer#GenFCT][Visualizing Your Data With PivotViewer Using The Facet Browser]]
* [[VirtTipsAndTricksCustomControlLabelsURI][Custom Controlling Virtuoso Labels for URI functionality Example]]
* [[VirtuosoFacetsWebServiceCustmExamples][Facets Web Service: Examples for customizing different types]]
* [[VirtuosoFacetsWebServiceChoiceExample][Facets Web Service: Choice of Labels Example]]
* Downloads:
* [[http://shop.openlinksw.com/license_generator/virtuoso-download/][Latest Virtuoso]]
* [[https://virtuoso.openlinksw.com/download/][Virtuoso Facet Browser VAD package]]