Simple Question (Direct)
Simple Question
Q4551264
P22
Q502895
USER
Which male person has a child named Hendrik V van Montfoort ?
(Q4551264,P22,c(Q502895))
action filter_type
action find
entity Q4551264
relation P22
type Q502895
['Q4551264', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q4551264 property:P22 ?v . ?v rdf:type ontology:Q502895 }
Hendrik V van Montfoort
action filter_type
action find
entity Hendrik V van Montfoort
relation father
type common name
['Hendrik V van Montfoort', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Hendrik_V_van_Montfoort property:father ?v . ?v rdf:type ontology:common_name }
[]
common name
Q1692011
SYSTEM
Jan III van Montfoort
Q1692011
(Q4551264,P22,c(Q502895))
action filter_type
action find
entity Q4551264
relation P22
type Q502895
[ANSWER] has a child named Hendrik V van Montfoort
['Q4551264', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q4551264 property:P22 ?v . ?v rdf:type ontology:Q502895 }
Jan III van Montfoort
Jan III van Montfoort has a child named Hendrik V van Montfoort
Jan III van Montfoort
action filter_type
action find
entity Hendrik V van Montfoort
relation father
type common name
['Hendrik V van Montfoort', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Hendrik_V_van_Montfoort property:father ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1692011
P26
Q502895
USER
Who are the spouses of that one ?
(Q1692011,P26,c(Q502895))
action filter_type
action find
entity Q1692011
relation P26
type Q502895
['Q1692011', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q1692011 property:P26 ?p }
Jan III van Montfoort
action filter_type
action find
entity Jan III van Montfoort
relation spouse
type common name
['Jan III van Montfoort', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Jan_III_van_Montfoort property:spouse ?p }
[]
common name
Q19335945 Q19335975
SYSTEM
Wilhelmina van Naaldwijk, Charlotte van Brederode
Q19335945 Q19335975
(Q1692011,P26,c(Q502895))
action filter_type
action find
entity Q1692011
relation P26
type Q502895
The spouses of that one are Princess [ANSWERS]
['Q1692011', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q1692011 property:P26 ?p }
Wilhelmina van Naaldwijk Charlotte van Brederode
The spouses of that one are Princess Wilhelmina van Naaldwijk and Charlotte van Brederode
Wilhelmina van Naaldwijk Charlotte van Brederode
action filter_type
action find
entity Jan III van Montfoort
relation spouse
type common name
['Jan III van Montfoort', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Jan_III_van_Montfoort property:spouse ?p }
[]
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 approximately 398 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 398
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?p = 398 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 398
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?p = 398 ) }
[]
musical instrument common name
SYSTEM
62
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 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 398
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?p = 398 ) }
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 morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 398
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?p = 398 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1692011
P40
Q502895
USER
Who has Jan III van Montfoort as a child ?
(c(Q502895),P40,Q1692011)
action filter_type
action find_reverse
entity Q1692011
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1692011']
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q1692011 . ?z rdf:type ontology:Q502895 }
Jan III van Montfoort
action filter_type
action find_reverse
entity Jan III van Montfoort
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jan III van Montfoort']
SELECT DISTINCT ?z WHERE { ?z property:child resource:Jan_III_van_Montfoort . ?z rdf:type ontology:common_name }
[]
common name
Q1605054
SYSTEM
Hendrik IV van Montfoort
Q1605054
(c(Q502895),P40,Q1692011)
action filter_type
action find_reverse
entity Q1692011
relation P40
type Q502895
[ANSWER] has Jan III van Montfoort as a child
[{'concept': 'Q502895'}, 'P40', 'Q1692011']
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q1692011 . ?z rdf:type ontology:Q502895 }
Hendrik IV van Montfoort
Hendrik IV van Montfoort has Jan III van Montfoort as a child
Hendrik IV van Montfoort
action filter_type
action find_reverse
entity Jan III van Montfoort
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jan III van Montfoort']
SELECT DISTINCT ?z WHERE { ?z property:child resource:Jan_III_van_Montfoort . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19335975
P9
Q502895
USER
Who is the sibling of Charlotte van Brederode ?
(Q19335975,P9,c(Q502895))
action filter_type
action find
entity Q19335975
relation P9
type Q502895
['Q19335975', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q19335975 property:P9 ?j . ?j rdf:type ontology:Q502895 }
Charlotte van Brederode
action filter_type
action find
entity Charlotte van Brederode
relation sister
type common name
['Charlotte van Brederode', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Charlotte_van_Brederode property:sister ?j . ?j rdf:type ontology:common_name }
[]
common name
Q19546302
SYSTEM
Françoise van Brederode
Q19546302
(Q19335975,P9,c(Q502895))
action filter_type
action find
entity Q19335975
relation P9
type Q502895
The sibling of Charlotte van Brederode is later [ANSWER]
['Q19335975', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q19335975 property:P9 ?j . ?j rdf:type ontology:Q502895 }
Françoise van Brederode
The sibling of Charlotte van Brederode is later Françoise van Brederode
Françoise van Brederode
action filter_type
action find
entity Charlotte van Brederode
relation sister
type common name
['Charlotte van Brederode', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Charlotte_van_Brederode property:sister ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12411093
Q502895
USER
And how about Umm Ishaq bint Talhah?
(Q12411093,P9,c(Q502895))
action filter_type
action find
entity Q12411093
relation P9
type Q502895
['Q12411093', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q12411093 property:P9 ?s . ?s rdf:type ontology:Q502895 }
Umm Ishaq bint Talhah
action filter_type
action find
entity Umm Ishaq bint Talhah
relation sister
type common name
['Umm Ishaq bint Talhah', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Umm_Ishaq_bint_Talhah property:sister ?s . ?s rdf:type ontology:common_name }
[]
common name
Q4646815
SYSTEM
A'isha bint Talhah
Q4646815
(Q12411093,P9,c(Q502895))
action filter_type
action find
entity Q12411093
relation P9
type Q502895
[ANSWER]
['Q12411093', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q12411093 property:P9 ?s . ?s rdf:type ontology:Q502895 }
A'isha bint Talhah
A'isha bint Talhah
action filter_type
action find
entity Umm Ishaq bint Talhah
relation sister
type common name
['Umm Ishaq bint Talhah', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Umm_Ishaq_bint_Talhah property:sister ?s . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1692011
P21 P22
Q502895
USER
Which people have Jan III van Montfoort as a parent and are a male ?
AND((c(Q502895),P22,Q1692011), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1692011
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q1692011'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P22 resource:Q1692011 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
male Jan III van Montfoort
action filter_type
action intersection
action find_reverse
entity Jan III van Montfoort
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Jan III van Montfoort'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:father resource:Jan_III_van_Montfoort . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]
common name
Q2022918 Q4551264 Q19335989
SYSTEM
Joost van Montfoort, Hendrik V van Montfoort, Zweder van Montfoort
Q2022918 Q4551264 Q19335989
AND((c(Q502895),P22,Q1692011), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1692011
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Jan III van Montfoort as a parent and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q1692011'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P22 resource:Q1692011 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
Joost van Montfoort Hendrik V van Montfoort Zweder van Montfoort
Joost van Montfoort, Hendrik V van Montfoort and Zweder van Montfoort have Jan III van Montfoort as a parent and are a male
Joost van Montfoort Hendrik V van Montfoort Zweder van Montfoort
action filter_type
action intersection
action find_reverse
entity Jan III van Montfoort
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Jan III van Montfoort'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:father resource:Jan_III_van_Montfoort . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19335989
P7
Q502895
USER
Who are siblings of that one ?
(c(Q502895),P7,Q19335989)
action filter_type
action find_reverse
entity Q19335989
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q19335989']
SELECT DISTINCT ?i WHERE { ?i property:P7 resource:Q19335989 . ?i rdf:type ontology:Q502895 }
Zweder van Montfoort
action filter_type
action find_reverse
entity Zweder van Montfoort
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Zweder van Montfoort']
SELECT DISTINCT ?i WHERE { ?i property:brother resource:Zweder_van_Montfoort . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4551264
SYSTEM
Did you mean Hendrik V van Montfoort ?
Q2022918 Q4551264 Q19335989
(c(Q502895),P7,Q2022918) (c(Q502895),P7,Q4551264) (c(Q502895),P7,Q19335989)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q2022918'] [{'concept': 'Q502895'}, 'P7', 'Q4551264'] [{'concept': 'Q502895'}, 'P7', 'Q19335989']
SELECT DISTINCT ?i WHERE { ?i property:P7 resource:Q19335989 . ?i rdf:type ontology:Q502895 }
Joost van Montfoort Hendrik V van Montfoort Zweder van Montfoort
Did you mean Hendrik V van Montfoort ?
Hendrik V van Montfoort
[{'concept': 'common name'}, 'brother', 'Joost van Montfoort'] [{'concept': 'common name'}, 'brother', 'Hendrik V van Montfoort'] [{'concept': 'common name'}, 'brother', 'Zweder van Montfoort']
SELECT DISTINCT ?i WHERE { ?i property:brother resource:Zweder_van_Montfoort . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Zweder van Montfoort. Could you tell me the answer for that?
(c(Q502895),P7,Q19335989)
Q19335989
[{'concept': 'Q502895'}, 'P7', 'Q19335989']
[{'concept': 'common name'}, 'brother', 'Zweder van Montfoort']
[]
Q19336006 Q2022918 Q4551264
SYSTEM
Barbara van Montfoort, Joost van Montfoort, Hendrik V van Montfoort
Q19336006 Q2022918 Q19335997 Q4551264
(c(Q502895),P7,Q19335989)
action filter_type
action find_reverse
entity Q19335989
relation P7
type Q502895
Siblings of that one are the [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q19335989']
SELECT DISTINCT ?i WHERE { ?i property:P7 resource:Q19335989 . ?i rdf:type ontology:Q502895 }
Barbara van Montfoort Joost van Montfoort Machteld van Montfoort Hendrik V van Montfoort
Siblings of that one are the Barbara van Montfoort, Joost van Montfoort and Hendrik V van Montfoort
Barbara van Montfoort Joost van Montfoort Hendrik V van Montfoort
action filter_type
action find_reverse
entity Zweder van Montfoort
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Zweder van Montfoort']
SELECT DISTINCT ?i WHERE { ?i property:brother resource:Zweder_van_Montfoort . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17627024
P40
Q502895
USER
Do Edward Renz have those ones as an offspring ?
(Q17627024,P40,Q19336006) (Q17627024,P40,Q2022918) (Q17627024,P40,Q4551264)
action is_in
entity prev_answer
action find
entity Q17627024
relation P40
['Q17627024', 'P40', 'Q19336006'] ['Q17627024', 'P40', 'Q2022918'] ['Q17627024', 'P40', 'Q4551264']
ASK WHERE { VALUES ( ?a ) { ( resource:Q19336006 ) ( resource:Q2022918 ) ( resource:Q19335997 ) } . resource:Q17627024 property:P40 ?a }
Edward Renz
action is_in
entity prev_answer
action find
entity Edward Renz
relation child
['Edward Renz', 'child', 'Barbara van Montfoort'] ['Edward Renz', 'child', 'Joost van Montfoort'] ['Edward Renz', 'child', 'Hendrik V van Montfoort']
ASK WHERE { VALUES ( ?a ) { ( resource:Barbara_van_Montfoort ) ( resource:Joost_van_Montfoort ) ( resource:Machteld_van_Montfoort ) } . resource:Edward_Renz property:child ?a }
[]
common name
SYSTEM
NO
(Q17627024,P40,Q19336006) (Q17627024,P40,Q2022918) (Q17627024,P40,Q4551264)
action is_in
entity prev_answer
action find
entity Q17627024
relation P40
[ANSWER]
['Q17627024', 'P40', 'Q19336006'] ['Q17627024', 'P40', 'Q2022918'] ['Q17627024', 'P40', 'Q4551264']
ASK WHERE { VALUES ( ?a ) { ( resource:Q19336006 ) ( resource:Q2022918 ) ( resource:Q19335997 ) } . resource:Q17627024 property:P40 ?a }
No
action is_in
entity prev_answer
action find
entity Edward Renz
relation child
['Edward Renz', 'child', 'Barbara van Montfoort'] ['Edward Renz', 'child', 'Joost van Montfoort'] ['Edward Renz', 'child', 'Hendrik V van Montfoort']
ASK WHERE { VALUES ( ?a ) { ( resource:Barbara_van_Montfoort ) ( resource:Joost_van_Montfoort ) ( resource:Machteld_van_Montfoort ) } . resource:Edward_Renz property:child ?a }
[]
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 8556 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 8556
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { FILTER ( ?z <= 8556 ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?j } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 8556
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { FILTER ( ?z <= 8556 ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?j } }
[]
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 8556
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { FILTER ( ?z <= 8556 ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?j } }
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 8556
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { FILTER ( ?z <= 8556 ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q19335989
P21 P40
Q502895
USER
Which people have Zweder van Montfoort as a child and have the gender as male ?
AND((c(Q502895),P40,Q19335989), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19335989
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q19335989'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q19335989 . ?r property:P21 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
male Zweder van Montfoort
action filter_type
action intersection
action find_reverse
entity Zweder van Montfoort
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Zweder van Montfoort'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?r WHERE { ?r property:child resource:Zweder_van_Montfoort . ?r property:gender resource:male . ?r rdf:type ontology:common_name }
[]
common name
Q1692011
SYSTEM
Jan III van Montfoort
Q1692011
AND((c(Q502895),P40,Q19335989), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19335989
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Zweder van Montfoort as a child and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q19335989'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q19335989 . ?r property:P21 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
Jan III van Montfoort
Jan III van Montfoort have Zweder van Montfoort as a child and have the gender as male
Jan III van Montfoort
action filter_type
action intersection
action find_reverse
entity Zweder van Montfoort
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Zweder van Montfoort'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?r WHERE { ?r property:child resource:Zweder_van_Montfoort . ?r property:gender resource:male . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1692011 Q10048
P19
Q13220204
USER
Was Montfoort that person born ?
(Q1692011,P19,Q10048)
action is_in
entity Q10048
action find
entity Q1692011
relation P19
['Q1692011', 'P19', 'Q10048']
ASK WHERE { resource:Q1692011 property:P19 resource:Q10048 }
Jan III van Montfoort Montfoort
action is_in
entity Montfoort
action find
entity Jan III van Montfoort
relation place of birth
['Jan III van Montfoort', 'place of birth', 'Montfoort']
ASK WHERE { resource:Jan_III_van_Montfoort property:place_of_birth resource:Montfoort }
[]
second-level administrative country subdivision
SYSTEM
YES
(Q1692011,P19,Q10048)
action is_in
entity Q10048
action find
entity Q1692011
relation P19
[ANSWER]
['Q1692011', 'P19', 'Q10048']
ASK WHERE { resource:Q1692011 property:P19 resource:Q10048 }
Yes
action is_in
entity Montfoort
action find
entity Jan III van Montfoort
relation place of birth
['Jan III van Montfoort', 'place of birth', 'Montfoort']
ASK WHERE { resource:Jan_III_van_Montfoort property:place_of_birth resource:Montfoort }
[]