Last active
August 29, 2015 14:06
-
-
Save uedayou/d530460557796b6df6a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENDPOINT:http://db.lodc.jp/sparql | |
QUERY | |
--------------------------------------------------------------------------------------------------------- | |
SELECT ?uri ?question ?choise1 ?choise2 ?choise3 ?choise4 ?answer_no ?correct (?correct as ?incorrect) | |
FROM <http://lod.sfc.keio.ac.jp/challenge2013/show_status.php?id=d054> | |
WHERE{ | |
?uri <http://linkdata.org/property/rdf1s1120i#%E5%95%8F%E9%A1%8C> ?question; | |
<http://linkdata.org/property/rdf1s1120i#%E9%81%B8%E6%8A%9E1> ?choise1; | |
<http://linkdata.org/property/rdf1s1120i#%E9%81%B8%E6%8A%9E2> ?choise2; | |
<http://linkdata.org/property/rdf1s1120i#%E9%81%B8%E6%8A%9E3> ?choise3; | |
<http://linkdata.org/property/rdf1s1120i#%E9%81%B8%E6%8A%9E4> ?choise4; | |
<http://linkdata.org/property/rdf1s1120i#%E9%96%A2%E9%80%A3%E6%96%87%E5%8C%96%E8%B2%A1%E7%AD%89> ?goods; | |
<http://linkdata.org/property/rdf1s1120i#%E8%A9%B3%E7%B4%B0%E8%A7%A3%E8%AA%ACURL> ?url; | |
<http://linkdata.org/property/rdf1s1120i#%E7%AD%94> ?answer_no. | |
bind(concat("解説URL:", ?url) as ?correct) | |
} | |
order by RAND() | |
LIMIT 10 | |
-------------------------------------------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment