Changes between Version 13 and Version 14 of UseCases

Show
Ignore:
Timestamp:
2010/02/09 15:17:43 (14 years ago)
Author:
gordonp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCases

    v13 v14  
    5454    * The query in Prolog would be something like: 
    5555 
    56       probableInteractors(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). 
    5757 
    58       probableInteractors(ing1, CandidateInteractor). 
     58      probableNovelInteractors(ing1, CandidateInteractor). 
    5959 
    6060      CandidateInteractor = p38MAPK ? ; 
    6161      CandidateInteractor = MEKK4 ? ; 
    6262 
    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. :-) 
    6466  
    6567