Simple Question (Direct)
Simple Question
Q319621
P21
Q290
USER
What is the sex of Marten von Barnekow ?
(Q319621,P21,c(Q290))
action filter_type
action find
entity Q319621
relation P21
type Q290
['Q319621', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q319621 property:P21 ?n . ?n rdf:type ontology:Q290 }
Marten von Barnekow
action filter_type
action find
entity Marten von Barnekow
relation gender
type sex
['Marten von Barnekow', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Marten_von_Barnekow property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q319621,P21,c(Q290))
action filter_type
action find
entity Q319621
relation P21
type Q290
The sex of Marten von Barnekow is the [ANSWER]
['Q319621', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q319621 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Marten von Barnekow is the male
male
action filter_type
action find
entity Marten von Barnekow
relation gender
type sex
['Marten von Barnekow', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Marten_von_Barnekow property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q319621
P20
Q1418640
USER
Which local government in Germany is the place of death of that person ?
(Q6581097,P20,c(Q1418640))
action filter_type
action find
entity Q319621
relation P20
type Q1418640
['Q6581097', 'P20', {'concept': 'Q1418640'}]
SELECT DISTINCT ?e WHERE { resource:Q319621 property:P20 ?e . ?e rdf:type ontology:Q1418640 }
Marten von Barnekow
action filter_type
action find
entity Marten von Barnekow
relation place of death
type local government in Germany
['male', 'place of death', {'concept': 'local government in Germany'}]
SELECT DISTINCT ?e WHERE { resource:Marten_von_Barnekow property:place_of_death ?e . ?e rdf:type ontology:local_government_in_Germany }
[]
local government in Germany
Q6938
SYSTEM
Hof
Q6938
(Q6581097,P20,c(Q1418640))
action filter_type
action find
entity Q319621
relation P20
type Q1418640
[ANSWER] is the place of death of that person
['Q6581097', 'P20', {'concept': 'Q1418640'}]
SELECT DISTINCT ?e WHERE { resource:Q319621 property:P20 ?e . ?e rdf:type ontology:Q1418640 }
Hof
Hof is the place of death of that person
Hof
action filter_type
action find
entity Marten von Barnekow
relation place of death
type local government in Germany
['male', 'place of death', {'concept': 'local government in Germany'}]
SELECT DISTINCT ?e WHERE { resource:Marten_von_Barnekow property:place_of_death ?e . ?e rdf:type ontology:local_government_in_Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6938
P190
Q56061 Q15617994
USER
How many administrative territories and administrative territories are twin city of Hof ?
(c(Q56061),P190,Q6938) (c(Q15617994),P190,Q6938)
action count
action union
action filter_type
action find_reverse
entity Q6938
relation P190
type Q56061
action filter_type
action find_reverse
entity Q6938
relation P190
type Q15617994
[{'concept': 'Q56061'}, 'P190', 'Q6938'] [{'concept': 'Q15617994'}, 'P190', 'Q6938']
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:P190 resource:Q6938 . ?q rdf:type ontology:Q56061 } UNION { ?q property:P190 resource:Q6938 . ?q rdf:type ontology:Q15617994 } }
Hof
action count
action union
action filter_type
action find_reverse
entity Hof
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Hof
relation sister city
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Hof'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Hof']
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:sister_city resource:Hof . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q property:sister_city resource:Hof . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
administrative territorial entity designation for an administrative territorial entity
SYSTEM
3
Q186237 Q3952 Q52471
(c(Q56061),P190,Q6938) (c(Q15617994),P190,Q6938)
action count
action union
action filter_type
action find_reverse
entity Q6938
relation P190
type Q56061
action filter_type
action find_reverse
entity Q6938
relation P190
type Q15617994
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q6938'] [{'concept': 'Q15617994'}, 'P190', 'Q6938']
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:P190 resource:Q6938 . ?q rdf:type ontology:Q56061 } UNION { ?q property:P190 resource:Q6938 . ?q rdf:type ontology:Q15617994 } }
Joensuu Plauen Ogden
3
action count
action union
action filter_type
action find_reverse
entity Hof
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Hof
relation sister city
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Hof'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Hof']
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:sister_city resource:Hof . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q property:sister_city resource:Hof . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atmost 5854 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5854
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?p <= 5854 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5854
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?p <= 5854 ) }
[]
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 5854
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?p <= 5854 ) }
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 5854
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?p <= 5854 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6938
P190
Q20667921 Q15617994
USER
How many french administrative divisions and administrative territories are a sister city of Hof ?
(c(Q20667921),P190,Q6938) (c(Q15617994),P190,Q6938)
action count
action union
action filter_type
action find_reverse
entity Q6938
relation P190
type Q20667921
action filter_type
action find_reverse
entity Q6938
relation P190
type Q15617994
[{'concept': 'Q20667921'}, 'P190', 'Q6938'] [{'concept': 'Q15617994'}, 'P190', 'Q6938']
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P190 resource:Q6938 . ?z rdf:type ontology:Q20667921 } UNION { ?z property:P190 resource:Q6938 . ?z rdf:type ontology:Q15617994 } }
Hof
action count
action union
action filter_type
action find_reverse
entity Hof
relation sister city
type type of french administrative division
action filter_type
action find_reverse
entity Hof
relation sister city
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'sister city', 'Hof'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Hof']
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:sister_city resource:Hof . ?z rdf:type ontology:type_of_french_administrative_division } UNION { ?z property:sister_city resource:Hof . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
type of french administrative division designation for an administrative territorial entity
SYSTEM
1 french administrative divisions and 1 administrative territories
Q225451 Q3952
(c(Q20667921),P190,Q6938) (c(Q15617994),P190,Q6938)
action count
action union
action filter_type
action find_reverse
entity Q6938
relation P190
type Q20667921
action filter_type
action find_reverse
entity Q6938
relation P190
type Q15617994
[ANSWER]
[{'concept': 'Q20667921'}, 'P190', 'Q6938'] [{'concept': 'Q15617994'}, 'P190', 'Q6938']
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P190 resource:Q6938 . ?z rdf:type ontology:Q20667921 } UNION { ?z property:P190 resource:Q6938 . ?z rdf:type ontology:Q15617994 } }
Villeneuve-la-Garenne Plauen
1 french administrative divisions and 1 administrative territories
action count
action union
action filter_type
action find_reverse
entity Hof
relation sister city
type type of french administrative division
action filter_type
action find_reverse
entity Hof
relation sister city
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'sister city', 'Hof'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Hof']
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:sister_city resource:Hof . ?z rdf:type ontology:type_of_french_administrative_division } UNION { ?z property:sister_city resource:Hof . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6938 Q4312576
P206
Q355304
USER
How many watercourses are situated nearby Hof or Nacoochee Mound ?
(Q6938,P206,c(Q355304)) (Q4312576,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q6938
relation P206
type Q355304
action filter_type
action find
entity Q4312576
relation P206
type Q355304
['Q6938', 'P206', {'concept': 'Q355304'}] ['Q4312576', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Q6938 ) ( resource:Q4312576 ) } . ?a property:P206 ?w }
Hof Nacoochee Mound
action count
action union
action filter_type
action find
entity Hof
relation located next to body of water
type watercourse
action filter_type
action find
entity Nacoochee Mound
relation located next to body of water
type watercourse
['Hof', 'located next to body of water', {'concept': 'watercourse'}] ['Nacoochee Mound', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Hof ) ( resource:Nacoochee_Mound ) } . ?a property:located_next_to_body_of_water ?w }
[]
watercourse
SYSTEM
2
Q1678 Q1068297
(Q6938,P206,c(Q355304)) (Q4312576,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q6938
relation P206
type Q355304
action filter_type
action find
entity Q4312576
relation P206
type Q355304
[ANSWER]
['Q6938', 'P206', {'concept': 'Q355304'}] ['Q4312576', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Q6938 ) ( resource:Q4312576 ) } . ?a property:P206 ?w }
Saale Chattahoochee River
2
action count
action union
action filter_type
action find
entity Hof
relation located next to body of water
type watercourse
action filter_type
action find
entity Nacoochee Mound
relation located next to body of water
type watercourse
['Hof', 'located next to body of water', {'concept': 'watercourse'}] ['Nacoochee Mound', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { VALUES ( ?a ) { ( resource:Hof ) ( resource:Nacoochee_Mound ) } . ?a property:located_next_to_body_of_water ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6938
P17
Q1048835
USER
How many political territories are Hof present in ?
(Q6938,P17,c(Q1048835))
action count
action filter_type
action find
entity Q6938
relation P17
type Q1048835
['Q6938', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q6938 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Hof
action count
action filter_type
action find
entity Hof
relation country
type political territorial entity
['Hof', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Hof property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q6938,P17,c(Q1048835))
action count
action filter_type
action find
entity Q6938
relation P17
type Q1048835
[ANSWER]
['Q6938', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q6938 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Hof
relation country
type political territorial entity
['Hof', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Hof property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6938
P47
Q1048835
USER
Who shares the border with that local government in Germany ?
action filter_type
action find
entity Q6938
relation P47
type Q1048835
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q6938 property:P47 ?b }
Hof
action filter_type
action find
entity Hof
relation shares border with
type political territorial entity
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Hof property:shares_border_with ?b }
[]
political territorial entity
Q10431
SYSTEM
Hof
Q10431
action filter_type
action find
entity Q6938
relation P47
type Q1048835
[ANSWER] shares the border with that local government in Germany
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q6938 property:P47 ?b }
Hof
Hof shares the border with that local government in Germany
Hof
action filter_type
action find
entity Hof
relation shares border with
type political territorial entity
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Hof property:shares_border_with ?b }
[]