Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public String getOtherMuscles(String exerciseName) {
- return ont + rdf + rdfs + "SELECT ?name ?OtherMuscles WHERE { " +
- " ?Exercise ont:Works ?mainMuscle; " +
- " rdfs:label ?name; " +
- " ont:hasOtherMuscles ?otherM . " +
- " ?otherM ont:hasOtherMuscle ?OtherMuscles . " +
- " FILTER (regex(?name, \"" + exerciseName + "\", \"i\")) " +
- " } " +
- "LIMIT 100";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement