Simple Question (Direct)
Simple Question
Q7660883
P734
Q82799
USER
Which name is associated with Sylvia Ashley ?
(Q7660883,P734,c(Q82799))
action filter_type
action find
entity Q7660883
relation P734
type Q82799
['Q7660883', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q7660883 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Sylvia Ashley
action filter_type
action find
entity Sylvia Ashley
relation family name
type name
['Sylvia Ashley', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Sylvia_Ashley property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q19793274
SYSTEM
Ashley
Q19793274
(Q7660883,P734,c(Q82799))
action filter_type
action find
entity Q7660883
relation P734
type Q82799
She [ANSWER] is associated with Sylvia [ANSWER]
['Q7660883', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q7660883 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Ashley
She Ashley is associated with Sylvia Ashley
Ashley
action filter_type
action find
entity Sylvia Ashley
relation family name
type name
['Sylvia Ashley', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Sylvia_Ashley property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7660883
P20
Q56061
USER
Where did the demise of Sylvia Ashley occur ?
(Q7660883,P20,c(Q56061))
action filter_type
action find
entity Q7660883
relation P20
type Q56061
['Q7660883', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q7660883 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Sylvia Ashley
action filter_type
action find
entity Sylvia Ashley
relation place of death
type administrative territorial entity
['Sylvia Ashley', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Sylvia_Ashley property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
(Q7660883,P20,c(Q56061))
action filter_type
action find
entity Q7660883
relation P20
type Q56061
The demise of Sylvia Ashley occurred in [ANSWER]
['Q7660883', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q7660883 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Los Angeles
The demise of Sylvia Ashley occurred in Los Angeles
Los Angeles
action filter_type
action find
entity Sylvia Ashley
relation place of death
type administrative territorial entity
['Sylvia Ashley', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Sylvia_Ashley property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7660883
P26
Q502895
USER
Which people are married to that one ?
(c(Q502895),P26,Q65)
action filter_type
action find
entity Q7660883
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q65']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q7660883 property:P26 ?x }
Sylvia Ashley
action filter_type
action find
entity Sylvia Ashley
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Los Angeles']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Sylvia_Ashley property:spouse ?x }
[]
common name
Q71243 Q104127 Q4772031
SYSTEM
Clark Gable, Douglas Fairbanks, Anthony Ashley-Cooper, Lord Ashley
Q4160477 Q104127 Q71243 Q5345411 Q4772031
(c(Q502895),P26,Q65)
action filter_type
action find
entity Q7660883
relation P26
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q65']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q7660883 property:P26 ?x }
Dimitri Jorjadze Douglas Fairbanks Clark Gable Edward Stanley, 6th Baron Stanley of Alderley Anthony Ashley-Cooper, Lord Ashley
Clark Gable, Douglas Fairbanks and Anthony Ashley-Cooper, Lord Ashley are married to that one
Clark Gable Douglas Fairbanks Anthony Ashley-Cooper, Lord Ashley
action filter_type
action find
entity Sylvia Ashley
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Los Angeles']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Sylvia_Ashley property:spouse ?x }
[]
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 8963 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 8963
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?l <= 8963 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 8963
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?l <= 8963 ) }
[]
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 8963
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?l <= 8963 ) }
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 8963
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?l <= 8963 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q65 Q308776
P84
Q1076486
USER
How many sports venues were Los Angeles or Herzog & de Meuron the designer of ?
(c(Q1076486),P84,Q65) (c(Q1076486),P84,Q308776)
action count
action union
action filter_type
action find_reverse
entity Q65
relation P84
type Q1076486
action filter_type
action find_reverse
entity Q308776
relation P84
type Q1076486
[{'concept': 'Q1076486'}, 'P84', 'Q65'] [{'concept': 'Q1076486'}, 'P84', 'Q308776']
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:P84 resource:Q65 . ?i rdf:type ontology:Q1076486 } UNION { ?i rdf:type ontology:Q1076486 . ?i property:P84 resource:Q308776 } }
Los Angeles Herzog & de Meuron
action count
action union
action filter_type
action find_reverse
entity Los Angeles
relation architect
type sports venue
action filter_type
action find_reverse
entity Herzog & de Meuron
relation architect
type sports venue
[{'concept': 'sports venue'}, 'architect', 'Los Angeles'] [{'concept': 'sports venue'}, 'architect', 'Herzog & de Meuron']
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:architect resource:Los_Angeles . ?i rdf:type ontology:sports_venue } UNION { ?i rdf:type ontology:sports_venue . ?i property:architect resource:Herzog_&_de_Meuron } }
[]
sports venue
SYSTEM
3
Q133525 Q190010 Q127429
(c(Q1076486),P84,Q65) (c(Q1076486),P84,Q308776)
action count
action union
action filter_type
action find_reverse
entity Q65
relation P84
type Q1076486
action filter_type
action find_reverse
entity Q308776
relation P84
type Q1076486
[ANSWER]
[{'concept': 'Q1076486'}, 'P84', 'Q65'] [{'concept': 'Q1076486'}, 'P84', 'Q308776']
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:P84 resource:Q65 . ?i rdf:type ontology:Q1076486 } UNION { ?i rdf:type ontology:Q1076486 . ?i property:P84 resource:Q308776 } }
Beijing National Stadium St. Jakob-Park Allianz Arena
3
action count
action union
action filter_type
action find_reverse
entity Los Angeles
relation architect
type sports venue
action filter_type
action find_reverse
entity Herzog & de Meuron
relation architect
type sports venue
[{'concept': 'sports venue'}, 'architect', 'Los Angeles'] [{'concept': 'sports venue'}, 'architect', 'Herzog & de Meuron']
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:architect resource:Los_Angeles . ?i rdf:type ontology:sports_venue } UNION { ?i rdf:type ontology:sports_venue . ?i property:architect resource:Herzog_&_de_Meuron } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7346745 Q4772031
P241
Q781132
USER
Which military branches contain Anthony Ashley-Cooper, Lord Ashley and Robert Law as their part ?
AND((Q4772031,P241,c(Q781132)), (Q7346745,P241,c(Q781132)))
action filter_type
action intersection
action find
entity Q4772031
relation P241
action find
entity Q7346745
relation P241
type Q781132
{'AND': [['Q4772031', 'P241', {'concept': 'Q781132'}], ['Q7346745', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?p WHERE { resource:Q4772031 property:P241 ?p . resource:Q7346745 property:P241 ?p . ?p rdf:type ontology:Q781132 }
Robert Law Anthony Ashley-Cooper, Lord Ashley
action filter_type
action intersection
action find
entity Anthony Ashley-Cooper, Lord Ashley
relation military branch
action find
entity Robert Law
relation military branch
type military branch
{'AND': [['Anthony Ashley-Cooper, Lord Ashley', 'military branch', {'concept': 'military branch'}], ['Robert Law', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?p WHERE { resource:Anthony_Ashley-Cooper,_Lord_Ashley property:military_branch ?p . resource:Robert_Law property:military_branch ?p . ?p rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
AND((Q4772031,P241,c(Q781132)), (Q7346745,P241,c(Q781132)))
action filter_type
action intersection
action find
entity Q4772031
relation P241
action find
entity Q7346745
relation P241
type Q781132
[ANSWER] contain Anthony Ashley-Cooper, Lord Ashley and Robert Law as their part
{'AND': [['Q4772031', 'P241', {'concept': 'Q781132'}], ['Q7346745', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?p WHERE { resource:Q4772031 property:P241 ?p . resource:Q7346745 property:P241 ?p . ?p rdf:type ontology:Q781132 }
British Army
British Army contain Anthony Ashley-Cooper, Lord Ashley and Robert Law as their part
British Army
action filter_type
action intersection
action find
entity Anthony Ashley-Cooper, Lord Ashley
relation military branch
action find
entity Robert Law
relation military branch
type military branch
{'AND': [['Anthony Ashley-Cooper, Lord Ashley', 'military branch', {'concept': 'military branch'}], ['Robert Law', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?p WHERE { resource:Anthony_Ashley-Cooper,_Lord_Ashley property:military_branch ?p . resource:Robert_Law property:military_branch ?p . ?p rdf:type ontology:military_branch }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q222595 Q145
P17
Q15617994
USER
Is British Army situated in United Kingdom ?
(Q222595,P17,Q145)
action is_in
entity Q145
action find
entity Q222595
relation P17
['Q222595', 'P17', 'Q145']
ASK WHERE { resource:Q222595 property:P17 resource:Q145 }
British Army United Kingdom
action is_in
entity United Kingdom
action find
entity British Army
relation country
['British Army', 'country', 'United Kingdom']
ASK WHERE { resource:British_Army property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q222595,P17,Q145)
action is_in
entity Q145
action find
entity Q222595
relation P17
[ANSWER]
['Q222595', 'P17', 'Q145']
ASK WHERE { resource:Q222595 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity British Army
relation country
['British Army', 'country', 'United Kingdom']
ASK WHERE { resource:British_Army property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q104127 Q16554
P551
Q56061
USER
Did Douglas Fairbanks live Denver ?
(Q104127,P551,Q16554)
action is_in
entity Q16554
action find
entity Q104127
relation P551
['Q104127', 'P551', 'Q16554']
ASK WHERE { resource:Q104127 property:P551 resource:Q16554 }
Douglas Fairbanks Denver
action is_in
entity Denver
action find
entity Douglas Fairbanks
relation residence
['Douglas Fairbanks', 'residence', 'Denver']
ASK WHERE { resource:Douglas_Fairbanks property:residence resource:Denver }
[]
administrative territorial entity
SYSTEM
YES
(Q104127,P551,Q16554)
action is_in
entity Q16554
action find
entity Q104127
relation P551
[ANSWER]
['Q104127', 'P551', 'Q16554']
ASK WHERE { resource:Q104127 property:P551 resource:Q16554 }
Yes
action is_in
entity Denver
action find
entity Douglas Fairbanks
relation residence
['Douglas Fairbanks', 'residence', 'Denver']
ASK WHERE { resource:Douglas_Fairbanks property:residence resource:Denver }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q65
P2554
Q15416
USER
Which television program was designed by Los Angeles ?
(c(Q15416),P2554,Q65)
action filter_type
action find_reverse
entity Q65
relation P2554
type Q15416
[{'concept': 'Q15416'}, 'P2554', 'Q65']
SELECT DISTINCT ?y WHERE { ?y property:P2554 resource:Q65 . ?y rdf:type ontology:Q15416 }
Los Angeles
action filter_type
action find_reverse
entity Los Angeles
relation production designer
type television program
[{'concept': 'television program'}, 'production designer', 'Los Angeles']
SELECT DISTINCT ?y WHERE { ?y property:production_designer resource:Los_Angeles . ?y rdf:type ontology:television_program }
[]
television program
Q128699
SYSTEM
Drake & Josh Go Hollywood
Q128699
(c(Q15416),P2554,Q65)
action filter_type
action find_reverse
entity Q65
relation P2554
type Q15416
[ANSWER] was designed by Los Angeles
[{'concept': 'Q15416'}, 'P2554', 'Q65']
SELECT DISTINCT ?y WHERE { ?y property:P2554 resource:Q65 . ?y rdf:type ontology:Q15416 }
Drake & Josh Go Hollywood
Drake & Josh Go Hollywood was designed by Los Angeles
Drake & Josh Go Hollywood
action filter_type
action find_reverse
entity Los Angeles
relation production designer
type television program
[{'concept': 'television program'}, 'production designer', 'Los Angeles']
SELECT DISTINCT ?y WHERE { ?y property:production_designer resource:Los_Angeles . ?y rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q65
P30
Q2221906
USER
Which geographic location is Los Angeles located in ?
(Q65,P30,c(Q2221906))
action filter_type
action find
entity Q65
relation P30
type Q2221906
['Q65', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q65 property:P30 ?k . ?k rdf:type ontology:Q2221906 }
Los Angeles
action filter_type
action find
entity Los Angeles
relation continent
type geographic location
['Los Angeles', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Los_Angeles property:continent ?k . ?k rdf:type ontology:geographic_location }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q65,P30,c(Q2221906))
action filter_type
action find
entity Q65
relation P30
type Q2221906
Which geographic location is Los Angeles located in
['Q65', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q65 property:P30 ?k . ?k rdf:type ontology:Q2221906 }
North America
Which geographic location is Los Angeles located in
North America
action filter_type
action find
entity Los Angeles
relation continent
type geographic location
['Los Angeles', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Los_Angeles property:continent ?k . ?k rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1185
Q2221906
USER
And how about Karnataka?
(Q1185,P30,c(Q2221906))
action filter_type
action find
entity Q1185
relation P30
type Q2221906
['Q1185', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2221906 . resource:Q1185 property:P30 ?s }
Karnataka
action filter_type
action find
entity Karnataka
relation continent
type geographic location
['Karnataka', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:geographic_location . resource:Karnataka property:continent ?s }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q1185,P30,c(Q2221906))
action filter_type
action find
entity Q1185
relation P30
type Q2221906
[ANSWER]
['Q1185', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2221906 . resource:Q1185 property:P30 ?s }
Asia
Asia
action filter_type
action find
entity Karnataka
relation continent
type geographic location
['Karnataka', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:geographic_location . resource:Karnataka property:continent ?s }
[]