Simple Question (Direct)
Simple Question
Q5478745
P69
Q163740
USER
Which nonprofit organizations were Frances Jalet-Cruz educated at ?
(Q5478745,P69,c(Q163740))
action filter_type
action find
entity Q5478745
relation P69
type Q163740
['Q5478745', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { resource:Q5478745 property:P69 ?z . ?z rdf:type ontology:Q163740 }
Frances Jalet-Cruz
action filter_type
action find
entity Frances Jalet-Cruz
relation educated at
type nonprofit organization
['Frances Jalet-Cruz', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { resource:Frances_Jalet-Cruz property:educated_at ?z . ?z rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371 Q333886
SYSTEM
Harvard University, Georgetown University
Q13371 Q333886
(Q5478745,P69,c(Q163740))
action filter_type
action find
entity Q5478745
relation P69
type Q163740
Frances Jalet-Cruz were educated at [ANSWERS]
['Q5478745', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { resource:Q5478745 property:P69 ?z . ?z rdf:type ontology:Q163740 }
Harvard University Georgetown University
Frances Jalet-Cruz were educated at Harvard University and Georgetown University
Harvard University Georgetown University
action filter_type
action find
entity Frances Jalet-Cruz
relation educated at
type nonprofit organization
['Frances Jalet-Cruz', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { resource:Frances_Jalet-Cruz property:educated_at ?z . ?z rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5478745
P27
Q15617994
USER
Which administrative territory does Frances Jalet-Cruz belong to ?
(Q5478745,P27,c(Q15617994))
action filter_type
action find
entity Q5478745
relation P27
type Q15617994
['Q5478745', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5478745 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Frances Jalet-Cruz
action filter_type
action find
entity Frances Jalet-Cruz
relation country of citizenship
type designation for an administrative territorial entity
['Frances Jalet-Cruz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Frances_Jalet-Cruz property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5478745,P27,c(Q15617994))
action filter_type
action find
entity Q5478745
relation P27
type Q15617994
Frances Jalet-Cruz belongs to [ANSWER]
['Q5478745', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5478745 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
Frances Jalet-Cruz belongs to United States of America
United States of America
action filter_type
action find
entity Frances Jalet-Cruz
relation country of citizenship
type designation for an administrative territorial entity
['Frances Jalet-Cruz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Frances_Jalet-Cruz property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5478745
P21
Q290
USER
Which sex does that person possess ?
(Q30,P21,c(Q290))
action filter_type
action find
entity Q5478745
relation P21
type Q290
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q5478745 property:P21 ?c . ?c rdf:type ontology:Q290 }
Frances Jalet-Cruz
action filter_type
action find
entity Frances Jalet-Cruz
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Frances_Jalet-Cruz property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q30,P21,c(Q290))
action filter_type
action find
entity Q5478745
relation P21
type Q290
That person possesses the [ANSWER]
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q5478745 property:P21 ?c . ?c rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Frances Jalet-Cruz
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Frances_Jalet-Cruz property:gender ?c . ?c rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P21
Q28640 Q4830453
USER
How many professions and business enterprises are a that sex ?
(c(Q28640),P21,Q6581072) (c(Q4830453),P21,Q6581072) (c(Q28640),P21,Q6581072) (c(Q4830453),P21,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q28640
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q4830453
[{'concept': 'Q28640'}, 'P21', 'Q6581072'] [{'concept': 'Q4830453'}, 'P21', 'Q6581072'] [{'concept': 'Q28640'}, 'P21', 'Q6581072'] [{'concept': 'Q4830453'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:P21 resource:Q6581072 . ?d rdf:type ontology:Q28640 } UNION { ?d property:P21 resource:Q6581072 . ?d rdf:type ontology:Q4830453 } }
action count
action union
action filter_type
action find_reverse
entity female
relation gender
type profession
action filter_type
action find_reverse
entity female
relation gender
type business enterprise
[{'concept': 'profession'}, 'gender', 'female'] [{'concept': 'business enterprise'}, 'gender', 'female'] [{'concept': 'profession'}, 'gender', 'female'] [{'concept': 'business enterprise'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:gender resource:female . ?d rdf:type ontology:profession } UNION { ?d property:gender resource:female . ?d rdf:type ontology:business_enterprise } }
[]
profession business enterprise
SYSTEM
4 professions and 2 business enterprises
Q2839173 Q867132 Q16002450 Q691135 Q188761 Q1225543
(c(Q28640),P21,Q6581072) (c(Q4830453),P21,Q6581072) (c(Q28640),P21,Q6581072) (c(Q4830453),P21,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q28640
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q4830453
[ANSWER]
[{'concept': 'Q28640'}, 'P21', 'Q6581072'] [{'concept': 'Q4830453'}, 'P21', 'Q6581072'] [{'concept': 'Q28640'}, 'P21', 'Q6581072'] [{'concept': 'Q4830453'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:P21 resource:Q6581072 . ?d rdf:type ontology:Q28640 } UNION { ?d property:P21 resource:Q6581072 . ?d rdf:type ontology:Q4830453 } }
almeh diva alewife Hiroko Shimabukuro Vestal Virgin Elizabeth Diller
4 professions and 2 business enterprises
action count
action union
action filter_type
action find_reverse
entity female
relation gender
type profession
action filter_type
action find_reverse
entity female
relation gender
type business enterprise
[{'concept': 'profession'}, 'gender', 'female'] [{'concept': 'business enterprise'}, 'gender', 'female'] [{'concept': 'profession'}, 'gender', 'female'] [{'concept': 'business enterprise'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { ?d property:gender resource:female . ?d rdf:type ontology:profession } UNION { ?d property:gender resource:female . ?d rdf:type ontology:business_enterprise } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5478745
P106
Q28640
USER
Which profession is the profession of Frances Jalet-Cruz ?
(Q5478745,P106,c(Q28640))
action filter_type
action find
entity Q5478745
relation P106
type Q28640
['Q5478745', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?g WHERE { resource:Q5478745 property:P106 ?g . ?g rdf:type ontology:Q28640 }
Frances Jalet-Cruz
action filter_type
action find
entity Frances Jalet-Cruz
relation occupation
type profession
['Frances Jalet-Cruz', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?g WHERE { resource:Frances_Jalet-Cruz property:occupation ?g . ?g rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q5478745,P106,c(Q28640))
action filter_type
action find
entity Q5478745
relation P106
type Q28640
The [ANSWER] is the profession of Frances Jalet-Cruz
['Q5478745', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?g WHERE { resource:Q5478745 property:P106 ?g . ?g rdf:type ontology:Q28640 }
lawyer
The lawyer is the profession of Frances Jalet-Cruz
lawyer
action filter_type
action find
entity Frances Jalet-Cruz
relation occupation
type profession
['Frances Jalet-Cruz', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?g WHERE { resource:Frances_Jalet-Cruz property:occupation ?g . ?g rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15434633
Q28640
USER
And also tell me about Werner Brekewolt?
(Q15434633,P106,c(Q28640))
action filter_type
action find
entity Q15434633
relation P106
type Q28640
['Q15434633', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?o WHERE { resource:Q15434633 property:P106 ?o . ?o rdf:type ontology:Q28640 }
Werner Brekewolt
action filter_type
action find
entity Werner Brekewolt
relation occupation
type profession
['Werner Brekewolt', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?o WHERE { resource:Werner_Brekewolt property:occupation ?o . ?o rdf:type ontology:profession }
[]
profession
Q185351
SYSTEM
jurist
Q185351
(Q15434633,P106,c(Q28640))
action filter_type
action find
entity Q15434633
relation P106
type Q28640
[ANSWER]
['Q15434633', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?o WHERE { resource:Q15434633 property:P106 ?o . ?o rdf:type ontology:Q28640 }
jurist
jurist
action filter_type
action find
entity Werner Brekewolt
relation occupation
type profession
['Werner Brekewolt', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?o WHERE { resource:Werner_Brekewolt property:occupation ?o . ?o rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q185351
P108
Q502895
USER
Which person has that profession as its employer ?
(c(Q502895),P108,Q185351)
action filter_type
action find_reverse
entity Q185351
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q185351']
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q185351 . ?e rdf:type ontology:Q502895 }
jurist
action filter_type
action find_reverse
entity jurist
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'jurist']
SELECT DISTINCT ?e WHERE { ?e property:employer resource:jurist . ?e rdf:type ontology:common_name }
[]
common name
Q18549737
SYSTEM
Lucian Stângu
Q18549737
(c(Q502895),P108,Q185351)
action filter_type
action find_reverse
entity Q185351
relation P108
type Q502895
[ANSWER] has that profession as its employer
[{'concept': 'Q502895'}, 'P108', 'Q185351']
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q185351 . ?e rdf:type ontology:Q502895 }
Lucian Stângu
Lucian Stângu has that profession as its employer
Lucian Stângu
action filter_type
action find_reverse
entity jurist
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'jurist']
SELECT DISTINCT ?e WHERE { ?e property:employer resource:jurist . ?e 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 are played by approximately 3 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?s = 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?d rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 . ?b property:P1303 ?d } GROUP BY ?d } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?s = 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?d rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name . ?b property:instrument ?d } GROUP BY ?d } }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 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 3
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?s = 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?d rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 . ?b property:P1303 ?d } GROUP BY ?d } }
viola 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 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
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?s = 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?d rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name . ?b property:instrument ?d } GROUP BY ?d } }
[]