Go to Falcons Home
Falcons provides REST API for developers to access its search servcies and even more.
  1. Object Search
    Description: Provides objects of a specific type (optional) hit by a keyword query.
    Address: http://iws.seu.edu.cn/services/falcons/api/objectsearch.jsp?query=paramA&class=paramB&result_num=paramC
    Parameters: paramA: the keyword query (url-encoded using UTF-8) [required]
    paramB: restrict the resulting objects to the instances of this class (url-encoded using UTF-8) [optional]
    paramC: the maximum number of results requested [optional]
    Example: http://iws.seu.edu.cn/services/falcons/api/objectsearch.jsp?query=Tim+Berners-Lee&class=http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson&result_num=10
  2. Class Search
    Description: Provides classes hit by a keyword query.
    Address: http://iws.seu.edu.cn/services/falcons/api/classsearch.jsp?query=paramA&result_num=paramB
    Parameters: paramA: the keyword query (url-encoded using UTF-8) [required]
    paramB: the maximum number of results requested [optional]
    Example: http://iws.seu.edu.cn/services/falcons/api/classsearch.jsp?query=Person&result_num=10
  3. Property Search
    Description: Provides properties hit by a keyword query.
    Address: http://iws.seu.edu.cn/services/falcons/api/propertysearch.jsp?query=paramA&result_num=paramB
    Parameters: paramA: the keyword query (url-encoded using UTF-8) [required]
    paramB: the maximum number of results requested [optional]
    Example: http://iws.seu.edu.cn/services/falcons/api/propertysearch.jsp?query=knows&result_num=10
  4. Get Snippet
    Description: Provides a snippet of an object/class/property hit by a keyword query.
    Address: http://iws.seu.edu.cn/services/falcons/api/getsnippet.jsp?uri=paramA&query=paramB&property_num=paramC
    Parameters: paramA: the object/class/property requested (url-encoded using UTF-8) [required]
    paramB: the keyword query (url-encoded using UTF-8) [required]
    paramC: the maximum number of properties requested in the snippet [optional]
    Example: http://iws.seu.edu.cn/services/falcons/api/getsnippet.jsp?uri=http%3A%2F%2Fwww.w3.org%2FPeople%2FBerners-Lee%2Fcard%23i&query=Tim+Berners-Lee&property_num=5
  5. Get Description
    Description: Provides the authoritative RDF description of an object/class/property.
    Address: http://iws.seu.edu.cn/services/falcons/api/whatis.jsp?uri=paramA
    Parameters: paramA: the object/class/property requested (url-encoded using UTF-8) [required]
    Example: http://iws.seu.edu.cn/services/falcons/api/whatis.jsp?uri=http%3A%2F%2Fwww.w3.org%2FPeople%2FBerners-Lee%2Fcard%23i
  6. Get Description Documents
    Description: Provides URLs of RDF documents that describe an object/class/property.
    Address: http://iws.seu.edu.cn/services/falcons/api/whereis.jsp?uri=paramA&result_num=paramB
    Parameters: paramA: the object/class/property requested (url-encoded using UTF-8) [required]
    paramB: the maximum number of results requested [optional]
    Example: http://iws.seu.edu.cn/services/falcons/api/whereis.jsp?uri=http%3A%2F%2Fwww.w3.org%2FPeople%2FBerners-Lee%2Fcard%23i&result_num=10
©2009 IWS - Falcons Home - FAQ - Contact us