You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
121 lines
3.9 KiB
121 lines
3.9 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>YaCy '#[clientname]#': Triplestore</title>
|
|
#%env/templates/metas.template%#
|
|
|
|
#%env/templates/jqueryheader.template%#
|
|
|
|
</head>
|
|
<body id="Experiments">
|
|
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuTriplestore.template%#
|
|
|
|
|
|
#(mode)#
|
|
<div class="AddSection">
|
|
<script type="text/javascript">
|
|
|
|
function xyz() {
|
|
|
|
$.getJSON('yacysearch.json?query=rdfdatasource&Enter=Search&verify=never&contentdom=text&nav=hosts%2Cauthors%2Cnamespace%2Ctopics%2Cfiletype%2Cprotocol&startRecord=0&indexof=off&meanCount=5&resource=global&urlmaskfilter=.*&prefermaskfilter=&maximumRecords=10', null, function(data) {
|
|
|
|
$('#rdffileslist').val(data.channels[0].items[0].urlname);
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
</script>
|
|
<h2>Search RDF</h2>
|
|
<form action="Triple_p.html" method="post" enctype="multipart/form-data">
|
|
|
|
<input id="rdfsearch" name="rdfsearch" type="text" size="50" value="rdfdatasource" />
|
|
<input type="submit" value="Search" onclick="xyz(); return false;"/>
|
|
|
|
<br/>
|
|
|
|
<textarea id="rdffileslist" name="rdffileslist" cols="100" rows="10">
|
|
|
|
</textarea>
|
|
|
|
<input type="submit" value="Import Triples" />
|
|
|
|
</form>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="AddSection">
|
|
<h2>or import RDF from local filesystem</h2>
|
|
<form action="Triple_p.html" method="post" enctype="multipart/form-data">
|
|
|
|
<input name="rdffile" type="file" size="50" maxlength="10000000" />
|
|
|
|
<input type="submit" value="Add Triples" />
|
|
|
|
</form>
|
|
</div>
|
|
|
|
|
|
<div class="AddSection">
|
|
<h2>Query</h2>
|
|
<form action="Triple_p.html" method="post" enctype="multipart/form-data">
|
|
|
|
<textarea name="query" cols="100" rows="10">
|
|
#[query]#
|
|
</textarea>
|
|
|
|
<input type="submit" value="Query" />
|
|
|
|
</form>
|
|
</div>
|
|
<br></br>
|
|
<!-- 0: viewing -->
|
|
|
|
#{entries}#
|
|
<div class="Experiment">
|
|
|
|
<a href="./experiments/#[link]#/" target="_blank"><h2 class="PostSubject">#[subject]#</h2></a>
|
|
<p class="PostInfo">
|
|
<a href="/Crawler_p.html?createBookmark=off&xsstopw=off&crawlingDomMaxPages=10000&intention=&range=subpath&indexMedia=on&xdstopw=off&storeHTCache=off&sitemapURL=&repeat_time=1&cachePolicy=never&indexText=on&crawlingMode=url&crawlingURL=#[publiclink]#&bookmarkTitle=&mustnotmatch=&crawlingDomFilterDepth=1&crawlingDomFilterCheck=off&crawlingstart=Start%20New%20Crawl&xpstopw=off&crawlingDepth=0" target="_blank">Publish</a> |
|
|
<a href="/Crawler_p.html?createBookmark=off&xsstopw=off&crawlingDomMaxPages=10000&intention=&range=subpath&indexMedia=on&xdstopw=off&storeHTCache=off&sitemapURL=&repeat_time=1&cachePolicy=never&indexText=on&crawlingMode=url&crawlingURL=#[publiclink_ip]#&bookmarkTitle=&mustnotmatch=&crawlingDomFilterDepth=1&crawlingDomFilterCheck=off&crawlingstart=Start%20New%20Crawl&xpstopw=off&crawlingDepth=0" target="_blank">Publish using IP-Adress</a>
|
|
| <a href="UnpublishExperiment_p.html?experiment=#[subject]#&urlstring=#[publiclink]#">Unpublish and remove</a> | <a href="#[publiclinkproxy]#">Preview via inbuilt proxy</a>
|
|
</p>
|
|
</div>
|
|
|
|
#{/entries}#
|
|
|
|
|
|
<!-- <applet
|
|
code="org.openscience.jchempaint.applet.JChemPaintEditorApplet"
|
|
archive="/applets/jchempaint-applet-core.jar"
|
|
name="Editor"
|
|
width="600" height="500">
|
|
<param name="load" value="a-pinene.mol">
|
|
</applet> -->
|
|
|
|
<div class="AddSection">
|
|
<h2>Result</h2>
|
|
|
|
#[rdfdump]#
|
|
<br/>
|
|
<br/>
|
|
|
|
#{output}##[caption]#
|
|
#{/output}#
|
|
</div>
|
|
|
|
::
|
|
<!-- 3: Access Denied (no rights) -->
|
|
<h3>Access denied</h3>
|
|
<p>To edit or create experiment entries you need to be logged in as Administrator.</p>
|
|
|
|
|
|
#(/mode)#
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html>
|