Hi all ! I have tried to get the resource http://dbpedia.org/resource/Film when asking for "film" in the indexes in http://dbpedia.org/sparql, in several ways:
SELECT DISTINCT ?s ?o FROM <http://dbpedia.org> WHERE {{?s rdfs:label ?o.[] a ?s .FILTER( bif:contains(?o, "film" ) )}}LIMIT 36 SELECT DISTINCT ?s ?o ?type FROM <http://dbpedia.org> WHERE {{?s rdfs:label ?o. ?s rdf:type ?type .FILTER( bif:contains(?o, "film" ) )}}LIMIT 36 And even: SELECT ?s ?page ?label ?textScore AS ?Text_Score_Rank ( <LONG::IRI_RANK> (?s) ) AS ?Entity_Rank WHERE { ?s foaf:page ?page ; rdfs:label ?label . FILTER( lang( ?label ) = "en" ) . ?label bif:contains 'film' OPTION (score ?textScore ) . } ORDER BY ASC ( <LONG::IRI_RANK> (?s) ) But with no success so far. I also tried: SELECT DISTINCT ?s ?o ?type FROM <http://dbpedia.org> WHERE {{?s rdfs:label ?o. ?s rdf:type ?type .FILTER( str(?o) = "Film" ) }} But it gives an out of time error .. Any idea how can I get http://dbpedia.org/resource/Film from the keyword "film"? Thanks a lot Vanessa -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
