query-0cb8e25a71aaac71ecd55e7c51ea1f2e

rq turtle/ttl

How many instance_of=human have only Findagrave and Familysearch as an Identifier? 01:04, 17 August 2022 (UTC)) talk (RAN making a person notable. If they are going to be deleted, how many would that be? notHow many instance_of=human have only Findagrave and Familysearch as an Identifier? Currently both Identifiers are marked as 02:20, 17 August 2022 (UTC)) talk (Dipsacus fullonumI wont take the bet. Like I said it is a matter of feeling. You are not inclined to help when you don't feel respected. -- 01:46, 17 August 2022 (UTC)) talk (RAN, sorry! But I bet it took you longer to write the scathing remark. --(P535)Find a Grave memorial ID and (P2889)FamilySearch person ID That would be 01:35, 17 August 2022 (UTC)) talk (Dipsacus fullonum: I know that it could search for the property numbers myself, but I don't feel like helping when the requester doesn't even the slightest to come up with the necessary information to make a query. --Richard Arthur Norton (1958- )@ How many instance_of=human have only Findagrave and Familysearch as an Identifier?) 01:04, 17 August 2022 (UTC) talk (RAN making a person notable. If they are going to be deleted, how many would that be? notHow many instance_of=human have only Findagrave and Familysearch as an Identifier? Currently both Identifiers are marked as ) 02:20, 17 August 2022 (UTC)talk (Dipsacus fullonum, sorry! --(P535)Find a Grave memorial ID and (P2889)FamilySearch person ID That would be ) 01:35, 17 August 2022 (UTC) talk (Dipsacus fullonum: I know that it could search for the property numbers myself, but I don't feel like helping when the requester doesn't even the slightest to come up with the necessary information to make a query. --Richard Arthur Norton (1958- )@

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT (COUNT(*) AS ?count)
{
  ?entity wdt:P31 wd:Q5 . 
  {
    ?entity wikibase:identifiers "1"^^xsd:integer .
    { ?entity wdt:P2889 _:FS1 . }
    UNION
    { ?entity wdt:P535 _:FG1 . }
  }
  UNION
  {
    ?entity wikibase:identifiers "2"^^xsd:integer .
    ?entity wdt:P2889 _:FS2 .
    ?entity wdt:P535 _:FG2 .
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?count") v1("?entity") a1((" ")) a2((" ")) a3((" ")) a4((" ")) c4(["1^^xsd:integer"]):::literal c7(["2^^xsd:integer"]):::literal c2(["wd:Q5"]):::iri v1 --"wdt:P31"--> c2 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v1 --"wikibase:identifiers"--> c7 v1 --"wdt:P2889"--> a3 v1 --"wdt:P535"--> a4 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"wikibase:identifiers"--> c4 subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P535"--> a2 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P2889"--> a1 end union1r <== or ==> union1l end end union0r <== or ==> union0l end bind1[/"count(*)"/] bind1 --as--o v2