'Wikidata property statement and property direct

I'm trying to retrieve entities as well as their properties that relate to Golden Gate Bridge. I used this query (https://query.wikidata.org/#SELECT%20%3Fp2%20%3Fs%0AWHERE%0A%7B%0A%20%20%09%3Fs%20%3Fp2%20wd%3AQ44440%20.%0A%7D):

SELECT ?p2 ?s
WHERE
{
    ?s ?p2 wd:Q44440 .
}

But I noticed that in the result, property "p:statement/P800" and property "wdt:P800" actually point to the same thing. They have the same id. I'm wondering why it returns both. What is their difference? How do I just get one?

I use DBpedia a lot, so I'm not familiar with they uri schemes in Wikidata, it's quite confusing.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source