Commit c8a3ecce authored by vehnem's avatar vehnem
Browse files

intergration tests sparql queries

parent 2b7db061
PREFIX dataid: <http://dataid.dbpedia.org/ns/core#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX dcat: <http://www.w3.org/ns/dcat#>
SELECT ?expected_files ?actual_files ?delta ?versionString ?versionIRI {
{SELECT ?expected_files (COUNT(DISTINCT ?distribution) as ?actual_files) ((?actual_files-?expected_files)AS ?delta) ?versionIRI ?versionString {
VALUES (?artifact ?expected_files) {
( <https://databus.dbpedia.org/dbpedia/generic/anchor-text> 1 )
( <https://databus.dbpedia.org/dbpedia/generic/article-templates> 278 )
( <https://databus.dbpedia.org/dbpedia/generic/categories> 417 )
( <https://databus.dbpedia.org/dbpedia/generic/citations> 2 )
( <https://databus.dbpedia.org/dbpedia/generic/commons-sameas-links> 7 )
( <https://databus.dbpedia.org/dbpedia/generic/disambiguations> 15 )
( <https://databus.dbpedia.org/dbpedia/generic/external-links> 139 )
( <https://databus.dbpedia.org/dbpedia/generic/geo-coordinates> 139 )
( <https://databus.dbpedia.org/dbpedia/generic/homepages> 13 )
( <https://databus.dbpedia.org/dbpedia/generic/infobox-properties> 139 )
( <https://databus.dbpedia.org/dbpedia/generic/infobox-property-definitions> 139 )
( <https://databus.dbpedia.org/dbpedia/generic/interlanguage-links> 139 )
( <https://databus.dbpedia.org/dbpedia/generic/labels> 139 )
( <https://databus.dbpedia.org/dbpedia/generic/page> 278 )
( <https://databus.dbpedia.org/dbpedia/generic/persondata> 4 )
( <https://databus.dbpedia.org/dbpedia/generic/redirects> 139 )
( <https://databus.dbpedia.org/dbpedia/generic/revisions> 278 )
( <https://databus.dbpedia.org/dbpedia/generic/topical-concepts>11 )
( <https://databus.dbpedia.org/dbpedia/generic/wikilinks> 139 )
( <https://databus.dbpedia.org/dbpedia/generic/wikipedia-links> 139 )
}
?dataset dataid:artifact ?artifact .
?dataset dataid:version ?versionIRI .
?dataset dct:hasVersion ?versionString .
?dataset dcat:distribution ?distribution .
}}
FILTER(?delta != 0)
} ORDER BY DESC(?versionString)
PREFIX dataid: <http://dataid.dbpedia.org/ns/core#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX dcat: <http://www.w3.org/ns/dcat#>
SELECT ?expected_files ?actual_files ?delta ?versionString ?versionIRI {
{SELECT ?expected_files (COUNT(DISTINCT ?distribution) as ?actual_files) ((?actual_files-?expected_files)AS ?delta) ?versionIRI ?versionString {
VALUES (?artifact ?expected_files) {
( <https://databus.dbpedia.org/dbpedia/mappings/geo-coordinates-mappingbased> 29 )
( <https://databus.dbpedia.org/dbpedia/mappings/instance-types> 80 )
( <https://databus.dbpedia.org/dbpedia/mappings/mappingbased-literals> 40 )
( <https://databus.dbpedia.org/dbpedia/mappings/mappingbased-objects> 120 )
( <https://databus.dbpedia.org/dbpedia/mappings/mappingbased-objects-uncleaned> 40 )
( <https://databus.dbpedia.org/dbpedia/mappings/specific-mappingbased-properties> 40 )
}
?dataset dataid:artifact ?artifact .
?dataset dataid:version ?versionIRI .
?dataset dct:hasVersion ?versionString .
?dataset dcat:distribution ?distribution .
}}
FILTER(?delta != 0)
} ORDER BY DESC(?versionString)
PREFIX dataid: <http://dataid.dbpedia.org/ns/core#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX dcat: <http://www.w3.org/ns/dcat#>
SELECT ?expected_files ?actual_files ?delta ?versionString ?versionIRI {
{SELECT ?expected_files (COUNT(DISTINCT ?distribution) as ?actual_files) ((?actual_files-?expected_files)AS ?delta) ?versionIRI ?versionString {
VALUES (?artifact ?expected_files) {
( <https://databus.dbpedia.org/dbpedia/text/equations> 139 )
( <https://databus.dbpedia.org/dbpedia/text/long-abstracts> 139 )
( <https://databus.dbpedia.org/dbpedia/text/nif-context> 139 )
( <https://databus.dbpedia.org/dbpedia/text/nif-page-structure> 139 )
( <https://databus.dbpedia.org/dbpedia/text/nif-text-links> 139 )
( <https://databus.dbpedia.org/dbpedia/text/raw-tables> 139 )
( <https://databus.dbpedia.org/dbpedia/text/short-abstracts> 139 )
}
?dataset dataid:artifact ?artifact .
?dataset dataid:version ?versionIRI .
?dataset dct:hasVersion ?versionString .
?dataset dcat:distribution ?distribution .
}}
FILTER(?delta != 0)
} ORDER BY DESC(?versionString)
PREFIX dataid: <http://dataid.dbpedia.org/ns/core#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX dcat: <http://www.w3.org/ns/dcat#>
SELECT ?expected_files ?actual_files ?delta ?versionString ?versionIRI {
{SELECT ?expected_files (COUNT(DISTINCT ?distribution) as ?actual_files) ((?actual_files-?expected_files)AS ?delta) ?versionIRI ?versionString {
VALUES (?artifact ?expected_files) {
( <https://databus.dbpedia.org/dbpedia/wikidata/alias> 2 )
( <https://databus.dbpedia.org/dbpedia/wikidata/debug> 3 )
( <https://databus.dbpedia.org/dbpedia/wikidata/description> 2 )
( <https://databus.dbpedia.org/dbpedia/wikidata/geo-coordinates> 1 )
( <https://databus.dbpedia.org/dbpedia/wikidata/images> 1 )
( <https://databus.dbpedia.org/dbpedia/wikidata/instance-types> 2 )
( <https://databus.dbpedia.org/dbpedia/wikidata/labels> 2 )
( <https://databus.dbpedia.org/dbpedia/wikidata/mappingbased-literals> 1 )
( <https://databus.dbpedia.org/dbpedia/wikidata/mappingbased-objects-uncleaned> 2 )
( <https://databus.dbpedia.org/dbpedia/wikidata/mappingbased-properties-reified> 2 )
( <https://databus.dbpedia.org/dbpedia/wikidata/ontology-subclassof> 1 )
( <https://databus.dbpedia.org/dbpedia/wikidata/page> 2 )
( <https://databus.dbpedia.org/dbpedia/wikidata/properties> 1 )
( <https://databus.dbpedia.org/dbpedia/wikidata/redirects> 2 )
( <https://databus.dbpedia.org/dbpedia/wikidata/references> 1 )
( <https://databus.dbpedia.org/dbpedia/wikidata/revision> 2 )
( <https://databus.dbpedia.org/dbpedia/wikidata/sameas-all-wikis> 1 )
( <https://databus.dbpedia.org/dbpedia/wikidata/sameas-external> 1 )
}
?dataset dataid:artifact ?artifact .
?dataset dataid:version ?versionIRI .
?dataset dct:hasVersion ?versionString .
?dataset dcat:distribution ?distribution .
}}
FILTER(?delta != 0)
} ORDER BY DESC(?versionString)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment