Simple Question (Direct)
Simple Question
Q3259488
P21
Q290
USER
Which sex does Lorenzo Neal belong to ?
(Q3259488,P21,c(Q290))
action filter_type
action find
entity Q3259488
relation P21
type Q290
['Q3259488', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3259488 property:P21 ?i . ?i rdf:type ontology:Q290 }
Lorenzo Neal
action filter_type
action find
entity Lorenzo Neal
relation gender
type sex
['Lorenzo Neal', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Lorenzo_Neal property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3259488,P21,c(Q290))
action filter_type
action find
entity Q3259488
relation P21
type Q290
Lorenzo Neal belongs to [ANSWER]
['Q3259488', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3259488 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Lorenzo Neal belongs to male
male
action filter_type
action find
entity Lorenzo Neal
relation gender
type sex
['Lorenzo Neal', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Lorenzo_Neal property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3259488
P19
Q56061
USER
Where was that person born ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q3259488
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q3259488 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Lorenzo Neal
action filter_type
action find
entity Lorenzo Neal
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Lorenzo_Neal property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q375185
SYSTEM
Hanford
Q375185
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q3259488
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q3259488 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Hanford
That person was born in Hanford
Hanford
action filter_type
action find
entity Lorenzo Neal
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Lorenzo_Neal property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027384
P532
Q56061 Q2235308
USER
How many ship types are the registry port of more number of administrative territories than Rachel Lewis ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027384
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?i ) WHERE { ?g property:P532 ?b . ?g rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:Q2235308 . resource:Q24027384 property:P532 ?y } } . FILTER ( ?i > ?f ) }
Rachel Lewis
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Rachel Lewis
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?i ) WHERE { ?g property:port_of_registry ?b . ?g rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:ship_type . resource:Rachel_Lewis property:port_of_registry ?y } } . FILTER ( ?i > ?f ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027384
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?i ) WHERE { ?g property:P532 ?b . ?g rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:Q2235308 . resource:Q24027384 property:P532 ?y } } . FILTER ( ?i > ?f ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Rachel Lewis
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?i ) WHERE { ?g property:port_of_registry ?b . ?g rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:ship_type . resource:Rachel_Lewis property:port_of_registry ?y } } . FILTER ( ?i > ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1026780
P532
Q56061 Q2235308
USER
And how about SS California?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q1026780
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?l ) WHERE { ?g property:P532 ?s . ?g rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q56061 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q1026780 property:P532 ?w . ?w rdf:type ontology:Q2235308 } } . FILTER ( ?l > ?r ) }
SS California
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity SS California
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?l ) WHERE { ?g property:port_of_registry ?s . ?g rdf:type ontology:ship_type . ?s rdf:type ontology:administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:SS_California property:port_of_registry ?w . ?w rdf:type ontology:ship_type } } . FILTER ( ?l > ?r ) }
[]
administrative territorial entity ship type
SYSTEM
5
Q11707059 Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q1026780
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?l ) WHERE { ?g property:P532 ?s . ?g rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q56061 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q1026780 property:P532 ?w . ?w rdf:type ontology:Q2235308 } } . FILTER ( ?l > ?r ) }
MS Arrow Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
5
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity SS California
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?l ) WHERE { ?g property:port_of_registry ?s . ?g rdf:type ontology:ship_type . ?s rdf:type ontology:administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:SS_California property:port_of_registry ?w . ?w rdf:type ontology:ship_type } } . FILTER ( ?l > ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q375185
P190
Q3055118
USER
Which human settlement is partner town of Hanford ?
(Q375185,P190,c(Q3055118))
action filter_type
action find
entity Q375185
relation P190
type Q3055118
['Q375185', 'P190', {'concept': 'Q3055118'}]
SELECT DISTINCT ?v WHERE { resource:Q375185 property:P190 ?v . ?v rdf:type ontology:Q3055118 }
Hanford
action filter_type
action find
entity Hanford
relation sister city
type single entity of population
['Hanford', 'sister city', {'concept': 'single entity of population'}]
SELECT DISTINCT ?v WHERE { resource:Hanford property:sister_city ?v . ?v rdf:type ontology:single_entity_of_population }
[]
single entity of population
Q1036505
SYSTEM
Setana
Q1036505
(Q375185,P190,c(Q3055118))
action filter_type
action find
entity Q375185
relation P190
type Q3055118
[ANSWER] is partner town of Hanford
['Q375185', 'P190', {'concept': 'Q3055118'}]
SELECT DISTINCT ?v WHERE { resource:Q375185 property:P190 ?v . ?v rdf:type ontology:Q3055118 }
Setana
Setana is partner town of Hanford
Setana
action filter_type
action find
entity Hanford
relation sister city
type single entity of population
['Hanford', 'sister city', {'concept': 'single entity of population'}]
SELECT DISTINCT ?v WHERE { resource:Hanford property:sister_city ?v . ?v rdf:type ontology:single_entity_of_population }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1001154
Q3055118
USER
And also tell me about Sollefteå?
(Q1001154,P190,c(Q3055118))
action filter_type
action find
entity Q1001154
relation P190
type Q3055118
['Q1001154', 'P190', {'concept': 'Q3055118'}]
SELECT DISTINCT ?o WHERE { resource:Q1001154 property:P190 ?o . ?o rdf:type ontology:Q3055118 }
Sollefteå
action filter_type
action find
entity Sollefteå
relation sister city
type single entity of population
['Sollefteå', 'sister city', {'concept': 'single entity of population'}]
SELECT DISTINCT ?o WHERE { resource:Sollefteå property:sister_city ?o . ?o rdf:type ontology:single_entity_of_population }
[]
single entity of population
Q1210596
SYSTEM
Esashi
Q1210596
(Q1001154,P190,c(Q3055118))
action filter_type
action find
entity Q1001154
relation P190
type Q3055118
[ANSWER]
['Q1001154', 'P190', {'concept': 'Q3055118'}]
SELECT DISTINCT ?o WHERE { resource:Q1001154 property:P190 ?o . ?o rdf:type ontology:Q3055118 }
Esashi
Esashi
action filter_type
action find
entity Sollefteå
relation sister city
type single entity of population
['Sollefteå', 'sister city', {'concept': 'single entity of population'}]
SELECT DISTINCT ?o WHERE { resource:Sollefteå property:sister_city ?o . ?o rdf:type ontology:single_entity_of_population }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1210596 Q550561 Q5297047
P17
Q15617994
USER
Is that human settlement located in Triftern and Dooly County School District ?
(Q1210596,P17,Q550561) (Q1210596,P17,Q5297047)
action is_in
entity Q1210596
action intersection
action find_reverse
entity Q550561
relation P17
action find_reverse
entity Q5297047
relation P17
['Q1210596', 'P17', 'Q550561'] ['Q1210596', 'P17', 'Q5297047']
ASK WHERE { resource:Q1210596 property:P17 resource:Q550561 . resource:Q1210596 property:P17 resource:Q5297047 }
Esashi Triftern Dooly County School District
action is_in
entity Esashi
action intersection
action find_reverse
entity Triftern
relation country
action find_reverse
entity Dooly County School District
relation country
['Esashi', 'country', 'Triftern'] ['Esashi', 'country', 'Dooly County School District']
ASK WHERE { resource:Esashi property:country resource:Triftern . resource:Esashi property:country resource:Dooly_County_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1210596,P17,Q550561) (Q1210596,P17,Q5297047)
action is_in
entity Q1210596
action intersection
action find_reverse
entity Q550561
relation P17
action find_reverse
entity Q5297047
relation P17
[ANSWER]
['Q1210596', 'P17', 'Q550561'] ['Q1210596', 'P17', 'Q5297047']
ASK WHERE { resource:Q1210596 property:P17 resource:Q550561 . resource:Q1210596 property:P17 resource:Q5297047 }
No
action is_in
entity Esashi
action intersection
action find_reverse
entity Triftern
relation country
action find_reverse
entity Dooly County School District
relation country
['Esashi', 'country', 'Triftern'] ['Esashi', 'country', 'Dooly County School District']
ASK WHERE { resource:Esashi property:country resource:Triftern . resource:Esashi property:country resource:Dooly_County_School_District }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1538236
Q15617994
USER
And what about Jon and Vangelis?
(Q1538236,P740,c(Q15617994))
action filter_type
action find
entity Q1538236
relation P740
type Q15617994
['Q1538236', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1538236 property:P740 ?x . ?x rdf:type ontology:Q15617994 }
Jon and Vangelis
action filter_type
action find
entity Jon and Vangelis
relation location of formation
type designation for an administrative territorial entity
['Jon and Vangelis', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jon_and_Vangelis property:location_of_formation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q1538236,P740,c(Q15617994))
action filter_type
action find
entity Q1538236
relation P740
type Q15617994
[ANSWER]
['Q1538236', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1538236 property:P740 ?x . ?x rdf:type ontology:Q15617994 }
Greece
Greece
action filter_type
action find
entity Jon and Vangelis
relation location of formation
type designation for an administrative territorial entity
['Jon and Vangelis', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jon_and_Vangelis property:location_of_formation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41
P47
Q15617994
USER
Which administrative territories are adjacent to that one ?
(Q41,P47,c(Q15617994))
action filter_type
action find
entity Q41
relation P47
type Q15617994
['Q41', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q41 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Greece
action filter_type
action find
entity Greece
relation shares border with
type designation for an administrative territorial entity
['Greece', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Greece property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43 Q222 Q219
SYSTEM
Turkey, Albania, Bulgaria
Q219 Q222 Q221 Q43
(Q41,P47,c(Q15617994))
action filter_type
action find
entity Q41
relation P47
type Q15617994
[ANSWERS] are adjacent to that one
['Q41', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q41 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Bulgaria Albania Republic of Macedonia Turkey
Turkey, Albania and Bulgaria are adjacent to that one
Turkey Albania Bulgaria
action filter_type
action find
entity Greece
relation shares border with
type designation for an administrative territorial entity
['Greece', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Greece property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q222
P85
Q484692
USER
Which hymn is the anthem for that administrative territory ?
(Q222,P85,c(Q484692))
action filter_type
action find
entity Q222
relation P85
type Q484692
['Q222', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q484692 . resource:Q222 property:P85 ?k }
Albania
action filter_type
action find
entity Albania
relation anthem
type hymn
['Albania', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:hymn . resource:Albania property:anthem ?k }
[]
hymn
Clarification for simple ques.
Q219
SYSTEM
Did you mean Bulgaria ?
Q43 Q222 Q219
(Q43,P85,c(Q484692)) (Q222,P85,c(Q484692)) (Q219,P85,c(Q484692))
[ANSWER]
['Q43', 'P85', {'concept': 'Q484692'}] ['Q222', 'P85', {'concept': 'Q484692'}] ['Q219', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q484692 . resource:Q222 property:P85 ?k }
Turkey Albania Bulgaria
Did you mean Bulgaria ?
Bulgaria
['Turkey', 'anthem', {'concept': 'hymn'}] ['Albania', 'anthem', {'concept': 'hymn'}] ['Bulgaria', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:hymn . resource:Albania property:anthem ?k }
[]
Simple Question (Coreferenced)
USER
No, I meant Albania. Could you tell me the answer for that?
(Q222,P85,c(Q484692))
Q222
['Q222', 'P85', {'concept': 'Q484692'}]
['Albania', 'anthem', {'concept': 'hymn'}]
[]
Q168731
SYSTEM
Himni i Flamurit
Q168731
(Q222,P85,c(Q484692))
action filter_type
action find
entity Q222
relation P85
type Q484692
[ANSWER] is the anthem for that administrative territory
['Q222', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q484692 . resource:Q222 property:P85 ?k }
Himni i Flamurit
Himni i Flamurit is the anthem for that administrative territory
Himni i Flamurit
action filter_type
action find
entity Albania
relation anthem
type hymn
['Albania', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:hymn . resource:Albania property:anthem ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q168731 Q389000
P86
Q502895
USER
Did Ciprian Porumbescu write the music for Himni i Flamurit ?
(Q168731,P86,Q389000)
action is_in
entity Q389000
action find
entity Q168731
relation P86
['Q168731', 'P86', 'Q389000']
ASK WHERE { resource:Q168731 property:P86 resource:Q389000 }
Himni i Flamurit Ciprian Porumbescu
action is_in
entity Ciprian Porumbescu
action find
entity Himni i Flamurit
relation composer
['Himni i Flamurit', 'composer', 'Ciprian Porumbescu']
ASK WHERE { resource:Himni_i_Flamurit property:composer resource:Ciprian_Porumbescu }
[]
common name
SYSTEM
YES
(Q168731,P86,Q389000)
action is_in
entity Q389000
action find
entity Q168731
relation P86
[ANSWER]
['Q168731', 'P86', 'Q389000']
ASK WHERE { resource:Q168731 property:P86 resource:Q389000 }
Yes
action is_in
entity Ciprian Porumbescu
action find
entity Himni i Flamurit
relation composer
['Himni i Flamurit', 'composer', 'Ciprian Porumbescu']
ASK WHERE { resource:Himni_i_Flamurit property:composer resource:Ciprian_Porumbescu }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q7725634 Q201658
USER
Which administrative territories are the origins of around 146 literary works and film genres ?
(c(Q7725634)|c(Q201658),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
value 146
[[{'concept': 'Q7725634'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?d ) { ( ontology:Q7725634 ) ( ontology:Q201658 ) } . ?x rdf:type ?d } GROUP BY ?n } . FILTER ( ?f = 146 ) }
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
value 146
[[{'concept': 'literary work'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?d ) { ( ontology:literary_work ) ( ontology:film_genre ) } . ?x rdf:type ?d } GROUP BY ?n } . FILTER ( ?f = 146 ) }
[]
designation for an administrative territorial entity literary work film genre
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q7725634)|c(Q201658),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
value 146
[ANSWERS] are the origins of around 146 literary works and film genres
[[{'concept': 'Q7725634'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?d ) { ( ontology:Q7725634 ) ( ontology:Q201658 ) } . ?x rdf:type ?d } GROUP BY ?n } . FILTER ( ?f = 146 ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origins of around 146 literary works and film genres
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
value 146
[[{'concept': 'literary work'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?d ) { ( ontology:literary_work ) ( ontology:film_genre ) } . ?x rdf:type ?d } GROUP BY ?n } . FILTER ( ?f = 146 ) }
[]