forked from evaletolab/spring-jena-sparql
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGene.java
More file actions
48 lines (38 loc) · 1.36 KB
/
Copy pathGene.java
File metadata and controls
48 lines (38 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package evaletolab.rdf;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import evaletolab.TripleStoreBaseTest;
import evaletolab.rdf.sab.SABTest;
/**
* Use case for gene queries
* Q55 which have genes of length >=10000 bp
* Q58 which are located on the genome next to a protein_which is involved in spermatogenesis righ
*
* @author dteixeir
*/
public class Gene extends TripleStoreBaseTest {
@Test
@Category(SABTest.class)
public void Q55_wich_have_genes_of_length_bigger_than_10000BP() {
testSparql("Q055.sparql");
}
@Test
public void Q58_which_are_located_on_the_genome_next_to_a_protein_which_is_involved_in_spermatogenesis_right() {
testSparql("Q058-right.sparql");
}
@Test
public void Q58_which_are_located_on_the_genome_next_to_a_protein_which_is_involved_in_spermatogenesis_left() {
//Don't why the performance of this query is much slower than on the right side!!!!
testSparql("Q058-left.sparql");
}
@Test
public void Q58_which_are_located_on_the_genome_next_to_a_protein_which_is_involved_in_spermatogenesis_left_b() {
//This one fixes the performance issue but does not return the same number of rows
testSparql("Q058-left-b.sparql");
}
@Test
@Category(SABTest.class)
public void Q58_which_are_located_on_the_genome_next_to_a_protein_which_is_involved_in_spermatogenesis() {
testSparql("Q058.sparql");
}
}