Simple Question (Direct)
Simple Question
Q589661
P39
Q12737077
USER
Which occupation was a position held by Anton Gilsing ?
(Q589661,P39,c(Q12737077))
action filter_type
action find
entity Q589661
relation P39
type Q12737077
['Q589661', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q589661 property:P39 ?p }
Anton Gilsing
action filter_type
action find
entity Anton Gilsing
relation position held
type occupation
['Anton Gilsing', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Anton_Gilsing property:position_held ?p }
[]
occupation
Q17781726
SYSTEM
member of the Landtag of North Rhine-Westphalia
Q17781726
(Q589661,P39,c(Q12737077))
action filter_type
action find
entity Q589661
relation P39
type Q12737077
The [ANSWER] was a position held by Anton Gilsing
['Q589661', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q589661 property:P39 ?p }
member of the Landtag of North Rhine-Westphalia
The member of the Landtag of North Rhine-Westphalia was a position held by Anton Gilsing
member of the Landtag of North Rhine-Westphalia
action filter_type
action find
entity Anton Gilsing
relation position held
type occupation
['Anton Gilsing', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Anton_Gilsing property:position_held ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q589661
P19
Q15617994
USER
Which administrative territory is the birthplace of Anton Gilsing ?
(Q589661,P19,c(Q15617994))
action filter_type
action find
entity Q589661
relation P19
type Q15617994
['Q589661', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q589661 property:P19 ?s . ?s rdf:type ontology:Q15617994 }
Anton Gilsing
action filter_type
action find
entity Anton Gilsing
relation place of birth
type designation for an administrative territorial entity
['Anton Gilsing', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Anton_Gilsing property:place_of_birth ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q156119
SYSTEM
Ludwigslust
Q156119
(Q589661,P19,c(Q15617994))
action filter_type
action find
entity Q589661
relation P19
type Q15617994
Of [ANSWER] is the birthplace of Anton Gilsing
['Q589661', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q589661 property:P19 ?s . ?s rdf:type ontology:Q15617994 }
Ludwigslust
Of Ludwigslust is the birthplace of Anton Gilsing
Ludwigslust
action filter_type
action find
entity Anton Gilsing
relation place of birth
type designation for an administrative territorial entity
['Anton Gilsing', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Anton_Gilsing property:place_of_birth ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q589661
P20
Q15617994
USER
Which administrative territory is the place of death of that person ?
(Q156119,P20,c(Q15617994))
action filter_type
action find
entity Q589661
relation P20
type Q15617994
['Q156119', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q589661 property:P20 ?u }
Anton Gilsing
action filter_type
action find
entity Anton Gilsing
relation place of death
type designation for an administrative territorial entity
['Ludwigslust', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Anton_Gilsing property:place_of_death ?u }
[]
designation for an administrative territorial entity
Q685358
SYSTEM
Hasbergen
Q685358
(Q156119,P20,c(Q15617994))
action filter_type
action find
entity Q589661
relation P20
type Q15617994
[ANSWER] is the place of death of that person
['Q156119', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q589661 property:P20 ?u }
Hasbergen
Hasbergen is the place of death of that person
Hasbergen
action filter_type
action find
entity Anton Gilsing
relation place of death
type designation for an administrative territorial entity
['Ludwigslust', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Anton_Gilsing property:place_of_death ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q589661
P937
Q56061
USER
Where did that person work ?
(Q685358,P937,c(Q56061))
action filter_type
action find
entity Q589661
relation P937
type Q56061
['Q685358', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q589661 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Anton Gilsing
action filter_type
action find
entity Anton Gilsing
relation work location
type administrative territorial entity
['Hasbergen', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Anton_Gilsing property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1718 Q2103
SYSTEM
Düsseldorf, Bochum
Q1718 Q2103
(Q685358,P937,c(Q56061))
action filter_type
action find
entity Q589661
relation P937
type Q56061
That person worked in [ANSWERS]
['Q685358', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q589661 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Düsseldorf Bochum
That person worked in Düsseldorf and Bochum
Düsseldorf Bochum
action filter_type
action find
entity Anton Gilsing
relation work location
type administrative territorial entity
['Hasbergen', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Anton_Gilsing property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1718
P190
Q13220204
USER
Which administrative country subdivision is partner town of Düsseldorf ?
(c(Q13220204),P190,Q1718)
action filter_type
action find
entity Q1718
relation P190
type Q13220204
[{'concept': 'Q13220204'}, 'P190', 'Q1718']
SELECT DISTINCT ?t WHERE { resource:Q1718 property:P190 ?t . ?t rdf:type ontology:Q13220204 }
Düsseldorf
action filter_type
action find
entity Düsseldorf
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Düsseldorf']
SELECT DISTINCT ?t WHERE { resource:Düsseldorf property:sister_city ?t . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q101341
SYSTEM
Lillehammer
Q101341
(c(Q13220204),P190,Q1718)
action filter_type
action find
entity Q1718
relation P190
type Q13220204
[ANSWER] is partner town of Düsseldorf
[{'concept': 'Q13220204'}, 'P190', 'Q1718']
SELECT DISTINCT ?t WHERE { resource:Q1718 property:P190 ?t . ?t rdf:type ontology:Q13220204 }
Lillehammer
Lillehammer is partner town of Düsseldorf
Lillehammer
action filter_type
action find
entity Düsseldorf
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Düsseldorf']
SELECT DISTINCT ?t WHERE { resource:Düsseldorf property:sister_city ?t . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1718
P291
Q223393
USER
Which literary genre has Düsseldorf as its release location ?
(c(Q223393),P291,Q1718)
action filter_type
action find_reverse
entity Q1718
relation P291
type Q223393
[{'concept': 'Q223393'}, 'P291', 'Q1718']
SELECT DISTINCT ?m WHERE { ?m property:P291 resource:Q1718 . ?m rdf:type ontology:Q223393 }
Düsseldorf
action filter_type
action find_reverse
entity Düsseldorf
relation place of publication
type literary genre
[{'concept': 'literary genre'}, 'place of publication', 'Düsseldorf']
SELECT DISTINCT ?m WHERE { ?m property:place_of_publication resource:Düsseldorf . ?m rdf:type ontology:literary_genre }
[]
literary genre
Q25936361
SYSTEM
Lexikon der Pharaonen
Q25936361
(c(Q223393),P291,Q1718)
action filter_type
action find_reverse
entity Q1718
relation P291
type Q223393
[ANSWER] has Düsseldorf as its release location
[{'concept': 'Q223393'}, 'P291', 'Q1718']
SELECT DISTINCT ?m WHERE { ?m property:P291 resource:Q1718 . ?m rdf:type ontology:Q223393 }
Lexikon der Pharaonen
Lexikon der Pharaonen has Düsseldorf as its release location
Lexikon der Pharaonen
action filter_type
action find_reverse
entity Düsseldorf
relation place of publication
type literary genre
[{'concept': 'literary genre'}, 'place of publication', 'Düsseldorf']
SELECT DISTINCT ?m WHERE { ?m property:place_of_publication resource:Düsseldorf . ?m rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1718
P551
Q502895
USER
Which people dwell at that administrative territory ?
(c(Q502895),P551,Q25936361)
action filter_type
action find_reverse
entity Q1718
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q25936361']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P551 resource:Q1718 }
Düsseldorf
action filter_type
action find_reverse
entity Düsseldorf
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Lexikon der Pharaonen']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:residence resource:Düsseldorf }
[]
common name
Q2544781 Q1964408 Q17496561
SYSTEM
Walter Hochmuth, Nan Hoover, Armin Kutzsche
Q18994 Q1964408 Q6405133 Q16078999 Q19685096 Q16004446 Q2544781 Q77579 Q562316 Q3688068 Q21013724 Q17496561
(c(Q502895),P551,Q25936361)
action filter_type
action find_reverse
entity Q1718
relation P551
type Q502895
[ANSWERS] dwell at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q25936361']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P551 resource:Q1718 }
Luise Rainer Nan Hoover Carmen Santos Leonard Banning Andreas Lubitz Hannelore Bode Walter Hochmuth Wilhelm Bungert Rogier Wassen William Keith Jonathan Groß Armin Kutzsche
Walter Hochmuth, Nan Hoover and Armin Kutzsche dwell at that administrative territory
Walter Hochmuth Nan Hoover Armin Kutzsche
action filter_type
action find_reverse
entity Düsseldorf
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Lexikon der Pharaonen']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:residence resource:Düsseldorf }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P108
Q19335303 Q43229
USER
How many German business organizations and organizations are the employers of that person ?
(Q17496561,P108,c(Q19335303)) (Q17496561,P108,c(Q43229)) (Q2544781,P108,c(Q19335303)) (Q2544781,P108,c(Q43229)) (Q1964408,P108,c(Q19335303)) (Q1964408,P108,c(Q43229)) (Q17496561,P108,c(Q19335303)) (Q17496561,P108,c(Q43229))
['Q17496561', 'P108', {'concept': 'Q19335303'}] ['Q17496561', 'P108', {'concept': 'Q43229'}] ['Q2544781', 'P108', {'concept': 'Q19335303'}] ['Q2544781', 'P108', {'concept': 'Q43229'}] ['Q1964408', 'P108', {'concept': 'Q19335303'}] ['Q1964408', 'P108', {'concept': 'Q43229'}] ['Q17496561', 'P108', {'concept': 'Q19335303'}] ['Q17496561', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q17496561 property:Q3053337 ?z } UNION { resource:Q17496561 property:Q3053337 ?y } UNION { resource:Q2544781 property:Q3053337 ?z } UNION { resource:Q2544781 property:Q3053337 ?y } UNION { resource:Q1964408 property:Q3053337 ?z } UNION { resource:Q1964408 property:Q3053337 ?y } UNION { resource:Q17496561 property:Q3053337 ?z } UNION { resource:Q17496561 property:Q3053337 ?y } } . ?z rdf:type ontology:Q19335303 . ?y rdf:type ontology:Q43229 }
['Armin Kutzsche', 'employer', {'concept': 'type of business entity in Germany'}] ['Armin Kutzsche', 'employer', {'concept': 'organization'}] ['Walter Hochmuth', 'employer', {'concept': 'type of business entity in Germany'}] ['Walter Hochmuth', 'employer', {'concept': 'organization'}] ['Nan Hoover', 'employer', {'concept': 'type of business entity in Germany'}] ['Nan Hoover', 'employer', {'concept': 'organization'}] ['Armin Kutzsche', 'employer', {'concept': 'type of business entity in Germany'}] ['Armin Kutzsche', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Armin_Kutzsche property:employer ?z } UNION { resource:Armin_Kutzsche property:employer ?y } UNION { resource:Walter_Hochmuth property:employer ?z } UNION { resource:Walter_Hochmuth property:employer ?y } UNION { resource:Nan_Hoover property:employer ?z } UNION { resource:Nan_Hoover property:employer ?y } UNION { resource:Armin_Kutzsche property:employer ?z } UNION { resource:Armin_Kutzsche property:employer ?y } } . ?z rdf:type ontology:type_of_business_entity_in_Germany . ?y rdf:type ontology:organization }
[]
type of business entity in Germany organization
Quantitative|Count|Mult. entity type|Clarification
Q1964408
SYSTEM
Did you mean Nan Hoover ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q17496561 property:Q3053337 ?z } UNION { resource:Q17496561 property:Q3053337 ?y } UNION { resource:Q2544781 property:Q3053337 ?z } UNION { resource:Q2544781 property:Q3053337 ?y } UNION { resource:Q1964408 property:Q3053337 ?z } UNION { resource:Q1964408 property:Q3053337 ?y } UNION { resource:Q17496561 property:Q3053337 ?z } UNION { resource:Q17496561 property:Q3053337 ?y } } . ?z rdf:type ontology:Q19335303 . ?y rdf:type ontology:Q43229 }
Did you mean Nan Hoover ?
Nan Hoover
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Armin_Kutzsche property:employer ?z } UNION { resource:Armin_Kutzsche property:employer ?y } UNION { resource:Walter_Hochmuth property:employer ?z } UNION { resource:Walter_Hochmuth property:employer ?y } UNION { resource:Nan_Hoover property:employer ?z } UNION { resource:Nan_Hoover property:employer ?y } UNION { resource:Armin_Kutzsche property:employer ?z } UNION { resource:Armin_Kutzsche property:employer ?y } } . ?z rdf:type ontology:type_of_business_entity_in_Germany . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Armin Kutzsche. Could you tell me the answer for that?
(Q17496561,P108,c(Q19335303)) (Q17496561,P108,c(Q43229)) (Q2544781,P108,c(Q19335303)) (Q2544781,P108,c(Q43229)) (Q1964408,P108,c(Q19335303)) (Q1964408,P108,c(Q43229)) (Q17496561,P108,c(Q19335303)) (Q17496561,P108,c(Q43229))
Q17496561
['Q17496561', 'P108', {'concept': 'Q19335303'}] ['Q17496561', 'P108', {'concept': 'Q43229'}] ['Q2544781', 'P108', {'concept': 'Q19335303'}] ['Q2544781', 'P108', {'concept': 'Q43229'}] ['Q1964408', 'P108', {'concept': 'Q19335303'}] ['Q1964408', 'P108', {'concept': 'Q43229'}] ['Q17496561', 'P108', {'concept': 'Q19335303'}] ['Q17496561', 'P108', {'concept': 'Q43229'}]
['Armin Kutzsche', 'employer', {'concept': 'type of business entity in Germany'}] ['Armin Kutzsche', 'employer', {'concept': 'organization'}] ['Walter Hochmuth', 'employer', {'concept': 'type of business entity in Germany'}] ['Walter Hochmuth', 'employer', {'concept': 'organization'}] ['Nan Hoover', 'employer', {'concept': 'type of business entity in Germany'}] ['Nan Hoover', 'employer', {'concept': 'organization'}] ['Armin Kutzsche', 'employer', {'concept': 'type of business entity in Germany'}] ['Armin Kutzsche', 'employer', {'concept': 'organization'}]
[]
SYSTEM
2 German business organizations and 1 organizations
Q156959 Q563556 Q153006
(Q17496561,P108,c(Q19335303)) (Q17496561,P108,c(Q43229)) (Q2544781,P108,c(Q19335303)) (Q2544781,P108,c(Q43229)) (Q1964408,P108,c(Q19335303)) (Q1964408,P108,c(Q43229)) (Q17496561,P108,c(Q19335303)) (Q17496561,P108,c(Q43229))
[ANSWER]
['Q17496561', 'P108', {'concept': 'Q19335303'}] ['Q17496561', 'P108', {'concept': 'Q43229'}] ['Q2544781', 'P108', {'concept': 'Q19335303'}] ['Q2544781', 'P108', {'concept': 'Q43229'}] ['Q1964408', 'P108', {'concept': 'Q19335303'}] ['Q1964408', 'P108', {'concept': 'Q43229'}] ['Q17496561', 'P108', {'concept': 'Q19335303'}] ['Q17496561', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q17496561 property:Q3053337 ?z } UNION { resource:Q17496561 property:Q3053337 ?y } UNION { resource:Q2544781 property:Q3053337 ?z } UNION { resource:Q2544781 property:Q3053337 ?y } UNION { resource:Q1964408 property:Q3053337 ?z } UNION { resource:Q1964408 property:Q3053337 ?y } UNION { resource:Q17496561 property:Q3053337 ?z } UNION { resource:Q17496561 property:Q3053337 ?y } } . ?z rdf:type ontology:Q19335303 . ?y rdf:type ontology:Q43229 }
Merck Schering AG Free University of Berlin
2 German business organizations and 1 organizations
['Armin Kutzsche', 'employer', {'concept': 'type of business entity in Germany'}] ['Armin Kutzsche', 'employer', {'concept': 'organization'}] ['Walter Hochmuth', 'employer', {'concept': 'type of business entity in Germany'}] ['Walter Hochmuth', 'employer', {'concept': 'organization'}] ['Nan Hoover', 'employer', {'concept': 'type of business entity in Germany'}] ['Nan Hoover', 'employer', {'concept': 'organization'}] ['Armin Kutzsche', 'employer', {'concept': 'type of business entity in Germany'}] ['Armin Kutzsche', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Armin_Kutzsche property:employer ?z } UNION { resource:Armin_Kutzsche property:employer ?y } UNION { resource:Walter_Hochmuth property:employer ?z } UNION { resource:Walter_Hochmuth property:employer ?y } UNION { resource:Nan_Hoover property:employer ?z } UNION { resource:Nan_Hoover property:employer ?y } UNION { resource:Armin_Kutzsche property:employer ?z } UNION { resource:Armin_Kutzsche property:employer ?y } } . ?z rdf:type ontology:type_of_business_entity_in_Germany . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 1048 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1048
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?h = 1048 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1048
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?h = 1048 ) }
[]
musical instrument common name
SYSTEM
63
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 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1048
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?h = 1048 ) }
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 cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano 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
63
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1048
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?h = 1048 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17226043 Q17496561
P19
Q515
USER
Which cities are the places of birth of Armin Kutzsche or Mokako Nakajima ?
OR((Q17496561,P19,c(Q515)), (Q17226043,P19,c(Q515)))
action filter_type
action union
action find
entity Q17496561
relation P19
action find
entity Q17226043
relation P19
type Q515
{'OR': [['Q17496561', 'P19', {'concept': 'Q515'}], ['Q17226043', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?j WHERE { { ?k property:P19 ?j . VALUES ( ?k ) { ( resource:Q17496561 ) ( resource:Q17226043 ) } } . ?j rdf:type ontology:Q515 }
Mokako Nakajima Armin Kutzsche
action filter_type
action union
action find
entity Armin Kutzsche
relation place of birth
action find
entity Mokako Nakajima
relation place of birth
type city
{'OR': [['Armin Kutzsche', 'place of birth', {'concept': 'city'}], ['Mokako Nakajima', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?j WHERE { { ?k property:place_of_birth ?j . VALUES ( ?k ) { ( resource:Armin_Kutzsche ) ( resource:Mokako_Nakajima ) } } . ?j rdf:type ontology:city }
[]
city
Q857225 Q1794
SYSTEM
Moriyama, Frankfurt
Q857225 Q1794
OR((Q17496561,P19,c(Q515)), (Q17226043,P19,c(Q515)))
action filter_type
action union
action find
entity Q17496561
relation P19
action find
entity Q17226043
relation P19
type Q515
[ANSWERS] are the places of birth of Armin Kutzsche or Mokako Nakajima
{'OR': [['Q17496561', 'P19', {'concept': 'Q515'}], ['Q17226043', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?j WHERE { { ?k property:P19 ?j . VALUES ( ?k ) { ( resource:Q17496561 ) ( resource:Q17226043 ) } } . ?j rdf:type ontology:Q515 }
Moriyama Frankfurt
Moriyama and Frankfurt are the places of birth of Armin Kutzsche or Mokako Nakajima
Moriyama Frankfurt
action filter_type
action union
action find
entity Armin Kutzsche
relation place of birth
action find
entity Mokako Nakajima
relation place of birth
type city
{'OR': [['Armin Kutzsche', 'place of birth', {'concept': 'city'}], ['Mokako Nakajima', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?j WHERE { { ?k property:place_of_birth ?j . VALUES ( ?k ) { ( resource:Armin_Kutzsche ) ( resource:Mokako_Nakajima ) } } . ?j rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2544781
P27
Q1048835 Q7275
USER
How many political territories and states are Walter Hochmuth an inhabitant of ?
(Q2544781,P27,c(Q1048835)) (Q2544781,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q2544781
relation P27
type Q1048835
action filter_type
action find
entity Q2544781
relation P27
type Q7275
['Q2544781', 'P27', {'concept': 'Q1048835'}] ['Q2544781', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } }
Walter Hochmuth
action count
action union
action filter_type
action find
entity Walter Hochmuth
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Walter Hochmuth
relation country of citizenship
type state
['Walter Hochmuth', 'country of citizenship', {'concept': 'political territorial entity'}] ['Walter Hochmuth', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ?c . VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:state ) } }
[]
political territorial entity state
SYSTEM
1 political territories and 1 states
Q16957 Q183
(Q2544781,P27,c(Q1048835)) (Q2544781,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q2544781
relation P27
type Q1048835
action filter_type
action find
entity Q2544781
relation P27
type Q7275
[ANSWER]
['Q2544781', 'P27', {'concept': 'Q1048835'}] ['Q2544781', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } }
East Germany Germany
1 political territories and 1 states
action count
action union
action filter_type
action find
entity Walter Hochmuth
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Walter Hochmuth
relation country of citizenship
type state
['Walter Hochmuth', 'country of citizenship', {'concept': 'political territorial entity'}] ['Walter Hochmuth', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ?c . VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:state ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q355304 Q15324 Q515
USER
Which cities are located nearby min number of watercourses or bodies of water ?
(c(Q515),P206,c(Q355304)|c(Q15324))
action argmin
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q15324
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?h WHERE { VALUES ( ?s ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } . ?p rdf:type ?s } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) ?b WHERE { { ?b property:P206 ?f . ?f rdf:type ontology:Q355304 . ?b rdf:type ontology:Q515 } UNION { ?b property:P206 ?f . ?b rdf:type ontology:Q515 . ?f rdf:type ontology:Q15324 } } GROUP BY ?b } . FILTER ( ?g = ?v ) }
action argmin
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?h WHERE { VALUES ( ?s ) { ( ontology:watercourse ) ( ontology:body_of_water ) } . ?p rdf:type ?s } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) ?b WHERE { { ?b property:located_next_to_body_of_water ?f . ?f rdf:type ontology:watercourse . ?b rdf:type ontology:city } UNION { ?b property:located_next_to_body_of_water ?f . ?b rdf:type ontology:city . ?f rdf:type ontology:body_of_water } } GROUP BY ?b } . FILTER ( ?g = ?v ) }
[]
watercourse body of water city
Q3572 Q3958 Q890122
SYSTEM
Tunis, Neubrandenburg, Bolhrad
Q846877 Q488869 Q3572 Q623549 Q3958 Q612815 Q890122 Q3826 Q4346 Q23661 Q3751
(c(Q515),P206,c(Q355304)|c(Q15324))
action argmin
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q15324
[ANSWERS] are located nearby min number of watercourses or bodies of water
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?h WHERE { VALUES ( ?s ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } . ?p rdf:type ?s } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) ?b WHERE { { ?b property:P206 ?f . ?f rdf:type ontology:Q355304 . ?b rdf:type ontology:Q515 } UNION { ?b property:P206 ?f . ?b rdf:type ontology:Q515 . ?f rdf:type ontology:Q15324 } } GROUP BY ?b } . FILTER ( ?g = ?v ) }
Semboku Benalmádena Tunis Puerto de la Cruz Neubrandenburg Garachico Bolhrad Muscat Waren (Müritz) Wellington Praia
Tunis, Neubrandenburg and Bolhrad are located nearby min number of watercourses or bodies of water
Tunis Neubrandenburg Bolhrad
action argmin
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?h WHERE { VALUES ( ?s ) { ( ontology:watercourse ) ( ontology:body_of_water ) } . ?p rdf:type ?s } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) ?b WHERE { { ?b property:located_next_to_body_of_water ?f . ?f rdf:type ontology:watercourse . ?b rdf:type ontology:city } UNION { ?b property:located_next_to_body_of_water ?f . ?b rdf:type ontology:city . ?f rdf:type ontology:body_of_water } } GROUP BY ?b } . FILTER ( ?g = ?v ) }
[]