 |
BSQ Sitestats Summary
| Site Stats Summary |
| |
Hits |
Visitors |
| Today |
1690 |
402 |
| Week |
26561 |
2379 |
|
|
Swoogle Manual
Swoogle Web Services
Swoogle provides search services using REST interface[1], i.e. you may
compose your query in an HTTP GET query and retrieve the result as a dynamic web
page encoded in RDF/XML. Several ontologies [2,3] are designed to
semantically encode the metadata of the Semantic Web and the description of
query results.
[1] Roy Thomas Fielding,
Architectural Styles and the Design of Network-based Software Architectures,
PhD dissertation (chapter
5)
[2] The Web Of Belief (WOB) ontology - metadata about the Semantic Web.
http://daml.umbc.edu/ontologies/webofbelief/1.4/wob.owl
[3] The Swoogle ontology - Swoogle query encoding.
http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl
A query is represented as a URL,
REST_QUERY ::= SERVICE_URI ?
PARAMS
e.g.
http://logos.cs.umbc.edu:8080/swoogle31/q?queryType=search_swd_ontology&searchString=service&key=demo
The following are some common query parameters supported by Swoogle
| Param-name |
Default
value |
Range |
Comments |
| queryType |
null |
string |
Required |
| searchString |
null |
string |
Required,
the search String should always be
escaped |
| searchStart |
1 |
Non-negative integer (1-based) |
optional,
return results starting from the specified number. "search_XX" services return
at most 10 results per query, and the other services returns 100 results
per query. |
| key |
null |
string |
Required for external access,
contact Swoogle administrator to obtain access keys. The 'demo' key only
returns the first 25 results. |
| [1] Search ontology |
| description |
Search semantic web documents which are classified as ontologies (ontoRatio>0 ) |
| service-uri |
http://logos.cs.umbc.edu:8080/swoogle31/q |
| parameters |
- queryType: search_swd_ontology
- searchString: see
How to search Semantic Web documents
- searchSortField: any of the following
- hasOntoRank (default)
- hasDateLastmodified - when the document has been last modified
- hasLength - size of the document
- hasCntTriple - number of triples
- hasOntoRatio - percent of triples contributing to ontological
definition
- hasCntSwt - number of distinct terms
- hasCntInstance - number of distinct class-instance
- searchSortReverse: {true, false}, whether or not reverse the order
of the sorted results
- searchStart:
- key
|
| response content-type |
text/xml |
| response RDF syntax |
RDF/XML |
| example |
search for ontologies defining the concept `person'
http://logos.cs.umbc.edu:8080/swoogle31/q?queryType=search_swd_ontology&searchString=person&key=demo |
| [2] Search
documents |
| description |
Search all semantic web documents |
| service-uri |
http://logos.cs.umbc.edu:8080/swoogle31/q |
| parameters |
- queryType: search_swd_all
- searchString: see
How to search Semantic Web documents
- searchSortField: any of the following
- hasOntoRank (default)
- hasDateLastmodified - when the document has been last modified
- hasLength - size of the document
- hasCntTriple - number of triples
- hasOntoRatio - percent of triples contributing to ontological
definition
- hasCntSwt - number of distinct terms
- hasCntInstance - number of distinct class-instance
- searchSortReverse: {true, false}, whether or not reverse the order
of the sorted results
- searchStart:
- key
|
| response content-type |
text/xml |
| response RDF syntax |
RDF/XML |
| example |
search for semantic web documents related to `person'
http://logos.cs.umbc.edu:8080/swoogle31/q?queryType=search_swd_all&searchString=person&key=demo |
|