Simple Question (Direct)
Simple Question
Q237499
P20
Q56061
USER
Where did Edward Tatum expire ?
(Q237499,P20,c(Q56061))
action filter_type
action find
entity Q237499
relation P20
type Q56061
['Q237499', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q237499 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Edward Tatum
action filter_type
action find
entity Edward Tatum
relation place of death
type administrative territorial entity
['Edward Tatum', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Edward_Tatum property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q237499,P20,c(Q56061))
action filter_type
action find
entity Q237499
relation P20
type Q56061
Edward Tatum expired in [ANSWER]
['Q237499', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q237499 property:P20 ?x . ?x rdf:type ontology:Q56061 }
New York City
Edward Tatum expired in New York City
New York City
action filter_type
action find
entity Edward Tatum
relation place of death
type administrative territorial entity
['Edward Tatum', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Edward_Tatum property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q237499
P21
Q290
USER
What is the sex of Edward Tatum ?
(Q237499,P21,c(Q290))
action filter_type
action find
entity Q237499
relation P21
type Q290
['Q237499', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q237499 property:P21 ?s . ?s rdf:type ontology:Q290 }
Edward Tatum
action filter_type
action find
entity Edward Tatum
relation gender
type sex
['Edward Tatum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Edward_Tatum property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q237499,P21,c(Q290))
action filter_type
action find
entity Q237499
relation P21
type Q290
The sex of Edward Tatum is a [ANSWER]
['Q237499', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q237499 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
The sex of Edward Tatum is a male
male
action filter_type
action find
entity Edward Tatum
relation gender
type sex
['Edward Tatum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Edward_Tatum property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7901076
Q290
USER
And how about Uroš Momić?
(Q7901076,P21,c(Q290))
action filter_type
action find
entity Q7901076
relation P21
type Q290
['Q7901076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q7901076 property:P21 ?u . ?u rdf:type ontology:Q290 }
Uroš Momić
action filter_type
action find
entity Uroš Momić
relation gender
type sex
['Uroš Momić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Uroš_Momić property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7901076,P21,c(Q290))
action filter_type
action find
entity Q7901076
relation P21
type Q290
[ANSWER]
['Q7901076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q7901076 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Uroš Momić
relation gender
type sex
['Uroš Momić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Uroš_Momić property:gender ?u . ?u rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3265148 Q237499
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Edward Tatum or Jos Lussenburg ?
OR((Q237499,P27,c(Q15617994)), (Q3265148,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q237499
relation P27
action find
entity Q3265148
relation P27
type Q15617994
{'OR': [['Q237499', 'P27', {'concept': 'Q15617994'}], ['Q3265148', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3265148 property:P27 ?e } UNION { resource:Q237499 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
Jos Lussenburg Edward Tatum
action filter_type
action union
action find
entity Edward Tatum
relation country of citizenship
action find
entity Jos Lussenburg
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Edward Tatum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jos Lussenburg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Jos_Lussenburg property:country_of_citizenship ?e } UNION { resource:Edward_Tatum property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q29999
SYSTEM
United States of America, Kingdom of the Netherlands
Q30 Q29999
OR((Q237499,P27,c(Q15617994)), (Q3265148,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q237499
relation P27
action find
entity Q3265148
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Edward Tatum or Jos Lussenburg
{'OR': [['Q237499', 'P27', {'concept': 'Q15617994'}], ['Q3265148', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3265148 property:P27 ?e } UNION { resource:Q237499 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
United States of America Kingdom of the Netherlands
United States of America and Kingdom of the Netherlands are the countries of citizenship of Edward Tatum or Jos Lussenburg
United States of America Kingdom of the Netherlands
action filter_type
action union
action find
entity Edward Tatum
relation country of citizenship
action find
entity Jos Lussenburg
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Edward Tatum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jos Lussenburg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Jos_Lussenburg property:country_of_citizenship ?e } UNION { resource:Edward_Tatum property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P248
Q1209283 Q163740 Q502895
USER
Which people have been acknowledged in max number of electronic medias and nonprofit organizations ?
(c(Q502895),P248,c(Q1209283)|c(Q163740))
action argmax
action union
action find_tuple_counts
relation P248
type Q502895
type Q1209283
action find_tuple_counts
relation P248
type Q502895
type Q163740
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1209283'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?g WHERE { { ?g property:P248 ?j . ?g rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1209283 } UNION { ?g property:P248 ?j . ?g rdf:type ontology:Q502895 . ?j rdf:type ontology:Q163740 } } GROUP BY ?g } } . FILTER ( ?m = ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?n WHERE { { ?n property:P248 ?s . ?n rdf:type ontology:Q502895 . ?s rdf:type ontology:Q1209283 } UNION { ?n property:P248 ?s . ?n rdf:type ontology:Q502895 . ?s rdf:type ontology:Q163740 } } GROUP BY ?n } }
action argmax
action union
action find_tuple_counts
relation stated in
type common name
type electronic media
action find_tuple_counts
relation stated in
type common name
type nonprofit organization
[{'concept': 'common name'}, 'stated in', [{'concept': 'electronic media'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?g WHERE { { ?g property:stated_in ?j . ?g rdf:type ontology:common_name . ?j rdf:type ontology:electronic_media } UNION { ?g property:stated_in ?j . ?g rdf:type ontology:common_name . ?j rdf:type ontology:nonprofit_organization } } GROUP BY ?g } } . FILTER ( ?m = ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?n WHERE { { ?n property:stated_in ?s . ?n rdf:type ontology:common_name . ?s rdf:type ontology:electronic_media } UNION { ?n property:stated_in ?s . ?n rdf:type ontology:common_name . ?s rdf:type ontology:nonprofit_organization } } GROUP BY ?n } }
[]
electronic media nonprofit organization common name
Q5144961 Q6255184 Q5537324
SYSTEM
Colin Campbell, John Roberts, George Brown
Q6255164 Q5144961 Q8017696 Q6255184 Q6244753 Q6236108 Q5240345 Q16065533 Q1626914 Q6258326 Q8019373 Q6260653 Q6249871 Q6228764 Q6246935 Q5232854 Q5537308 Q6239285 Q5606270 Q6221420 Q17423413 Q16859222 Q4096102 Q5241194 Q6262978 Q5537317 Q6242859 Q6242044 Q5239888 Q5233453 Q14951093 Q16857661 Q1101329 Q6237318 Q17364116 Q5537324 Q8019368
(c(Q502895),P248,c(Q1209283)|c(Q163740))
action argmax
action union
action find_tuple_counts
relation P248
type Q502895
type Q1209283
action find_tuple_counts
relation P248
type Q502895
type Q163740
[ANSWERS] have been acknowledged in max number of electronic medias and nonprofit organizations
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1209283'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?g WHERE { { ?g property:P248 ?j . ?g rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1209283 } UNION { ?g property:P248 ?j . ?g rdf:type ontology:Q502895 . ?j rdf:type ontology:Q163740 } } GROUP BY ?g } } . FILTER ( ?m = ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?n WHERE { { ?n property:P248 ?s . ?n rdf:type ontology:Q502895 . ?s rdf:type ontology:Q1209283 } UNION { ?n property:P248 ?s . ?n rdf:type ontology:Q502895 . ?s rdf:type ontology:Q163740 } } GROUP BY ?n } }
John Roberts Colin Campbell William Robinson John Roberts John Lewis John Gray David Thomas John Gray Greg Smith John Smith William Thompson John Thompson John Murphy John Davies John Martin David Davies George Brown John Hill Greg Smith John Bell James Brown Robert Williams James Brown David Wilson John Ward George Brown John Kennedy John Jones David Smith David Evans John Jackson John Hall John Rogers John Hall John Davies George Brown William Thompson
Colin Campbell, John Roberts and George Brown have been acknowledged in max number of electronic medias and nonprofit organizations
Colin Campbell John Roberts George Brown
action argmax
action union
action find_tuple_counts
relation stated in
type common name
type electronic media
action find_tuple_counts
relation stated in
type common name
type nonprofit organization
[{'concept': 'common name'}, 'stated in', [{'concept': 'electronic media'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?g WHERE { { ?g property:stated_in ?j . ?g rdf:type ontology:common_name . ?j rdf:type ontology:electronic_media } UNION { ?g property:stated_in ?j . ?g rdf:type ontology:common_name . ?j rdf:type ontology:nonprofit_organization } } GROUP BY ?g } } . FILTER ( ?m = ?k ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?n WHERE { { ?n property:stated_in ?s . ?n rdf:type ontology:common_name . ?s rdf:type ontology:electronic_media } UNION { ?n property:stated_in ?s . ?n rdf:type ontology:common_name . ?s rdf:type ontology:nonprofit_organization } } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3382191
P1303
Q34379 Q502895
USER
How many musical instruments are played by lesser number of people than upright piano ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3382191
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P1303 resource:Q3382191 . ?t rdf:type ontology:Q502895 } } . FILTER ( ?k < ?h ) }
upright piano
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity upright piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:instrument resource:upright_piano . ?t rdf:type ontology:common_name } } . FILTER ( ?k < ?h ) }
[]
musical instrument common name
SYSTEM
53
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 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 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3382191
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P1303 resource:Q3382191 . ?t rdf:type ontology:Q502895 } } . FILTER ( ?k < ?h ) }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium 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 drum Kayamb Paraguayan harp
53
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity upright piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:instrument resource:upright_piano . ?t rdf:type ontology:common_name } } . FILTER ( ?k < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q537750
P1303
Q34379 Q502895
USER
And what about Djembe?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q537750
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:P1303 ?c . ?x rdf:type ontology:Q502895 . ?c rdf:type ontology:Q34379 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:P1303 resource:Q537750 . ?a rdf:type ontology:Q502895 } } . FILTER ( ?o < ?r ) }
Djembe
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Djembe
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:instrument ?c . ?x rdf:type ontology:common_name . ?c rdf:type ontology:musical_instrument } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:instrument resource:Djembe . ?a rdf:type ontology:common_name } } . FILTER ( ?o < ?r ) }
[]
musical instrument common name
SYSTEM
36
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q173453 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q537750
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:P1303 ?c . ?x rdf:type ontology:Q502895 . ?c rdf:type ontology:Q34379 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:P1303 resource:Q537750 . ?a rdf:type ontology:Q502895 } } . FILTER ( ?o < ?r ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument spoon Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales wind instrument Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
36
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Djembe
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:instrument ?c . ?x rdf:type ontology:common_name . ?c rdf:type ontology:musical_instrument } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:instrument resource:Djembe . ?a rdf:type ontology:common_name } } . FILTER ( ?o < ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q35525
P159
Q895526
USER
How many authority organs have HQ at United States of America or White House ?
(c(Q895526),P159,Q30) (c(Q895526),P159,Q35525)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P159
type Q895526
action filter_type
action find_reverse
entity Q35525
relation P159
type Q895526
[{'concept': 'Q895526'}, 'P159', 'Q30'] [{'concept': 'Q895526'}, 'P159', 'Q35525']
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { VALUES ( ?f ) { ( resource:Q30 ) ( resource:Q35525 ) } . ?h property:P159 ?f }
United States of America White House
action count
action union
action filter_type
action find_reverse
entity United States of America
relation headquarters location
type authority organ
action filter_type
action find_reverse
entity White House
relation headquarters location
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', 'United States of America'] [{'concept': 'authority organ'}, 'headquarters location', 'White House']
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { VALUES ( ?f ) { ( resource:United_States_of_America ) ( resource:White_House ) } . ?h property:headquarters_location ?f }
[]
authority organ
SYSTEM
4
Q7994903 Q7994870 Q2928422 Q17184204
(c(Q895526),P159,Q30) (c(Q895526),P159,Q35525)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P159
type Q895526
action filter_type
action find_reverse
entity Q35525
relation P159
type Q895526
[ANSWER]
[{'concept': 'Q895526'}, 'P159', 'Q30'] [{'concept': 'Q895526'}, 'P159', 'Q35525']
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { VALUES ( ?f ) { ( resource:Q30 ) ( resource:Q35525 ) } . ?h property:P159 ?f }
White House Office of the Press Secretary White House Council on Women and Girls White House Military Office White House Task Force to Protect Students from Sexual Assault
4
action count
action union
action filter_type
action find_reverse
entity United States of America
relation headquarters location
type authority organ
action filter_type
action find_reverse
entity White House
relation headquarters location
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', 'United States of America'] [{'concept': 'authority organ'}, 'headquarters location', 'White House']
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { VALUES ( ?f ) { ( resource:United_States_of_America ) ( resource:White_House ) } . ?h property:headquarters_location ?f }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16216797 Q5144961
P19
Q56061
USER
Which administrative territories were Colin Campbell or Archis Tiku born ?
OR((Q5144961,P19,c(Q56061)), (Q16216797,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5144961
relation P19
action find
entity Q16216797
relation P19
type Q56061
{'OR': [['Q5144961', 'P19', {'concept': 'Q56061'}], ['Q16216797', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q5144961 property:P19 ?a } UNION { resource:Q16216797 property:P19 ?a } } . ?a rdf:type ontology:Q56061 }
Archis Tiku Colin Campbell
action filter_type
action union
action find
entity Colin Campbell
relation place of birth
action find
entity Archis Tiku
relation place of birth
type administrative territorial entity
{'OR': [['Colin Campbell', 'place of birth', {'concept': 'administrative territorial entity'}], ['Archis Tiku', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Colin_Campbell property:place_of_birth ?a } UNION { resource:Archis_Tiku property:place_of_birth ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1156 Q84
SYSTEM
Mumbai, London
Q1156 Q84
OR((Q5144961,P19,c(Q56061)), (Q16216797,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5144961
relation P19
action find
entity Q16216797
relation P19
type Q56061
Colin Campbell or Archis Tiku were born in [ANSWERS]
{'OR': [['Q5144961', 'P19', {'concept': 'Q56061'}], ['Q16216797', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q5144961 property:P19 ?a } UNION { resource:Q16216797 property:P19 ?a } } . ?a rdf:type ontology:Q56061 }
Mumbai London
Colin Campbell or Archis Tiku were born in Mumbai and London
Mumbai London
action filter_type
action union
action find
entity Colin Campbell
relation place of birth
action find
entity Archis Tiku
relation place of birth
type administrative territorial entity
{'OR': [['Colin Campbell', 'place of birth', {'concept': 'administrative territorial entity'}], ['Archis Tiku', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Colin_Campbell property:place_of_birth ?a } UNION { resource:Archis_Tiku property:place_of_birth ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q65
P190
Q56061
USER
Are Los Angeles twin city of those ones ?
(Q65,P190,Q1156) (Q65,P190,Q84)
action is_in
entity prev_answer
action find
entity Q65
relation P190
['Q65', 'P190', 'Q1156'] ['Q65', 'P190', 'Q84']
ASK WHERE { VALUES ( ?k ) { ( resource:Q1156 ) ( resource:Q84 ) } . resource:Q65 property:P190 ?k }
Los Angeles
action is_in
entity prev_answer
action find
entity Los Angeles
relation sister city
['Los Angeles', 'sister city', 'Mumbai'] ['Los Angeles', 'sister city', 'London']
ASK WHERE { VALUES ( ?k ) { ( resource:Mumbai ) ( resource:London ) } . resource:Los_Angeles property:sister_city ?k }
[]
administrative territorial entity
SYSTEM
YES
(Q65,P190,Q1156) (Q65,P190,Q84)
action is_in
entity prev_answer
action find
entity Q65
relation P190
[ANSWER]
['Q65', 'P190', 'Q1156'] ['Q65', 'P190', 'Q84']
ASK WHERE { VALUES ( ?k ) { ( resource:Q1156 ) ( resource:Q84 ) } . resource:Q65 property:P190 ?k }
Yes
action is_in
entity prev_answer
action find
entity Los Angeles
relation sister city
['Los Angeles', 'sister city', 'Mumbai'] ['Los Angeles', 'sister city', 'London']
ASK WHERE { VALUES ( ?k ) { ( resource:Mumbai ) ( resource:London ) } . resource:Los_Angeles property:sister_city ?k }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have min number of administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action argmin
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?v ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?o ) WHERE { ?f property:P532 ?h . ?f rdf:type ontology:Q2235308 . ?h rdf:type ontology:Q56061 } GROUP BY ?f } } . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { ?i property:P532 ?j . ?j rdf:type ontology:Q56061 . ?i rdf:type ontology:Q2235308 } GROUP BY ?i } . FILTER ( ?m = ?v ) }
action argmin
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?v ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?o ) WHERE { ?f property:port_of_registry ?h . ?f rdf:type ontology:ship_type . ?h rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } } . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { ?i property:port_of_registry ?j . ?j rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:ship_type } GROUP BY ?i } . FILTER ( ?m = ?v ) }
[]
administrative territorial entity ship type
Q558338 Q10689324 Q56839
SYSTEM
RV Polarstern, T46, USNS Puerto Rico
Q24027529 Q24027524 Q24027523 Q24027520 Q24027521 Q558338 Q24027098 Q5416 Q23935687 Q24027294 Q24027295 Q24027296 Q24027297 Q24027290 Q24027291 Q24027293 Q24027355 Q24027354 Q24027357 Q24027356 Q24027298 Q24027350 Q24027353 Q24027352 Q24027450 Q24027456 Q24027457 Q10659232 Q24027455 Q24027458 Q24027459 Q671137 Q24027390 Q24027188 Q24027189 Q23936292 Q24027181 Q24027183 Q24027184 Q24027185 Q24027186 Q24027187 Q24026972 Q21590707 Q24026970 Q24026971 Q24026976 Q24026974 Q24026975 Q24026978 Q24026979 Q24027078 Q24027079 Q24027075 Q24027076 Q24027077 Q24027070 Q24027071 Q24027072 Q24027073 Q24027175 Q24027174 Q24027177 Q24027279 Q24027171 Q24027170 Q24027173 Q24027172 Q24027272 Q24027270 Q24027179 Q24027178 Q24027274 Q24027275 Q24027269 Q24027009 Q24027008 Q24027001 Q24027000 Q24027003 Q24027386 Q24027005 Q24027004 Q24027007 Q24027006 Q24027467 Q24027418 Q24027416 Q24027414 Q24027412 Q24027413 Q24027410 Q3432142 Q21546160 Q7393645 Q24027302 Q24027303 Q24027300 Q24027301 Q24027306 Q24027307 Q24027304 Q24027305 Q24027359 Q24027308 Q24027309 Q24027358 Q25933427 Q64846 Q24027251 Q24027452 Q24027234 Q24027235 Q24027232 Q24027233 Q24027230 Q24027231 Q24027238 Q24027239 Q24027025 Q24027364 Q24026989 Q24026988 Q6720075 Q24026983 Q24026982 Q24026981 Q24026980 Q24026986 Q24026985 Q24026984 Q24027045 Q24027044 Q24027128 Q24027129 Q24027041 Q24027040 Q24027043 Q24027042 Q24027122 Q24027123 Q24027120 Q24027121 Q24027126 Q24027127 Q24027124 Q24027125 Q24026938 Q24026939 Q24026936 Q24026937 Q24027180 Q24026935 Q24026932 Q24026933 Q24026930 Q24026931 Q24027513 Q24027512 Q24027511 Q24027510 Q24027517 Q24027516 Q24027514 Q24027401 Q24027519 Q24027518 Q24027299 Q24027400 Q1376616 Q321512 Q24027118 Q24027349 Q24027346 Q24027347 Q24027344 Q24027345 Q24027343 Q24027340 Q24027112 Q7394354 Q24027466 Q24027465 Q24027464 Q24027463 Q24027462 Q24027461 Q24027460 Q24027059 Q24027469 Q24027468 Q26884343 Q24027438 Q24027439 Q2017178 Q24027249 Q23930851 Q24026947 Q24026946 Q24026945 Q24026943 Q24026942 Q24026941 Q24026940 Q24026949 Q24026948 Q24027081 Q24027080 Q24027083 Q24027082 Q24027085 Q24027084 Q24027087 Q24027086 Q24027088 Q24027050 Q24027166 Q24027167 Q24027164 Q24027162 Q24027163 Q24027160 Q24027161 Q24027247 Q24027246 Q24027245 Q24027244 Q24027243 Q24027242 Q24027168 Q24027240 Q23936293 Q24027051 Q24027237 Q24027437 Q24027018 Q24027019 Q887782 Q24027012 Q24027013 Q24026934 Q24027017 Q24683722 Q24027015 Q24027422 Q24027421 Q24027420 Q24027427 Q24027426 Q24027425 Q24027424 Q24027429 Q24027428 Q24027337 Q24027336 Q24027335 Q24027334 Q24027333 Q24027332 Q24027331 Q24027330 Q24027339 Q24027338 Q24027192 Q872070 Q24027328 Q56839 Q24027208 Q24027203 Q24027200 Q24027206 Q24027205 Q24027204 Q4922515 Q24026998 Q24026999 Q24026994 Q24026995 Q24026996 Q24026997 Q24026990 Q24026991 Q24026992 Q24026993 Q24027056 Q24027057 Q24027054 Q24027055 Q24027052 Q24027053 Q24027119 Q1926275 Q24027117 Q24027116 Q24027115 Q24027113 Q24027111 Q24027110 Q24027010 Q19896387 Q24027506 Q24027507 Q24027500 Q24027501 Q24027502 Q24027503 Q24027016 Q24027508 Q24027509 Q10659340 Q24027448 Q24027478 Q24027479 Q24027371 Q24027370 Q24027377 Q24027375 Q24027374 Q24027470 Q24027471 Q24027472 Q24027378 Q24027476 Q24027475 Q24027046 Q2714285 Q24027477 Q24027248 Q24027049 Q24027047 Q24027485 Q24027481 Q24027480 Q24027483 Q24027489 Q24027488 Q190542 Q19875522 Q24027278 Q24027092 Q24027093 Q24027090 Q24027091 Q24027096 Q24027097 Q24027094 Q24027095 Q24027153 Q24027152 Q24027151 Q24027150 Q24027157 Q24027156 Q24027155 Q24027154 Q24027398 Q24027252 Q24027253 Q24027254 Q24027256 Q24027257 Q24027391 Q24027259 Q24027393 Q24027392 Q24027395 Q24027394 Q24027397 Q24027396 Q1328104 Q23935690 Q24027276 Q24027277 Q24027029 Q24027027 Q24027026 Q24026973 Q24027024 Q24027023 Q24027022 Q24027021 Q24027020 Q24026958 Q24026959 Q3273204 Q24026950 Q24026951 Q24026952 Q24026953 Q24026954 Q24026955 Q24026956 Q24026957 Q24027434 Q24027435 Q24027436 Q24027241 Q24027430 Q24027433 Q24027531 Q24027227 Q24027533 Q24027226 Q24027408 Q24027197 Q15804931 Q24027222 Q24027218 Q24027283 Q24027281 Q24027280 Q24027287 Q24027285 Q24027284 Q24027320 Q24027321 Q24027322 Q24027288 Q24027324 Q24027326 Q24027327 Q24027441 Q24027440 Q24027443 Q24027442 Q24027444 Q24027447 Q24027446 Q24027449 Q644078 Q24027217 Q15806486 Q2859581 Q23936306 Q6717728 Q24027194 Q24027193 Q24027219 Q24027191 Q24027190 Q24027214 Q24027215 Q24027216 Q24027210 Q24027211 Q24027212 Q24027213 Q23930837 Q24026961 Q24026960 Q24026963 Q24026962 Q24026965 Q24026964 Q24026967 Q24026966 Q24026969 Q24027069 Q24027068 Q24027061 Q24027060 Q24027067 Q24027066 Q24027065 Q24027064 Q24027101 Q24027103 Q24027104 Q24027105 Q24027106 Q24027107 Q24027108 Q24027109 Q24027262 Q24027265 Q24027264 Q24027267 Q24027266 Q24026915 Q24026916 Q17374114 Q1094175 Q24026919 Q885761 Q19277222 Q10542891 Q24027365 Q24027366 Q24027367 Q24027360 Q24027361 Q24027362 Q24027363 Q24027405 Q24027404 Q24027407 Q24027368 Q24027369 Q24027402 Q7440002 Q10689319 Q6718072 Q4833112 Q24027030 Q1844689 Q24027138 Q24027342 Q24027311 Q24027310 Q24027313 Q24027312 Q24027315 Q24027314 Q24027317 Q24027316 Q24027319 Q24027318 Q24027341 Q10689326 Q10689324 Q24027497 Q24027494 Q24027495 Q24027493 Q24027490 Q24027491 Q24027037 Q24027498 Q24027499 Q24027038 Q24027039 Q24027134 Q24027148 Q24027144 Q24027145 Q24027146 Q24027147 Q24027140 Q24027141 Q24027142 Q24027143 Q24027225 Q24027224 Q24027388 Q24027389 Q24027221 Q24027220 Q24027223 Q23936316 Q24027382 Q24027380 Q24027381 Q24027229 Q24027387 Q24027384 Q24027385 Q24027100 Q24027268 Q469715 Q24027139 Q24027031 Q24027032 Q24027033 Q24027034 Q24027035 Q24027036 Q24027131 Q24027130 Q24027133 Q24027132 Q24027135 Q24027159 Q24027137 Q24027136 Q24027261 Q24027158 Q24026929 Q24026928 Q24027260 Q24026925 Q24026924 Q24026927 Q24026926 Q24026921 Q24026920 Q24026923 Q24026922
(c(Q2235308),P532,c(Q56061))
action argmin
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWERS] have min number of administrative territories as registry port
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?v ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?o ) WHERE { ?f property:P532 ?h . ?f rdf:type ontology:Q2235308 . ?h rdf:type ontology:Q56061 } GROUP BY ?f } } . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { ?i property:P532 ?j . ?j rdf:type ontology:Q56061 . ?i rdf:type ontology:Q2235308 } GROUP BY ?i } . FILTER ( ?m = ?v ) }
Claverdale Cliftonian Florrie Glantivy Cheltonian RV Polarstern Eagle MS Isabelle Elizabeth Ann Catherine Anne Charlotte Pilgrim Martha Jane Alert Mary Retina Noah Rowland Evans Jane Maria Crusader Progress Solway Pleiades Fairy Owny Belle Dora Ann Adela S Hills S/S Blidösund Maglona Conovium Morning Star MV Brigitte Bardot Dovey Belle Dreadnought Jane Williams Agenoria Leander John James Lettice Catherine Farmers Lass Orcadia Anne Davies Diligence Ardmore Sealeader Salathiel Energy Urgent Letitia Brothers Ceres Aeron Lass Ellen Owen Mantura Urania Mary Anne Elizabeth Lewis George Ann Margaretta Friendship Catherine & Mary Equity Eagle Eyed Glenaros Mary Davies Queen of the Isles Prima Donna Thomas Confidence Hannah Nive Naomi Dewi Lass Anne Jane Helena Taliesin Cambrian Belle Atalanta Bee Mountain Lass William & Mary Turtle Dove Friends Ellen Adelaide Martha Lloyd Courier Lerry Claudia Ivanhoe Ina Lass Cecil Brindley Golar Spirit MV Maritec SS Empire Endurance Hind Fairlina Joan Cunllo Prince of Wales Aurora Ann Davies Montego Gertrude Ceredig Martha Lloyd William Landreth Retriever High Barbaree MS Skåne Panthea Ann Jones Killia Lass Jane Belem Alberta Agnes Fraser Main Volunteer Eunice Mary Hughes Lovina Bee Hope MV Spreewald Fair Hope Beryl Dovey Packet Candace Lydia Speculation Clara Nanteos Carn Brea Lady of the Forest Nathaniel Ontario Herald Anna Maria Margaret Jones Jane Gwynne Arica Jane Davies Hawendale Elizabeth & Margaret Rheidol Vale Candor Prince Llewelyn Clarissa Elizabeth Thomas New Diligence Ella Pacific Maria George Reynolds Mary Anna Argo Towy Santon Glanyrafon Harperly Glanhafren Venus Glanystwyth Pluvier J. Llewellyn Alton Towers Feliciana Catherine Morgan J.W.A. SS Norge Alster Sarah Bridget Castle Eden Walter J. Cummins Sea Queen Hetty Mary Zingara Ocean Dart Zulette Sarah SS Scharnhorst Eleanor & Jane Agenoria Maggie Phillips Rheidol Nerissa Caroline Spooner General Nott Adoram Lady Agnes George & Lizzie STI Poplar Plover Maggie Cummings Oker Glenara Capricorn Prudence Jane Adroit Primrose John & Ann Levant Ellen Eaglet Jane Ellen Dove Glynaeron Padarn Arcturus Edward John Eleanor Jane Jones Cwmsymlog John & Margaret Loyalty Maria & Ann Marmion Claudia Albion Mary Rees Two sisters Puella Berlin Nimrod Jane Elizabeth Anne Jenkins Credo Cricket Louisa Jane Morben Providence Anne & Mary Lima Agnes Cairnes Mary Lloyd Jane MY Bob Barker Jane Ellen Pyrenee Two Brothers Gwalia Cirrus Gowerian Champion Gipsy King John Ewing Cygnet P.M. Willcock Lorne Derby Ella Swallow Fanny Fothergill Catherine Acorn Albatross Isabella Julianna Oronsa John Elias General Nott Ellen Beatrice Maid of Meirion German frigate Lübeck Sarah Phillips USNS Puerto Rico Heather Bell Ocean Belle Maria Anna Aretas Ann & Margaret Syren Blackadder Orion Prima Dudgeon Margaret Ann Aeron Maid Reform Lovely Lass Conovium Major Nanney Amity Henry & Dora Heart of Oak Ann & Elizabeth Ruby Anne Jones Catherine Beatrice MY Steve Irwin Mary Jones Peerless Eliza & Hannah Eliza Jenkins All Right Jane Owens Viscata Asta av Smögen Porpoise Norseman Etonian Rugbeian Carthusian Breconian Victoria Crescent Blue & White S/S Storskär Desdemona Raymond Comet Dreadnought Napoleon Leah Swell Rheidol Queen Hero Isobel Queen's Cliff Hope Adrienne Pearl Ellen MS Rosella Lynwood Prairie Flower Active Egcrateia Glanwern Miss Hughes Advance Edith Eleanor Glanrheidol Cadwgan Costa Concordia Big Fish Susannah Knapp Philanthropist Magdalen Esther Eleanor Anne Warren Myra Union Packet Ellen Edwards Hagar Hedessa Messenger Spread Eagle Nymph Faithful Sister Caroline Maria Roseina Lizzie Jane Sarah Jane Wellington Bessie Messenger Bezaleel Jane Rowland Ann & Mary Antelope Jane Lois Henry E. Taylor Jane Catherine Alfa Nero Azorean J.W. James Bristol Packet Aeron Queen Melodia Malvina Velocity Jane & Mary Gleaner Dart Margaret Evans Martin Omnibus MV Barfleur Ospray Integrity Lively Lass Anne Elizabeth Waterloo John & Mary Faithful Mother Industry Eastward Ianthe Resolven Ionian Belle Alice & Eliza Fleetwing Erycina Utopia Mela Hetty Ellen Ethel Anne Eliza Jane Linzerin Thomas & Sons Elizabeth Jane Margaretta Bertie Squirrel Ann Eliza Emily Agnes Alicia Summer Cloud Ada & Alice Catherine Hendry George Evans Prince Cadwgan U. Larsing Annie Maude Sophia & Emily Nymph Cambrian Doris Shon Quilt Excelsior Martha & Harriet Lady Pryse Preußen Aeron Vale Dortmund Arawak Zouave MSC Geneva Heedful Emrys Eleanor Thomas Anne Catherine Ada Letitia Sarah Davies Eleanor Francis Margaret Jane John James Industry Marwood Rosina Jane Morriston Affines Excellent Nymph Mary Jane Alert Ann Sylph Bristol Trader Hope Enterprise Aeron Belle Fanny Taylor Ellen Express Brothers Castle Annsboro Drusus Jane Morgans Elizabeth Davies Meridian Strata Florida Majestic Mary Botwood Laura John William John William Keldhead Ceres Susanna Gwenllian Velocity M/S Elfkungen MV City of St. Petersburg Kate MV Blue Marlin Ceona Amazon Kalmarsund VIII Glad Tidings Star of Wales Sir Robert McClure Naomi Rheidol Queen Ellen Anne Levant Rosland Zenobia Clarita Patriot Priscilla M.A. Jones Sea Shepherd II T26 MS Gemini Azurite FDPSO Alice RV Farley Mowat Britannia Mela Kate Sophia Principality Elizabeth Gwladys Madona Native M. A. Evans Clarovine Annie Ramsay Maelota Isabel T56 T46 Johann Caradog Theodore Engels Glanystwyth General Picton Eleanor & Jane Ifor Firefly Jubilee Ceylon Susanna Nell Lois Mary Sarah Mary Jane Eigen Cambria Eugenia Battus Jane Griffiths Severn John Pierce Blue Jacket Mediterranean Triton Ann & Betsy Tirsah Jane Herbert Eliza Francis Rebecca Native Pearl Oneida Aberystwyth Emma Alice Rachel Lewis Sarah Ann Favourite Atlantic MV Colombo Express Sisters John & Mary Ellen Catherine Camden Marys Resolute MARY & ELLEN Truant Wasp Louisa Ann Countess of Lisburne Sarah & Mary Favourite Anne Bodotria Ystwyth Burncoose Exchange Honora Convoy Valentine Gambia Catherine & Jane Mair Perseverance Idea Pandora Ellen
RV Polarstern, T46 and USNS Puerto Rico have min number of administrative territories as registry port
RV Polarstern T46 USNS Puerto Rico
action argmin
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?v ) { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?o ) WHERE { ?f property:port_of_registry ?h . ?f rdf:type ontology:ship_type . ?h rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } } . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?m ) WHERE { ?i property:port_of_registry ?j . ?j rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:ship_type } GROUP BY ?i } . FILTER ( ?m = ?v ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6581072 Q6581097
P21
Q502895
USER
Which people are a male and female ?
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P21 resource:Q6581097 . ?u property:P21 resource:Q6581072 }
female male
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:gender resource:male . ?u property:gender resource:female }
[]
common name
Q3260705 Q24807469 Q201204 Q3809749 Q18559837 Q453573 Q11815936 Q2882250 Q21503040 Q16165783
SYSTEM
Some of them are Louis-Marie Autissier, Kudirat Akhigbe, Dana International, Jaiyah Saelua, Mirabel Topham, Vicki Richter, Petia Stawrewa, Jingjing Wang, Kenneth Neil, America Sanchez
Q12966459 Q17600942 Q3260705 Q5874237 Q21391750 Q17225819 Q5972494 Q16941580 Q16733519 Q11622868 Q6702791 Q10263785 Q6571041 Q16732132 Q24264223 Q20401379 Q20119921 Q2312612 Q16164967 Q242700 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q5482749 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q24500675 Q24034956 Q19957341 Q6258596 Q22236117 Q22808784 Q11379959 Q6003690 Q24807469 Q21857402 Q21258362 Q4979792 Q11449790 Q22001922 Q3575012 Q3764762 Q7377573 Q20068820 Q6031433 Q21794041 Q6438624 Q25768293 Q19448005 Q21503040 Q17148031 Q11604340 Q17158335 Q11815936 Q17364527 Q22280435 Q15934058 Q18559837 Q11201210 Q25748324 Q459844 Q2379965 Q3291942 Q17621841 Q20980163 Q453573 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q23416861 Q15807938 Q19357604 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q16165783 Q5569499 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q22095108 Q12872947 Q15433626
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] are a male and female
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P21 resource:Q6581097 . ?u property:P21 resource:Q6581072 }
Kim Ju-yeong Gert Portael Louis-Marie Autissier Hom Nguyen George Mather Luer Hajime Hyakkoku Leeland Dayton Mooring Antonio Merayo Ali Nuhu Kodai Fujii Luli Bitri Dalmau IV de Rocabertí Diemut Theato Robin Mathews Milko Tokola Hakima El Haite Lee Parkhill Floris Meydam Ivan Almeida Naima Mora Hana Shezifi Gilgun Elmo Jankari Rafeef Ziadah Magdalena Mayr Liss Eriksson Lilly Wachowski Andreja Pejić Yengkhom Roma Letebrhan Haylay Gebreslasea Francis Wheatley Jian-Huan Yang Dana International Fenedy Masauvakalo Anna Grodzka Chanmi Elisabeth Ullmann Marina Lampraki-Plaka Ángel Martínez Ortega Benny Motzfeldt Maria-Magdalena Zaharescu Joan de Munchensi Amadeus Serafini Jaki Irvine Tinne De Caigny John Spaulding Colombe Marcasiano Annegret Kuhn Kazue Itō María Elena Orantes Kudirat Akhigbe Miska Humaloja Dominique Van Der Straeten Emma Josepha Sparre Terunobu Utsunomiya Suzanne Schulting Zdeněk Koubek Shamshad Begum Rudy Autio Lesya Nikityuk Matthew W. Taylor Jelizaveta Potapova Gaz Beadle Shagdaryn Bira Juan Illas y Vidal Kenneth Neil Maria Espinalt i Font Akira Yoneda Songhaye Petia Stawrewa Ángel Tejeda Sun Vandeth Matsudaira Yoshiko Mirabel Topham Asmik Grigorian K. T. Rama Rao Norah Al Faiz Thomas Beatie Marie-Joseph Charles des Acres de l'Aigle Marta Linares Engel Reimers Vicki Richter Miki Matsumoto Adolfine Therese Leander-Flodin Nikola Jakadofsky Daniele Hypólito Rosalba Carriera Mina Caputo Parinya Charoenphol Chelsea Manning Saalumarada Thimmakka Cesare Nebbia Ivica Mavrenski Elvire De Bruyn Hamda Khamis Stanisława Witekowa Jean-Marie Aleokol Mabieme Jingjing Wang Jan Norback Carlo Guasco Jaiyah Saelua Chew Mei Fun Silke Weitendorf Ingel Fallstedt America Sanchez Glenys Barton Lee Hye-jin Kim Ye-ri Jorge Garate Ionna Stephanopoli Choi Jung-moon Taofik Adegbite Frosso Kiaou Florence Randal Livesay
Louis-Marie Autissier, Kudirat Akhigbe, Dana International, Jaiyah Saelua, Mirabel Topham, Vicki Richter, Petia Stawrewa, Jingjing Wang, Kenneth Neil and America Sanchez are a male and female
Louis-Marie Autissier Kudirat Akhigbe Dana International Jaiyah Saelua Mirabel Topham Vicki Richter Petia Stawrewa Jingjing Wang Kenneth Neil America Sanchez
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:gender resource:male . ?u property:gender resource:female }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3260705 Q24807469 Q201204 Q3809749 Q18559837 Q453573 Q11815936 Q2882250 Q21503040 Q16165783
P21
Q290
USER
Which sexes do those people belong to ?
(Q3260705,P21,c(Q290)) (Q24807469,P21,c(Q290)) (Q201204,P21,c(Q290)) (Q3809749,P21,c(Q290)) (Q18559837,P21,c(Q290)) (Q453573,P21,c(Q290)) (Q11815936,P21,c(Q290)) (Q2882250,P21,c(Q290)) (Q21503040,P21,c(Q290)) (Q16165783,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q3260705', 'P21', {'concept': 'Q290'}] ['Q24807469', 'P21', {'concept': 'Q290'}] ['Q201204', 'P21', {'concept': 'Q290'}] ['Q3809749', 'P21', {'concept': 'Q290'}] ['Q18559837', 'P21', {'concept': 'Q290'}] ['Q453573', 'P21', {'concept': 'Q290'}] ['Q11815936', 'P21', {'concept': 'Q290'}] ['Q2882250', 'P21', {'concept': 'Q290'}] ['Q21503040', 'P21', {'concept': 'Q290'}] ['Q16165783', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?p ) { ( resource:Q12966459 ) ( resource:Q17600942 ) ( resource:Q3260705 ) } . ?z rdf:type ontology:Q290 . ?p property:P21 ?z }
Louis-Marie Autissier Kudirat Akhigbe Dana International Jaiyah Saelua Mirabel Topham Vicki Richter Petia Stawrewa Jingjing Wang Kenneth Neil America Sanchez
action filter_type
action find
entity prev_answer
relation gender
type sex
['Louis-Marie Autissier', 'gender', {'concept': 'sex'}] ['Kudirat Akhigbe', 'gender', {'concept': 'sex'}] ['Dana International', 'gender', {'concept': 'sex'}] ['Jaiyah Saelua', 'gender', {'concept': 'sex'}] ['Mirabel Topham', 'gender', {'concept': 'sex'}] ['Vicki Richter', 'gender', {'concept': 'sex'}] ['Petia Stawrewa', 'gender', {'concept': 'sex'}] ['Jingjing Wang', 'gender', {'concept': 'sex'}] ['Kenneth Neil', 'gender', {'concept': 'sex'}] ['America Sanchez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?p ) { ( resource:Kim_Ju-yeong ) ( resource:Gert_Portael ) ( resource:Louis-Marie_Autissier ) } . ?z rdf:type ontology:sex . ?p property:gender ?z }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072 Q6581097 Q6581072
(Q3260705,P21,c(Q290)) (Q24807469,P21,c(Q290)) (Q201204,P21,c(Q290)) (Q3809749,P21,c(Q290)) (Q18559837,P21,c(Q290)) (Q453573,P21,c(Q290)) (Q11815936,P21,c(Q290)) (Q2882250,P21,c(Q290)) (Q21503040,P21,c(Q290)) (Q16165783,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q3260705', 'P21', {'concept': 'Q290'}] ['Q24807469', 'P21', {'concept': 'Q290'}] ['Q201204', 'P21', {'concept': 'Q290'}] ['Q3809749', 'P21', {'concept': 'Q290'}] ['Q18559837', 'P21', {'concept': 'Q290'}] ['Q453573', 'P21', {'concept': 'Q290'}] ['Q11815936', 'P21', {'concept': 'Q290'}] ['Q2882250', 'P21', {'concept': 'Q290'}] ['Q21503040', 'P21', {'concept': 'Q290'}] ['Q16165783', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?p ) { ( resource:Q12966459 ) ( resource:Q17600942 ) ( resource:Q3260705 ) } . ?z rdf:type ontology:Q290 . ?p property:P21 ?z }
male female male female male female male female male female male female male female male female male female male female
Those people belong to male, female and male
male female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Louis-Marie Autissier', 'gender', {'concept': 'sex'}] ['Kudirat Akhigbe', 'gender', {'concept': 'sex'}] ['Dana International', 'gender', {'concept': 'sex'}] ['Jaiyah Saelua', 'gender', {'concept': 'sex'}] ['Mirabel Topham', 'gender', {'concept': 'sex'}] ['Vicki Richter', 'gender', {'concept': 'sex'}] ['Petia Stawrewa', 'gender', {'concept': 'sex'}] ['Jingjing Wang', 'gender', {'concept': 'sex'}] ['Kenneth Neil', 'gender', {'concept': 'sex'}] ['America Sanchez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?p ) { ( resource:Kim_Ju-yeong ) ( resource:Gert_Portael ) ( resource:Louis-Marie_Autissier ) } . ?z rdf:type ontology:sex . ?p property:gender ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201204
P1346
Q15275719
USER
Where was Dana International decalred as a champion ?
(c(Q15275719),P1346,Q201204)
action filter_type
action find_reverse
entity Q201204
relation P1346
type Q15275719
[{'concept': 'Q15275719'}, 'P1346', 'Q201204']
SELECT DISTINCT ?c WHERE { ?c property:P1346 resource:Q201204 . ?c rdf:type ontology:Q15275719 }
Dana International
action filter_type
action find_reverse
entity Dana International
relation winner
type recurring event
[{'concept': 'recurring event'}, 'winner', 'Dana International']
SELECT DISTINCT ?c WHERE { ?c property:winner resource:Dana_International . ?c rdf:type ontology:recurring_event }
[]
recurring event
Q202110
SYSTEM
Eurovision Song Contest 1998
Q202110
(c(Q15275719),P1346,Q201204)
action filter_type
action find_reverse
entity Q201204
relation P1346
type Q15275719
Dana International was decalred in [ANSWER] as a champion
[{'concept': 'Q15275719'}, 'P1346', 'Q201204']
SELECT DISTINCT ?c WHERE { ?c property:P1346 resource:Q201204 . ?c rdf:type ontology:Q15275719 }
Eurovision Song Contest 1998
Dana International was decalred in Eurovision Song Contest 1998 as a champion
Eurovision Song Contest 1998
action filter_type
action find_reverse
entity Dana International
relation winner
type recurring event
[{'concept': 'recurring event'}, 'winner', 'Dana International']
SELECT DISTINCT ?c WHERE { ?c property:winner resource:Dana_International . ?c rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q202110
P710
Q502895
USER
Who were the participants of that recurring event ?
(Q202110,P710,c(Q502895))
action filter_type
action find
entity Q202110
relation P710
type Q502895
['Q202110', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q202110 property:P710 ?c }
Eurovision Song Contest 1998
action filter_type
action find
entity Eurovision Song Contest 1998
relation participant
type common name
['Eurovision Song Contest 1998', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Eurovision_Song_Contest_1998 property:participant ?c }
[]
common name
Q201204 Q720993 Q236070
SYSTEM
Dana International, Michalis Hatzigiannis, Chiara Siracusa
Q903838 Q284245 Q236070 Q63029 Q515401 Q463424 Q678230 Q272258 Q446215 Q443827 Q118825 Q720993 Q2394354 Q468454 Q956678 Q201204 Q2524734 Q285013 Q467579 Q635965 Q124203
(Q202110,P710,c(Q502895))
action filter_type
action find
entity Q202110
relation P710
type Q502895
The participants of that recurring event were [ANSWERS]
['Q202110', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q202110 property:P710 ?c }
Mikel Herzog Danijela Martinović Chiara Siracusa Guildo Horn Marie Line Edsilia Rombley Koit Toome Jill Johnson Imaani Mélanie Cohl Lars A. Fredriksen Michalis Hatzigiannis Tarkan Tüzmen Katarína Hasprová Vlado Janevski Dana International Vili Resnik Mălina Olinescu Dawn Martin Charlie Gunvor Guggisberg
The participants of that recurring event were Dana International, Michalis Hatzigiannis and Chiara Siracusa
Dana International Michalis Hatzigiannis Chiara Siracusa
action filter_type
action find
entity Eurovision Song Contest 1998
relation participant
type common name
['Eurovision Song Contest 1998', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Eurovision_Song_Contest_1998 property:participant ?c }
[]