Simple Question (Direct)
Simple Question
Q1036893
P512
Q3412758
USER
What is the name of the degree held by Carl August Schröder ?
(Q1036893,P512,c(Q3412758))
action filter_type
action find
entity Q1036893
relation P512
type Q3412758
['Q1036893', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?m WHERE { resource:Q1036893 property:P512 ?m . ?m rdf:type ontology:Q3412758 }
Carl August Schröder
action filter_type
action find
entity Carl August Schröder
relation academic degree
type qualification
['Carl August Schröder', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?m WHERE { resource:Carl_August_Schröder property:academic_degree ?m . ?m rdf:type ontology:qualification }
[]
qualification
Q959320
SYSTEM
Doctor of Law
Q959320
(Q1036893,P512,c(Q3412758))
action filter_type
action find
entity Q1036893
relation P512
type Q3412758
The name of the degree held by Carl August Schröder is a [ANSWER]
['Q1036893', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?m WHERE { resource:Q1036893 property:P512 ?m . ?m rdf:type ontology:Q3412758 }
Doctor of Law
The name of the degree held by Carl August Schröder is a Doctor of Law
Doctor of Law
action filter_type
action find
entity Carl August Schröder
relation academic degree
type qualification
['Carl August Schröder', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?m WHERE { resource:Carl_August_Schröder property:academic_degree ?m . ?m rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1036893
P19
Q486972
USER
Which human settlement is the place of birth of that person ?
(Q959320,P19,c(Q486972))
action filter_type
action find
entity Q1036893
relation P19
type Q486972
['Q959320', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?m WHERE { resource:Q1036893 property:P19 ?m . ?m rdf:type ontology:Q486972 }
Carl August Schröder
action filter_type
action find
entity Carl August Schröder
relation place of birth
type human settlement
['Doctor of Law', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?m WHERE { resource:Carl_August_Schröder property:place_of_birth ?m . ?m rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q959320,P19,c(Q486972))
action filter_type
action find
entity Q1036893
relation P19
type Q486972
[ANSWER] is the place of birth of that person
['Q959320', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?m WHERE { resource:Q1036893 property:P19 ?m . ?m rdf:type ontology:Q486972 }
Hamburg
Hamburg is the place of birth of that person
Hamburg
action filter_type
action find
entity Carl August Schröder
relation place of birth
type human settlement
['Doctor of Law', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?m WHERE { resource:Carl_August_Schröder property:place_of_birth ?m . ?m rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1629166 Q1036893
P19
Q486972
USER
Or Horst Bauer?
OR((Q1036893,P19,c(Q486972)), (Q1629166,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1036893
relation P19
action find
entity Q1629166
relation P19
type Q486972
{'OR': [['Q1036893', 'P19', {'concept': 'Q486972'}], ['Q1629166', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q1036893 property:P19 ?z } UNION { resource:Q1629166 property:P19 ?z } } . ?z rdf:type ontology:Q486972 }
Horst Bauer Carl August Schröder
action filter_type
action union
action find
entity Carl August Schröder
relation place of birth
action find
entity Horst Bauer
relation place of birth
type human settlement
{'OR': [['Carl August Schröder', 'place of birth', {'concept': 'human settlement'}], ['Horst Bauer', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Carl_August_Schröder property:place_of_birth ?z } UNION { resource:Horst_Bauer property:place_of_birth ?z } } . ?z rdf:type ontology:human_settlement }
[]
human settlement
Q1055 Q4707648
SYSTEM
Hamburg, Pankow
Q1055 Q4707648
OR((Q1036893,P19,c(Q486972)), (Q1629166,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1036893
relation P19
action find
entity Q1629166
relation P19
type Q486972
[ANSWERS]
{'OR': [['Q1036893', 'P19', {'concept': 'Q486972'}], ['Q1629166', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q1036893 property:P19 ?z } UNION { resource:Q1629166 property:P19 ?z } } . ?z rdf:type ontology:Q486972 }
Hamburg Pankow
Hamburg Pankow
action filter_type
action union
action find
entity Carl August Schröder
relation place of birth
action find
entity Horst Bauer
relation place of birth
type human settlement
{'OR': [['Carl August Schröder', 'place of birth', {'concept': 'human settlement'}], ['Horst Bauer', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Carl_August_Schröder property:place_of_birth ?z } UNION { resource:Horst_Bauer property:place_of_birth ?z } } . ?z rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1629166
P734
Q82799
USER
Who has the surname Horst Bauer?
(Q1055,P734,c(Q82799)) (Q4707648,P734,c(Q82799))
action filter_type
action find
entity Q1629166
relation P734
type Q82799
['Q1055', 'P734', {'concept': 'Q82799'}] ['Q4707648', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q82799 . resource:Q1629166 property:P734 ?g }
Horst Bauer
action filter_type
action find
entity Horst Bauer
relation family name
type name
['Hamburg', 'family name', {'concept': 'name'}] ['Pankow', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:name . resource:Horst_Bauer property:family_name ?g }
[]
name
Q1965022
SYSTEM
Bauer
Q1965022
(Q1055,P734,c(Q82799)) (Q4707648,P734,c(Q82799))
action filter_type
action find
entity Q1629166
relation P734
type Q82799
The [ANSWER] has the surname Horst [ANSWER]
['Q1055', 'P734', {'concept': 'Q82799'}] ['Q4707648', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q82799 . resource:Q1629166 property:P734 ?g }
Bauer
The Bauer has the surname Horst Bauer
Bauer
action filter_type
action find
entity Horst Bauer
relation family name
type name
['Hamburg', 'family name', {'concept': 'name'}] ['Pankow', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:name . resource:Horst_Bauer property:family_name ?g }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7288108 Q1036893
P937 P20
Q486972
USER
Which human settlements are the work locations of Carl August Schröder or did the expiration of Ralph Spence occur ?
OR((Q1036893,P937,c(Q486972)), (Q7288108,P20,c(Q486972)))
action filter_type
action union
action find
entity Q1036893
relation P937
action find
entity Q7288108
relation P20
type Q486972
{'OR': [['Q1036893', 'P937', {'concept': 'Q486972'}], ['Q7288108', 'P20', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1036893 property:P937 ?x } UNION { resource:Q7288108 property:P20 ?x } } . ?x rdf:type ontology:Q486972 }
Ralph Spence Carl August Schröder
action filter_type
action union
action find
entity Carl August Schröder
relation work location
action find
entity Ralph Spence
relation place of death
type human settlement
{'OR': [['Carl August Schröder', 'work location', {'concept': 'human settlement'}], ['Ralph Spence', 'place of death', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Carl_August_Schröder property:work_location ?x } UNION { resource:Ralph_Spence property:place_of_death ?x } } . ?x rdf:type ontology:human_settlement }
[]
human settlement
Q1055 Q1337818
SYSTEM
Hamburg, Woodland Hills
Q1055 Q1337818
OR((Q1036893,P937,c(Q486972)), (Q7288108,P20,c(Q486972)))
action filter_type
action union
action find
entity Q1036893
relation P937
action find
entity Q7288108
relation P20
type Q486972
[ANSWERS] are the work locations of Carl August Schröder or did the expiration of Ralph Spence occur
{'OR': [['Q1036893', 'P937', {'concept': 'Q486972'}], ['Q7288108', 'P20', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1036893 property:P937 ?x } UNION { resource:Q7288108 property:P20 ?x } } . ?x rdf:type ontology:Q486972 }
Hamburg Woodland Hills
Hamburg and Woodland Hills are the work locations of Carl August Schröder or did the expiration of Ralph Spence occur
Hamburg Woodland Hills
action filter_type
action union
action find
entity Carl August Schröder
relation work location
action find
entity Ralph Spence
relation place of death
type human settlement
{'OR': [['Carl August Schröder', 'work location', {'concept': 'human settlement'}], ['Ralph Spence', 'place of death', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Carl_August_Schröder property:work_location ?x } UNION { resource:Ralph_Spence property:place_of_death ?x } } . ?x rdf:type ontology:human_settlement }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P17
Q183366 Q1048835
USER
How many territories or political territories do that human settlement belong to ?
(Q1055,P17,c(Q183366)) (Q1055,P17,c(Q1048835)) (Q1055,P17,c(Q183366)) (Q1055,P17,c(Q1048835)) (Q1337818,P17,c(Q183366)) (Q1337818,P17,c(Q1048835))
['Q1055', 'P17', {'concept': 'Q183366'}] ['Q1055', 'P17', {'concept': 'Q1048835'}] ['Q1055', 'P17', {'concept': 'Q183366'}] ['Q1055', 'P17', {'concept': 'Q1048835'}] ['Q1337818', 'P17', {'concept': 'Q183366'}] ['Q1337818', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1005682 property:Q6256 ?z } UNION { resource:Q1005682 property:Q6256 ?y } UNION { resource:Q1005682 property:Q6256 ?z } UNION { resource:Q1005682 property:Q6256 ?y } UNION { resource:Q8032845 property:Q6256 ?z } UNION { resource:Q8032845 property:Q6256 ?y } } . ?z rdf:type ontology:Q14916058 . ?y rdf:type ontology:Q1048835 }
['Hamburg', 'country', {'concept': 'territory'}] ['Hamburg', 'country', {'concept': 'political territorial entity'}] ['Hamburg', 'country', {'concept': 'territory'}] ['Hamburg', 'country', {'concept': 'political territorial entity'}] ['Woodland Hills', 'country', {'concept': 'territory'}] ['Woodland Hills', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Hamburg property:country ?z } UNION { resource:Hamburg property:country ?y } UNION { resource:Hamburg property:country ?z } UNION { resource:Hamburg property:country ?y } UNION { resource:Woodland_Hills property:country ?z } UNION { resource:Woodland_Hills property:country ?y } } . ?z rdf:type ontology:territory . ?y rdf:type ontology:political_territorial_entity }
[]
territory political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q1055
SYSTEM
Did you mean Hamburg ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1005682 property:Q6256 ?z } UNION { resource:Q1005682 property:Q6256 ?y } UNION { resource:Q1005682 property:Q6256 ?z } UNION { resource:Q1005682 property:Q6256 ?y } UNION { resource:Q8032845 property:Q6256 ?z } UNION { resource:Q8032845 property:Q6256 ?y } } . ?z rdf:type ontology:Q14916058 . ?y rdf:type ontology:Q1048835 }
Did you mean Hamburg ?
Hamburg
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Hamburg property:country ?z } UNION { resource:Hamburg property:country ?y } UNION { resource:Hamburg property:country ?z } UNION { resource:Hamburg property:country ?y } UNION { resource:Woodland_Hills property:country ?z } UNION { resource:Woodland_Hills property:country ?y } } . ?z rdf:type ontology:territory . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q1055,P17,c(Q183366)) (Q1055,P17,c(Q1048835)) (Q1055,P17,c(Q183366)) (Q1055,P17,c(Q1048835)) (Q1337818,P17,c(Q183366)) (Q1337818,P17,c(Q1048835))
['Q1055', 'P17', {'concept': 'Q183366'}] ['Q1055', 'P17', {'concept': 'Q1048835'}] ['Q1055', 'P17', {'concept': 'Q183366'}] ['Q1055', 'P17', {'concept': 'Q1048835'}] ['Q1337818', 'P17', {'concept': 'Q183366'}] ['Q1337818', 'P17', {'concept': 'Q1048835'}]
['Hamburg', 'country', {'concept': 'territory'}] ['Hamburg', 'country', {'concept': 'political territorial entity'}] ['Hamburg', 'country', {'concept': 'territory'}] ['Hamburg', 'country', {'concept': 'political territorial entity'}] ['Woodland Hills', 'country', {'concept': 'territory'}] ['Woodland Hills', 'country', {'concept': 'political territorial entity'}]
[]
SYSTEM
2
Q2415901 Q183
(Q1055,P17,c(Q183366)) (Q1055,P17,c(Q1048835)) (Q1055,P17,c(Q183366)) (Q1055,P17,c(Q1048835)) (Q1337818,P17,c(Q183366)) (Q1337818,P17,c(Q1048835))
[ANSWER]
['Q1055', 'P17', {'concept': 'Q183366'}] ['Q1055', 'P17', {'concept': 'Q1048835'}] ['Q1055', 'P17', {'concept': 'Q183366'}] ['Q1055', 'P17', {'concept': 'Q1048835'}] ['Q1337818', 'P17', {'concept': 'Q183366'}] ['Q1337818', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1005682 property:Q6256 ?z } UNION { resource:Q1005682 property:Q6256 ?y } UNION { resource:Q1005682 property:Q6256 ?z } UNION { resource:Q1005682 property:Q6256 ?y } UNION { resource:Q8032845 property:Q6256 ?z } UNION { resource:Q8032845 property:Q6256 ?y } } . ?z rdf:type ontology:Q14916058 . ?y rdf:type ontology:Q1048835 }
Allied-occupied Germany Germany
2
['Hamburg', 'country', {'concept': 'territory'}] ['Hamburg', 'country', {'concept': 'political territorial entity'}] ['Hamburg', 'country', {'concept': 'territory'}] ['Hamburg', 'country', {'concept': 'political territorial entity'}] ['Woodland Hills', 'country', {'concept': 'territory'}] ['Woodland Hills', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Hamburg property:country ?z } UNION { resource:Hamburg property:country ?y } UNION { resource:Hamburg property:country ?z } UNION { resource:Hamburg property:country ?y } UNION { resource:Woodland_Hills property:country ?z } UNION { resource:Woodland_Hills property:country ?y } } . ?z rdf:type ontology:territory . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P190
Q895526
USER
Which authority organ is sister town of Hamburg ?
(c(Q895526),P190,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P190
type Q895526
[{'concept': 'Q895526'}, 'P190', 'Q1055']
SELECT DISTINCT ?d WHERE { ?d property:P190 resource:Q1055 . ?d rdf:type ontology:Q895526 }
Hamburg
action filter_type
action find_reverse
entity Hamburg
relation sister city
type authority organ
[{'concept': 'authority organ'}, 'sister city', 'Hamburg']
SELECT DISTINCT ?d WHERE { ?d property:sister_city resource:Hamburg . ?d rdf:type ontology:authority_organ }
[]
authority organ
Q758635
SYSTEM
Auckland Council
Q758635
(c(Q895526),P190,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P190
type Q895526
[ANSWER] is sister town of Hamburg
[{'concept': 'Q895526'}, 'P190', 'Q1055']
SELECT DISTINCT ?d WHERE { ?d property:P190 resource:Q1055 . ?d rdf:type ontology:Q895526 }
Auckland Council
Auckland Council is sister town of Hamburg
Auckland Council
action filter_type
action find_reverse
entity Hamburg
relation sister city
type authority organ
[{'concept': 'authority organ'}, 'sister city', 'Hamburg']
SELECT DISTINCT ?d WHERE { ?d property:sister_city resource:Hamburg . ?d rdf:type ontology:authority_organ }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P532
Q2235308
USER
Which ship types have their base port as Hamburg ?
(c(Q2235308),P532,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q1055']
SELECT DISTINCT ?j WHERE { ?j property:P532 resource:Q1055 . ?j rdf:type ontology:Q2235308 }
Hamburg
action filter_type
action find_reverse
entity Hamburg
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Hamburg']
SELECT DISTINCT ?j WHERE { ?j property:port_of_registry resource:Hamburg . ?j rdf:type ontology:ship_type }
[]
ship type
Q468026 Q644078 Q15806486
SYSTEM
SS Maxim Gorkiy, Preußen, Dortmund
Q468026 Q6717728 Q15806486 Q6720075 Q644078
(c(Q2235308),P532,Q1055)
action filter_type
action find_reverse
entity Q1055
relation P532
type Q2235308
[ANSWERS] have their base port as Hamburg
[{'concept': 'Q2235308'}, 'P532', 'Q1055']
SELECT DISTINCT ?j WHERE { ?j property:P532 resource:Q1055 . ?j rdf:type ontology:Q2235308 }
SS Maxim Gorkiy MSC Geneva Dortmund MV Spreewald Preußen
SS Maxim Gorkiy, Preußen and Dortmund have their base port as Hamburg
SS Maxim Gorkiy Preußen Dortmund
action filter_type
action find_reverse
entity Hamburg
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Hamburg']
SELECT DISTINCT ?j WHERE { ?j property:port_of_registry resource:Hamburg . ?j rdf:type ontology:ship_type }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15806486
P176
Q4830453
USER
Who is the maker of that ship type ?
(Q15806486,P176,c(Q4830453))
action filter_type
action find
entity Q15806486
relation P176
type Q4830453
['Q15806486', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?q WHERE { resource:Q15806486 property:P176 ?q . ?q rdf:type ontology:Q4830453 }
Dortmund
action filter_type
action find
entity Dortmund
relation manufacturer
type business enterprise
['Dortmund', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?q WHERE { resource:Dortmund property:manufacturer ?q . ?q rdf:type ontology:business_enterprise }
[]
business enterprise
Clarification for simple ques.
Q468026
SYSTEM
Did you mean SS Maxim Gorkiy ?
Q468026 Q644078 Q15806486
(Q468026,P176,c(Q4830453)) (Q644078,P176,c(Q4830453)) (Q15806486,P176,c(Q4830453))
[ANSWER]
['Q468026', 'P176', {'concept': 'Q4830453'}] ['Q644078', 'P176', {'concept': 'Q4830453'}] ['Q15806486', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?q WHERE { resource:Q15806486 property:P176 ?q . ?q rdf:type ontology:Q4830453 }
SS Maxim Gorkiy Preußen Dortmund
Did you mean SS Maxim Gorkiy ?
SS Maxim Gorkiy
['SS Maxim Gorkiy', 'manufacturer', {'concept': 'business enterprise'}] ['Preußen', 'manufacturer', {'concept': 'business enterprise'}] ['Dortmund', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?q WHERE { resource:Dortmund property:manufacturer ?q . ?q rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
USER
No, I meant Dortmund. Could you tell me the answer for that?
(Q15806486,P176,c(Q4830453))
Q15806486
['Q15806486', 'P176', {'concept': 'Q4830453'}]
['Dortmund', 'manufacturer', {'concept': 'business enterprise'}]
[]
Q218715
SYSTEM
Blohm + Voss
Q218715
(Q15806486,P176,c(Q4830453))
action filter_type
action find
entity Q15806486
relation P176
type Q4830453
The maker of that ship type is [ANSWER]
['Q15806486', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?q WHERE { resource:Q15806486 property:P176 ?q . ?q rdf:type ontology:Q4830453 }
Blohm + Voss
The maker of that ship type is Blohm + Voss
Blohm + Voss
action filter_type
action find
entity Dortmund
relation manufacturer
type business enterprise
['Dortmund', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?q WHERE { resource:Dortmund property:manufacturer ?q . ?q rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q1048835
USER
How many political territories do that business enterprise belong to ?
(Q218715,P17,c(Q1048835))
action count
action filter_type
action find
entity Q218715
relation P17
type Q1048835
['Q218715', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q218715 property:P17 ?y . ?y rdf:type ontology:Q1048835 }
action count
action filter_type
action find
entity Blohm + Voss
relation country
type political territorial entity
['Blohm + Voss', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Blohm_+_Voss property:country ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q218715,P17,c(Q1048835))
action count
action filter_type
action find
entity Q218715
relation P17
type Q1048835
[ANSWER]
['Q218715', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q218715 property:P17 ?y . ?y rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Blohm + Voss
relation country
type political territorial entity
['Blohm + Voss', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Blohm_+_Voss property:country ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q355304 Q15324 Q486972
USER
Which human settlements are located in the neighbourhood of atleast 12 watercourses and bodies of water ?
(c(Q486972),P206,c(Q355304)|c(Q15324))
action atleast
action union
action find_tuple_counts
relation P206
type Q486972
type Q355304
action find_tuple_counts
relation P206
type Q486972
type Q15324
value 12
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?t ) WHERE { { ?v property:P206 ?u . ?v rdf:type ontology:Q486972 . ?u rdf:type ontology:Q15324 } UNION { ?v property:P206 ?u . ?v rdf:type ontology:Q486972 . ?u rdf:type ontology:Q355304 } } GROUP BY ?v } . FILTER ( ?t >= 12 ) }
action atleast
action union
action find_tuple_counts
relation located next to body of water
type human settlement
type watercourse
action find_tuple_counts
relation located next to body of water
type human settlement
type body of water
value 12
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?t ) WHERE { { ?v property:located_next_to_body_of_water ?u . ?v rdf:type ontology:human_settlement . ?u rdf:type ontology:body_of_water } UNION { ?v property:located_next_to_body_of_water ?u . ?v rdf:type ontology:human_settlement . ?u rdf:type ontology:watercourse } } GROUP BY ?v } . FILTER ( ?t >= 12 ) }
[]
watercourse body of water human settlement
Q1055
SYSTEM
Hamburg
Q1055
(c(Q486972),P206,c(Q355304)|c(Q15324))
action atleast
action union
action find_tuple_counts
relation P206
type Q486972
type Q355304
action find_tuple_counts
relation P206
type Q486972
type Q15324
value 12
[ANSWER] is located in the neighbourhood of atleast 12 watercourses and bodies of water
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?t ) WHERE { { ?v property:P206 ?u . ?v rdf:type ontology:Q486972 . ?u rdf:type ontology:Q15324 } UNION { ?v property:P206 ?u . ?v rdf:type ontology:Q486972 . ?u rdf:type ontology:Q355304 } } GROUP BY ?v } . FILTER ( ?t >= 12 ) }
Hamburg
Hamburg is located in the neighbourhood of atleast 12 watercourses and bodies of water
Hamburg
action atleast
action union
action find_tuple_counts
relation located next to body of water
type human settlement
type watercourse
action find_tuple_counts
relation located next to body of water
type human settlement
type body of water
value 12
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?t ) WHERE { { ?v property:located_next_to_body_of_water ?u . ?v rdf:type ontology:human_settlement . ?u rdf:type ontology:body_of_water } UNION { ?v property:located_next_to_body_of_water ?u . ?v rdf:type ontology:human_settlement . ?u rdf:type ontology:watercourse } } GROUP BY ?v } . FILTER ( ?t >= 12 ) }
[]