"일제강점기 인물"의 두 판 사이의 차이
hiblue
(새 문서: ==sparql 질의문== <pre> prefix owl: <http://www.w3.org/2002/07/owl#> prefix dhtime: <http://dh.aks.ac.kr/ontologies/dhtime#> prefix time: <http://www.w3.org/2006/time#> prefix rd...) |
|||
| 43번째 줄: | 43번째 줄: | ||
</pre> | </pre> | ||
| − | <span class="mw-ui-button {{#switch: {{{color|white}}} | blue = mw-ui-progressive}}" role="button" aria-disabled="false">[ 결과값 보러가기]</span> | + | <span class="mw-ui-button {{#switch: {{{color|white}}} | blue = mw-ui-progressive}}" role="button" aria-disabled="false">[http://dh.aks.ac.kr:8890/sparql?default-graph-uri=&query=prefix+owl%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E%0D%0Aprefix+dhtime%3A+%3Chttp%3A%2F%2Fdh.aks.ac.kr%2Fontologies%2Fdhtime%23%3E+%0D%0Aprefix+time%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2006%2Ftime%23%3E+%0D%0Aprefix+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E+%0D%0Aprefix+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0Aprefix+edm%3A+%3Chttp%3A%2F%2Fwww.europeana.eu%2Fschemas%2Fedm%2F%3E%0D%0Aprefix+ekc%3A%3Chttp%3A%2F%2Fdh.aks.ac.kr%2Fontologies%2Fekc%23%3E%0D%0Aprefix+ekci%3A%3Chttp%3A%2F%2Fdh.aks.ac.kr%2Firi%2Fekc%23%3E%0D%0Aprefix+skos%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E%0D%0A%0D%0Aselect+%3Fperson+%3Fpbs+%3Fpes+where+%7B%0D%0A%7B%0D%0Adhtime%3A%EC%9D%BC%EC%A0%9C%EA%B0%90%EC%A0%95%EA%B8%B0-encyves+edm%3Abegin+%3Fbegin.%0D%0Adhtime%3A%EC%9D%BC%EC%A0%9C%EA%B0%90%EC%A0%95%EA%B8%B0-encyves+edm%3Aend+%3Fend.%0D%0A%3Fbegin+dhtime%3AsolarYear+%3Fbs.%0D%0A%3Fend+dhtime%3AsolarYear+%3Fes.%0D%0A%3Fperson+ekc%3AhasType+%22%EC%9D%B8%EB%AC%BC%22.%0D%0A%3Fperson+edm%3Abegin+%3Fpb.%0D%0A%3Fperson+edm%3Aend+%3Fpe.%0D%0A%3Fpb+dhtime%3AsolarYear+%3Fpbs.%0D%0A%3Fpe+dhtime%3AsolarYear+%3Fpes.%0D%0A%0D%0Afilter+%28%3Fpes+%3E+%3Fbs%29+%0D%0Afilter+%28%3Fpes+%3C+%3Fes%29%0D%0A%7D+union%0D%0A%7B%0D%0Adhtime%3A%EC%9D%BC%EC%A0%9C%EA%B0%90%EC%A0%95%EA%B8%B0-encyves+edm%3Abegin+%3Fbegin.%0D%0Adhtime%3A%EC%9D%BC%EC%A0%9C%EA%B0%90%EC%A0%95%EA%B8%B0-encyves+edm%3Aend+%3Fend.%0D%0A%3Fbegin+dhtime%3AsolarYear+%3Fbs.%0D%0A%3Fend+dhtime%3AsolarYear+%3Fes.%0D%0A%3Fperson+ekc%3AhasType+%22%EC%9D%B8%EB%AC%BC%22.%0D%0A%3Fperson+edm%3Abegin+%3Fpb.%0D%0A%3Fperson+edm%3Aend+%3Fpe.%0D%0A%3Fpb+dhtime%3AsolarYear+%3Fpbs.%0D%0A%3Fpe+dhtime%3AsolarYear+%3Fpes.%0D%0A%0D%0Afilter+%28%3Fpbs+%3E+%3Fbs%29+%0D%0Afilter+%28%3Fpbs+%3C+%3Fes%29%0D%0A%7D+%0D%0A+%7D&should-sponge=&format=text%2Fhtml&timeout=0&debug=on 결과값 보러가기]</span> |
2018년 12월 24일 (월) 19:17 판
sparql 질의문
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix dhtime: <http://dh.aks.ac.kr/ontologies/dhtime#>
prefix time: <http://www.w3.org/2006/time#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix edm: <http://www.europeana.eu/schemas/edm/>
prefix ekc:<http://dh.aks.ac.kr/ontologies/ekc#>
prefix ekci:<http://dh.aks.ac.kr/iri/ekc#>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
select ?person ?pbs ?pes where {
{
dhtime:일제감정기-encyves edm:begin ?begin.
dhtime:일제감정기-encyves edm:end ?end.
?begin dhtime:solarYear ?bs.
?end dhtime:solarYear ?es.
?person ekc:hasType "인물".
?person edm:begin ?pb.
?person edm:end ?pe.
?pb dhtime:solarYear ?pbs.
?pe dhtime:solarYear ?pes.
filter (?pes > ?bs)
filter (?pes < ?es)
} union
{
dhtime:일제감정기-encyves edm:begin ?begin.
dhtime:일제감정기-encyves edm:end ?end.
?begin dhtime:solarYear ?bs.
?end dhtime:solarYear ?es.
?person ekc:hasType "인물".
?person edm:begin ?pb.
?person edm:end ?pe.
?pb dhtime:solarYear ?pbs.
?pe dhtime:solarYear ?pes.
filter (?pbs > ?bs)
filter (?pbs < ?es)
}
}