📄 q-opt-3.rq
字号:
# An optional and an fixed pattern
PREFIX : <http://example.org/>
# Ensure an optional does not mask a later one.
# This query works unreordered because it has written out the needed UNION
SELECT *
WHERE
{
:x :p ?v .
OPTIONAL {:y ?p ?a }
OPTIONAL {:z ?p ?v }
}
## SELECT DISTINCT *
## {
## :x :p ?v .
## { OPTIONAL {:y ?p ?a } OPTIONAL {:z ?p ?v } }
## UNION
## { OPTIONAL {:z ?p ?v } OPTIONAL {:y ?p ?a } }
## }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -