Simple Question (Direct)
Simple Question
Q7398854
P140
Q874405
USER
Which social group does Safwan ibn Umayya correspond to ?
(Q7398854,P140,c(Q874405))
action filter_type
action find
entity Q7398854
relation P140
type Q874405
['Q7398854', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { resource:Q7398854 property:P140 ?e . ?e rdf:type ontology:Q874405 }
Safwan ibn Umayya
action filter_type
action find
entity Safwan ibn Umayya
relation religion
type social group
['Safwan ibn Umayya', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { resource:Safwan_ibn_Umayya property:religion ?e . ?e rdf:type ontology:social_group }
[]
social group
Q432
SYSTEM
Islam
Q432
(Q7398854,P140,c(Q874405))
action filter_type
action find
entity Q7398854
relation P140
type Q874405
Safwan ibn Umayya corresponds al [ANSWER]
['Q7398854', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { resource:Q7398854 property:P140 ?e . ?e rdf:type ontology:Q874405 }
Islam
Safwan ibn Umayya corresponds al Islam
Islam
action filter_type
action find
entity Safwan ibn Umayya
relation religion
type social group
['Safwan ibn Umayya', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { resource:Safwan_ibn_Umayya property:religion ?e . ?e rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7398854
P7
Q502895
USER
Who is the brother of that one ?
(Q432,P7,c(Q502895))
action filter_type
action find
entity Q7398854
relation P7
type Q502895
['Q432', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q7398854 property:P7 ?k . ?k rdf:type ontology:Q502895 }
Safwan ibn Umayya
action filter_type
action find
entity Safwan ibn Umayya
relation brother
type common name
['Islam', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Safwan_ibn_Umayya property:brother ?k . ?k rdf:type ontology:common_name }
[]
common name
Q1108555
SYSTEM
Rab'ah ibn Umayah
Q1108555
(Q432,P7,c(Q502895))
action filter_type
action find
entity Q7398854
relation P7
type Q502895
The brother of that one is Abu [ANSWER]
['Q432', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q7398854 property:P7 ?k . ?k rdf:type ontology:Q502895 }
Rab'ah ibn Umayah
The brother of that one is Abu Rab'ah ibn Umayah
Rab'ah ibn Umayah
action filter_type
action find
entity Safwan ibn Umayya
relation brother
type common name
['Islam', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Safwan_ibn_Umayya property:brother ?k . ?k rdf:type ontology:common_name }
[]
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 approximately 689 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 689
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { FILTER ( ?a = 689 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?a ) WHERE { ?k rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?k } GROUP BY ?k } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 689
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { FILTER ( ?a = 689 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?a ) WHERE { ?k rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?k } GROUP BY ?k } }
[]
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 689
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { FILTER ( ?a = 689 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?a ) WHERE { ?k rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?k } GROUP BY ?k } }
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 689
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { FILTER ( ?a = 689 ) . { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?a ) WHERE { ?k rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?k } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7398854
P26
Q502895
USER
Who is the spouse of Safwan ibn Umayya ?
(Q7398854,P26,c(Q502895))
action filter_type
action find
entity Q7398854
relation P26
type Q502895
['Q7398854', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q7398854 property:P26 ?g }
Safwan ibn Umayya
action filter_type
action find
entity Safwan ibn Umayya
relation spouse
type common name
['Safwan ibn Umayya', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Safwan_ibn_Umayya property:spouse ?g }
[]
common name
Q6960007
SYSTEM
Najiyah bint al-Walid
Q6960007
(Q7398854,P26,c(Q502895))
action filter_type
action find
entity Q7398854
relation P26
type Q502895
The spouse of Safwan ibn Umayya is named [ANSWER]
['Q7398854', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q7398854 property:P26 ?g }
Najiyah bint al-Walid
The spouse of Safwan ibn Umayya is named Najiyah bint al-Walid
Najiyah bint al-Walid
action filter_type
action find
entity Safwan ibn Umayya
relation spouse
type common name
['Safwan ibn Umayya', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Safwan_ibn_Umayya property:spouse ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6960007
P9
Q502895
USER
Who had that one as their sibling ?
(c(Q502895),P9,Q6960007)
action filter_type
action find_reverse
entity Q6960007
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q6960007']
SELECT DISTINCT ?c WHERE { ?c property:P9 resource:Q6960007 . ?c rdf:type ontology:Q502895 }
Najiyah bint al-Walid
action filter_type
action find_reverse
entity Najiyah bint al-Walid
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Najiyah bint al-Walid']
SELECT DISTINCT ?c WHERE { ?c property:sister resource:Najiyah_bint_al-Walid . ?c rdf:type ontology:common_name }
[]
common name
Q13224999 Q12712981 Q26918
SYSTEM
Walid ibn Walid, Ammarah ibn Walid, Khalid ibn al-Walid
Q13224999 Q12712981 Q26918
(c(Q502895),P9,Q6960007)
action filter_type
action find_reverse
entity Q6960007
relation P9
type Q502895
[ANSWERS] had that one as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q6960007']
SELECT DISTINCT ?c WHERE { ?c property:P9 resource:Q6960007 . ?c rdf:type ontology:Q502895 }
Walid ibn Walid Ammarah ibn Walid Khalid ibn al-Walid
Walid ibn Walid, Ammarah ibn Walid and Khalid ibn al-Walid had that one as their sibling
Walid ibn Walid Ammarah ibn Walid Khalid ibn al-Walid
action filter_type
action find_reverse
entity Najiyah bint al-Walid
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Najiyah bint al-Walid']
SELECT DISTINCT ?c WHERE { ?c property:sister resource:Najiyah_bint_al-Walid . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q13224999 Q12712981 Q26918
P21
Q290
USER
Which sexes do those people belong to ?
(Q13224999,P21,c(Q290)) (Q12712981,P21,c(Q290)) (Q26918,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q13224999', 'P21', {'concept': 'Q290'}] ['Q12712981', 'P21', {'concept': 'Q290'}] ['Q26918', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?z property:P21 ?a . ?a rdf:type ontology:Q290 . VALUES ( ?z ) { ( resource:Q13224999 ) ( resource:Q12712981 ) ( resource:Q26918 ) } }
Walid ibn Walid Ammarah ibn Walid Khalid ibn al-Walid
action filter_type
action find
entity prev_answer
relation gender
type sex
['Walid ibn Walid', 'gender', {'concept': 'sex'}] ['Ammarah ibn Walid', 'gender', {'concept': 'sex'}] ['Khalid ibn al-Walid', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?z property:gender ?a . ?a rdf:type ontology:sex . VALUES ( ?z ) { ( resource:Walid_ibn_Walid ) ( resource:Ammarah_ibn_Walid ) ( resource:Khalid_ibn_al-Walid ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q13224999,P21,c(Q290)) (Q12712981,P21,c(Q290)) (Q26918,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q13224999', 'P21', {'concept': 'Q290'}] ['Q12712981', 'P21', {'concept': 'Q290'}] ['Q26918', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?z property:P21 ?a . ?a rdf:type ontology:Q290 . VALUES ( ?z ) { ( resource:Q13224999 ) ( resource:Q12712981 ) ( resource:Q26918 ) } }
male male male
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Walid ibn Walid', 'gender', {'concept': 'sex'}] ['Ammarah ibn Walid', 'gender', {'concept': 'sex'}] ['Khalid ibn al-Walid', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?z property:gender ?a . ?a rdf:type ontology:sex . VALUES ( ?z ) { ( resource:Walid_ibn_Walid ) ( resource:Ammarah_ibn_Walid ) ( resource:Khalid_ibn_al-Walid ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6960007
P40
Q502895
USER
Who has Najiyah bint al-Walid as a child ?
(c(Q502895),P40,Q6960007)
action filter_type
action find_reverse
entity Q6960007
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6960007']
SELECT DISTINCT ?p WHERE { ?p property:P40 resource:Q6960007 . ?p rdf:type ontology:Q502895 }
Najiyah bint al-Walid
action filter_type
action find_reverse
entity Najiyah bint al-Walid
relation child
type common name
[{'concept': 'common name'}, 'child', 'Najiyah bint al-Walid']
SELECT DISTINCT ?p WHERE { ?p property:child resource:Najiyah_bint_al-Walid . ?p rdf:type ontology:common_name }
[]
common name
Q2415791
SYSTEM
Walid ibn al-Mughira
Q2415791
(c(Q502895),P40,Q6960007)
action filter_type
action find_reverse
entity Q6960007
relation P40
type Q502895
[ANSWER] has Najiyah bint al-Walid as a child
[{'concept': 'Q502895'}, 'P40', 'Q6960007']
SELECT DISTINCT ?p WHERE { ?p property:P40 resource:Q6960007 . ?p rdf:type ontology:Q502895 }
Walid ibn al-Mughira
Walid ibn al-Mughira has Najiyah bint al-Walid as a child
Walid ibn al-Mughira
action filter_type
action find_reverse
entity Najiyah bint al-Walid
relation child
type common name
[{'concept': 'common name'}, 'child', 'Najiyah bint al-Walid']
SELECT DISTINCT ?p WHERE { ?p property:child resource:Najiyah_bint_al-Walid . ?p rdf:type ontology:common_name }
[]