Simple Question (Direct)
Simple Question
Q1650784
P102
Q7278
USER
Which political party is Wilhelm Hinners a member of ?
(Q1650784,P102,c(Q7278))
action filter_type
action find
entity Q1650784
relation P102
type Q7278
['Q1650784', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?e WHERE { resource:Q1650784 property:P102 ?e . ?e rdf:type ontology:Q7278 }
Wilhelm Hinners
action filter_type
action find
entity Wilhelm Hinners
relation member of political party
type political party
['Wilhelm Hinners', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?e WHERE { resource:Wilhelm_Hinners property:member_of_political_party ?e . ?e rdf:type ontology:political_party }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q1650784,P102,c(Q7278))
action filter_type
action find
entity Q1650784
relation P102
type Q7278
Party [ANSWER] is Wilhelm Hinners a member of
['Q1650784', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?e WHERE { resource:Q1650784 property:P102 ?e . ?e rdf:type ontology:Q7278 }
Christian Democratic Union
Party Christian Democratic Union is Wilhelm Hinners a member of
Christian Democratic Union
action filter_type
action find
entity Wilhelm Hinners
relation member of political party
type political party
['Wilhelm Hinners', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?e WHERE { resource:Wilhelm_Hinners property:member_of_political_party ?e . ?e rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1650784
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q49762,P39,c(Q12737077))
action filter_type
action find
entity Q1650784
relation P39
type Q12737077
['Q49762', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1650784 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Wilhelm Hinners
action filter_type
action find
entity Wilhelm Hinners
relation position held
type occupation
['Christian Democratic Union', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Wilhelm_Hinners property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q17441472
SYSTEM
member of the Bürgerschaft of Bremen
Q17441472
(Q49762,P39,c(Q12737077))
action filter_type
action find
entity Q1650784
relation P39
type Q12737077
A [ANSWER] was a position for which that person was appointed
['Q49762', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1650784 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
member of the Bürgerschaft of Bremen
A member of the Bürgerschaft of Bremen was a position for which that person was appointed
member of the Bürgerschaft of Bremen
action filter_type
action find
entity Wilhelm Hinners
relation position held
type occupation
['Christian Democratic Union', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Wilhelm_Hinners property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1650784
P937
Q515
USER
Where did Wilhelm Hinners work ?
(Q1650784,P937,c(Q515))
action filter_type
action find
entity Q1650784
relation P937
type Q515
['Q1650784', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q1650784 property:P937 ?b . ?b rdf:type ontology:Q515 }
Wilhelm Hinners
action filter_type
action find
entity Wilhelm Hinners
relation work location
type city
['Wilhelm Hinners', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Wilhelm_Hinners property:work_location ?b . ?b rdf:type ontology:city }
[]
city
Q1209
SYSTEM
Free Hanseatic City of Bremen
Q1209
(Q1650784,P937,c(Q515))
action filter_type
action find
entity Q1650784
relation P937
type Q515
Wilhelm Hinners worked in [ANSWER]
['Q1650784', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q1650784 property:P937 ?b . ?b rdf:type ontology:Q515 }
Free Hanseatic City of Bremen
Wilhelm Hinners worked in Free Hanseatic City of Bremen
Free Hanseatic City of Bremen
action filter_type
action find
entity Wilhelm Hinners
relation work location
type city
['Wilhelm Hinners', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Wilhelm_Hinners property:work_location ?b . ?b rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1209
P119
Q502895
USER
Who has that city as his/her tomb ?
(c(Q502895),P119,Q1209)
action filter_type
action find_reverse
entity Q1209
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q1209']
SELECT DISTINCT ?n WHERE { ?n property:P119 resource:Q1209 . ?n rdf:type ontology:Q502895 }
Free Hanseatic City of Bremen
action filter_type
action find_reverse
entity Free Hanseatic City of Bremen
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Free Hanseatic City of Bremen']
SELECT DISTINCT ?n WHERE { ?n property:place_of_burial resource:Free_Hanseatic_City_of_Bremen . ?n rdf:type ontology:common_name }
[]
common name
Q106129
SYSTEM
Bernhard Oelreich
Q106129
(c(Q502895),P119,Q1209)
action filter_type
action find_reverse
entity Q1209
relation P119
type Q502895
[ANSWER] has that city as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q1209']
SELECT DISTINCT ?n WHERE { ?n property:P119 resource:Q1209 . ?n rdf:type ontology:Q502895 }
Bernhard Oelreich
Bernhard Oelreich has that city as his/her tomb
Bernhard Oelreich
action filter_type
action find_reverse
entity Free Hanseatic City of Bremen
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Free Hanseatic City of Bremen']
SELECT DISTINCT ?n WHERE { ?n property:place_of_burial resource:Free_Hanseatic_City_of_Bremen . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q106129
P20
Q515
USER
Where did that person die ?
(Q106129,P20,c(Q515))
action filter_type
action find
entity Q106129
relation P20
type Q515
['Q106129', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q106129 property:P20 ?x . ?x rdf:type ontology:Q515 }
Bernhard Oelreich
action filter_type
action find
entity Bernhard Oelreich
relation place of death
type city
['Bernhard Oelreich', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Bernhard_Oelreich property:place_of_death ?x . ?x rdf:type ontology:city }
[]
city
Q1209
SYSTEM
Free Hanseatic City of Bremen
Q1209
(Q106129,P20,c(Q515))
action filter_type
action find
entity Q106129
relation P20
type Q515
That person died in [ANSWER]
['Q106129', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q106129 property:P20 ?x . ?x rdf:type ontology:Q515 }
Free Hanseatic City of Bremen
That person died in Free Hanseatic City of Bremen
Free Hanseatic City of Bremen
action filter_type
action find
entity Bernhard Oelreich
relation place of death
type city
['Bernhard Oelreich', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Bernhard_Oelreich property:place_of_death ?x . ?x rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1209 Q3438889
P937
Q502895
USER
Does Roger Desaise have that city as their work location ?
(Q3438889,P937,Q1209)
action is_in
entity Q3438889
action find
entity Q1209
relation P937
['Q3438889', 'P937', 'Q1209']
ASK WHERE { resource:Q1209 property:P937 resource:Q3438889 }
Free Hanseatic City of Bremen Roger Desaise
action is_in
entity Roger Desaise
action find
entity Free Hanseatic City of Bremen
relation work location
['Roger Desaise', 'work location', 'Free Hanseatic City of Bremen']
ASK WHERE { resource:Free_Hanseatic_City_of_Bremen property:work_location resource:Roger_Desaise }
[]
common name
SYSTEM
NO
(Q3438889,P937,Q1209)
action is_in
entity Q3438889
action find
entity Q1209
relation P937
[ANSWER]
['Q3438889', 'P937', 'Q1209']
ASK WHERE { resource:Q1209 property:P937 resource:Q3438889 }
No
action is_in
entity Roger Desaise
action find
entity Free Hanseatic City of Bremen
relation work location
['Roger Desaise', 'work location', 'Free Hanseatic City of Bremen']
ASK WHERE { resource:Free_Hanseatic_City_of_Bremen property:work_location resource:Roger_Desaise }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q49762 Q16421612 Q18964361
P488
Q502895
USER
Is Þorleifur Repp and Géza Kardoss a chairperson of Christian Democratic Union ?
(Q49762,P488,Q16421612) (Q49762,P488,Q18964361)
action is_in
entity Q49762
action intersection
action find_reverse
entity Q16421612
relation P488
action find_reverse
entity Q18964361
relation P488
['Q49762', 'P488', 'Q16421612'] ['Q49762', 'P488', 'Q18964361']
ASK WHERE { resource:Q49762 property:P488 resource:Q16421612 . resource:Q49762 property:P488 resource:Q18964361 }
Christian Democratic Union Þorleifur Repp Géza Kardoss
action is_in
entity Christian Democratic Union
action intersection
action find_reverse
entity Þorleifur Repp
relation chairperson
action find_reverse
entity Géza Kardoss
relation chairperson
['Christian Democratic Union', 'chairperson', 'Þorleifur Repp'] ['Christian Democratic Union', 'chairperson', 'Géza Kardoss']
ASK WHERE { resource:Christian_Democratic_Union property:chairperson resource:Þorleifur_Repp . resource:Christian_Democratic_Union property:chairperson resource:Géza_Kardoss }
[]
common name
SYSTEM
NO
(Q49762,P488,Q16421612) (Q49762,P488,Q18964361)
action is_in
entity Q49762
action intersection
action find_reverse
entity Q16421612
relation P488
action find_reverse
entity Q18964361
relation P488
[ANSWER]
['Q49762', 'P488', 'Q16421612'] ['Q49762', 'P488', 'Q18964361']
ASK WHERE { resource:Q49762 property:P488 resource:Q16421612 . resource:Q49762 property:P488 resource:Q18964361 }
No
action is_in
entity Christian Democratic Union
action intersection
action find_reverse
entity Þorleifur Repp
relation chairperson
action find_reverse
entity Géza Kardoss
relation chairperson
['Christian Democratic Union', 'chairperson', 'Þorleifur Repp'] ['Christian Democratic Union', 'chairperson', 'Géza Kardoss']
ASK WHERE { resource:Christian_Democratic_Union property:chairperson resource:Þorleifur_Repp . resource:Christian_Democratic_Union property:chairperson resource:Géza_Kardoss }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1209
P1001
Q1752346 Q41487
USER
How many assemblies or courts preside the jurisdiction over Free Hanseatic City of Bremen ?
(c(Q1752346),P1001,Q1209) (c(Q41487),P1001,Q1209)
action count
action union
action filter_type
action find_reverse
entity Q1209
relation P1001
type Q1752346
action filter_type
action find_reverse
entity Q1209
relation P1001
type Q41487
[{'concept': 'Q1752346'}, 'P1001', 'Q1209'] [{'concept': 'Q41487'}, 'P1001', 'Q1209']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:P1001 resource:Q1209 . ?i rdf:type ontology:Q1752346 } UNION { ?i rdf:type ontology:Q41487 . ?i property:P1001 resource:Q1209 } }
Free Hanseatic City of Bremen
action count
action union
action filter_type
action find_reverse
entity Free Hanseatic City of Bremen
relation applies to jurisdiction
type assembly
action filter_type
action find_reverse
entity Free Hanseatic City of Bremen
relation applies to jurisdiction
type court
[{'concept': 'assembly'}, 'applies to jurisdiction', 'Free Hanseatic City of Bremen'] [{'concept': 'court'}, 'applies to jurisdiction', 'Free Hanseatic City of Bremen']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:applies_to_jurisdiction resource:Free_Hanseatic_City_of_Bremen . ?i rdf:type ontology:assembly } UNION { ?i rdf:type ontology:court . ?i property:applies_to_jurisdiction resource:Free_Hanseatic_City_of_Bremen } }
[]
assembly court
SYSTEM
2
Q317147 Q2324951
(c(Q1752346),P1001,Q1209) (c(Q41487),P1001,Q1209)
action count
action union
action filter_type
action find_reverse
entity Q1209
relation P1001
type Q1752346
action filter_type
action find_reverse
entity Q1209
relation P1001
type Q41487
[ANSWER]
[{'concept': 'Q1752346'}, 'P1001', 'Q1209'] [{'concept': 'Q41487'}, 'P1001', 'Q1209']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:P1001 resource:Q1209 . ?i rdf:type ontology:Q1752346 } UNION { ?i rdf:type ontology:Q41487 . ?i property:P1001 resource:Q1209 } }
Bürgerschaft of Bremen Constitutional Court of the Free Hanseatic City of Bremen
2
action count
action union
action filter_type
action find_reverse
entity Free Hanseatic City of Bremen
relation applies to jurisdiction
type assembly
action filter_type
action find_reverse
entity Free Hanseatic City of Bremen
relation applies to jurisdiction
type court
[{'concept': 'assembly'}, 'applies to jurisdiction', 'Free Hanseatic City of Bremen'] [{'concept': 'court'}, 'applies to jurisdiction', 'Free Hanseatic City of Bremen']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:applies_to_jurisdiction resource:Free_Hanseatic_City_of_Bremen . ?i rdf:type ontology:assembly } UNION { ?i rdf:type ontology:court . ?i property:applies_to_jurisdiction resource:Free_Hanseatic_City_of_Bremen } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1209
P6
Q502895
USER
What people are Free Hanseatic City of Bremen the head of goverment of ?
(Q1209,P6,c(Q502895))
action filter_type
action find
entity Q1209
relation P6
type Q502895
['Q1209', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1209 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Free Hanseatic City of Bremen
action filter_type
action find
entity Free Hanseatic City of Bremen
relation head of government
type common name
['Free Hanseatic City of Bremen', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Free_Hanseatic_City_of_Bremen property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
common name
Q69120 Q61604 Q69081
SYSTEM
Hans Koschnick, Jens Böhrnsen, Henning Scherf
Q78175 Q73921 Q61604 Q124047 Q89494 Q69120 Q69081 Q69122
(Q1209,P6,c(Q502895))
action filter_type
action find
entity Q1209
relation P6
type Q502895
[ANSWERS] are Free Hanseatic City of Bremen the head of goverment of
['Q1209', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1209 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Erich Vagts Wilhelm Kaisen Jens Böhrnsen Johannes Schroers Willi Dehnkamp Hans Koschnick Henning Scherf Klaus Wedemeier
Hans Koschnick, Jens Böhrnsen and Henning Scherf are Free Hanseatic City of Bremen the head of goverment of
Hans Koschnick Jens Böhrnsen Henning Scherf
action filter_type
action find
entity Free Hanseatic City of Bremen
relation head of government
type common name
['Free Hanseatic City of Bremen', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Free_Hanseatic_City_of_Bremen property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 9028 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 9028
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?l ) WHERE { ?z rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?z } GROUP BY ?z } . FILTER ( ?l <= 9028 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 9028
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?l ) WHERE { ?z rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?z } GROUP BY ?z } . FILTER ( ?l <= 9028 ) }
[]
musical instrument common name
SYSTEM
65
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 9028
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?l ) WHERE { ?z rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?z } GROUP BY ?z } . FILTER ( ?l <= 9028 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 9028
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?l ) WHERE { ?z rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?z } GROUP BY ?z } . FILTER ( ?l <= 9028 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q69120
P27
Q1048835
USER
How many political territories are Hans Koschnick a civilian of ?
(Q69120,P27,c(Q1048835))
action count
action filter_type
action find
entity Q69120
relation P27
type Q1048835
['Q69120', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q69120 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Hans Koschnick
action count
action filter_type
action find
entity Hans Koschnick
relation country of citizenship
type political territorial entity
['Hans Koschnick', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Hans_Koschnick property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q69120,P27,c(Q1048835))
action count
action filter_type
action find
entity Q69120
relation P27
type Q1048835
[ANSWER]
['Q69120', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q69120 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Hans Koschnick
relation country of citizenship
type political territorial entity
['Hans Koschnick', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Hans_Koschnick property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q69120
P6
Q515 Q486972
USER
How many cities and human settlements have Hans Koschnick as their head of government ?
(c(Q515),P6,Q69120) (c(Q486972),P6,Q69120)
action count
action union
action filter_type
action find_reverse
entity Q69120
relation P6
type Q515
action filter_type
action find_reverse
entity Q69120
relation P6
type Q486972
[{'concept': 'Q515'}, 'P6', 'Q69120'] [{'concept': 'Q486972'}, 'P6', 'Q69120']
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q486972 ) ( ontology:Q515 ) } }
Hans Koschnick
action count
action union
action filter_type
action find_reverse
entity Hans Koschnick
relation head of government
type city
action filter_type
action find_reverse
entity Hans Koschnick
relation head of government
type human settlement
[{'concept': 'city'}, 'head of government', 'Hans Koschnick'] [{'concept': 'human settlement'}, 'head of government', 'Hans Koschnick']
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:human_settlement ) ( ontology:city ) } }
[]
city human settlement
SYSTEM
1 cities and 1 human settlements
Q1209 Q24879
(c(Q515),P6,Q69120) (c(Q486972),P6,Q69120)
action count
action union
action filter_type
action find_reverse
entity Q69120
relation P6
type Q515
action filter_type
action find_reverse
entity Q69120
relation P6
type Q486972
[ANSWER]
[{'concept': 'Q515'}, 'P6', 'Q69120'] [{'concept': 'Q486972'}, 'P6', 'Q69120']
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q486972 ) ( ontology:Q515 ) } }
Free Hanseatic City of Bremen Bremen
1 cities and 1 human settlements
action count
action union
action filter_type
action find_reverse
entity Hans Koschnick
relation head of government
type city
action filter_type
action find_reverse
entity Hans Koschnick
relation head of government
type human settlement
[{'concept': 'city'}, 'head of government', 'Hans Koschnick'] [{'concept': 'human settlement'}, 'head of government', 'Hans Koschnick']
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:human_settlement ) ( ontology:city ) } }
[]