Simple Question (Direct)
Simple Question
Q681465
P106
Q12737077
USER
What are the professions of Johann Aegidius Bach ?
(Q681465,P106,c(Q12737077))
action filter_type
action find
entity Q681465
relation P106
type Q12737077
['Q681465', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q681465 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Johann Aegidius Bach
action filter_type
action find
entity Johann Aegidius Bach
relation occupation
type occupation
['Johann Aegidius Bach', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Johann_Aegidius_Bach property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q36834 Q639669 Q19760296
SYSTEM
composer, musician, viol player
Q639669 Q19760296 Q899758 Q36834 Q177220
(Q681465,P106,c(Q12737077))
action filter_type
action find
entity Q681465
relation P106
type Q12737077
The professions of Johann Aegidius Bach are the [ANSWERS]
['Q681465', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q681465 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
musician viol player violist composer singer
The professions of Johann Aegidius Bach are the composer, musician and viol player
composer musician viol player
action filter_type
action find
entity Johann Aegidius Bach
relation occupation
type occupation
['Johann Aegidius Bach', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Johann_Aegidius_Bach property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q681465
P734
Q82799
USER
Who is associated with Johann Aegidius Bach ?
(Q681465,P734,c(Q82799))
action filter_type
action find
entity Q681465
relation P734
type Q82799
['Q681465', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q681465 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Johann Aegidius Bach
action filter_type
action find
entity Johann Aegidius Bach
relation family name
type name
['Johann Aegidius Bach', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Johann_Aegidius_Bach property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Q1409748
SYSTEM
Bach
Q1409748
(Q681465,P734,c(Q82799))
action filter_type
action find
entity Q681465
relation P734
type Q82799
[ANSWER] is associated with Johann Aegidius [ANSWER]
['Q681465', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q681465 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Bach
Bach is associated with Johann Aegidius Bach
Bach
action filter_type
action find
entity Johann Aegidius Bach
relation family name
type name
['Johann Aegidius Bach', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Johann_Aegidius_Bach property:family_name ?d . ?d rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q681465
P21 P22
Q502895
USER
Which people are the offspring of Johann Aegidius Bach and have male as the sex ?
AND((c(Q502895),P22,Q681465), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q681465
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q681465'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P22 resource:Q681465 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
male Johann Aegidius Bach
action filter_type
action intersection
action find_reverse
entity Johann Aegidius Bach
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Johann Aegidius Bach'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:father resource:Johann_Aegidius_Bach . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
common name
Q696000
SYSTEM
Johann Bernhard Bach the elder
Q696000
AND((c(Q502895),P22,Q681465), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q681465
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is the offspring of Johann Aegidius Bach and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q681465'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P22 resource:Q681465 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
Johann Bernhard Bach the elder
Johann Bernhard Bach the elder is the offspring of Johann Aegidius Bach and have male as the sex
Johann Bernhard Bach the elder
action filter_type
action intersection
action find_reverse
entity Johann Aegidius Bach
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Johann Aegidius Bach'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:father resource:Johann_Aegidius_Bach . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q681465
P40
Q502895
USER
Which person has Johann Aegidius Bach as an offspring ?
(c(Q502895),P40,Q681465)
action filter_type
action find_reverse
entity Q681465
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q681465']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q681465 . ?w rdf:type ontology:Q502895 }
Johann Aegidius Bach
action filter_type
action find_reverse
entity Johann Aegidius Bach
relation child
type common name
[{'concept': 'common name'}, 'child', 'Johann Aegidius Bach']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Johann_Aegidius_Bach . ?w rdf:type ontology:common_name }
[]
common name
Q252919
SYSTEM
Johannes Bach
Q252919
(c(Q502895),P40,Q681465)
action filter_type
action find_reverse
entity Q681465
relation P40
type Q502895
[ANSWER] has Johann Aegidius Bach as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q681465']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q681465 . ?w rdf:type ontology:Q502895 }
Johannes Bach
Johannes Bach has Johann Aegidius Bach as an offspring
Johannes Bach
action filter_type
action find_reverse
entity Johann Aegidius Bach
relation child
type common name
[{'concept': 'common name'}, 'child', 'Johann Aegidius Bach']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Johann_Aegidius_Bach . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q252919
P53
Q874405
USER
What dynasty does that person belong to ?
(Q252919,P53,c(Q874405))
action filter_type
action find
entity Q252919
relation P53
type Q874405
['Q252919', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q252919 property:P53 ?g . ?g rdf:type ontology:Q874405 }
Johannes Bach
action filter_type
action find
entity Johannes Bach
relation noble family
type social group
['Johannes Bach', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { resource:Johannes_Bach property:noble_family ?g . ?g rdf:type ontology:social_group }
[]
social group
Q169509
SYSTEM
Bach family
Q169509
(Q252919,P53,c(Q874405))
action filter_type
action find
entity Q252919
relation P53
type Q874405
That person belongs to [ANSWER]
['Q252919', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q252919 property:P53 ?g . ?g rdf:type ontology:Q874405 }
Bach family
That person belongs to Bach family
Bach family
action filter_type
action find
entity Johannes Bach
relation noble family
type social group
['Johannes Bach', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { resource:Johannes_Bach property:noble_family ?g . ?g rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3743378
Q874405
USER
And also tell me about Lady Amelia Windsor?
(Q3743378,P53,c(Q874405))
action filter_type
action find
entity Q3743378
relation P53
type Q874405
['Q3743378', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q3743378 property:P53 ?j . ?j rdf:type ontology:Q874405 }
Lady Amelia Windsor
action filter_type
action find
entity Lady Amelia Windsor
relation noble family
type social group
['Lady Amelia Windsor', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:Lady_Amelia_Windsor property:noble_family ?j . ?j rdf:type ontology:social_group }
[]
social group
Q81589
SYSTEM
House of Windsor
Q81589
(Q3743378,P53,c(Q874405))
action filter_type
action find
entity Q3743378
relation P53
type Q874405
[ANSWER]
['Q3743378', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q3743378 property:P53 ?j . ?j rdf:type ontology:Q874405 }
House of Windsor
House of Windsor
action filter_type
action find
entity Lady Amelia Windsor
relation noble family
type social group
['Lady Amelia Windsor', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:Lady_Amelia_Windsor property:noble_family ?j . ?j rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q1048835
USER
How many political territories are that social group situated in ?
(Q81589,P17,c(Q1048835))
action count
action filter_type
action find
entity Q81589
relation P17
type Q1048835
['Q81589', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q81589 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
action count
action filter_type
action find
entity House of Windsor
relation country
type political territorial entity
['House of Windsor', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:House_of_Windsor property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q781
(Q81589,P17,c(Q1048835))
action count
action filter_type
action find
entity Q81589
relation P17
type Q1048835
[ANSWER]
['Q81589', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q81589 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Antigua and Barbuda
1
action count
action filter_type
action find
entity House of Windsor
relation country
type political territorial entity
['House of Windsor', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:House_of_Windsor property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q681465
P21 P22
Q502895
USER
Which people are the offspring of Johann Aegidius Bach and have the gender as male ?
AND((c(Q502895),P22,Q681465), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q681465
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q681465'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P22 resource:Q681465 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male Johann Aegidius Bach
action filter_type
action intersection
action find_reverse
entity Johann Aegidius Bach
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Johann Aegidius Bach'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:father resource:Johann_Aegidius_Bach . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q696000
SYSTEM
Johann Bernhard Bach the elder
Q696000
AND((c(Q502895),P22,Q681465), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q681465
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is the offspring of Johann Aegidius Bach and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q681465'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P22 resource:Q681465 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
Johann Bernhard Bach the elder
Johann Bernhard Bach the elder is the offspring of Johann Aegidius Bach and have the gender as male
Johann Bernhard Bach the elder
action filter_type
action intersection
action find_reverse
entity Johann Aegidius Bach
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Johann Aegidius Bach'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:father resource:Johann_Aegidius_Bach . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q11060274 Q838948
USER
How many names are expressed in around 9 prints and works of art ?
(c(Q11060274)|c(Q838948),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 9
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?z ) WHERE { { ?c rdf:type ontology:Q82799 . ?a rdf:type ontology:Q11060274 . ?a property:P180 ?c } UNION { ?a property:P180 ?c . ?c rdf:type ontology:Q82799 . ?a rdf:type ontology:Q838948 } } GROUP BY ?c } . FILTER ( ?z = 9 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 9
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?z ) WHERE { { ?c rdf:type ontology:name . ?a rdf:type ontology:print . ?a property:depicts ?c } UNION { ?a property:depicts ?c . ?c rdf:type ontology:name . ?a rdf:type ontology:work_of_art } } GROUP BY ?c } . FILTER ( ?z = 9 ) }
[]
name print work of art
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q11060274)|c(Q838948),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 9
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?z ) WHERE { { ?c rdf:type ontology:Q82799 . ?a rdf:type ontology:Q11060274 . ?a property:P180 ?c } UNION { ?a property:P180 ?c . ?c rdf:type ontology:Q82799 . ?a rdf:type ontology:Q838948 } } GROUP BY ?c } . FILTER ( ?z = 9 ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 9
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?z ) WHERE { { ?c rdf:type ontology:name . ?a rdf:type ontology:print . ?a property:depicts ?c } UNION { ?a property:depicts ?c . ?c rdf:type ontology:name . ?a rdf:type ontology:work_of_art } } GROUP BY ?c } . FILTER ( ?z = 9 ) }
[]