Simple Question (Direct)
Simple Question
Q17183216
P54
Q12973014
USER
Which sports teams are Roy Devyn Marble a member of ?
(Q17183216,P54,c(Q12973014))
action filter_type
action find
entity Q17183216
relation P54
type Q12973014
['Q17183216', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?d WHERE { resource:Q17183216 property:P54 ?d . ?d rdf:type ontology:Q12973014 }
Roy Devyn Marble
action filter_type
action find
entity Roy Devyn Marble
relation member of sports team
type sports team
['Roy Devyn Marble', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?d WHERE { resource:Roy_Devyn_Marble property:member_of_sports_team ?d . ?d rdf:type ontology:sports_team }
[]
sports team
Q161337 Q126436
SYSTEM
Orlando Magic, Erie BayHawks
Q161337 Q126436
(Q17183216,P54,c(Q12973014))
action filter_type
action find
entity Q17183216
relation P54
type Q12973014
The [ANSWERS] are Roy Devyn Marble a member of
['Q17183216', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?d WHERE { resource:Q17183216 property:P54 ?d . ?d rdf:type ontology:Q12973014 }
Orlando Magic Erie BayHawks
The Orlando Magic and Erie BayHawks are Roy Devyn Marble a member of
Orlando Magic Erie BayHawks
action filter_type
action find
entity Roy Devyn Marble
relation member of sports team
type sports team
['Roy Devyn Marble', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?d WHERE { resource:Roy_Devyn_Marble property:member_of_sports_team ?d . ?d rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q161337 Q126436
P641
Q349
USER
What did those sports teams participate in ?
(Q161337,P641,c(Q349)) (Q126436,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
['Q161337', 'P641', {'concept': 'Q349'}] ['Q126436', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . ?i property:P641 ?d . VALUES ( ?i ) { ( resource:Q161337 ) ( resource:Q126436 ) } }
Orlando Magic Erie BayHawks
action filter_type
action find
entity prev_answer
relation sport
type sport
['Orlando Magic', 'sport', {'concept': 'sport'}] ['Erie BayHawks', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . ?i property:sport ?d . VALUES ( ?i ) { ( resource:Orlando_Magic ) ( resource:Erie_BayHawks ) } }
[]
sport
Q5372 Q5372
SYSTEM
basketball
Q5372 Q5372
(Q161337,P641,c(Q349)) (Q126436,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
Those sports teams participated in [ANSWER] and [ANSWER]
['Q161337', 'P641', {'concept': 'Q349'}] ['Q126436', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . ?i property:P641 ?d . VALUES ( ?i ) { ( resource:Q161337 ) ( resource:Q126436 ) } }
basketball basketball
Those sports teams participated in basketball and basketball
basketball basketball
action filter_type
action find
entity prev_answer
relation sport
type sport
['Orlando Magic', 'sport', {'concept': 'sport'}] ['Erie BayHawks', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . ?i property:sport ?d . VALUES ( ?i ) { ( resource:Orlando_Magic ) ( resource:Erie_BayHawks ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17183216
P69
Q159334
USER
Which secondary school is the alma mater of Roy Devyn Marble ?
(Q17183216,P69,c(Q159334))
action filter_type
action find
entity Q17183216
relation P69
type Q159334
['Q17183216', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?a WHERE { resource:Q17183216 property:P69 ?a . ?a rdf:type ontology:Q159334 }
Roy Devyn Marble
action filter_type
action find
entity Roy Devyn Marble
relation educated at
type secondary school
['Roy Devyn Marble', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?a WHERE { resource:Roy_Devyn_Marble property:educated_at ?a . ?a rdf:type ontology:secondary_school }
[]
secondary school
Q7570767
SYSTEM
Southfield-Lathrup High School
Q7570767
(Q17183216,P69,c(Q159334))
action filter_type
action find
entity Q17183216
relation P69
type Q159334
[ANSWER] is the alma mater of Roy Devyn Marble
['Q17183216', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?a WHERE { resource:Q17183216 property:P69 ?a . ?a rdf:type ontology:Q159334 }
Southfield-Lathrup High School
Southfield-Lathrup High School is the alma mater of Roy Devyn Marble
Southfield-Lathrup High School
action filter_type
action find
entity Roy Devyn Marble
relation educated at
type secondary school
['Roy Devyn Marble', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?a WHERE { resource:Roy_Devyn_Marble property:educated_at ?a . ?a rdf:type ontology:secondary_school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q161337
P115
Q811979
USER
Which architectural structure is the home field of Orlando Magic ?
(Q161337,P115,c(Q811979))
action filter_type
action find
entity Q161337
relation P115
type Q811979
['Q161337', 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?d WHERE { resource:Q161337 property:P115 ?d . ?d rdf:type ontology:Q811979 }
Orlando Magic
action filter_type
action find
entity Orlando Magic
relation home venue
type architectural structure
['Orlando Magic', 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?d WHERE { resource:Orlando_Magic property:home_venue ?d . ?d rdf:type ontology:architectural_structure }
[]
architectural structure
Q481795
SYSTEM
Amway Center
Q481795
(Q161337,P115,c(Q811979))
action filter_type
action find
entity Q161337
relation P115
type Q811979
[ANSWER] is the home field of Orlando Magic
['Q161337', 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?d WHERE { resource:Q161337 property:P115 ?d . ?d rdf:type ontology:Q811979 }
Amway Center
Amway Center is the home field of Orlando Magic
Amway Center
action filter_type
action find
entity Orlando Magic
relation home venue
type architectural structure
['Orlando Magic', 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?d WHERE { resource:Orlando_Magic property:home_venue ?d . ?d rdf:type ontology:architectural_structure }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q161337
P466
Q811979
USER
Which architectural structures are occupied by Orlando Magic ?
(c(Q811979),P466,Q161337)
action filter_type
action find_reverse
entity Q161337
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q161337']
SELECT DISTINCT ?w WHERE { ?w property:P466 resource:Q161337 . ?w rdf:type ontology:Q811979 }
Orlando Magic
action filter_type
action find_reverse
entity Orlando Magic
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Orlando Magic']
SELECT DISTINCT ?w WHERE { ?w property:occupant resource:Orlando_Magic . ?w rdf:type ontology:architectural_structure }
[]
architectural structure
Q481795 Q481794
SYSTEM
Amway Center, Amway Arena
Q481795 Q481794
(c(Q811979),P466,Q161337)
action filter_type
action find_reverse
entity Q161337
relation P466
type Q811979
Offices [ANSWERS] are occupied by Orlando Magic
[{'concept': 'Q811979'}, 'P466', 'Q161337']
SELECT DISTINCT ?w WHERE { ?w property:P466 resource:Q161337 . ?w rdf:type ontology:Q811979 }
Amway Center Amway Arena
Offices Amway Center and Amway Arena are occupied by Orlando Magic
Amway Center Amway Arena
action filter_type
action find_reverse
entity Orlando Magic
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Orlando Magic']
SELECT DISTINCT ?w WHERE { ?w property:occupant resource:Orlando_Magic . ?w rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q161337
P118
Q48204
USER
Which voluntary association does that sports team contest in ?
(Q481795,P118,c(Q48204)) (Q481794,P118,c(Q48204))
action filter_type
action find
entity Q161337
relation P118
type Q48204
['Q481795', 'P118', {'concept': 'Q48204'}] ['Q481794', 'P118', {'concept': 'Q48204'}]
SELECT DISTINCT ?u WHERE { resource:Q161337 property:P118 ?u . ?u rdf:type ontology:Q48204 }
Orlando Magic
action filter_type
action find
entity Orlando Magic
relation league
type voluntary association
['Amway Center', 'league', {'concept': 'voluntary association'}] ['Amway Arena', 'league', {'concept': 'voluntary association'}]
SELECT DISTINCT ?u WHERE { resource:Orlando_Magic property:league ?u . ?u rdf:type ontology:voluntary_association }
[]
voluntary association
Q155223
SYSTEM
National Basketball Association
Q155223
(Q481795,P118,c(Q48204)) (Q481794,P118,c(Q48204))
action filter_type
action find
entity Q161337
relation P118
type Q48204
That sports team contests [ANSWER]
['Q481795', 'P118', {'concept': 'Q48204'}] ['Q481794', 'P118', {'concept': 'Q48204'}]
SELECT DISTINCT ?u WHERE { resource:Q161337 property:P118 ?u . ?u rdf:type ontology:Q48204 }
National Basketball Association
That sports team contests National Basketball Association
National Basketball Association
action filter_type
action find
entity Orlando Magic
relation league
type voluntary association
['Amway Center', 'league', {'concept': 'voluntary association'}] ['Amway Arena', 'league', {'concept': 'voluntary association'}]
SELECT DISTINCT ?u WHERE { resource:Orlando_Magic property:league ?u . ?u rdf:type ontology:voluntary_association }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P2695
Q811979 Q3977918 Q11173
USER
How many architectural structures are the localities where approximately 2 mineral supergroupss and chemical compounds are found ?
(c(Q3977918)|c(Q11173),P2695,c(Q811979))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q3977918
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q11173
value 2
[[{'concept': 'Q3977918'}, {'concept': 'Q11173'}], 'P2695', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?z ) WHERE { { ?m rdf:type ontology:Q811979 . ?l rdf:type ontology:Q3977918 . ?l property:P2695 ?m } UNION { ?l property:P2695 ?m . ?m rdf:type ontology:Q811979 . ?l rdf:type ontology:Q11173 } } GROUP BY ?m } . FILTER ( ?z = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation type locality
type architectural structure
type mineral supergroups
action find_reverse_tuple_counts
relation type locality
type architectural structure
type chemical compound
value 2
[[{'concept': 'mineral supergroups'}, {'concept': 'chemical compound'}], 'type locality', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?z ) WHERE { { ?m rdf:type ontology:architectural_structure . ?l rdf:type ontology:mineral_supergroups . ?l property:type_locality ?m } UNION { ?l property:type_locality ?m . ?m rdf:type ontology:architectural_structure . ?l rdf:type ontology:chemical_compound } } GROUP BY ?m } . FILTER ( ?z = 2 ) }
[]
architectural structure mineral supergroups chemical compound
SYSTEM
4
Q26453772 Q24570697 Q23835375 Q23723997
(c(Q3977918)|c(Q11173),P2695,c(Q811979))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q3977918
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q11173
value 2
[ANSWER]
[[{'concept': 'Q3977918'}, {'concept': 'Q11173'}], 'P2695', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?z ) WHERE { { ?m rdf:type ontology:Q811979 . ?l rdf:type ontology:Q3977918 . ?l property:P2695 ?m } UNION { ?l property:P2695 ?m . ?m rdf:type ontology:Q811979 . ?l rdf:type ontology:Q11173 } } GROUP BY ?m } . FILTER ( ?z = 2 ) }
Ivigtut cryolite deposit Unnamed manganese deposit, Shobu Kirovskii apatite mine Tsumeb mine
4
action count
action approx
action union
action find_reverse_tuple_counts
relation type locality
type architectural structure
type mineral supergroups
action find_reverse_tuple_counts
relation type locality
type architectural structure
type chemical compound
value 2
[[{'concept': 'mineral supergroups'}, {'concept': 'chemical compound'}], 'type locality', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?z ) WHERE { { ?m rdf:type ontology:architectural_structure . ?l rdf:type ontology:mineral_supergroups . ?l property:type_locality ?m } UNION { ?l property:type_locality ?m . ?m rdf:type ontology:architectural_structure . ?l rdf:type ontology:chemical_compound } } GROUP BY ?m } . FILTER ( ?z = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1056
Q10675206 Q2424752 Q811979
USER
Which architectural structures produce atleast 1 ingredients and products ?
(c(Q811979),P1056,c(Q10675206)|c(Q2424752))
action atleast
action union
action find_tuple_counts
relation P1056
type Q811979
type Q10675206
action find_tuple_counts
relation P1056
type Q811979
type Q2424752
value 1
[{'concept': 'Q811979'}, 'P1056', [{'concept': 'Q10675206'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?d WHERE { VALUES ( ?f ) { ( ontology:Q10675206 ) ( ontology:Q2424752 ) } . ?h rdf:type ?f } GROUP BY ?d } }
action atleast
action union
action find_tuple_counts
relation product
type architectural structure
type ingredient
action find_tuple_counts
relation product
type architectural structure
type product
value 1
[{'concept': 'architectural structure'}, 'product', [{'concept': 'ingredient'}, {'concept': 'product'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?d WHERE { VALUES ( ?f ) { ( ontology:ingredient ) ( ontology:product ) } . ?h rdf:type ?f } GROUP BY ?d } }
[]
ingredient product architectural structure
Q27675874 Q1534991 Q1577492
SYSTEM
Central Lechera Clesa, Golden Grove Mine, Pyhäsalmi Mine
Q1473809 Q1534991 Q17004675 Q16963383 Q16251923 Q16965509 Q5372953 Q5764659 Q16963952 Q16965005 Q16965434 Q16255741 Q1549970 Q7242880 Q16999581 Q16969072 Q4985788 Q16910336 Q14156716 Q16964890 Q7991801 Q7838868 Q7095004 Q12109576 Q16965680 Q5064892 Q1550106 Q7697977 Q15119177 Q16963500 Q16986044 Q16964446 Q16963769 Q4865658 Q27675874 Q5890469 Q4876291 Q16976179 Q450443 Q7641530 Q174139 Q16966054 Q5064991 Q6922260 Q7640657 Q5063175 Q16965651 Q1670813 Q7655363 Q17005315 Q16969361 Q1639253 Q22060787 Q16957023 Q14680730 Q1630622 Q1055970 Q14875621 Q15223726 Q5599961 Q16532756 Q3314937 Q3314825 Q16251556 Q6382783 Q16965489 Q5219987 Q7419181 Q1577492 Q7414563 Q16963523 Q5132813 Q16963685 Q12053658 Q16965145 Q4247510 Q6864549 Q15071741 Q16841259 Q16979622 Q16254328 Q16976610 Q4905543 Q7546613 Q16255095 Q16957078 Q1903078 Q12100817 Q1058647 Q6914173 Q7447147 Q16256407 Q16964983 Q14875421 Q7179701 Q7636415 Q3314832 Q6921438 Q4929179 Q6072749 Q16257595 Q5928567 Q16963922 Q7697969 Q6016248 Q2112806 Q6429620 Q5161017 Q7064141 Q16976113 Q11620166 Q6862719 Q16957941 Q11248197 Q943876 Q16965074 Q7690309 Q5276584 Q16257703 Q5736548 Q16963993 Q7655977 Q7376350
(c(Q811979),P1056,c(Q10675206)|c(Q2424752))
action atleast
action union
action find_tuple_counts
relation P1056
type Q811979
type Q10675206
action find_tuple_counts
relation P1056
type Q811979
type Q2424752
value 1
[ANSWERS] produce atleast 1 ingredients and products
[{'concept': 'Q811979'}, 'P1056', [{'concept': 'Q10675206'}, {'concept': 'Q2424752'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?d WHERE { VALUES ( ?f ) { ( ontology:Q10675206 ) ( ontology:Q2424752 ) } . ?h rdf:type ?f } GROUP BY ?d } }
Olympic Dam Golden Grove Mine Holdong mine Azuca mine Asgat mine Goltsovoye mine Emma Silver Mine Hilton Mine Pirquitas mine Stratoni mine Verkhoyansk mine Buenavista mine Glasebach Pit Priest Mine Los Azules mine Taryno-Kurdatsky mine Buffalo Mine Nipissing Mine Malku Khota mine Dolores mine Wheal Watkins Trethewey Mine Ontario silver mine Cannington Mine Corani mine Cerro Colorado Mountains Samson Pit Temagami Occurrence Maaßener Gaipel Crespo mine Camino Rojo mine Navidad mine La Colorada mine Barton Mine Central Lechera Clesa Homestake Mine Beanland Mine San Bartolomé mine Chañarcillo Sunshine Mine Iwami Ginzan Silver Mine Wonawinta mine Cerro Vanguardia Mine Mount Morgan Mine Sunny Corner Century Mine Diablillos mine Pascua Lama Sweet Home Mine Hyesan mine Derbeke-Nelgesinsky mine Naica Mine Troy Mine Prognoz mine Silver King Mine drinking fountain Cerro Rico Murray Brook Mine Hermosa mine Great Sierra Mine Historic Site Arqueros Mines of Laurium Nasa silver mine Arcata mine Keeley-Frontier Mine Yantau mine Danlou Occurrence Santa Ana mine Pyhäsalmi Mine San Juan Bautista de Sonora Morococha mine Cliff mine Mangazeisky mine Broken Hill ore deposit San Vicente mine Kupol Gold Mine Minesota Mine Gold Harbour Gümüşköy mine Noche Buena mine Berenguela mine Manantial Espejo mine Big Dan Mine Smuggler Mine Bolshoy Kanimasur mine Escobal mine Martha Mine George Fisher mine Chadormalu Morro Velho Sekenke Gold Mine Candelaria mine Waterloo mine Silver Centre, Ontario Peñasquito Polymetallic Mine Sullivan Mine Toi gold mine Mount Isa Mines Blue Hawk Mine Iron Mountain Mine Chalchihuites mine Hudson Bay Mine Pallancata mine Temagami-Lorrain Mine Independence mine Prominent Hill Mine Konomai gold mine Coniagas Mine Nova Scotia Mine Pitarrilla mine Hishikari mine Mina Proaño Huaron mine Sado mine malt house Lunnoye mine Tayopa Dikulushi Mine Chapada mine Hercules silver mine Khotoidokh mine Swift's silver mine Ruby Mining District
Central Lechera Clesa, Golden Grove Mine and Pyhäsalmi Mine produce atleast 1 ingredients and products
Central Lechera Clesa Golden Grove Mine Pyhäsalmi Mine
action atleast
action union
action find_tuple_counts
relation product
type architectural structure
type ingredient
action find_tuple_counts
relation product
type architectural structure
type product
value 1
[{'concept': 'architectural structure'}, 'product', [{'concept': 'ingredient'}, {'concept': 'product'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) ?d WHERE { VALUES ( ?f ) { ( ontology:ingredient ) ( ontology:product ) } . ?h rdf:type ?f } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155223
P108
Q502895
USER
Which people work for National Basketball Association ?
(c(Q502895),P108,Q155223)
action filter_type
action find_reverse
entity Q155223
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q155223']
SELECT DISTINCT ?p WHERE { ?p property:P108 resource:Q155223 . ?p rdf:type ontology:Q502895 }
National Basketball Association
action filter_type
action find_reverse
entity National Basketball Association
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'National Basketball Association']
SELECT DISTINCT ?p WHERE { ?p property:employer resource:National_Basketball_Association . ?p rdf:type ontology:common_name }
[]
common name
Q3553388 Q439621 Q46423
SYSTEM
Val Ackerman, Carol Blazejowski, Jim Fitzgerald
Q46423 Q439621 Q3553388 Q6988592
(c(Q502895),P108,Q155223)
action filter_type
action find_reverse
entity Q155223
relation P108
type Q502895
And [ANSWERS] work for National Basketball Association
[{'concept': 'Q502895'}, 'P108', 'Q155223']
SELECT DISTINCT ?p WHERE { ?p property:P108 resource:Q155223 . ?p rdf:type ontology:Q502895 }
Jim Fitzgerald Carol Blazejowski Val Ackerman Neil Funk
And Val Ackerman, Carol Blazejowski and Jim Fitzgerald work for National Basketball Association
Val Ackerman Carol Blazejowski Jim Fitzgerald
action filter_type
action find_reverse
entity National Basketball Association
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'National Basketball Association']
SELECT DISTINCT ?p WHERE { ?p property:employer resource:National_Basketball_Association . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3553388 Q439621 Q46423
P21
Q290
USER
Which sexes do those people belong to ?
(Q3553388,P21,c(Q290)) (Q439621,P21,c(Q290)) (Q46423,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q3553388', 'P21', {'concept': 'Q290'}] ['Q439621', 'P21', {'concept': 'Q290'}] ['Q46423', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . ?e property:P21 ?f . VALUES ( ?e ) { ( resource:Q46423 ) ( resource:Q439621 ) ( resource:Q3553388 ) } }
Val Ackerman Carol Blazejowski Jim Fitzgerald
action filter_type
action find
entity prev_answer
relation gender
type sex
['Val Ackerman', 'gender', {'concept': 'sex'}] ['Carol Blazejowski', 'gender', {'concept': 'sex'}] ['Jim Fitzgerald', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . ?e property:gender ?f . VALUES ( ?e ) { ( resource:Jim_Fitzgerald ) ( resource:Carol_Blazejowski ) ( resource:Val_Ackerman ) } }
[]
sex
Q6581072 Q6581072 Q6581097
SYSTEM
male for 3rd, female for 1st, 2nd
Q6581072 Q6581072 Q6581097
(Q3553388,P21,c(Q290)) (Q439621,P21,c(Q290)) (Q46423,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q3553388', 'P21', {'concept': 'Q290'}] ['Q439621', 'P21', {'concept': 'Q290'}] ['Q46423', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . ?e property:P21 ?f . VALUES ( ?e ) { ( resource:Q46423 ) ( resource:Q439621 ) ( resource:Q3553388 ) } }
female female male
Those people belong to female, female and male
female female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Val Ackerman', 'gender', {'concept': 'sex'}] ['Carol Blazejowski', 'gender', {'concept': 'sex'}] ['Jim Fitzgerald', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . ?e property:gender ?f . VALUES ( ?e ) { ( resource:Jim_Fitzgerald ) ( resource:Carol_Blazejowski ) ( resource:Val_Ackerman ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6581072
P180
Q3305213
USER
Which painting demonstrates that sex ?
(c(Q3305213),P180,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q6581072']
SELECT DISTINCT ?p WHERE { ?p property:P180 resource:Q6581072 . ?p rdf:type ontology:Q3305213 }
female
action filter_type
action find_reverse
entity female
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'female']
SELECT DISTINCT ?p WHERE { ?p property:depicts resource:female . ?p rdf:type ontology:painting }
[]
painting
Clarification for simple ques.
Q6581072
SYSTEM
Did you mean female ?
Q6581072 Q6581072 Q6581097
(c(Q3305213),P180,Q6581072) (c(Q3305213),P180,Q6581072) (c(Q3305213),P180,Q6581097)
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q6581072'] [{'concept': 'Q3305213'}, 'P180', 'Q6581072'] [{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?p WHERE { ?p property:P180 resource:Q6581072 . ?p rdf:type ontology:Q3305213 }
female female male
Did you mean female ?
female
[{'concept': 'painting'}, 'depicts', 'female'] [{'concept': 'painting'}, 'depicts', 'female'] [{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?p WHERE { ?p property:depicts resource:female . ?p rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q3305213),P180,Q6581072)
[{'concept': 'Q3305213'}, 'P180', 'Q6581072']
[{'concept': 'painting'}, 'depicts', 'female']
[]
Q18346971
SYSTEM
Resurrection
Q18346971
(c(Q3305213),P180,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q3305213
[ANSWER] demonstrates that sex
[{'concept': 'Q3305213'}, 'P180', 'Q6581072']
SELECT DISTINCT ?p WHERE { ?p property:P180 resource:Q6581072 . ?p rdf:type ontology:Q3305213 }
Resurrection
Resurrection demonstrates that sex
Resurrection
action filter_type
action find_reverse
entity female
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'female']
SELECT DISTINCT ?p WHERE { ?p property:depicts resource:female . ?p rdf:type ontology:painting }
[]