CINXE.COM
dblp SPARQL
<!DOCTYPE html> <html> <head> <title>dblp SPARQL</title> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" type="image/png" href="/static/favicon.ad876dd8f8d9.ico"> <!-- The stylesheets for this page --> <link rel="stylesheet" type="text/css" href="https://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css"> <!-- Bootstraps CSS --> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> <!-- CSS Code for the UI --> <link rel="stylesheet" type="text/css" href="/static/css/style.c82fdccbe457.css"> <link rel="stylesheet" type="text/css" href="/static/css/codemirror.9f0eba3e6bc4.css"> <!-- The basic jQuery library & jQuery UI library --> <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script> var predicateResultTypes = {}; var ENTITY = 0; var LITERAL = 1; var LANGUAGELITERAL = 2; var BASEURL = "https://sparql.dblp.org/sparql"; var NO_SLUG_MODE = true; var SLUG = "dblp"; var ENTITYNAMERELATIONS = {"SUBJECTNAME": "", "PREDICATENAME": "", "OBJECTNAME": "", "SUGGESTSUBJECTS": "%PREFIXES%\nSELECT ?qui_entity (?qui_alias AS ?qui_name) ?qui_alias ?qui_count WHERE {\n { SELECT ?qui_entity ?qui_alias ?qui_count WHERE {\n { { SELECT ?qui_entity (COUNT(?paper) AS ?qui_count) WHERE { ?paper dblp:publishedIn ?qui_entity } GROUP BY ?qui_entity } BIND(?qui_entity AS ?qui_alias) } UNION\n { { SELECT ?qui_entity (COUNT(?paper) AS ?qui_count) WHERE { ?paper dblp:authoredBy ?qui_entity } GROUP BY ?qui_entity } ?qui_entity rdfs:label ?qui_alias } UNION\n { { SELECT ?qui_entity (COUNT(?author) AS ?qui_count) WHERE { ?qui_entity dblp:authoredBy ?author } GROUP BY ?qui_entity } ?qui_entity dblp:title ?qui_alias }\n } INTERNAL SORT BY ?qui_alias }\n FILTER REGEX(STR(?qui_alias), \"^%CURRENT_WORD%\")\n} ORDER BY DESC(?qui_count)", "SUGGESTPREDICATES": "%PREFIXES%\nSELECT ?qui_entity ?qui_name ?qui_alias ?qui_count ?qui_reversed WHERE {\n # IF !CURRENT_SUBJECT_VARIABLE #\n { { SELECT ?qui_entity (COUNT(?qui_object) AS ?qui_count)\n WHERE { %CURRENT_SUBJECT% ?qui_entity ?qui_object }\n GROUP BY ?qui_entity } BIND (0 AS ?qui_reversed) }\n UNION\n { { SELECT ?qui_entity (COUNT(?qui_subject) AS ?qui_count)\n WHERE { ?qui_subject ?qui_entity %CURRENT_SUBJECT% }\n GROUP BY ?qui_entity } BIND (1 AS ?qui_reversed) }\n # ENDIF #\n # IF CURRENT_SUBJECT_VARIABLE AND CONNECTED_TRIPLES_EMPTY #\n { SELECT ?qui_entity (COUNT(?qui_entity) AS ?qui_count)\n WHERE { ?qui_subject ?qui_entity ?qui_object }\n GROUP BY ?qui_entity } BIND (0 AS ?qui_reversed)\n # ENDIF #\n # IF CURRENT_SUBJECT_VARIABLE AND !CONNECTED_TRIPLES_EMPTY #\n { SELECT ?qui_entity (COUNT(DISTINCT %CURRENT_SUBJECT%) AS ?qui_count)\n WHERE { %CONNECTED_TRIPLES% %CURRENT_SUBJECT% ?qui_entity ?qui_object }\n GROUP BY ?qui_entity } BIND (0 AS ?qui_reversed)\n # ENDIF #\n BIND (?qui_entity AS ?qui_name)\n # IF !CURRENT_WORD_EMPTY #\n FILTER REGEX(STR(?qui_name), \"%CURRENT_WORD%\", \"i\")\n # ENDIF #\n} ORDER BY DESC(?qui_count)", "SUGGESTOBJECTS": "%PREFIXES%\n# IF CURRENT_WORD_EMPTY #\nSELECT ?qui_entity ?qui_name ?qui_alias ?qui_count WHERE {\n { SELECT ?qui_entity (COUNT(?qui_entity) AS ?qui_count) WHERE {\n %CONNECTED_TRIPLES% %CURRENT_SUBJECT% %CURRENT_PREDICATE% ?qui_entity .\n } GROUP BY ?qui_entity }\n OPTIONAL { ?qui_entity rdfs:label ?qui_alias }\n BIND (COALESCE(?qui_alias, ?qui_entity) AS ?qui_name)\n} ORDER BY DESC(?qui_count)\n# ELSE #\nSELECT ?qui_entity ?qui_name ?qui_alias ?qui_count WHERE {\n { SELECT ?qui_entity (COUNT(?qui_entity) AS ?qui_count) WHERE {\n %CONNECTED_TRIPLES% %CURRENT_SUBJECT% %CURRENT_PREDICATE% ?qui_entity .\n } GROUP BY ?qui_entity }\n OPTIONAL { ?qui_entity rdfs:label ?qui_alias }\n BIND (?qui_entity AS ?qui_name)\n FILTER (REGEX(STR(?qui_name), \"^%CURRENT_WORD%\") || REGEX(STR(?qui_alias), \"^%CURRENT_WORD%\"))\n} ORDER BY DESC(?qui_count)\n# ENDIF #", "ALTERNATIVESUBJECTNAME": "", "ALTERNATIVEPREDICATENAME": "", "ALTERNATIVEOBJECTNAME": "", "SUGGESTSUBJECTSCONTEXTINSENSITIVE": "%PREFIXES%\nSELECT ?qui_entity (?qui_alias AS ?qui_name) ?qui_alias ?qui_count WHERE {\n { SELECT ?qui_entity ?qui_alias ?qui_count WHERE {\n { { SELECT ?qui_entity (COUNT(?paper) AS ?qui_count) WHERE { ?paper dblp:publishedIn ?qui_entity } GROUP BY ?qui_entity } BIND(?qui_entity AS ?qui_alias) } UNION\n { { SELECT ?qui_entity (COUNT(?paper) AS ?qui_count) WHERE { ?paper dblp:authoredBy ?qui_entity } GROUP BY ?qui_entity } ?qui_entity rdfs:label ?qui_alias } UNION\n { { SELECT ?qui_entity (COUNT(?author) AS ?qui_count) WHERE { ?qui_entity dblp:authoredBy ?author } GROUP BY ?qui_entity } ?qui_entity dblp:title ?qui_alias }\n } INTERNAL SORT BY ?qui_alias }\n FILTER REGEX(STR(?qui_alias), \"^%CURRENT_WORD%\")\n} ORDER BY DESC(?qui_count)", "SUGGESTPREDICATESCONTEXTINSENSITIVE": "%PREFIXES%\nSELECT ?qui_entity ?qui_name ?qui_alias ?qui_count WHERE {\n { SELECT ?qui_entity (COUNT(?qui_entity) AS ?qui_count)\n WHERE { ?qui_subject ?qui_entity ?qui_object }\n GROUP BY ?qui_entity } BIND (0 AS ?qui_reversed)\n BIND (?qui_entity AS ?qui_name)\n # IF !CURRENT_WORD_EMPTY #\n FILTER REGEX(STR(?qui_name), \"%CURRENT_WORD%\", \"i\")\n # ENDIF #\n} ORDER BY DESC(?qui_count)", "SUGGESTOBJECTSCONTEXTINSENSITIVE": "%PREFIXES%\n# IF CURRENT_WORD_EMPTY #\nSELECT ?qui_entity ?qui_name ?qui_alias ?qui_count WHERE {\n { SELECT ?qui_entity (COUNT(?qui_entity) AS ?qui_count) WHERE {\n %CURRENT_SUBJECT% %CURRENT_PREDICATE% ?qui_entity .\n } GROUP BY ?qui_entity }\n OPTIONAL { ?qui_entity rdfs:label ?qui_alias }\n BIND (COALESCE(?qui_alias, ?qui_entity) AS ?qui_name)\n} ORDER BY DESC(?qui_count)\n# ELSE #\nSELECT ?qui_entity ?qui_name ?qui_alias ?qui_count WHERE {\n { SELECT ?qui_entity (COUNT(?qui_entity) AS ?qui_count) WHERE {\n %CURRENT_SUBJECT% %CURRENT_PREDICATE% ?qui_entity .\n } GROUP BY ?qui_entity }\n OPTIONAL { ?qui_entity rdfs:label ?qui_alias }\n BIND (?qui_entity AS ?qui_name)\n FILTER (REGEX(STR(?qui_name), \"^%CURRENT_WORD%\") || REGEX(STR(?qui_alias), \"^%CURRENT_WORD%\"))\n} ORDER BY DESC(?qui_count)\n# ENDIF #"} var SUBJECTNAME = ENTITYNAMERELATIONS["SUBJECTNAME"]; var PREDICATENAME = ENTITYNAMERELATIONS["PREDICATENAME"]; var OBJECTNAME = ENTITYNAMERELATIONS["OBJECTNAME"]; var ALTERNATIVESUBJECTNAME = ENTITYNAMERELATIONS["ALTERNATIVESUBJECTNAME"]; var ALTERNATIVEPREDICATENAME = ENTITYNAMERELATIONS["ALTERNATIVEPREDICATENAME"]; var ALTERNATIVEOBJECTNAME = ENTITYNAMERELATIONS["ALTERNATIVEOBJECTNAME"]; var SUGGESTSUBJECTS = ENTITYNAMERELATIONS["SUGGESTSUBJECTS"]; var SUGGESTPREDICATES = ENTITYNAMERELATIONS["SUGGESTPREDICATES"]; var SUGGESTOBJECTS = ENTITYNAMERELATIONS["SUGGESTOBJECTS"]; var SUGGESTSUBJECTS_CONTEXT_INSENSITIVE = ENTITYNAMERELATIONS["SUGGESTSUBJECTSCONTEXTINSENSITIVE"]; var SUGGESTPREDICATES_CONTEXT_INSENSITIVE = ENTITYNAMERELATIONS["SUGGESTPREDICATESCONTEXTINSENSITIVE"]; var SUGGESTOBJECTS_CONTEXT_INSENSITIVE = ENTITYNAMERELATIONS["SUGGESTOBJECTSCONTEXTINSENSITIVE"]; var SUGGESTOBJECTS_CONTEXT_HALFSENSITIVE = SUGGESTOBJECTS.replace(/%CONNECTED_TRIPLES%\s*/g, "") // console.log("Half-sensitive object AC query template:\n", SUGGESTOBJECTS_CONTEXT_HALFSENSITIVE); var COLLECTEDPREFIXES = {"dblp": "https://dblp.org/rdf/schema#", "bf": "http://id.loc.gov/ontologies/bibframe/", "bibo": "http://purl.org/ontology/bibo/", "bibtex": "http://purl.org/net/nknouf/ns/bibtex#", "cito": "http://purl.org/spar/cito/", "datacite": "http://purl.org/spar/datacite/", "dbo": "http://dbpedia.org/ontology/", "dc": "http://purl.org/dc/elements/1.1/", "dct": "http://purl.org/dc/terms/", "foaf": "http://xmlns.com/foaf/0.1/", "litre": "http://purl.org/spar/literal/", "locid": "http://id.loc.gov/vocabulary/identifiers/", "locrel": "http://id.loc.gov/vocabulary/relators/", "owl": "http://www.w3.org/2002/07/owl#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "schema": "https://schema.org/", "skos": "http://www.w3.org/2004/02/skos/core#", "wd": "http://www.wikidata.org/entity/", "wdt": "http://www.wikidata.org/prop/direct/", "wikibase": "http://wikiba.se/ontology#", "xml": "http://www.w3.org/XML/1998/namespace", "xsd": "http://www.w3.org/2001/XMLSchema#"}; var LANGUAGES = ['"en"',]; var KEYWORDS = ["prefix","select","construct","distinct","where","order","limit","offset","optional","by","as","having","not","textlimit","contains-entity","contains-word","filter","group","union","optional","has-predicate","keywords","bind","contains","minus","service",]; var FUNCTIONS = ["asc","desc","avg","values","score","text","count","sample","min","max","average","concat","group_concat","langMatches","lang","regex","sum","rand","str","strlen",]; var PREDICATESUGGESTIONS = []; var SUGGEST_PREFIXNAMES_FOR_PREDICATES = true; var FILLPREFIXES = true; var FILTER_TYPES = LITERAL; var REPLACE_PREDICATES = {}; var SUGGESTIONENTITYVARIABLE = "?qui_entity"; var SUGGESTIONNAMEVARIABLE = "?qui_name"; var SUGGESTIONALTNAMEVARIABLE = "?qui_alias"; var SUGGESTIONREVERSEDVARIABLE = "?qui_reversed"; var WARMUP_AC_PLACEHOLDERS = {'ENTITY_NAME_AND_ALIAS_PATTERN': '?qleverui_entity rdfs:label ?name . BIND(?name AS ?alias)', 'ENTITY_SCORE_PATTERN': '{ SELECT ?qleverui_entity (COUNT(?qleverui_tmp) AS ?count) WHERE { ?qleverui_entity ^dblp:authoredBy ?qleverui_tmp } GROUP BY ?qleverui_entity }', 'PREDICATE_NAME_AND_ALIAS_PATTERN_WITHOUT_CONTEXT': 'BIND(?qleverui_entity AS ?name) BIND(?qleverui_entity AS ?alias)', 'PREDICATE_NAME_AND_ALIAS_PATTERN_WITH_CONTEXT': 'BIND(?qleverui_entity AS ?name) BIND(?qleverui_entity AS ?alias)', 'ENTITY_NAME_AND_ALIAS_PATTERN_DEFAULT': 'BIND(?qleverui_entity AS ?name) BIND(?qleverui_entity AS ?alias)', 'PREDICATE_NAME_AND_ALIAS_PATTERN_WITHOUT_CONTEXT_DEFAULT': 'BIND(?qleverui_entity AS ?name) BIND(?qleverui_entity AS ?alias)', 'PREDICATE_NAME_AND_ALIAS_PATTERN_WITH_CONTEXT_DEFAULT': 'BIND(?qleverui_entity AS ?name) BIND(?qleverui_entity AS ?alias)', 'WARMUP_QUERY_1': 'SELECT ?qleverui_entity (SAMPLE(?name) AS ?qleverui_name) (SAMPLE(?alias) AS ?qleverui_alias) (SAMPLE(?count) AS ?qleverui_count) WHERE {\r\n { SELECT ?qleverui_entity ?name ?alias ?count WHERE {\r\n %ENTITY_SCORE_PATTERN%\r\n %ENTITY_NAME_AND_ALIAS_PATTERN% }\r\n ORDER BY ?qleverui_entity }\r\n} GROUP BY ?qleverui_entity ORDER BY DESC(?qleverui_count)', 'WARMUP_QUERY_2': 'SELECT ?qleverui_entity ?name ?alias ?count WHERE {\r\n %ENTITY_SCORE_PATTERN%\r\n %ENTITY_NAME_AND_ALIAS_PATTERN%\r\n} INTERNAL SORT BY ?alias', 'WARMUP_QUERY_3': 'SELECT ?qleverui_entity ?name ?alias ?count WHERE {\r\n %ENTITY_SCORE_PATTERN%\r\n %ENTITY_NAME_AND_ALIAS_PATTERN%\r\n} INTERNAL SORT BY ?qleverui_entity', 'WARMUP_QUERY_4': 'SELECT ?qleverui_entity ?name ?alias ?count_1 WHERE {\r\n { { SELECT ?qleverui_entity (COUNT(DISTINCT ?subject) AS ?count_1) WHERE { ?subject ?qleverui_entity ?object } GROUP BY ?qleverui_entity }\r\n %PREDICATE_NAME_AND_ALIAS_PATTERN_WITHOUT_CONTEXT% .\r\n FILTER (?qleverui_entity != <QLever-internal-function/langtag>)\r\n } UNION {\r\n { SELECT ?qleverui_entity (COUNT(DISTINCT ?subject) AS ?count_1) WHERE { ?subject ?qleverui_entity ?object } GROUP BY ?qleverui_entity }\r\n %PREDICATE_NAME_AND_ALIAS_PATTERN_WITHOUT_CONTEXT_DEFAULT% .\r\n FILTER (?qleverui_entity != <QLever-internal-function/langtag>)\r\n } }', 'WARMUP_QUERY_5': 'SELECT ?qleverui_entity ?name ?alias ?count_1 WHERE {\r\n { { SELECT ?qleverui_entity (COUNT(DISTINCT ?subject) AS ?count_1) WHERE { ?subject ?qleverui_entity ?object } GROUP BY ?qleverui_entity }\r\n %PREDICATE_NAME_AND_ALIAS_PATTERN_WITH_CONTEXT% .\r\n FILTER (?qleverui_entity != <QLever-internal-function/langtag>)\r\n } UNION {\r\n { SELECT ?qleverui_entity (COUNT(DISTINCT ?subject) AS ?count_1) WHERE { ?subject ?qleverui_entity ?object } GROUP BY ?qleverui_entity }\r\n %PREDICATE_NAME_AND_ALIAS_PATTERN_WITH_CONTEXT_DEFAULT% .\r\n FILTER (?qleverui_entity != <QLever-internal-function/langtag>)\r\n } }'}; var DEFAULT_TIMEOUT = 5.0; var MIXED_MODE_TIMEOUT = 2.0; var examples = []; examples.push(`## Publication types in dblp PREFIX dblp: <https://dblp.org/rdf/schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?type (COUNT(?type) AS ?count) WHERE { ?subject rdf:type dblp:Publication . ?subject rdf:type ?type . FILTER( ?type != dblp:Publication ) } GROUP BY ?type ORDER BY DESC(?count)`); examples.push(`## Number of authors per paper PREFIX dblp: <https://dblp.org/rdf/schema#> SELECT ?number_of_authors (COUNT(?number_of_authors) AS ?freq) WHERE { ?publ dblp:numberOfCreators ?number_of_authors . } GROUP BY ?number_of_authors ORDER BY ?number_of_authors`); examples.push(`## Doctoral students in dblp having published in the Semantic Web journal PREFIX dblp: <https://dblp.org/rdf/schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX wdt: <http://www.wikidata.org/prop/direct/> PREFIX wd: <http://www.wikidata.org/entity/> SELECT ?student ?student_label ?advisor WHERE { ?student rdf:type dblp:Person . ?student rdfs:label ?student_label . ?student dblp:wikidata ?student_q . ?publ dblp:publishedInStream <https://dblp.org/streams/journals/semweb> . ?publ dblp:authoredBy ?student . SERVICE <https://query.wikidata.org/sparql> { ?student_q wdt:P2456 [] . ?student_q wdt:P31 wd:Q5 . ?student_q wdt:P184 ?advisor_q . ?advisor_q rdfs:label ?advisor . FILTER(LANG(?advisor) = \"en\") } } GROUP BY ?student ?student_label ?advisor LIMIT 1000`); examples.push(`## Most cited publications with title keyword \"database\" PREFIX dblp: <https://dblp.org/rdf/schema#> PREFIX cito: <http://purl.org/spar/cito/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?publ ?label (COUNT(?citation) as ?cites) WHERE { ?publ rdf:type dblp:Publication . ?publ dblp:title ?title . FILTER CONTAINS(?title, \"database\") . ?publ dblp:omid ?omid . ?publ rdfs:label ?label . ?citation rdf:type cito:Citation . ?citation cito:hasCitedEntity ?omid . } GROUP BY ?publ ?label ORDER BY DESC(?cites) LIMIT 10`); examples.push(`## Theses in dblp by school PREFIX dblp: <https://dblp.org/rdf/schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?school (COUNT(DISTINCT ?thesis) as ?count) WHERE { ?thesis rdf:type dblp:Book . ?thesis dblp:thesisAcceptedBySchool ?school . } GROUP BY ?school ORDER BY DESC(?count)`); examples.push(`## Citation coverarge in dblp PREFIX dblp: <https://dblp.org/rdf/schema#> PREFIX cito: <http://purl.org/spar/cito/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?total ?refs ((100*?refs/?total) as ?refs_perc) ?cites ((100*?cites/?total) as ?cites_perc) WHERE { { SELECT (COUNT(DISTINCT ?publ) as ?total) WHERE { ?publ rdf:type dblp:Publication . } } { SELECT (COUNT(DISTINCT ?publ) as ?refs) WHERE { ?publ rdf:type dblp:Publication . ?publ dblp:omid ?omid . ?cite cito:hasCitingEntity ?omid . } } { SELECT (COUNT(DISTINCT ?publ) as ?cites) WHERE { ?publ rdf:type dblp:Publication . ?publ dblp:omid ?omid . ?cite cito:hasCitedEntity ?omid . } } }`); var MAP_VIEW_BASE_URL = ""; </script> <!-- Bootstraps JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <!-- WASM formatter --> <script type="module"> import { format } from "/static/wasm/formatter/index.5491f04f2a2b.js"; window.format = format; </script> <!-- Our own JavaScript code for this demo --> <script src="/static/js/helper.999ecb28e0c0.js"></script> <script src="/static/js/raphael.e5fd232486e8.js"></script> <script src="/static/js/treant.d0a7f072e152.js"></script> <script src="/static/js/qleverUI.994e67a27dcc.js"></script> <script src="/static/js/keywordSearch.a162dd249741.js" defer></script> <!-- CodeMirror and it's modules and language mode --> <script src="/static/js/codemirror/codemirror.f36f7bc0d5f5.js"></script> <script src="/static/js/codemirror/modules/autocomplete.7b16e0a825dc.js"></script> <script src="/static/js/codemirror/modules/active-line.709c167a8b9d.js"></script> <script src="/static/js/codemirror/modules/show-hint.c648f08ad2c0.js"></script> <script src="/static/js/codemirror/modules/search.b7aa8ae6e6c7.js"></script> <script src="/static/js/codemirror/modes/sparql/sparql.052a8e9bd15d.js"></script> <script src="/static/js/codemirror/modes/sparql/sparql-hint.21b12a05ea72.js"></script> </head> <body > <header> <nav class="navbar navbar-default navbar-fixed-top"> <div class="container"> <!-- Navbar header --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="/"></a> </div> <!-- Navbar --> <div id="navbar" class="navbar-collapse collapse"> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> Getting Started <span class="caret"></span> </a> <ul class="dropdown-menu"> <li> <a href="https://github.com/dblp/kg/wiki/dblp-KG-Tutorial" target="_blank"> <i class="glyphicon glyphicon-file"></i> dblp KG Tutorial </a> </li> <li> <a href="https://github.com/dblp/kg/wiki" target="_blank"> <i class="glyphicon glyphicon-home"></i> Wiki on GitHub </a> </li> <li> <a href="https://github.com/dblp/kg/discussions" target="_blank"> <i class="glyphicon glyphicon-comment"></i> Discussion on GitHub </a> </li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> Resources <span class="caret"></span> </a> <ul class="dropdown-menu"> <h6 class="dropdown-header">dblp RDF data</h6> <li> <a href="https://dblp.org/rdf/docu/" target="_blank"> <i class="glyphicon glyphicon-file"></i> RDF Schema Documentation </a> </li> <li> <a href="https://dblp.org/rdf/release/" target="_blank"> <i class="glyphicon glyphicon-download-alt"></i> Persistent dblp RDF Export </a> </li> <h6 class="dropdown-header">Setting up your own SPARQL Server</h6> <li> <a href="https://github.com/dblp/kg/wiki/SPARQL-server-setup" target="_blank"> <i class="glyphicon glyphicon-file"></i> Setup Instructions </a> </li> <li> <a href="https://sparql.dblp.org/download/" target="_blank"> <i class="glyphicon glyphicon-download-alt"></i> Bundled RDF Data </a> </li> <h6 class="dropdown-header">QLever Resources</h6> <li> <a href="http://ad-publications.informatik.uni-freiburg.de/CIKM_qlever_BB_2017.pdf" target="_blank"> <i class="glyphicon glyphicon-file"></i> QLever Publication </a> </li> <li> <a href="https://github.com/ad-freiburg/QLever" target="_blank"> <i class="glyphicon glyphicon-download-alt"></i> QLever on GitHub </a> </li> <li> <a href="https://github.com/ad-freiburg/qlever-ui" target="_blank"> <i class="glyphicon glyphicon-download-alt"></i> QLever UI on GitHub </a> </li> <h6 class="dropdown-header">Developer</h6> <li> <a data-toggle="modal" data-target="#settingsModal">UI Settings</a> </li> <li><a href="" style="color: #b1b1b1;">Git commit 4c0e72e on master</a></li> </ul> </li> </ul> </div> </div> </nav> </header> <div id="main" class="container"> <div class="btn-group" role="group"> <ul class="dropdown-menu"> <li> <a href="/dblp"><i class="glyphicon glyphicon-ok"></i> dblp</a> </li> </ul> </div> <!-- The theme / help block --> <div class="pull-right"> <div class="btn-group" role="group" > <button onclick="$('#about').slideToggle();$('#stats').hide();$('#bStats').hide();" class="btn btn-default"> <i class="glyphicon glyphicon-info-sign"></i> <span class="d">About</span> </button> <button onclick="$('#stats').slideToggle();$('#bStats').hide();$('#about').hide();" class="btn btn-default" id="statsButton"> <i class="glyphicon glyphicon-stats"></i> <span class="d">Loading information...</span> </button> <button onclick="$('#bStats').slideToggle();$('#stats').hide();$('#about').hide();" class="btn btn-default"> <i class="glyphicon glyphicon-cog"></i> <span class="d">Backend Information</span> </button> <button class="btn btn-default" onclick="expandEditor();" id="helpButton"> <i class="glyphicon glyphicon-question-sign"></i> <span class="d">Shortcuts</span> </button> </div> </div> <br><br> <div id="about" class="well"> <h4>About</h4> <p> The <b>dblp SPARQL query service</b> allows you to explore all the semantic content of the <a href="https://dblp.org">dblp computer science bibliography</a>. This includes metadata about publications, their authors, the venues where they were published and metadata about these relationships. All data here is synchronized daily with the current and curated dblp data. </p> <p> To get started, we encourage you to read our <a href="https://github.com/dblp/kg/wiki/dblp-KG-Tutorial">guided tour of the dblp Knowledge Graph</a>, or to have a look at the <a href="https://dblp.org/rdf/docu/">dblp RDF schema documentation</a>. </p> </div> <!-- The backend statistics block --> <div id="stats" class="well"> <br> <div class="row"> <div class="col-md-6"> <h4>Knowledge base index</h4> <br> <table class="table"> <tr><th>Description</th><td><b><span id="kbname"></span></b></td></tr> <tr><th>Statistics</th><td>Number of triples: <b><span id="ntriples"></span></b><br><div id="kbstats"></div></td></tr> </table> </div> <div class="col-md-6"> <h4>Fulltext index</h4> <br> <table class="table"> <tr><th>Description</th><td><b><span id="textname"></span></b></td></tr> <tr><th>Statistics</th><td> Number of distinct text records: <b><span id="nrecords"></span></b><br> Number of distinct word occurrences: <b><span id="nwo"></span></b><br> Number of distinct entity occurrences: <b><span id="neo"></span></b> </td></tr> </table> </div> </div> </div> <div id="bStats" class="well" style="display: none;"> <br> <div class="row"> <div class="col-md-6"> <h4>Basic settings</h4> <br> <table class="table"> <tr><th>Backend name</th><td>dblp</td></tr> <tr><th>Backend slug</th><td id="backend-slug">dblp</td></tr> <tr><th>Backend URL</th><td>https://sparql.dblp.org/sparql</td></tr> <tr><th>Is default:</th><td>Yes</td></tr> <tr><th>Fill known prefixes:</th><td>Yes</td></tr> <tr><th>Languages:</th><td>en</td></tr> <tr><th>Default maximum</th><td><span id="maxSendOnFirstRequest">100</span> rows</td></tr> <tr><th>Default mode:</th><td> 3. SPARQL & context sensitive entities</td></tr> </table> </div> <div class="col-md-6" style="word-break: break-all;"> <h4>Features</h4> <br> <table class="table"> <tr><th><strong>Supported Keywords:</strong></th><td><div style="margin-left: 20px;"><b><small><code>prefix, select, construct, distinct, where, order, limit, offset, optional, by, as, having, not, textlimit, contains-entity, contains-word, filter, group, union, optional, has-predicate, keywords, bind, contains, minus, service</code></b></div></td></tr> <tr><th><strong>Supported Functions:</strong></th><td><div style="margin-left: 20px;"><b><small><code>asc, desc, avg, values, score, text, count, sample, min, max, average, concat, group_concat, langMatches, lang, regex, sum, rand, str, strlen</code></b></div></td></tr> </table> </div> </div> </div> <!-- The query block --> <div class="well" id="queryBlock"> <div class="row"> <div id="editorArea" class="col-md-12"> <!-- The main editor (code mirror textarea) --> <textarea id="query" class="form-control" placeholder="Start by typing SELECT or PREFIX ..."></textarea><br> </div> <div class="col-md-4" id="help" style="display:none;"> <div id="uiHelp"> <!-- The UI help box --> <h4 style="margin-top: 0px;">QLever UI Shortcuts:</h4> <table class="table" style="margin-bottom: 9px;"> <tr> <td><kbd>ctrl</kbd> + <kbd>enter</kbd></td> <td><em>Send query to backend</em></td> </tr> <tr> <td><kbd>tab</kbd></td> <td><em>Jump to the next placeholder</em></td> </tr> <tr> <td><kbd>ctrl</kbd> + <kbd>space</kbd></td> <td><em>Invoke auto suggestions</em></td> </tr> <tr> <td><kbd>▲</kbd> or <kbd>▼</kbd></td> <td><em>Move through suggestions</em></td> </tr> <tr> <td><kbd onclick="$()">enter</kbd></td> <td><em>Choose the selected suggestion</em></td> </tr> <tr> <td><kbd>esc</kbd></td> <td><em>Close suggestion window</em></td> </tr> <tr> <td><kbd>ctrl</kbd> + <kbd>f</kbd></td> <td><em>Search in editor (supports RegEx)</em></td> </tr> <tr> <td><kbd>ctrl</kbd> + <kbd>r</kbd></td> <td><em>Search and replace in editor</em></td> </tr> </table> </div> </div> <div class="col-md-9"> <div class="row"> <div class="col-md-12 buttonFlex"> <!-- The run button. Note: min-width keeps the same width regardless of the label (Execute, Cancel or Cancelling) --> <button id="exebtn" class="btn btn-success" style="min-width: 7.857em;"> <i class="glyphicon glyphicon-refresh"></i> <span>Execute</span> </button> <!-- The download buttons --> <div class="btn-group" role="group"> <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown"> <i class="glyphicon glyphicon-download"></i> Download <span class="caret"></span> </button> <ul class="dropdown-menu"> <li> <a class="dropdown-item" id="csvbtn" href="#csv"> <i class="glyphicon glyphicon-file"></i> Download results as CSV </a> </li> <li> <a class="dropdown-item" id="tsvbtn" href="#tsv"> <i class="glyphicon glyphicon-file"></i> Download results as TSV </a> </li> </ul> </div> <!-- The share button --> <button id="sharebtn" class="btn btn-default"> <i class="glyphicon glyphicon-share-alt"></i> Share </button> <!-- The context setting buttons --> <div class="btn-group" role="group" style="margin-left:auto;"> <button id="formatButton" class="btn btn-default"> <i class="glyphicon glyphicon-align-left"></i> Format </button> <button class="btn btn-default" onclick="processQuery(-1, this).catch(error => log(error.message, 'requests'));"> <i class="glyphicon glyphicon-refresh"></i> Clear cache </button> <button class="btn btn-default" onclick="showQueryPlanningTree();"> <i class="glyphicon glyphicon-object-align-vertical"></i> Analysis </button> <button id="examplesDropdownToggle" class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown"> <i class="glyphicon glyphicon-align-left"></i> Examples <span class="caret"></span> </button> <ul id="exampleList" class="dropdown-menu"> <div style="padding: 10px 20px;"> <input id="exampleKeywordSearchInput" type="text" placeholder="search for keywords" style="width: 100%"> </input> </div> <li class="divider"></li> <li> <a onclick="example=1;editor.setValue(examples[0]);editor.focus()"> <span class="example-name" style="margin-right: 30px">Publication types in dblp</span> </a> </li> <li> <a onclick="example=1;editor.setValue(examples[1]);editor.focus()"> <span class="example-name" style="margin-right: 30px">Number of authors per paper</span> </a> </li> <li> <a onclick="example=1;editor.setValue(examples[2]);editor.focus()"> <span class="example-name" style="margin-right: 30px">Doctoral students in dblp having published in the Semantic Web journal</span> </a> </li> <li> <a onclick="example=1;editor.setValue(examples[3]);editor.focus()"> <span class="example-name" style="margin-right: 30px">Most cited publications with title keyword "database"</span> </a> </li> <li> <a onclick="example=1;editor.setValue(examples[4]);editor.focus()"> <span class="example-name" style="margin-right: 30px">Theses in dblp by school</span> </a> </li> <li> <a onclick="example=1;editor.setValue(examples[5]);editor.focus()"> <span class="example-name" style="margin-right: 30px">Citation coverarge in dblp</span> </a> </li> <li id="empty-examples-excuse" style="display: none"> <span style="padding: 3px 20px;">Sorry, no examples found :(</span> </li> </ul> </div> </div> </div> </div> <div class="col-md-3"> <select class="form-control" id="dynamicSuggestions"> <option value="0" > 1. Syntax & keywords only </option> <option value="1" > 2. Context insensitive suggestions </option> <option value="2" selected="selected"> 3. Context sensitive suggestions </option> <option value="3" > 4. Mixed mode </option> </select> <div> <div class="checkbox"> <label> <input type="checkbox" id="name_service"> Automatically add names to result </label> </div> <div class="checkbox" style="display: none"> <label> <input type="checkbox" id="clear"> Clear the cache before every request </label> </div> </div> </div> </div> </div> <div class="alert alert-danger" style="display: none"> <button type="button" class="close" aria-label="Close" onclick="$(this).parent().hide()" style="margin-top: -10px;"> <span aria-hidden="true">×</span> </button> <div id="suggestionErrorBlock"></div> </div> <!-- The loading block --> <div class="alert alert-success" id="infoBlock" style="display: none; text-align: center;"> <img src="/static/img/loader.57ca1a2085d8.gif"><br><br> <h4 id="info"></h4> </div> <div class="alert alert-warning" id="warningBlock" style="display: none"> <button type="button" class="close" onclick="$('#warningBlock').hide()" aria-label="Close"> <span aria-hidden="true">×</span> </button> <div id="warningReason"><h3>Warning:</h3></div> </div> <!-- The answer block --> <div class="well" id="answerBlock" style="display: none"> <div class="pull-left"> <h3>Query results:</h3> </div> <div class="btn-group pull-right" role="group"> <button class="btn btn-default disabled"> <i class="glyphicon glyphicon-list"></i> <span id="resultSize"></span> <span class="d">lines found</span> </button> <button class="btn btn-default disabled"> <i class="glyphicon glyphicon-time"></i> <span id="totalTime"></span> <span class="d">in total</span> </button> <button class="btn btn-default disabled"> <i class="glyphicon glyphicon-cog"></i> <span id="computationTime"></span> <span class="d">for computation</span> </button> <button class="btn btn-default disabled"> <i class="glyphicon glyphicon-transfer"></i> <span id="jsonTime"></span> <span class="d">for resolving and sending</span> </button> </div> <br><br> <!-- The main answer table --> <div id="answer"></div> <div style="overflow-x: scroll; margin-top: 2em;"> <table id="resTable" class="table table-striped"> <thead class="thead-dark"></thead> <tbody></tbody> </table> </div> </div> <div class="alert alert-danger" id="errorBlock" style="display: none"> <div id="errorReason"><h3>Error:</h3></div> </div> </div> <form method="POST"> <input type="hidden" name="csrfmiddlewaretoken" value="QhrEHZ745jYYx4Mp4mvTKpMnCziqVSTte4LgPIywZioCSb55fURqYgOvqKd7nJyr"> <div class="modal" tabindex="-1" role="dialog" id="settingsModal"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">UI Settings</h5> </div> <div class="modal-body"> <h4>Developer Logging</h4> <p>Logs are generated and written in the default developer console of your browser.</p> <div class="checkbox"><label><input name="logParsing" id="logParsing" type="checkbox" > Log parsing</label></div> <div class="checkbox"><label><input name="logRequests" id="logRequests" type="checkbox" > Log requests</label></div> <div class="checkbox"><label><input name="logSuggestions" id="logSuggestions" type="checkbox" > Log suggestions</label></div> <div class="checkbox"><label><input name="logOther" id="logOther" type="checkbox" > Log UI events</label></div> <br> <h4>Editor settings</h4> <div class="form-group"> <label for="whitespaces" style="font-weight: normal;">Forced amount of whitespaces per scope</label> <input type="number" class="form-control" name="whitespaces" id="whitespaces" value="2" style="width: 200px;" min="0"> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> <input class="btn btn-success" type="submit" value="Save changes"> </div> </div> </div> </div> </form> <div class="modal" tabindex="-1" role="dialog" id="visualisation"> <div class="modal-dialog" role="document" style="width: 80%;"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title pull-left">Query Analysis</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div id="result-query"></div> <div id="meta-info"></div> <div id="result-tree"> <br><strong style="color: red;">Please execute your query first.</strong><br><br> </div> </div> <div class="modal-footer"> <div id="lastQueries" class="pull-left" style="margin: -25px 0px;"></div> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> </div> </div> </div> </div> <div class="modal" tabindex="-1" role="dialog" id="share"> <div class="modal-dialog" role="document" style="width: 80%;"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title pull-left">Share your query</h4> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div> <label>URL to this query in the QLever UI (short, with query hash)</label> <div class="input-group"> <input type="text" id="prettyLink" class="form-control" readonly> <span class="input-group-btn"> <button class="btn btn-default copy-clipboard-button"> <i class="glyphicon glyphicon-copy"></i> Copy </button> </span> </div> <div class="ok-text collapse"> <i class="glyphicon glyphicon-ok"></i> Copied URL to clipboard </div> </div> <br> <div> <label>URL to this query in the QLever UI (short, with query hash, execute automatically)</label> <div class="input-group"> <input type="text" id="prettyLinkExec" class="form-control" readonly> <span class="input-group-btn"> <button class="btn btn-default copy-clipboard-button"> <i class="glyphicon glyphicon-copy"></i> Copy </button> </span> </div> <div class="ok-text collapse"> <i class="glyphicon glyphicon-ok"></i> Copied URL to clipboard </div> </div> <br> <div> <label>URL to this query in the QLever UI (long, with full query string)</label> <div class="input-group"> <input type="text" id="queryStringLink" class="form-control" readonly> <span class="input-group-btn"> <button class="btn btn-default copy-clipboard-button"> <i class="glyphicon glyphicon-copy"></i> Copy </button> </span> </div> <div class="ok-text collapse"> <i class="glyphicon glyphicon-ok"></i> Copied URL to clipboard </div> </div> <br> <div> <label>URL for GET request (for use in web apps, etc.)</label> <div class="input-group"> <input type="text" id="apiCallUrl" class="form-control" readonly> <span class="input-group-btn"> <button class="btn btn-default copy-clipboard-button"> <i class="glyphicon glyphicon-copy"></i> Copy </button> </span> </div> <div class="ok-text collapse"> <i class="glyphicon glyphicon-ok"></i> Copied URL to clipboard </div> </div> <br> <div> <label id="apiCallCommandLineLabel">Command line for TSV export (using curl)</label> <div class="input-group"> <input type="text" id="apiCallCommandLine" class="form-control" readonly> <span class="input-group-btn"> <button class="btn btn-default copy-clipboard-button"> <i class="glyphicon glyphicon-copy"></i> Copy </button> </span> </div> <div class="ok-text collapse"> <i class="glyphicon glyphicon-ok"></i> Copied command to clipboard </div> </div> <br> <div> <label>Unescaped query string (in one line)</label> <div class="input-group"> <input type="text" id="queryStringUnescaped" class="form-control" readonly> <span class="input-group-btn"> <button class="btn btn-default copy-clipboard-button"> <i class="glyphicon glyphicon-copy"></i> Copy </button> </span> </div> <div class="ok-text collapse"> <i class="glyphicon glyphicon-ok"></i> Copied string to clipboard </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div> </div> <footer class="footer"> <div class="container"> <div class="info"> <p style="text-align: center"> powered by the <a href="https://github.com/ad-freiburg/qlever">QLever SPARQL engine</a>, developed by University of Freiburg, <a href="https://ad.cs.uni-freiburg.de/">Chair for Algorithms and Data Structures</a> </p> </div> <hr /> <div class="info"> <p> <a href="https://creativecommons.org/publicdomain/zero/1.0/"><img alt="cc zero" src="https://dblp.org/img/cc0.80x15.black.png"></a> all dblp metadata released as <a class="external" href="https://opendefinition.org/">open data</a> under <a class="external" href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0 license</a> </p> <p> see also: <a href="https://dblp.org/db/about/copyright.html">Terms of Use</a> | <a href="https://dblp.org/db/about/privacy.html">Privacy Policy</a> | <a href="https://dblp.org/db/about/imprint.html">Imprint</a> </p> </div> <div class="funders"> <p>the <a href="https://dblp.org">dblp computer science bibliography</a> was originally created in 1993 at:</p> <a href="https://www.uni-trier.de/en/"><img alt="University of Trier" src="https://dblp.org/img/utr-logo-bottom.png" style="height:32px"></a> </div> <div class="funders"> <p>since 2018, dblp has been operated and maintained by:</p> <a href="https://www.dagstuhl.de/en/"><img alt="Schloss Dagstuhl - Leibniz Center for Informatics" src="https://dblp.org/img/lzi-logo-bottom.png" style="height:40px"></a> </div> <div class="funders"> <p>the dblp computer science bibliography is funded and supported by:</p> <a href="https://www.bmbf.de/bmbf/en/home/"><img alt="BMBF" src="https://dblp.org/img/bmbf-logo-bottom.png"></a> <a href="https://mwg.rlp.de/"><img alt="RLP" src="https://dblp.org/img/rlp-logo-bottom.png"></a> <a href="https://www.saarland.de/stk/DE/home/home_node.html"><img alt="SL" src="https://dblp.org/img/sl-logo-bottom.png"></a> <a href="https://www.leibniz-gemeinschaft.de/en/"><img alt="Leibniz" src="https://dblp.org/img/leibniz-logo-bottom.png"></a> <a href="https://www.dfg.de/en/"><img alt="DFG" src="https://dblp.org/img/dfg-logo-bottom.png"></a> <a href="https://www.nfdi.de/?lang=en"><img alt="NFDI" src="https://dblp.org/img/nfdi-logo-bottom.png"></a> </div> <br><br> </div> </footer> </body> </html>