Modify: modify the dataset's filepath

This commit is contained in:
suxunbin 2017-11-26 16:28:11 +08:00
parent ef599f1ba0
commit f2ef5caf00
39 changed files with 101804 additions and 0 deletions

2000
data/bbug/bbug.nt Normal file

File diff suppressed because it is too large Load Diff

5
data/bbug/bbug0.sql Normal file
View File

@ -0,0 +1,5 @@
INSERT DATA
{
<http://www.founder/102> <http://www.founder.20.link:52> <http://www.founder/106> .
<http://www.founder/102> <http://www.founder> <http://www.founder/73> .
}

1
data/bbug/bbug0d.sql Normal file
View File

@ -0,0 +1 @@
DELETE DATA { <http://www.founder/102> <http://www.founder.20.link:52> <http://www.founder/106> . }

1
data/bbug/bbug1.sql Normal file
View File

@ -0,0 +1 @@
select ?subject ?predict ?object WHERE { ?subject <http://www.founder.20.link:52> ?object; ?predict ?object . }

1
data/bbug/bbug2.sql Normal file
View File

@ -0,0 +1 @@
DELETE WHERE { <http://www.founder/101> ?predict ?object . }

1
data/bbug/bbug3.sql Normal file
View File

@ -0,0 +1 @@
select ?predict where {<http://www.founder/102> ?predict <http://www.founder/73> .}

5
data/bbug/bbug4.sql Normal file
View File

@ -0,0 +1,5 @@
select ?subject ?predict ?object where
{
<http://www.founder/102> <http://www.founder.20.link:52> ?object.
?subject ?predict ?object.
}

1
data/bbug/bbug5.sql Normal file
View File

@ -0,0 +1 @@
select ?subject ?predict ?object where {?subject <http://www.founder.20.link:52> <http://www.founder/106>; ?predict ?object . }

1
data/bbug/bbug6.sql Normal file
View File

@ -0,0 +1 @@
DELETE WHERE { ?subject <http://www.founder.20.link:52> ?objcet. }

99550
data/lubm/lubm.nt Normal file

File diff suppressed because it is too large Load Diff

4
data/lubm/lubm_p0.sql Normal file
View File

@ -0,0 +1,4 @@
select ?x ?p where
{
?x ?p <FullProfessor0>.
}

5
data/lubm/lubm_p1.sql Normal file
View File

@ -0,0 +1,5 @@
select ?s ?p ?o ?p2 ?o2 where
{
?s ?p ?o .
?o ?p2 ?o2 .
}

9
data/lubm/lubm_p2.sql Normal file
View File

@ -0,0 +1,9 @@
select distinct ?x ?p1 ?p2 where
{
?x <rdf:type> <ub:GraduateStudent>.
?y <rdf:type> <ub:University>.
?z <rdf:type> <ub:Department>.
?x ?p1 ?z.
?z ?p2 ?y.
?x <ub:undergraduateDegreeFrom> ?y.
}

10
data/lubm/lubm_p3.sql Normal file
View File

@ -0,0 +1,10 @@
select distinct ?x ?p1 ?p2 ?p3 where
{
?x <rdf:type> <ub:UndergraduateStudent>.
?y <ub:name> <Course1>.
?x ?p1 ?y.
?z <ub:teacherOf> ?y.
?z <ub:name> <FullProfessor1>.
?z ?p2 ?w.
?w ?p3 <Department0>.
}

4
data/lubm/lubm_p4.sql Normal file
View File

@ -0,0 +1,4 @@
select distinct ?x where
{
?x <rdf:type> <ub:UndergraduateStudent>.
}

4
data/lubm/lubm_q0.sql Normal file
View File

@ -0,0 +1,4 @@
select ?x where
{
?x <ub:name> <FullProfessor0>.
}

9
data/lubm/lubm_q1.sql Normal file
View File

@ -0,0 +1,9 @@
select distinct ?x where
{
?x <rdf:type> <ub:GraduateStudent>.
?y <rdf:type> <ub:University>.
?z <rdf:type> <ub:Department>.
?x <ub:memberOf> ?z.
?z <ub:subOrganizationOf> ?y.
?x <ub:undergraduateDegreeFrom> ?y.
}

5
data/lubm/lubm_q2.sql Normal file
View File

@ -0,0 +1,5 @@
select distinct ?x where
{
?x <rdf:type> <ub:Course>.
?x <ub:name> ?y.
}

10
data/lubm/lubm_q3.sql Normal file
View File

@ -0,0 +1,10 @@
select ?x where
{
?x <rdf:type> <ub:UndergraduateStudent>.
?y <ub:name> <Course1>.
?x <ub:takesCourse> ?y.
?z <ub:teacherOf> ?y.
?z <ub:name> <FullProfessor1>.
?z <ub:worksFor> ?w.
?w <ub:name> <Department0>.
}

10
data/lubm/lubm_q4.sql Normal file
View File

@ -0,0 +1,10 @@
select distinct ?x where
{
?x <rdf:type> <ub:UndergraduateStudent>.
?y <ub:name> <Course1>.
?x <ub:takesCourse> ?y.
?z <ub:teacherOf> ?y.
?z <ub:name> <FullProfessor1>.
?z <ub:worksFor> ?w.
?w <ub:name> <Department0>.
}

4
data/lubm/lubm_q5.sql Normal file
View File

@ -0,0 +1,4 @@
select distinct ?x where
{
?x <rdf:type> <ub:UndergraduateStudent>.
}

33
data/num/num.nt Normal file
View File

@ -0,0 +1,33 @@
<http://example/alice> <http://xmlns.com/foaf/0.1/givenName> "Alice" .
<http://example/alice> <http://xmlns.com/foaf/0.1/familyName> "Smith" .
<http://example/alice> <http://xmlns.com/foaf/0.1/mbox> <mailto:alice@example.com> .
<http://example/alice> <http://xmlns.com/foaf/0.1/mbox> <mailto:alice@work.example> .
<http://example/alice> <http://xmlns.com/foaf/0.1/salary> "2500"^^<http://www.w3.org/2001/XMLSchema#integer> .
<http://example/alice> <http://xmlns.com/foaf/0.1/height> "161.5"^^<http://www.w3.org/2001/XMLSchema#float> .
<http://example/alice> <http://xmlns.com/foaf/0.1/knows> <http://example/david> .
<http://example/alice> <http://xmlns.com/foaf/0.1/knows> <http://example/bob> .
<http://example/bob> <http://xmlns.com/foaf/0.1/givenName> "Bob" .
<http://example/bob> <http://xmlns.com/foaf/0.1/familyName> "Jones" .
<http://example/bob> <http://xmlns.com/foaf/0.1/mbox> <mailto:bob.Jones@example.com> .
<http://example/bob> <http://xmlns.com/foaf/0.1/salary> "5000"^^<http://www.w3.org/2001/XMLSchema#integer> .
<http://example/bob> <http://xmlns.com/foaf/0.1/height> "171.0"^^<http://www.w3.org/2001/XMLSchema#float> .
<http://example/bob> <http://xmlns.com/foaf/0.1/knows> <http://example/alice> .
<http://example/bob> <http://xmlns.com/foaf/0.1/knows> <http://example/carol> .
<http://example/carol> <http://xmlns.com/foaf/0.1/givenName> "Carol" .
<http://example/carol> <http://xmlns.com/foaf/0.1/familyName> "Smith" .
<http://example/carol> <http://xmlns.com/foaf/0.1/mbox> <mailto:carol@gmail.com> .
<http://example/carol> <http://xmlns.com/foaf/0.1/salary> "2000"^^<http://www.w3.org/2001/XMLSchema#integer> .
<http://example/carol> <http://xmlns.com/foaf/0.1/height> "155.5"^^<http://www.w3.org/2001/XMLSchema#float> .
<http://example/carol> <http://xmlns.com/foaf/0.1/knows> <http://example/bob> .
<http://example/carol> <http://xmlns.com/foaf/0.1/knows> <http://example/david> .
<http://example/david> <http://xmlns.com/foaf/0.1/givenName> "David" .
<http://example/david> <http://xmlns.com/foaf/0.1/familyName> "Williams" .
<http://example/david> <http://xmlns.com/foaf/0.1/mbox> <mailto:david_Williams@microsoft.com> .
<http://example/david> <http://xmlns.com/foaf/0.1/salary> "10000"^^<http://www.w3.org/2001/XMLSchema#integer> .
<http://example/david> <http://xmlns.com/foaf/0.1/height> "178.0"^^<http://www.w3.org/2001/XMLSchema#float> .
<http://example/david> <http://xmlns.com/foaf/0.1/knows> <http://example/carol> .
<http://example/david> <http://xmlns.com/foaf/0.1/knows> <http://example/alice> .

12
data/num/num0.sql Normal file
View File

@ -0,0 +1,12 @@
PREFIX : <http://example/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?nx ?ny ?sx ?sy
{
?x foaf:knows ?y.
?x foaf:givenName ?nx.
?y foaf:givenName ?ny.
?x foaf:salary ?sx.
?y foaf:salary ?sy.
}

13
data/num/num1.sql Normal file
View File

@ -0,0 +1,13 @@
PREFIX : <http://example/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?nx ?ny ?sx ?sy
{
?x foaf:knows ?y.
?x foaf:givenName ?nx.
?y foaf:givenName ?ny.
?x foaf:salary ?sx.
?y foaf:salary ?sy.
FILTER(?sx < ?sy && abs(?sx - ?sy) < "3000"^^xsd:integer)
}

15
data/num/num2.sql Normal file
View File

@ -0,0 +1,15 @@
PREFIX : <http://example/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?nx ?ny ?sx ?sy ?hx ?hy
{
?x foaf:knows ?y.
?x foaf:givenName ?nx.
?y foaf:givenName ?ny.
?x foaf:salary ?sx.
?y foaf:salary ?sy.
?x foaf:height ?hx.
?y foaf:height ?hy.
FILTER(?sx > ?sy && (?hx > ?hy || ?hx >= "170.0"^^xsd:float))
}

4
data/num/num3.sql Normal file
View File

@ -0,0 +1,4 @@
select ?p where
{
<http://example/bob> ?p "Bob" .
}

25
data/small/small.nt Normal file
View File

@ -0,0 +1,25 @@
<root> <name> "Bookug Lobert" .
<root> <contain> <node0> .
<root> <contain> <node1> .
<root> <contain> <node2> .
<root> <contain> <node3> .
<root> <contain> <node4> .
<node1> <own> <point0> .
<node1> <own> <point1> .
<node2> <own> <point2> .
<node2> <own> <point3> .
<node2> <own> <point4> .
<node3> <own> <point5> .
<node4> <own> <point6> .
<node4> <own> <point7> .
<point0> <from> <point1> .
<point1> <to> <point2> .
<point1> <from> <point3> .
<point4> <similar> <point5> .
<point5> <inherit> <point6> .
<point3> <close> <point7> .
<point6> <close> <point7> .
<point7> <name> "sadhjb wdhcbd sdcjhdsjkc1" .
<point1> <name> "sbsb 12.879" .
<point5> <name> "tobe NO1." .
<point0> <nick> "Bookug Lobert" .

6
data/small/small_add.nt Normal file
View File

@ -0,0 +1,6 @@
<node1> <link> <node2> .
<node3> <link> <node4> .
<point2> <to> <point3> .
<point1> <from> <point5> .
<root> <contain> <node5> .
<node6> <own> <point6> .

View File

@ -0,0 +1,5 @@
select ?s1 ?s2 where
{
?s1 <close> <point7> .
?s2 <own> <point7> .
}

4
data/small/small_p0.sql Normal file
View File

@ -0,0 +1,4 @@
select ?s where
{
?s ?p "Bookug Lobert" .
}

6
data/small/small_p1.sql Normal file
View File

@ -0,0 +1,6 @@
select ?s1 ?s2 ?o1 ?o2 where
{
?s1 ?p1 ?o1 .
?s2 ?p1 ?o2 .
?o1 ?p1 ?o2 .
}

5
data/small/small_p2.sql Normal file
View File

@ -0,0 +1,5 @@
select ?s1 ?s2 ?o where
{
?s1 ?p ?o .
?s2 ?p ?o .
}

6
data/small/small_p3.sql Normal file
View File

@ -0,0 +1,6 @@
select ?v2 ?v0 where
{
?v0 <own> ?v1 .
?v0 <own> ?v2 .
?v1 <close> ?v2 .
}

6
data/small/small_q0.sql Normal file
View File

@ -0,0 +1,6 @@
select ?v0 ?v1 ?v2 where
{
?v0 <own> ?v1 .
?v0 <own> ?v2 .
?v1 <close> ?v2 .
}

6
data/small/small_q1.sql Normal file
View File

@ -0,0 +1,6 @@
select ?s where
{
?s <to> <point2> .
?s <from> <point3> .
?s <name> "sbsb 12.879" .
}

5
data/small/small_q2.sql Normal file
View File

@ -0,0 +1,5 @@
select ?v0 ?v1 ?v2 where
{
?v0 <close> ?v1 .
?v2 <close> ?v1 .
}

5
data/small/small_q3.sql Normal file
View File

@ -0,0 +1,5 @@
select ?v0 ?v1 ?v2 where
{
?v0 <name> ?v1 .
?v2 <nick> ?v1 .
}

4
data/small/small_s0.sql Normal file
View File

@ -0,0 +1,4 @@
select ?v0 ?v1 where
{
?v0 <contain> ?v1 .
}

4
data/small/small_s1.sql Normal file
View File

@ -0,0 +1,4 @@
select ?v0 where
{
?v0 <contain> ?v1 .
}