Simple Question (Direct)
Simple Question
Q808900
P264
Q334453
USER
Which division is the record label of Barrett Strong ?
(Q808900,P264,c(Q334453))
action filter_type
action find
entity Q808900
relation P264
type Q334453
['Q808900', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { resource:Q808900 property:P264 ?k . ?k rdf:type ontology:Q334453 }
Barrett Strong
action filter_type
action find
entity Barrett Strong
relation record label
type division
['Barrett Strong', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { resource:Barrett_Strong property:record_label ?k . ?k rdf:type ontology:division }
[]
division
Q43327
SYSTEM
Motown
Q43327
(Q808900,P264,c(Q334453))
action filter_type
action find
entity Q808900
relation P264
type Q334453
[ANSWER] is the record label of Barrett Strong
['Q808900', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { resource:Q808900 property:P264 ?k . ?k rdf:type ontology:Q334453 }
Motown
Motown is the record label of Barrett Strong
Motown
action filter_type
action find
entity Barrett Strong
relation record label
type division
['Barrett Strong', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { resource:Barrett_Strong property:record_label ?k . ?k rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q808900
P175
Q7725634
USER
Which literary work performed that person ?
(c(Q7725634),P175,Q43327)
action filter_type
action find_reverse
entity Q808900
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q43327']
SELECT DISTINCT ?f WHERE { ?f property:P175 resource:Q808900 . ?f rdf:type ontology:Q7725634 }
Barrett Strong
action filter_type
action find_reverse
entity Barrett Strong
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Motown']
SELECT DISTINCT ?f WHERE { ?f property:performer resource:Barrett_Strong . ?f rdf:type ontology:literary_work }
[]
literary work
Q1804373
SYSTEM
Money (That’s What I Want)
Q1804373
(c(Q7725634),P175,Q43327)
action filter_type
action find_reverse
entity Q808900
relation P175
type Q7725634
[ANSWER] performed that person
[{'concept': 'Q7725634'}, 'P175', 'Q43327']
SELECT DISTINCT ?f WHERE { ?f property:P175 resource:Q808900 . ?f rdf:type ontology:Q7725634 }
Money (That’s What I Want)
Money (That’s What I Want) performed that person
Money (That’s What I Want)
action filter_type
action find_reverse
entity Barrett Strong
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Motown']
SELECT DISTINCT ?f WHERE { ?f property:performer resource:Barrett_Strong . ?f rdf:type ontology:literary_work }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1804373
P175
Q502895
USER
How many people did Money (That’s What I Want) perform ?
(Q1804373,P175,c(Q502895))
action count
action filter_type
action find
entity Q1804373
relation P175
type Q502895
['Q1804373', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Q1804373 property:P175 ?g . ?g rdf:type ontology:Q502895 }
Money (That’s What I Want)
action count
action filter_type
action find
entity Money (That’s What I Want)
relation performer
type common name
['Money (That’s What I Want)', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Money_(That’s_What_I_Want) property:performer ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q808900
(Q1804373,P175,c(Q502895))
action count
action filter_type
action find
entity Q1804373
relation P175
type Q502895
[ANSWER]
['Q1804373', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Q1804373 property:P175 ?g . ?g rdf:type ontology:Q502895 }
Barrett Strong
1
action count
action filter_type
action find
entity Money (That’s What I Want)
relation performer
type common name
['Money (That’s What I Want)', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Money_(That’s_What_I_Want) property:performer ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1804373
P495
Q15617994
USER
Which administrative territory is the country of origin of Money (That’s What I Want) ?
(Q1804373,P495,c(Q15617994))
action filter_type
action find
entity Q1804373
relation P495
type Q15617994
['Q1804373', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1804373 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
Money (That’s What I Want)
action filter_type
action find
entity Money (That’s What I Want)
relation country of origin
type designation for an administrative territorial entity
['Money (That’s What I Want)', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Money_(That’s_What_I_Want) property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1804373,P495,c(Q15617994))
action filter_type
action find
entity Q1804373
relation P495
type Q15617994
[ANSWER] is the country of origin of Money (That’s What I Want)
['Q1804373', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1804373 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of origin of Money (That’s What I Want)
United States of America
action filter_type
action find
entity Money (That’s What I Want)
relation country of origin
type designation for an administrative territorial entity
['Money (That’s What I Want)', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Money_(That’s_What_I_Want) property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4738920 Q1804373
P175
Q502895
USER
Which people were presented by Money (That’s What I Want) or Am I Black Enough for You? ?
OR((Q1804373,P175,c(Q502895)), (Q4738920,P175,c(Q502895)))
action filter_type
action union
action find
entity Q1804373
relation P175
action find
entity Q4738920
relation P175
type Q502895
{'OR': [['Q1804373', 'P175', {'concept': 'Q502895'}], ['Q4738920', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . { { resource:Q1804373 property:P175 ?t } UNION { resource:Q4738920 property:P175 ?t } } }
Am I Black Enough for You? Money (That’s What I Want)
action filter_type
action union
action find
entity Money (That’s What I Want)
relation performer
action find
entity Am I Black Enough for You?
relation performer
type common name
{'OR': [['Money (That’s What I Want)', 'performer', {'concept': 'common name'}], ['Am I Black Enough for You?', 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . { { resource:Money_(That’s_What_I_Want) property:performer ?t } UNION { resource:Am_I_Black_Enough_for_You? property:performer ?t } } }
[]
common name
Q1395950 Q808900
SYSTEM
Schoolly D, Barrett Strong
Q1395950 Q808900
OR((Q1804373,P175,c(Q502895)), (Q4738920,P175,c(Q502895)))
action filter_type
action union
action find
entity Q1804373
relation P175
action find
entity Q4738920
relation P175
type Q502895
The [ANSWERS] were presented by Money (That’s What I Want) or Am I Black Enough for You
{'OR': [['Q1804373', 'P175', {'concept': 'Q502895'}], ['Q4738920', 'P175', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . { { resource:Q1804373 property:P175 ?t } UNION { resource:Q4738920 property:P175 ?t } } }
Schoolly D Barrett Strong
The Schoolly D and Barrett Strong were presented by Money (That’s What I Want) or Am I Black Enough for You
Schoolly D Barrett Strong
action filter_type
action union
action find
entity Money (That’s What I Want)
relation performer
action find
entity Am I Black Enough for You?
relation performer
type common name
{'OR': [['Money (That’s What I Want)', 'performer', {'concept': 'common name'}], ['Am I Black Enough for You?', 'performer', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . { { resource:Money_(That’s_What_I_Want) property:performer ?t } UNION { resource:Am_I_Black_Enough_for_You? property:performer ?t } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2578717
P725
Q502895 Q166142
USER
Which applications had greater number of people as the dubbing artist than Star Fox Adventures ?
(c(Q166142),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q2578717
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?c ) WHERE { ?m property:P725 ?j . ?m rdf:type ontology:Q166142 . ?j rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?c > ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Q2578717 property:P725 ?l . ?l rdf:type ontology:Q166142 } } }
Star Fox Adventures
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Star Fox Adventures
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?c ) WHERE { ?m property:voice_actor ?j . ?m rdf:type ontology:application . ?j rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?c > ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Star_Fox_Adventures property:voice_actor ?l . ?l rdf:type ontology:application } } }
[]
common name application
Q843131 Q1371603 Q1052131
SYSTEM
Super Smash Bros. Brawl, Star Fox 64 3D, Super Smash Bros. Melee
Q1052131 Q1141963 Q870981 Q2061445 Q843131 Q23017199 Q1371603 Q2666042
(c(Q166142),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q2578717
relation P725
type Q166142
[ANSWERS] had greater number of people as the dubbing artist than Star Fox Adventures
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?c ) WHERE { ?m property:P725 ?j . ?m rdf:type ontology:Q166142 . ?j rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?c > ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Q2578717 property:P725 ?l . ?l rdf:type ontology:Q166142 } } }
Super Smash Bros. Melee Star Fox 64 Super Smash Bros. Hyperdimension Neptunia Mk2 Super Smash Bros. Brawl Marvel Avengers Academy Star Fox 64 3D Star Fox: Assault
Super Smash Bros. Brawl, Star Fox 64 3D and Super Smash Bros. Melee had greater number of people as the dubbing artist than Star Fox Adventures
Super Smash Bros. Brawl Star Fox 64 3D Super Smash Bros. Melee
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Star Fox Adventures
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?c ) WHERE { ?m property:voice_actor ?j . ?m rdf:type ontology:application . ?j rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?c > ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { resource:Star_Fox_Adventures property:voice_actor ?l . ?l rdf:type ontology:application } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q891706
P725
Q502895 Q166142
USER
And what about Super Robot Wars UX?
(c(Q166142),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q891706
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?j ) WHERE { ?r property:P725 ?f . ?r rdf:type ontology:Q166142 . ?f rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q891706 property:P725 ?e . ?e rdf:type ontology:Q166142 } } . FILTER ( ?j > ?i ) }
Super Robot Wars UX
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Super Robot Wars UX
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?j ) WHERE { ?r property:voice_actor ?f . ?r rdf:type ontology:application . ?f rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Super_Robot_Wars_UX property:voice_actor ?e . ?e rdf:type ontology:application } } . FILTER ( ?j > ?i ) }
[]
common name application
Q843131 Q1371603 Q1052131
SYSTEM
Super Smash Bros. Brawl, Star Fox 64 3D, Super Smash Bros. Melee
Q16031150 Q1052131 Q1141963 Q53362 Q870981 Q2578717 Q15588417 Q1191681 Q2061445 Q166060 Q1035512 Q27863 Q538150 Q216995 Q838707 Q843131 Q207981 Q1154327 Q1207525 Q2005910 Q847471 Q537389 Q23017199 Q170489 Q839091 Q484072 Q1371603 Q484233 Q182548 Q385228 Q2666042 Q4121008 Q2473832
(c(Q166142),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q891706
relation P725
type Q166142
[ANSWERS]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?j ) WHERE { ?r property:P725 ?f . ?r rdf:type ontology:Q166142 . ?f rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q891706 property:P725 ?e . ?e rdf:type ontology:Q166142 } } . FILTER ( ?j > ?i ) }
Hyperdimension Neptunia PP Super Smash Bros. Melee Star Fox 64 Bakemonogatari Super Smash Bros. Star Fox Adventures Project 575 Battle Vixens Hyperdimension Neptunia Mk2 Umineko: When They Cry Danganronpa: Trigger Happy Havoc Sword Art Online To Love-Ru Super Mario 64 Mario Kart Wii Super Smash Bros. Brawl Code Geass XIII Hyperdimension Neptunia Metroid: Other M Full Throttle Soul Eater Marvel Avengers Academy Super Mario Galaxy Lucky Star Granado Espada Star Fox 64 3D Dungeon Fighter Online (DFO) Date A Live Spice and Wolf Star Fox: Assault Hyperdimension Neptunia Victory Tantei Opera Milky Holmes
Super Smash Bros. Brawl Star Fox 64 3D Super Smash Bros. Melee
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Super Robot Wars UX
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?j ) WHERE { ?r property:voice_actor ?f . ?r rdf:type ontology:application . ?f rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Super_Robot_Wars_UX property:voice_actor ?e . ?e rdf:type ontology:application } } . FILTER ( ?j > ?i ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P144
Q166142 Q2342494 Q838948
USER
How many applications are more number of collectables and works of art adapted from than that application ?
(c(Q2342494)|c(Q838948),P144,c(Q166142))
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:P144 ?y } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q166142 . ?x rdf:type ontology:Q838948 }
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'based on', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:based_on ?y } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:application . ?x rdf:type ontology:work_of_art }
[]
application collectable work of art
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1052131
SYSTEM
Did you mean Super Smash Bros. Melee ?
(c(Q2342494)|c(Q838948),P144,c(Q166142))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:P144 ?y } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q166142 . ?x rdf:type ontology:Q838948 }
Did you mean Super Smash Bros. Melee ?
Super Smash Bros. Melee
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'based on', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ?z ) ( ?x ) } . ?a property:based_on ?y } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:application . ?x rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Super Smash Bros. Brawl. Could you tell me the answer for that?
(c(Q2342494)|c(Q838948),P144,c(Q166142))
Q843131
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q166142'}]
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'based on', {'concept': 'application'}]
[]
SYSTEM
25
Q500851 Q3504105 Q860291 Q1322480 Q7042103 Q217423 Q2122173 Q1175156 Q1049783 Q2451096 Q11168 Q110607 Q1074008 Q866349 Q614121 Q2880740 Q1133204 Q337865 Q741244 Q837338 Q220960 Q112912 Q157387 Q1152450 Q1608476
(c(Q2342494)|c(Q838948),P144,c(Q166142))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P144 ?y } UNION { ?x property:P144 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q166142 . ?x rdf:type ontology:Q838948 }
Company of Heroes Super Battleship Warcraft II: Beyond the Dark Portal Phoenix Wright: Ace Attorney Inazuma Eleven GO Quake Wing Commander Max Payne Postal BloodRayne Super Mario Bros. Clannad Fatal Fury: King of Fighters Dungeon Siege Planetarian: The Reverie of a Little Planet Baldur's Gate II: Throne of Bhaal Street Fighter II: The World Warrior Far Cry Warcraft III: The Frozen Throne Silent Hill 3 Diablo Lego Batman 2: DC Super Heroes Prince of Persia Fatal Fury 2 Yakuza
25
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'based on', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:based_on ?y } UNION { ?x property:based_on ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:application . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q56061 Q1267889 Q15617994
USER
How many administrative territories have their location as around 1 administrative territories and waterways ?
(c(Q15617994),P706,c(Q56061)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q56061
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
value 1
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) ?f WHERE { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:Q56061 ) ( ontology:Q1267889 ) } } GROUP BY ?f } . FILTER ( ?r = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) ?f WHERE { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:administrative_territorial_entity ) ( ontology:waterway ) } } GROUP BY ?f } . FILTER ( ?r = 1 ) }
[]
administrative territorial entity waterway designation for an administrative territorial entity
SYSTEM
2
Q1619957 Q216422
(c(Q15617994),P706,c(Q56061)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q56061
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) ?f WHERE { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:Q56061 ) ( ontology:Q1267889 ) } } GROUP BY ?f } . FILTER ( ?r = 1 ) }
Hippelsbach Samsø
2
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) ?f WHERE { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:administrative_territorial_entity ) ( ontology:waterway ) } } GROUP BY ?f } . FILTER ( ?r = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q808900
P136
Q151885
USER
Which concept is the genre for Barrett Strong ?
(Q808900,P136,c(Q151885))
action filter_type
action find
entity Q808900
relation P136
type Q151885
['Q808900', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { resource:Q808900 property:P136 ?p . ?p rdf:type ontology:Q151885 }
Barrett Strong
action filter_type
action find
entity Barrett Strong
relation genre
type concept
['Barrett Strong', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { resource:Barrett_Strong property:genre ?p . ?p rdf:type ontology:concept }
[]
concept
Q45981
SYSTEM
rhythm and blues
Q45981
(Q808900,P136,c(Q151885))
action filter_type
action find
entity Q808900
relation P136
type Q151885
The [ANSWER] is the genre for Barrett Strong
['Q808900', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { resource:Q808900 property:P136 ?p . ?p rdf:type ontology:Q151885 }
rhythm and blues
The rhythm and blues is the genre for Barrett Strong
rhythm and blues
action filter_type
action find
entity Barrett Strong
relation genre
type concept
['Barrett Strong', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { resource:Barrett_Strong property:genre ?p . ?p rdf:type ontology:concept }
[]