Changes between Version 13 and Version 14 of UseCases
- Timestamp:
- 2010/02/09 15:17:43 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UseCases
v13 v14 54 54 * The query in Prolog would be something like: 55 55 56 probable Interactors(HumanGene1, HumanGene2) :- hasHomolog(HumanGene1, YeastGene1), hasInteractorFromDB(YeastGene1, YeastGene2), hasHomolog(YeastGene2, HumanGene2), hasHomolog(HumanGene2, OtherModelOrganismGene2), hasProteinDomain(HumanGene1, TargetDomain), hasProteinDomain(OtherModelOrganismGene1, TargetDomain), hasInteractorFromDB(OtherModelOrganismGene1, OtherModelOrganismGene2)).56 probableNovelInteractors(HumanGene1, HumanGene2) :- hasHomolog(HumanGene1, YeastGene1), hasInteractorFromDB(YeastGene1, YeastGene2), hasHomolog(YeastGene2, HumanGene2), hasHomolog(HumanGene2, OtherModelOrganismGene2), hasProteinDomain(HumanGene1, TargetDomain), hasProteinDomain(OtherModelOrganismGene1, TargetDomain), hasInteractorFromDB(OtherModelOrganismGene1, OtherModelOrganismGene2)), \+ hasInteractorFromDB(HumanGene1, HumanGene2). 57 57 58 probable Interactors(ing1, CandidateInteractor).58 probableNovelInteractors(ing1, CandidateInteractor). 59 59 60 60 CandidateInteractor = p38MAPK ? ; 61 61 CandidateInteractor = MEKK4 ? ; 62 62 63 * Now we just need the predicates to exists in various SPARQL endpoints to give use the RDF Facts with predicates corresponding to hasHomolog, hasInteractorFromDB, and hasProteinDomain Plus decide which way to express queries in SPARQL than span multiple services. :-) 63 * Note the negation at the end of the logic, we only want to list those HumanGene2 possibilities that are not already known from the database. 64 65 * Now we just need the predicates to exists in various SPARQL endpoints to give use the RDF Facts with predicates corresponding to hasHomolog, hasInteractorFromDB, and hasProteinDomain. Then we will use SHARE/SADI to create queries in SPARQL than span multiple services. :-) 64 66 65 67