Simple Question (Direct)
Simple Question
Q464362
P25
Q502895
USER
Who was the mother of Arnold, Duke of Guelders ?
(Q464362,P25,c(Q502895))
action filter_type
action find
entity Q464362
relation P25
type Q502895
['Q464362', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q464362 property:P25 ?v . ?v rdf:type ontology:Q502895 }
Arnold, Duke of Guelders
action filter_type
action find
entity Arnold, Duke of Guelders
relation mother
type common name
['Arnold, Duke of Guelders', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Arnold,_Duke_of_Guelders property:mother ?v . ?v rdf:type ontology:common_name }
[]
common name
Q1998107
SYSTEM
Maria van Arkel
Q1998107
(Q464362,P25,c(Q502895))
action filter_type
action find
entity Q464362
relation P25
type Q502895
The mother of Arnold , Duke of Guelders was called [ANSWER]
['Q464362', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q464362 property:P25 ?v . ?v rdf:type ontology:Q502895 }
Maria van Arkel
The mother of Arnold , Duke of Guelders was called Maria van Arkel
Maria van Arkel
action filter_type
action find
entity Arnold, Duke of Guelders
relation mother
type common name
['Arnold, Duke of Guelders', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Arnold,_Duke_of_Guelders property:mother ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1998107
P21
Q290
USER
Which sex does that person have ?
(Q1998107,P21,c(Q290))
action filter_type
action find
entity Q1998107
relation P21
type Q290
['Q1998107', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1998107 property:P21 ?w . ?w rdf:type ontology:Q290 }
Maria van Arkel
action filter_type
action find
entity Maria van Arkel
relation gender
type sex
['Maria van Arkel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Maria_van_Arkel property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1998107,P21,c(Q290))
action filter_type
action find
entity Q1998107
relation P21
type Q290
That person has a [ANSWER]
['Q1998107', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1998107 property:P21 ?w . ?w rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Maria van Arkel
relation gender
type sex
['Maria van Arkel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Maria_van_Arkel property:gender ?w . ?w rdf:type ontology:sex }
[]
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 8861 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 8861
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?s <= 8861 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 8861
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?s <= 8861 ) }
[]
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 8861
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?s <= 8861 ) }
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 8861
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?s <= 8861 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1998107
P40
Q502895
USER
How many people are the children of Maria van Arkel ?
(Q1998107,P40,c(Q502895))
action count
action filter_type
action find
entity Q1998107
relation P40
type Q502895
['Q1998107', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q1998107 property:P40 ?t . ?t rdf:type ontology:Q502895 }
Maria van Arkel
action count
action filter_type
action find
entity Maria van Arkel
relation child
type common name
['Maria van Arkel', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Maria_van_Arkel property:child ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q3914865 Q464362
(Q1998107,P40,c(Q502895))
action count
action filter_type
action find
entity Q1998107
relation P40
type Q502895
[ANSWER]
['Q1998107', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q1998107 property:P40 ?t . ?t rdf:type ontology:Q502895 }
William IV, Lord of Egmont Arnold, Duke of Guelders
2
action count
action filter_type
action find
entity Maria van Arkel
relation child
type common name
['Maria van Arkel', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Maria_van_Arkel property:child ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1998107
P26
Q502895
USER
Who is the spouse of that one ?
action filter_type
action find
entity Q1998107
relation P26
type Q502895
SELECT DISTINCT ?p WHERE { resource:Q1998107 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Maria van Arkel
action filter_type
action find
entity Maria van Arkel
relation spouse
type common name
SELECT DISTINCT ?p WHERE { resource:Maria_van_Arkel property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q1228695
SYSTEM
John II, Count of Egmond
Q1228695
action filter_type
action find
entity Q1998107
relation P26
type Q502895
The spouse of that one is King [ANSWER]
SELECT DISTINCT ?p WHERE { resource:Q1998107 property:P26 ?p . ?p rdf:type ontology:Q502895 }
John II, Count of Egmond
The spouse of that one is King John II, Count of Egmond
John II, Count of Egmond
action filter_type
action find
entity Maria van Arkel
relation spouse
type common name
SELECT DISTINCT ?p WHERE { resource:Maria_van_Arkel property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1228695
P22
Q502895
USER
Who was the dad of that one ?
(Q1228695,P22,c(Q502895))
action filter_type
action find
entity Q1228695
relation P22
type Q502895
['Q1228695', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1228695 property:P22 ?f . ?f rdf:type ontology:Q502895 }
John II, Count of Egmond
action filter_type
action find
entity John II, Count of Egmond
relation father
type common name
['John II, Count of Egmond', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:John_II,_Count_of_Egmond property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q1920891
SYSTEM
Arnold I, Lord of Egmond
Q1920891
(Q1228695,P22,c(Q502895))
action filter_type
action find
entity Q1228695
relation P22
type Q502895
The dad of that one was Henry [ANSWER]
['Q1228695', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1228695 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Arnold I, Lord of Egmond
The dad of that one was Henry Arnold I, Lord of Egmond
Arnold I, Lord of Egmond
action filter_type
action find
entity John II, Count of Egmond
relation father
type common name
['John II, Count of Egmond', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:John_II,_Count_of_Egmond property:father ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1228695
P20
Q56061
USER
Where did the demise of John II, Count of Egmond occur ?
(Q1228695,P20,c(Q56061))
action filter_type
action find
entity Q1228695
relation P20
type Q56061
['Q1228695', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1228695 property:P20 ?h . ?h rdf:type ontology:Q56061 }
John II, Count of Egmond
action filter_type
action find
entity John II, Count of Egmond
relation place of death
type administrative territorial entity
['John II, Count of Egmond', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:John_II,_Count_of_Egmond property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2594161
SYSTEM
Egmond-Binnen
Q2594161
(Q1228695,P20,c(Q56061))
action filter_type
action find
entity Q1228695
relation P20
type Q56061
The demise of John II , Count of Egmond occurred of [ANSWER]
['Q1228695', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1228695 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Egmond-Binnen
The demise of John II , Count of Egmond occurred of Egmond-Binnen
Egmond-Binnen
action filter_type
action find
entity John II, Count of Egmond
relation place of death
type administrative territorial entity
['John II, Count of Egmond', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:John_II,_Count_of_Egmond property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3119783
Q56061
USER
And how about Guillaume Daubenton?
(Q3119783,P20,c(Q56061))
action filter_type
action find
entity Q3119783
relation P20
type Q56061
['Q3119783', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3119783 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Guillaume Daubenton
action filter_type
action find
entity Guillaume Daubenton
relation place of death
type administrative territorial entity
['Guillaume Daubenton', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Guillaume_Daubenton property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q3119783,P20,c(Q56061))
action filter_type
action find
entity Q3119783
relation P20
type Q56061
[ANSWER]
['Q3119783', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3119783 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Madrid
Madrid
action filter_type
action find
entity Guillaume Daubenton
relation place of death
type administrative territorial entity
['Guillaume Daubenton', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Guillaume_Daubenton property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]