Simple Question (Direct)
Simple Question
Q505013
P36
Q56061
USER
Which administrative territory is the capital of Höganäs Municipality ?
(Q505013,P36,c(Q56061))
action filter_type
action find
entity Q505013
relation P36
type Q56061
['Q505013', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q505013 property:P36 ?w . ?w rdf:type ontology:Q56061 }
Höganäs Municipality
action filter_type
action find
entity Höganäs Municipality
relation capital
type administrative territorial entity
['Höganäs Municipality', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Höganäs_Municipality property:capital ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q911875
SYSTEM
Höganäs
Q911875
(Q505013,P36,c(Q56061))
action filter_type
action find
entity Q505013
relation P36
type Q56061
Municipality [ANSWER] is the capital of [ANSWER] Municipality
['Q505013', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q505013 property:P36 ?w . ?w rdf:type ontology:Q56061 }
Höganäs
Municipality Höganäs is the capital of Höganäs Municipality
Höganäs
action filter_type
action find
entity Höganäs Municipality
relation capital
type administrative territorial entity
['Höganäs Municipality', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Höganäs_Municipality property:capital ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q505013
P47
Q914262
USER
Which administrative territory of Swedens have a shared border with Höganäs Municipality ?
(Q505013,P47,c(Q914262))
action filter_type
action find
entity Q505013
relation P47
type Q914262
['Q505013', 'P47', {'concept': 'Q914262'}]
SELECT DISTINCT ?s WHERE { resource:Q505013 property:P47 ?s . ?s rdf:type ontology:Q914262 }
Höganäs Municipality
action filter_type
action find
entity Höganäs Municipality
relation shares border with
type administrative territorial entity of Sweden
['Höganäs Municipality', 'shares border with', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?s WHERE { resource:Höganäs_Municipality property:shares_border_with ?s . ?s rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
administrative territorial entity of Sweden
Q255206 Q499464 Q487648
SYSTEM
Ängelholm Municipality, Båstad Municipality, Helsingborg Municipality
Q255206 Q499464 Q487648
(Q505013,P47,c(Q914262))
action filter_type
action find
entity Q505013
relation P47
type Q914262
[ANSWERS] have a shared border with Höganäs Municipality
['Q505013', 'P47', {'concept': 'Q914262'}]
SELECT DISTINCT ?s WHERE { resource:Q505013 property:P47 ?s . ?s rdf:type ontology:Q914262 }
Ängelholm Municipality Båstad Municipality Helsingborg Municipality
Ängelholm Municipality, Båstad Municipality and Helsingborg Municipality have a shared border with Höganäs Municipality
Ängelholm Municipality Båstad Municipality Helsingborg Municipality
action filter_type
action find
entity Höganäs Municipality
relation shares border with
type administrative territorial entity of Sweden
['Höganäs Municipality', 'shares border with', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?s WHERE { resource:Höganäs_Municipality property:shares_border_with ?s . ?s rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q505013
P190
Q13220204
USER
Which administrative country subdivision is sister town of Höganäs Municipality ?
(c(Q13220204),P190,Q505013)
action filter_type
action find
entity Q505013
relation P190
type Q13220204
[{'concept': 'Q13220204'}, 'P190', 'Q505013']
SELECT DISTINCT ?a WHERE { resource:Q505013 property:P190 ?a . ?a rdf:type ontology:Q13220204 }
Höganäs Municipality
action filter_type
action find
entity Höganäs Municipality
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Höganäs Municipality']
SELECT DISTINCT ?a WHERE { resource:Höganäs_Municipality property:sister_city ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q57864
SYSTEM
Nesodden
Q57864
(c(Q13220204),P190,Q505013)
action filter_type
action find
entity Q505013
relation P190
type Q13220204
[ANSWER] is sister town of Höganäs Municipality
[{'concept': 'Q13220204'}, 'P190', 'Q505013']
SELECT DISTINCT ?a WHERE { resource:Q505013 property:P190 ?a . ?a rdf:type ontology:Q13220204 }
Nesodden
Nesodden is sister town of Höganäs Municipality
Nesodden
action filter_type
action find
entity Höganäs Municipality
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Höganäs Municipality']
SELECT DISTINCT ?a WHERE { resource:Höganäs_Municipality property:sister_city ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q499464
P1001
Q701632
USER
Which municipal council has jurisdiction over Båstad Municipality ?
(c(Q701632),P1001,Q499464)
action filter_type
action find_reverse
entity Q499464
relation P1001
type Q701632
[{'concept': 'Q701632'}, 'P1001', 'Q499464']
SELECT DISTINCT ?o WHERE { ?o property:P1001 resource:Q499464 . ?o rdf:type ontology:Q701632 }
Båstad Municipality
action filter_type
action find_reverse
entity Båstad Municipality
relation applies to jurisdiction
type municipal council
[{'concept': 'municipal council'}, 'applies to jurisdiction', 'Båstad Municipality']
SELECT DISTINCT ?o WHERE { ?o property:applies_to_jurisdiction resource:Båstad_Municipality . ?o rdf:type ontology:municipal_council }
[]
municipal council
Q19961118
SYSTEM
Båstad Municipal Council
Q19961118
(c(Q701632),P1001,Q499464)
action filter_type
action find_reverse
entity Q499464
relation P1001
type Q701632
[ANSWER] has jurisdiction over Båstad Municipality
[{'concept': 'Q701632'}, 'P1001', 'Q499464']
SELECT DISTINCT ?o WHERE { ?o property:P1001 resource:Q499464 . ?o rdf:type ontology:Q701632 }
Båstad Municipal Council
Båstad Municipal Council has jurisdiction over Båstad Municipality
Båstad Municipal Council
action filter_type
action find_reverse
entity Båstad Municipality
relation applies to jurisdiction
type municipal council
[{'concept': 'municipal council'}, 'applies to jurisdiction', 'Båstad Municipality']
SELECT DISTINCT ?o WHERE { ?o property:applies_to_jurisdiction resource:Båstad_Municipality . ?o rdf:type ontology:municipal_council }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q499464
P1376
Q15700808
USER
Which urban unit definition is the county seat for Båstad Municipality ?
(c(Q15700808),P1376,Q499464)
action filter_type
action find_reverse
entity Q499464
relation P1376
type Q15700808
[{'concept': 'Q15700808'}, 'P1376', 'Q499464']
SELECT DISTINCT ?m WHERE { ?m property:P1376 resource:Q499464 . ?m rdf:type ontology:Q15700808 }
Båstad Municipality
action filter_type
action find_reverse
entity Båstad Municipality
relation capital of
type urban unit definition
[{'concept': 'urban unit definition'}, 'capital of', 'Båstad Municipality']
SELECT DISTINCT ?m WHERE { ?m property:capital_of resource:Båstad_Municipality . ?m rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q1011844
SYSTEM
Båstad
Q1011844
(c(Q15700808),P1376,Q499464)
action filter_type
action find_reverse
entity Q499464
relation P1376
type Q15700808
S [ANSWER] is the county seat for [ANSWER] Municipality
[{'concept': 'Q15700808'}, 'P1376', 'Q499464']
SELECT DISTINCT ?m WHERE { ?m property:P1376 resource:Q499464 . ?m rdf:type ontology:Q15700808 }
Båstad
S Båstad is the county seat for Båstad Municipality
Båstad
action filter_type
action find_reverse
entity Båstad Municipality
relation capital of
type urban unit definition
[{'concept': 'urban unit definition'}, 'capital of', 'Båstad Municipality']
SELECT DISTINCT ?m WHERE { ?m property:capital_of resource:Båstad_Municipality . ?m rdf:type ontology:urban_unit_definition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1011844
P609
Q44377
USER
Which tunnel has that urban unit definition as its terminus location ?
(c(Q44377),P609,Q1011844)
action filter_type
action find_reverse
entity Q1011844
relation P609
type Q44377
[{'concept': 'Q44377'}, 'P609', 'Q1011844']
SELECT DISTINCT ?c WHERE { ?c property:P609 resource:Q1011844 . ?c rdf:type ontology:Q44377 }
Båstad
action filter_type
action find_reverse
entity Båstad
relation terminus location
type tunnel
[{'concept': 'tunnel'}, 'terminus location', 'Båstad']
SELECT DISTINCT ?c WHERE { ?c property:terminus_location resource:Båstad . ?c rdf:type ontology:tunnel }
[]
tunnel
Q493063
SYSTEM
Hallandsås Tunnel
Q493063
(c(Q44377),P609,Q1011844)
action filter_type
action find_reverse
entity Q1011844
relation P609
type Q44377
[ANSWER] has that urban unit definition as its terminus location
[{'concept': 'Q44377'}, 'P609', 'Q1011844']
SELECT DISTINCT ?c WHERE { ?c property:P609 resource:Q1011844 . ?c rdf:type ontology:Q44377 }
Hallandsås Tunnel
Hallandsås Tunnel has that urban unit definition as its terminus location
Hallandsås Tunnel
action filter_type
action find_reverse
entity Båstad
relation terminus location
type tunnel
[{'concept': 'tunnel'}, 'terminus location', 'Båstad']
SELECT DISTINCT ?c WHERE { ?c property:terminus_location resource:Båstad . ?c rdf:type ontology:tunnel }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1011844
P17
Q15617994
USER
Which administrative territory is that urban unit definition situated in ?
(Q493063,P17,c(Q15617994))
action filter_type
action find
entity Q1011844
relation P17
type Q15617994
['Q493063', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1011844 property:P17 ?a }
Båstad
action filter_type
action find
entity Båstad
relation country
type designation for an administrative territorial entity
['Hallandsås Tunnel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Båstad property:country ?a }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q493063,P17,c(Q15617994))
action filter_type
action find
entity Q1011844
relation P17
type Q15617994
That urban unit definition is situated in [ANSWER]
['Q493063', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1011844 property:P17 ?a }
Sweden
That urban unit definition is situated in Sweden
Sweden
action filter_type
action find
entity Båstad
relation country
type designation for an administrative territorial entity
['Hallandsås Tunnel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Båstad property:country ?a }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q34 Q6312488 Q658689
P530
Q15617994
USER
Does that administrative territory have tactful political relations with Juneau School District and Clausen ?
(Q34,P530,Q6312488) (Q34,P530,Q658689)
action is_in
entity Q34
action intersection
action find_reverse
entity Q6312488
relation P530
action find_reverse
entity Q658689
relation P530
['Q34', 'P530', 'Q6312488'] ['Q34', 'P530', 'Q658689']
ASK WHERE { resource:Q34 property:P530 resource:Q6312488 . resource:Q34 property:P530 resource:Q658689 }
Sweden Juneau School District Clausen
action is_in
entity Sweden
action intersection
action find_reverse
entity Juneau School District
relation diplomatic relation
action find_reverse
entity Clausen
relation diplomatic relation
['Sweden', 'diplomatic relation', 'Juneau School District'] ['Sweden', 'diplomatic relation', 'Clausen']
ASK WHERE { resource:Sweden property:diplomatic_relation resource:Juneau_School_District . resource:Sweden property:diplomatic_relation resource:Clausen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q34,P530,Q6312488) (Q34,P530,Q658689)
action is_in
entity Q34
action intersection
action find_reverse
entity Q6312488
relation P530
action find_reverse
entity Q658689
relation P530
[ANSWER]
['Q34', 'P530', 'Q6312488'] ['Q34', 'P530', 'Q658689']
ASK WHERE { resource:Q34 property:P530 resource:Q6312488 . resource:Q34 property:P530 resource:Q658689 }
No
action is_in
entity Sweden
action intersection
action find_reverse
entity Juneau School District
relation diplomatic relation
action find_reverse
entity Clausen
relation diplomatic relation
['Sweden', 'diplomatic relation', 'Juneau School District'] ['Sweden', 'diplomatic relation', 'Clausen']
ASK WHERE { resource:Sweden property:diplomatic_relation resource:Juneau_School_District . resource:Sweden property:diplomatic_relation resource:Clausen }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q515 Q56061 Q13220204
USER
How many administrative country subdivisions are twin city of approximately 13 cities and administrative territories ?
(c(Q13220204),P190,c(Q515)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P190
type Q13220204
type Q515
action find_tuple_counts
relation P190
type Q13220204
type Q56061
value 13
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?s = 13 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?p WHERE { { ?p property:P190 ?e . ?e rdf:type ontology:Q515 . ?p rdf:type ontology:Q13220204 } UNION { ?p property:P190 ?e . ?p rdf:type ontology:Q13220204 . ?e rdf:type ontology:Q56061 } } GROUP BY ?p } }
action count
action approx
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type administrative territorial entity
value 13
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?s = 13 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?p WHERE { { ?p property:sister_city ?e . ?e rdf:type ontology:city . ?p rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?p property:sister_city ?e . ?p rdf:type ontology:second-level_administrative_country_subdivision . ?e rdf:type ontology:administrative_territorial_entity } } GROUP BY ?p } }
[]
city administrative territorial entity second-level administrative country subdivision
SYSTEM
5
Q731915 Q25444 Q48278 Q2933 Q2841
(c(Q13220204),P190,c(Q515)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P190
type Q13220204
type Q515
action find_tuple_counts
relation P190
type Q13220204
type Q56061
value 13
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?s = 13 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?p WHERE { { ?p property:P190 ?e . ?e rdf:type ontology:Q515 . ?p rdf:type ontology:Q13220204 } UNION { ?p property:P190 ?e . ?p rdf:type ontology:Q13220204 . ?e rdf:type ontology:Q56061 } } GROUP BY ?p } }
Ogre Funchal Antioquia - Medellín Asunción Bogotá
5
action count
action approx
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type administrative territorial entity
value 13
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?s = 13 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?p WHERE { { ?p property:sister_city ?e . ?e rdf:type ontology:city . ?p rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?p property:sister_city ?e . ?p rdf:type ontology:second-level_administrative_country_subdivision . ?e rdf:type ontology:administrative_territorial_entity } } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1011844
P551
Q502895
USER
Which person has residence at Båstad ?
(c(Q502895),P551,Q1011844)
action filter_type
action find_reverse
entity Q1011844
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1011844']
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q1011844 . ?r rdf:type ontology:Q502895 }
Båstad
action filter_type
action find_reverse
entity Båstad
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Båstad']
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Båstad . ?r rdf:type ontology:common_name }
[]
common name
Q455136
SYSTEM
Anders Järryd
Q455136
(c(Q502895),P551,Q1011844)
action filter_type
action find_reverse
entity Q1011844
relation P551
type Q502895
[ANSWER] has residence at Båstad
[{'concept': 'Q502895'}, 'P551', 'Q1011844']
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q1011844 . ?r rdf:type ontology:Q502895 }
Anders Järryd
Anders Järryd has residence at Båstad
Anders Järryd
action filter_type
action find_reverse
entity Båstad
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Båstad']
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Båstad . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1011844
P19
Q502895
USER
Which people have birthplace at Båstad ?
(c(Q502895),P19,Q1011844)
action filter_type
action find_reverse
entity Q1011844
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1011844']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P19 resource:Q1011844 }
Båstad
action filter_type
action find_reverse
entity Båstad
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Båstad']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:place_of_birth resource:Båstad }
[]
common name
Q345654 Q4056656 Q7360694
SYSTEM
Carl Adolph Agardh, Mortimer Agardh, Rolf Bergersen
Q4148101 Q6176280 Q4056656 Q345654 Q7360694
(c(Q502895),P19,Q1011844)
action filter_type
action find_reverse
entity Q1011844
relation P19
type Q502895
[ANSWERS] have birthplace at Båstad
[{'concept': 'Q502895'}, 'P19', 'Q1011844']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P19 resource:Q1011844 }
Lars Graff Anders Silwer Mortimer Agardh Carl Adolph Agardh Rolf Bergersen
Carl Adolph Agardh, Mortimer Agardh and Rolf Bergersen have birthplace at Båstad
Carl Adolph Agardh Mortimer Agardh Rolf Bergersen
action filter_type
action find_reverse
entity Båstad
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Båstad']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:place_of_birth resource:Båstad }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7360694
P21
Q290
USER
Which sex does that person possess ?
(Q7360694,P21,c(Q290))
action filter_type
action find
entity Q7360694
relation P21
type Q290
['Q7360694', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q7360694 property:P21 ?i . ?i rdf:type ontology:Q290 }
Rolf Bergersen
action filter_type
action find
entity Rolf Bergersen
relation gender
type sex
['Rolf Bergersen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Rolf_Bergersen property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q4056656
SYSTEM
Did you mean Mortimer Agardh ?
Q345654 Q4056656 Q7360694
(Q345654,P21,c(Q290)) (Q4056656,P21,c(Q290)) (Q7360694,P21,c(Q290))
[ANSWER]
['Q345654', 'P21', {'concept': 'Q290'}] ['Q4056656', 'P21', {'concept': 'Q290'}] ['Q7360694', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q7360694 property:P21 ?i . ?i rdf:type ontology:Q290 }
Carl Adolph Agardh Mortimer Agardh Rolf Bergersen
Did you mean Mortimer Agardh ?
Mortimer Agardh
['Carl Adolph Agardh', 'gender', {'concept': 'sex'}] ['Mortimer Agardh', 'gender', {'concept': 'sex'}] ['Rolf Bergersen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Rolf_Bergersen property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Rolf Bergersen. Could you tell me the answer for that?
(Q7360694,P21,c(Q290))
Q7360694
['Q7360694', 'P21', {'concept': 'Q290'}]
['Rolf Bergersen', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q7360694,P21,c(Q290))
action filter_type
action find
entity Q7360694
relation P21
type Q290
That person possesses a [ANSWER]
['Q7360694', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q7360694 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Rolf Bergersen
relation gender
type sex
['Rolf Bergersen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Rolf_Bergersen property:gender ?i . ?i rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P21
Q3320743 Q1914636
USER
How many titles of honor or activities have that sex as the sex ?
(c(Q3320743),P21,Q6581097) (c(Q1914636),P21,Q6581097) (c(Q3320743),P21,Q6581097) (c(Q1914636),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q3320743
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q1914636
[{'concept': 'Q3320743'}, 'P21', 'Q6581097'] [{'concept': 'Q1914636'}, 'P21', 'Q6581097'] [{'concept': 'Q3320743'}, 'P21', 'Q6581097'] [{'concept': 'Q1914636'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h property:P21 resource:Q6581097 . ?h rdf:type ontology:Q3320743 } UNION { ?h rdf:type ontology:Q1914636 . ?h property:P21 resource:Q6581097 } }
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type title of honor
action filter_type
action find_reverse
entity male
relation gender
type activity
[{'concept': 'title of honor'}, 'gender', 'male'] [{'concept': 'activity'}, 'gender', 'male'] [{'concept': 'title of honor'}, 'gender', 'male'] [{'concept': 'activity'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h property:gender resource:male . ?h rdf:type ontology:title_of_honor } UNION { ?h rdf:type ontology:activity . ?h property:gender resource:male } }
[]
title of honor activity
SYSTEM
5
Q1605510 Q1337389 Q1410729 Q4118029 Q185166
(c(Q3320743),P21,Q6581097) (c(Q1914636),P21,Q6581097) (c(Q3320743),P21,Q6581097) (c(Q1914636),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q3320743
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q1914636
[ANSWER]
[{'concept': 'Q3320743'}, 'P21', 'Q6581097'] [{'concept': 'Q1914636'}, 'P21', 'Q6581097'] [{'concept': 'Q3320743'}, 'P21', 'Q6581097'] [{'concept': 'Q1914636'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h property:P21 resource:Q6581097 . ?h rdf:type ontology:Q3320743 } UNION { ?h rdf:type ontology:Q1914636 . ?h property:P21 resource:Q6581097 } }
Henning Koppel Menachem Mendel Schneersohn Shaykh al-Islām Emad Effat sheikh
5
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type title of honor
action filter_type
action find_reverse
entity male
relation gender
type activity
[{'concept': 'title of honor'}, 'gender', 'male'] [{'concept': 'activity'}, 'gender', 'male'] [{'concept': 'title of honor'}, 'gender', 'male'] [{'concept': 'activity'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h property:gender resource:male . ?h rdf:type ontology:title_of_honor } UNION { ?h rdf:type ontology:activity . ?h property:gender resource:male } }
[]