Search functionality in the 'Clone' and 'Suggested properties' dialogues does not work properly
When I add a property widget and start typing text, OntoWiki searches the contents of the KB for entries in the Default Graph, and displays relevant links. However, URI's outside the Default Graph namespace is not displayed in the search results.
This makes it cumbersome to link to resources elsewhere on the web, even though basic information about them are available in the KB. This is especially true for adding additional types to a resource, since this almost always involves linking to a URI outside the default URI for the knowledgabase.
Please see http://imm.io/IsyQ for a screenshot.
When I want to add a property to a resource, I am asked for the type of property to add. I can select from an automatically generated set of properties, as well as a predefined list.
However, if I specify a property name in the input box, I get no search results to help me pick a suitable predicate. Specifying a prefix, such as "m:plays", does not help either, and strange things might happen behind the scenes, producing the predicate "<m:plays>" in place of "m:plays".
I suppose all defined prefixes should be searched for possible matches, and some extra information should be displayed if available for the predicate or in the KB (i.e. the vocabulary is imported in the SysBase ontology or in the KB itself).
should be fixed in 0.9.7
I am on OntoWiki with Virtuoso backend.
This still does not work as I expect it to.
When entering text in the input box in the 'Suggested Properties' widget, the search wheel spins, but no results are shown.
The access log from my web server gives me this snippet:
80.232.17.198 - - [07/Jun/2013:12:34:11 +0200] "GET /sparql/?query=++++++++++++PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E++++++++++++PREFIX+owl%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E%0ASELECT+DISTINCT+%3FresourceUri%0AWHERE+%7B+%0A%3FresourceUri+a+%3Fclass+.%0A%3FresourceUri+%3Fp0+%3Fliteral+.%0AFILTER+(REGEX(%3Fliteral%2C+%22anm%22%2C+%22i%22)).+%0AFILTER+(+(+(+(sameTerm(%3Fclass%2Cowl%3ADatatypeProperty))+%7C%7C+(sameTerm(%3Fclass%2Cowl%3AObjectProperty))+)+%7C%7C+++++++++++++++++++++++++++++++++(sameTerm(%3Fclass%2C+rdf%3AProperty))+)+%7C%7C+++++++++++++++++++++++++++++++++(sameTerm(%3Fclass%2C+owl%3AAnnotationProperty))+).%0A%7D&default-graph-uri=http%3A%2F%2Fdata.bbib.no%2FBFO%2F HTTP/1.1" 200 120 "http://data.bbib.no/resource/properties/?r=http%3A%2F%2Fdata.bbib.no%2FBFO%2Fbfo_samlingen" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
I would want for this search to return valid matches form all the properties currently in use in my knowledge graph.
It seems I faced similar issue on my setup (OntoWiki 0.9.8-3, Ubuntu x86, Virtuoso 6.1).
Scenario:
- add an instance
- add property
- select the Resource radio button
- start typing a Resource name or URI. The loading wheel is rolling, but without any result
'Suggested Resources' are appeared only if you repeat the step (starting from "add property"). It seems the 'Suggested Resources' are retrieved and kept in some cache, this is why they appear at the next search.