Simple Question (Direct)
Simple Question
Q7381648
P264
Q334453
USER
Which division sponsored the recording of Russell Leetch ?
(Q7381648,P264,c(Q334453))
action filter_type
action find
entity Q7381648
relation P264
type Q334453
['Q7381648', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?y WHERE { resource:Q7381648 property:P264 ?y . ?y rdf:type ontology:Q334453 }
Russell Leetch
action filter_type
action find
entity Russell Leetch
relation record label
type division
['Russell Leetch', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?y WHERE { resource:Russell_Leetch property:record_label ?y . ?y rdf:type ontology:division }
[]
division
Q6418076
SYSTEM
Kitchenware Records
Q6418076
(Q7381648,P264,c(Q334453))
action filter_type
action find
entity Q7381648
relation P264
type Q334453
Records [ANSWER] sponsored the recording of Russell Leetch
['Q7381648', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?y WHERE { resource:Q7381648 property:P264 ?y . ?y rdf:type ontology:Q334453 }
Kitchenware Records
Records Kitchenware Records sponsored the recording of Russell Leetch
Kitchenware Records
action filter_type
action find
entity Russell Leetch
relation record label
type division
['Russell Leetch', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?y WHERE { resource:Russell_Leetch property:record_label ?y . ?y rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7381648
P19
Q15617994
USER
Which administrative territory was that person born in ?
(Q6418076,P19,c(Q15617994))
action filter_type
action find
entity Q7381648
relation P19
type Q15617994
['Q6418076', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q7381648 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Russell Leetch
action filter_type
action find
entity Russell Leetch
relation place of birth
type designation for an administrative territorial entity
['Kitchenware Records', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Russell_Leetch property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6418076,P19,c(Q15617994))
action filter_type
action find
entity Q7381648
relation P19
type Q15617994
That person was born in [ANSWER]
['Q6418076', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q7381648 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
United Kingdom
That person was born in United Kingdom
United Kingdom
action filter_type
action find
entity Russell Leetch
relation place of birth
type designation for an administrative territorial entity
['Kitchenware Records', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Russell_Leetch property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P740
Q2088357
USER
What are the musical ensembles that were formed at that administrative territory ?
(c(Q2088357),P740,Q145)
action filter_type
action find_reverse
entity Q145
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q145']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2088357 . ?z property:P740 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:musical_ensemble . ?z property:location_of_formation resource:United_Kingdom }
[]
musical ensemble
Q7766711 Q1711571 Q2141308
SYSTEM
The Story, Juicy Lucy, Subhumans
Q599433 Q2141308 Q2087679 Q15053557 Q16967332 Q5510990 Q7512781 Q502894 Q1630214 Q7771546 Q7720520 Q1980388 Q4698708 Q896043 Q7766711 Q7251918 Q7563397 Q7718328 Q445240 Q1333249 Q16955973 Q6804113 Q743096 Q4817236 Q2474351 Q6497592 Q502058 Q7715106 Q18205206 Q656978 Q7714543 Q7430431 Q3989799 Q22116844 Q5547858 Q7450137 Q7202061 Q7392482 Q1527282 Q7034083 Q11874850 Q7001365 Q4904993 Q2229048 Q5636285 Q860988 Q617124 Q16853320 Q7731551 Q3810968 Q4018623 Q17090610 Q3715547 Q791904 Q7730583 Q5205140 Q5428263 Q4038990 Q5125737 Q7772758 Q7743504 Q15053457 Q885770 Q1129579 Q1427551 Q7079450 Q2304569 Q7728070 Q7727491 Q8074653 Q182622 Q5286116 Q959681 Q7296871 Q839831 Q2094985 Q3783872 Q487947 Q1475196 Q7076993 Q691605 Q5403310 Q798748 Q5619372 Q4733285 Q5864727 Q1915493 Q1500973 Q1711571 Q7313992 Q1627851 Q5245705 Q6405754 Q6557363 Q3489298 Q15053074 Q240892 Q4684613 Q229658 Q269813 Q1743540 Q4762785 Q6914963 Q540694 Q122627 Q3629479 Q7785862 Q16968240 Q7739668 Q2905825
(c(Q2088357),P740,Q145)
action filter_type
action find_reverse
entity Q145
relation P740
type Q2088357
The musical ensembles that were formed at that administrative territory are [ANSWERS]
[{'concept': 'Q2088357'}, 'P740', 'Q145']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2088357 . ?z property:P740 resource:Q145 }
Crippled Black Phoenix Subhumans Gene Loves Jezebel DeathBoy Point4 Fuze Signalrunners Rockbitch Solstice The Union The Bugbear Landmarq Airheadz Boys Don't Cry The Story Protocol Sore Throat The Black Ghosts Jade Warrior Scooch New Age Steppers Meanwhile, back in Communist Russia... Firebird Atomgods The Blood Divine Lau The Communards The Axis of Perdition Anti-Establishment Mojave 3 The Artaud Beats Scarlet Fantastic The Unthanks Snakehips (band) Georgia Wonder Send No Flowers Plastic Penny SPC ECO The Flying Lizards Nightwing Last Rites Neu Electrikk Big Bam Boo Scarlett and Black H & Claire Studio Killers Bonham Obi The Eden House Judas Jump Waysted Ultraísta Drum Theatre AxeWound The Dolmen DIRT Fabulous Freebass Clancy The Violets The Jones Gang Mentor Kolektiv Blue Mink Girls Can't Catch Pentangle Officer Kicks Kubb The Crimea The Contrast Zounds US5 Do Me Bad Things The Kills Raw Glory Bucks Fizz Precious Head of David Fischer-Z Son of Dork October File The Deviants Ethereal Woods Bad News Guns n' Wankers allSTARS* History of Guns Meathook Seed Keats Juicy Lucy Repetition Kino Alternative 4 Teatro (band) Liquid Graveyard WhoCares Cruciamentum Arena Adoration 3 of a Kind Il Divo Theaudience Angelis Morton Valence Angletrax Coverdale and Page Audience This Is Menace Ramleh The Higsons Blake
The musical ensembles that were formed at that administrative territory are The Story, Juicy Lucy and Subhumans
The Story Juicy Lucy Subhumans
action filter_type
action find_reverse
entity United Kingdom
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:musical_ensemble . ?z property:location_of_formation resource:United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7766711 Q1711571 Q2141308
P136
Q151885
USER
Which genre do The Story, Juicy Lucy and Subhumans belong to ?
(Q7766711,P136,c(Q151885)) (Q1711571,P136,c(Q151885)) (Q2141308,P136,c(Q151885))
action union
action filter_type
action find
entity Q7766711
relation P136
type Q151885
action filter_type
action find
entity Q1711571
relation P136
type Q151885
action filter_type
action find
entity Q2141308
relation P136
type Q151885
['Q7766711', 'P136', {'concept': 'Q151885'}] ['Q1711571', 'P136', {'concept': 'Q151885'}] ['Q2141308', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { resource:Q7766711 property:P136 ?y . ?y rdf:type ontology:Q151885 } UNION { resource:Q1711571 property:P136 ?y . ?y rdf:type ontology:Q151885 } }
The Story Juicy Lucy Subhumans
action union
action filter_type
action find
entity The Story
relation genre
type concept
action filter_type
action find
entity Juicy Lucy
relation genre
type concept
action filter_type
action find
entity Subhumans
relation genre
type concept
['The Story', 'genre', {'concept': 'concept'}] ['Juicy Lucy', 'genre', {'concept': 'concept'}] ['Subhumans', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { resource:The_Story property:genre ?y . ?y rdf:type ontology:concept } UNION { resource:Juicy_Lucy property:genre ?y . ?y rdf:type ontology:concept } }
[]
concept
Q649634 Q186472 Q1500364
SYSTEM
progressive folk music, folk rock, Psychedelic folk
Q649634 Q186472 Q1500364 Q383982 Q193355 Q486365
(Q7766711,P136,c(Q151885)) (Q1711571,P136,c(Q151885)) (Q2141308,P136,c(Q151885))
action union
action filter_type
action find
entity Q7766711
relation P136
type Q151885
action filter_type
action find
entity Q1711571
relation P136
type Q151885
action filter_type
action find
entity Q2141308
relation P136
type Q151885
The Story , Juicy Lucy and Subhumans belong to the [ANSWERS]
['Q7766711', 'P136', {'concept': 'Q151885'}] ['Q1711571', 'P136', {'concept': 'Q151885'}] ['Q2141308', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { resource:Q7766711 property:P136 ?y . ?y rdf:type ontology:Q151885 } UNION { resource:Q1711571 property:P136 ?y . ?y rdf:type ontology:Q151885 } }
progressive folk music folk rock Psychedelic folk psychedelic pop blues rock anarcho-punk
The Story , Juicy Lucy and Subhumans belong to the progressive folk music, folk rock and Psychedelic folk
progressive folk music folk rock Psychedelic folk
action union
action filter_type
action find
entity The Story
relation genre
type concept
action filter_type
action find
entity Juicy Lucy
relation genre
type concept
action filter_type
action find
entity Subhumans
relation genre
type concept
['The Story', 'genre', {'concept': 'concept'}] ['Juicy Lucy', 'genre', {'concept': 'concept'}] ['Subhumans', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { resource:The_Story property:genre ?y . ?y rdf:type ontology:concept } UNION { resource:Juicy_Lucy property:genre ?y . ?y rdf:type ontology:concept } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1711571
P175
Q2031291
USER
Which release presented Juicy Lucy ?
(c(Q2031291),P175,Q1711571)
action filter_type
action find_reverse
entity Q1711571
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q1711571']
SELECT DISTINCT ?i WHERE { ?i property:P175 resource:Q1711571 . ?i rdf:type ontology:Q2031291 }
Juicy Lucy
action filter_type
action find_reverse
entity Juicy Lucy
relation performer
type release
[{'concept': 'release'}, 'performer', 'Juicy Lucy']
SELECT DISTINCT ?i WHERE { ?i property:performer resource:Juicy_Lucy . ?i rdf:type ontology:release }
[]
release
Q6543786
SYSTEM
Lie Back and Enjoy It
Q6543786
(c(Q2031291),P175,Q1711571)
action filter_type
action find_reverse
entity Q1711571
relation P175
type Q2031291
[ANSWER] presented Juicy Lucy
[{'concept': 'Q2031291'}, 'P175', 'Q1711571']
SELECT DISTINCT ?i WHERE { ?i property:P175 resource:Q1711571 . ?i rdf:type ontology:Q2031291 }
Lie Back and Enjoy It
Lie Back and Enjoy It presented Juicy Lucy
Lie Back and Enjoy It
action filter_type
action find_reverse
entity Juicy Lucy
relation performer
type release
[{'concept': 'release'}, 'performer', 'Juicy Lucy']
SELECT DISTINCT ?i WHERE { ?i property:performer resource:Juicy_Lucy . ?i rdf:type ontology:release }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1711571 Q742804
P175
Q7725634
USER
How many literary works performed Juicy Lucy or TLC ?
(c(Q7725634),P175,Q1711571) (c(Q7725634),P175,Q742804)
action count
action union
action filter_type
action find_reverse
entity Q1711571
relation P175
type Q7725634
action filter_type
action find_reverse
entity Q742804
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q1711571'] [{'concept': 'Q7725634'}, 'P175', 'Q742804']
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P175 ?l . VALUES ( ?l ) { ( resource:Q742804 ) ( resource:Q1711571 ) } }
Juicy Lucy TLC
action count
action union
action filter_type
action find_reverse
entity Juicy Lucy
relation performer
type literary work
action filter_type
action find_reverse
entity TLC
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Juicy Lucy'] [{'concept': 'literary work'}, 'performer', 'TLC']
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:performer ?l . VALUES ( ?l ) { ( resource:TLC ) ( resource:Juicy_Lucy ) } }
[]
literary work
SYSTEM
2
Q4822689 Q9290718
(c(Q7725634),P175,Q1711571) (c(Q7725634),P175,Q742804)
action count
action union
action filter_type
action find_reverse
entity Q1711571
relation P175
type Q7725634
action filter_type
action find_reverse
entity Q742804
relation P175
type Q7725634
[ANSWER]
[{'concept': 'Q7725634'}, 'P175', 'Q1711571'] [{'concept': 'Q7725634'}, 'P175', 'Q742804']
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P175 ?l . VALUES ( ?l ) { ( resource:Q742804 ) ( resource:Q1711571 ) } }
Silly Ho I'm Good at Being Bad
2
action count
action union
action filter_type
action find_reverse
entity Juicy Lucy
relation performer
type literary work
action filter_type
action find_reverse
entity TLC
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Juicy Lucy'] [{'concept': 'literary work'}, 'performer', 'TLC']
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:performer ?l . VALUES ( ?l ) { ( resource:TLC ) ( resource:Juicy_Lucy ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1711571
P495
Q15617994
USER
What is the country of origin of that musical ensemble ?
action filter_type
action find
entity Q1711571
relation P495
type Q15617994
SELECT DISTINCT ?c WHERE { resource:Q1711571 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Juicy Lucy
action filter_type
action find
entity Juicy Lucy
relation country of origin
type designation for an administrative territorial entity
SELECT DISTINCT ?c WHERE { resource:Juicy_Lucy property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
action filter_type
action find
entity Q1711571
relation P495
type Q15617994
The country of origin of that musical ensemble is the [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q1711571 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
The country of origin of that musical ensemble is the United Kingdom
United Kingdom
action filter_type
action find
entity Juicy Lucy
relation country of origin
type designation for an administrative territorial entity
SELECT DISTINCT ?c WHERE { resource:Juicy_Lucy property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q732907 Q145
P47 P530
Q1048835
USER
Which political territories have diplomatic relations with United Kingdom or are bordered by Morella ?
OR((Q145,P530,c(Q1048835)), (Q732907,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q732907
relation P47
type Q1048835
{'OR': [['Q145', 'P530', {'concept': 'Q1048835'}], ['Q732907', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q732907 property:P47 ?p } UNION { resource:Q145 property:P530 ?p } } . ?p rdf:type ontology:Q1048835 }
Morella United Kingdom
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Morella
relation shares border with
type political territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Morella', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Morella property:shares_border_with ?p } UNION { resource:United_Kingdom property:diplomatic_relation ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1767567 Q780945 Q1778143 Q183 Q1645962 Q16 Q1767507 Q843223 Q1769760 Q408
SYSTEM
Some of them are Vallibona, Forcall, Castellfort, Germany, Castell de Cabres, Canada, Villores, Palanques, Herbés, Australia
Q1778143 Q1769760 Q843223 Q1645833 Q785949 Q1767507 Q183 Q1901668 Q1983359 Q408 Q16 Q1645962 Q780945 Q1767567 Q1646167
OR((Q145,P530,c(Q1048835)), (Q732907,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q732907
relation P47
type Q1048835
[ANSWERS] have diplomatic relations with United Kingdom or are bordered by Morella
{'OR': [['Q145', 'P530', {'concept': 'Q1048835'}], ['Q732907', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q732907 property:P47 ?p } UNION { resource:Q145 property:P530 ?p } } . ?p rdf:type ontology:Q1048835 }
Castellfort Herbés Palanques Catí Ares del Maestre Villores Germany Zorita del Maestrazgo Xert Australia Canada Castell de Cabres Forcall Vallibona Cinctorres
Vallibona, Forcall, Castellfort, Germany, Castell de Cabres, Canada, Villores, Palanques, Herbés and Australia have diplomatic relations with United Kingdom or are bordered by Morella
Vallibona Forcall Castellfort Germany Castell de Cabres Canada Villores Palanques Herbés Australia
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Morella
relation shares border with
type political territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Morella', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Morella property:shares_border_with ?p } UNION { resource:United_Kingdom property:diplomatic_relation ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q732907 Q5172339
P19
Q502895
USER
How many people have location of birth at Morella or Corotoman ?
(c(Q502895),P19,Q732907) (c(Q502895),P19,Q5172339)
action count
action union
action filter_type
action find_reverse
entity Q732907
relation P19
type Q502895
action filter_type
action find_reverse
entity Q5172339
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q732907'] [{'concept': 'Q502895'}, 'P19', 'Q5172339']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { VALUES ( ?q ) { ( resource:Q732907 ) ( resource:Q5172339 ) } . ?e property:P19 ?q }
Morella Corotoman
action count
action union
action filter_type
action find_reverse
entity Morella
relation place of birth
type common name
action filter_type
action find_reverse
entity Corotoman
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Morella'] [{'concept': 'common name'}, 'place of birth', 'Corotoman']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { VALUES ( ?q ) { ( resource:Morella ) ( resource:Corotoman ) } . ?e property:place_of_birth ?q }
[]
common name
SYSTEM
9
Q9096682 Q20004423 Q3081936 Q20876377 Q21185371 Q3620128 Q20004468 Q3945940 Q648281
(c(Q502895),P19,Q732907) (c(Q502895),P19,Q5172339)
action count
action union
action filter_type
action find_reverse
entity Q732907
relation P19
type Q502895
action filter_type
action find_reverse
entity Q5172339
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q732907'] [{'concept': 'Q502895'}, 'P19', 'Q5172339']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { VALUES ( ?q ) { ( resource:Q732907 ) ( resource:Q5172339 ) } . ?e property:P19 ?q }
Ximo Puig José Martí Gómez Francisco Rovira y Escuder Juan Bautista Milián Querol Xavier Querol Carceller Antonio Royo Marin José Vives Borrás Salvatore Alepus Robert Carter I
9
action count
action union
action filter_type
action find_reverse
entity Morella
relation place of birth
type common name
action filter_type
action find_reverse
entity Corotoman
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Morella'] [{'concept': 'common name'}, 'place of birth', 'Corotoman']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { VALUES ( ?q ) { ( resource:Morella ) ( resource:Corotoman ) } . ?e property:place_of_birth ?q }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q16
P530
Q1048835 Q1048835
USER
Which political territories have ambassadorial relations with greater number of political territories than Canada ?
(c(Q1048835),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?v ) WHERE { ?b property:P530 ?x . ?x rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q16 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?v > ?t ) }
Canada
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?v ) WHERE { ?b property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Canada property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?v > ?t ) }
[]
political territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWERS] have ambassadorial relations with greater number of political territories than Canada
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?v ) WHERE { ?b property:P530 ?x . ?x rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q16 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?v > ?t ) }
Germany Australia
Germany and Australia have ambassadorial relations with greater number of political territories than Canada
Germany Australia
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?v ) WHERE { ?b property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Canada property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?v > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q664
P530
Q1048835 Q1048835
USER
And what about New Zealand?
(c(Q1048835),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q1048835 . ?e property:P530 ?m } GROUP BY ?e } . FILTER ( ?u > ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q664 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } }
New Zealand
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:political_territorial_entity . ?e property:diplomatic_relation ?m } GROUP BY ?e } . FILTER ( ?u > ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:New_Zealand property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity political territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q1048835),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q1048835 . ?e property:P530 ?m } GROUP BY ?e } . FILTER ( ?u > ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q664 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } }
Germany Australia Canada
Germany Australia Canada
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:political_territorial_entity . ?e property:diplomatic_relation ?m } GROUP BY ?e } . FILTER ( ?u > ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:New_Zealand property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q408
P495
Q838948
USER
How many works of art are Germany and Australia a country of origin of ?
(c(Q838948),P495,Q183) (c(Q838948),P495,Q408)
action count
action intersection
action filter_type
action find_reverse
entity Q183
relation P495
type Q838948
action filter_type
action find_reverse
entity Q408
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q183'] [{'concept': 'Q838948'}, 'P495', 'Q408']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P495 resource:Q183 . ?l rdf:type ontology:Q838948 . ?l rdf:type ontology:Q838948 . ?l property:P495 resource:Q408 }
Germany Australia
action count
action intersection
action filter_type
action find_reverse
entity Germany
relation country of origin
type work of art
action filter_type
action find_reverse
entity Australia
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Germany'] [{'concept': 'work of art'}, 'country of origin', 'Australia']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:country_of_origin resource:Germany . ?l rdf:type ontology:work_of_art . ?l rdf:type ontology:work_of_art . ?l property:country_of_origin resource:Australia }
[]
work of art
SYSTEM
19
Q2265591 Q3488756 Q3099419 Q220192 Q622742 Q21539923 Q158398 Q312078 Q421583 Q18654947 Q200396 Q5459878 Q12049257 Q505790 Q705230 Q16025079 Q151946 Q1330571 Q571053
(c(Q838948),P495,Q183) (c(Q838948),P495,Q408)
action count
action intersection
action filter_type
action find_reverse
entity Q183
relation P495
type Q838948
action filter_type
action find_reverse
entity Q408
relation P495
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P495', 'Q183'] [{'concept': 'Q838948'}, 'P495', 'Q408']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P495 resource:Q183 . ?l rdf:type ontology:Q838948 . ?l rdf:type ontology:Q838948 . ?l property:P495 resource:Q408 }
Where the Green Ants Dream Tarzan and the Lost City Paradise Found Zoolander Where the Wild Things Are Manifesto Iron Sky Speed Racer Lore Maya the Bee Sherlock Holmes Floating Life Resident Evil: The Final Chapter Mission: Impossible II Charlotte Gray Life Eight Legged Freaks Rumor Has It… Until the End of the World
19
action count
action intersection
action filter_type
action find_reverse
entity Germany
relation country of origin
type work of art
action filter_type
action find_reverse
entity Australia
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Germany'] [{'concept': 'work of art'}, 'country of origin', 'Australia']
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:country_of_origin resource:Germany . ?l rdf:type ontology:work_of_art . ?l rdf:type ontology:work_of_art . ?l property:country_of_origin resource:Australia }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic relations with around 2 political territories ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 2
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?d = 2 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?d ) WHERE { ?a rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 . ?a property:P530 ?t } GROUP BY ?a } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?d = 2 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?d ) WHERE { ?a rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity . ?a property:diplomatic_relation ?t } GROUP BY ?a } }
[]
political territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 2
[ANSWERS] have diplomatic relations with around 2 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?d = 2 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?d ) WHERE { ?a rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 . ?a property:P530 ?t } GROUP BY ?a } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with around 2 political territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?d = 2 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?d ) WHERE { ?a rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity . ?a property:diplomatic_relation ?t } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q902182 Q5172339
P27 P17
Q15617994
USER
Which administrative territories are Corotoman present in and do Phoebus Levene belong to ?
AND((Q5172339,P17,c(Q15617994)), (Q902182,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q5172339
relation P17
action find
entity Q902182
relation P27
type Q15617994
{'AND': [['Q5172339', 'P17', {'concept': 'Q15617994'}], ['Q902182', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q5172339 property:P17 ?b . resource:Q902182 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Phoebus Levene Corotoman
action filter_type
action intersection
action find
entity Corotoman
relation country
action find
entity Phoebus Levene
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Corotoman', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Phoebus Levene', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Corotoman property:country ?b . resource:Phoebus_Levene property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q5172339,P17,c(Q15617994)), (Q902182,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q5172339
relation P17
action find
entity Q902182
relation P27
type Q15617994
Corotoman are belong to the [ANSWER]
{'AND': [['Q5172339', 'P17', {'concept': 'Q15617994'}], ['Q902182', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q5172339 property:P17 ?b . resource:Q902182 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
Corotoman are belong to the United States of America
United States of America
action filter_type
action intersection
action find
entity Corotoman
relation country
action find
entity Phoebus Levene
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Corotoman', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Phoebus Levene', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Corotoman property:country ?b . resource:Phoebus_Levene property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]