Falcons provides a RESTful API for developers to access its search services and even more.
NOTE: every parameter must be URL-encoded using UTF-8.
| Description: | Returns top-100 objects matched with a keyword query, of a specific type (optional). |
|---|---|
| Address: | http://ws.nju.edu.cn/falcons/api/objectsearch.jsp?query=paramA&class=paramB |
| Parameters: |
paramA [required]: a keyword query, e.g. Tim Berners-Lee paramB [optional]: the URI of a class restricting the objects returned, e.g. http://xmlns.com/foaf/0.1/Person |
| Example: | http://ws.nju.edu.cn/falcons/api/objectsearch.jsp?query=Tim+Berners-Lee&class=http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson |
| Description: | Returns top-100 classes matched with a keyword query. |
|---|---|
| Address: | http://ws.nju.edu.cn/falcons/api/classsearch.jsp?query=paramA |
| Parameters: | paramA [required]: a keyword query, e.g. Person |
| Example: | http://ws.nju.edu.cn/falcons/api/classsearch.jsp?query=Person |
| Description: | Returns top-100 properties matched with a keyword query. |
|---|---|
| Address: | http://ws.nju.edu.cn/falcons/api/propertysearch.jsp?query=paramA |
| Parameters: | paramA [required]: a keyword query, e.g. knows |
| Example: | http://ws.nju.edu.cn/falcons/api/propertysearch.jsp?query=knows |
| Description: | Returns up to 100 RDF documents that describe an RDF resource. |
|---|---|
| Address: | http://ws.nju.edu.cn/falcons/api/whereis.jsp?uri=paramA |
| Parameters: | paramA [required]: the URI of an RDF resource, e.g. http://www.w3.org/people/Berners-Lee/card#i |
| Example: | http://ws.nju.edu.cn/falcons/api/whereis.jsp?uri=http%3A%2F%2Fwww.w3.org%2FPeople%2FBerners-Lee%2Fcard%23i |