Hello, I have a problem when I query in Fuseki in this way:
================================================================

PREFIX : <http://dsc.nlp-bigdatalab.org:8086/>

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT * WHERE {

  ?s ?p ?o.

}

================================================================

It can return the results like this:

| 82 |
:皮肤血管蜘蛛痣
|
rdf:type
|
:西医症状
|
| 83 |
:血红蛋白E病
|
rdfs:label
|
"血红蛋白E病"@ZH
|
| 84 |
:复方枇杷氯化铵糖浆
|
rdf:type
|
:药品
|
|
| | |
|
| 86 |
:快节奏综合症
|
rdf:type
|
:疾病
|
| 87 |
:作腐提脓膏
|
rdfs:label
|
"作腐提脓膏"@ZH
|
but when I just try to add a constraint to expect the result like line85 above,:
| 85 |
:湿疹样
|
rdf:type
|
:西医症状
|
I modify the query :
================================================================
PREFIX : <http://dsc.nlp-bigdatalab.org:8086/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT * WHERE {
  :湿疹样 rdf:type ?o.
  ?s ?p ?o.
}
================================================================
and then it does not work!!!!!!!!!!!!!!!!!!!!!!!!!
the result shows "No data available in the table"
I do write query statements based on existing data
so it has confused me for several days
I need your help,thanks!




 





 





 

Reply via email to