Simple Question (Direct)
Simple Question
Q1744
P264
Q334453
USER
Which divisions sponsored the recording of Madonna ?
(Q1744,P264,c(Q334453))
action filter_type
action find
entity Q1744
relation P264
type Q334453
['Q1744', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?o WHERE { resource:Q1744 property:P264 ?o . ?o rdf:type ontology:Q334453 }
Madonna
action filter_type
action find
entity Madonna
relation record label
type division
['Madonna', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?o WHERE { resource:Madonna property:record_label ?o . ?o rdf:type ontology:division }
[]
division
Q231694 Q843402 Q165711
SYSTEM
Interscope Records, Warner Bros. Records, Sire Records
Q231694 Q165711 Q2016567 Q843402
(Q1744,P264,c(Q334453))
action filter_type
action find
entity Q1744
relation P264
type Q334453
[ANSWERS] sponsored the recording of Madonna
['Q1744', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?o WHERE { resource:Q1744 property:P264 ?o . ?o rdf:type ontology:Q334453 }
Interscope Records Sire Records Maverick Records Warner Bros. Records
Interscope Records, Warner Bros. Records and Sire Records sponsored the recording of Madonna
Interscope Records Warner Bros. Records Sire Records
action filter_type
action find
entity Madonna
relation record label
type division
['Madonna', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?o WHERE { resource:Madonna property:record_label ?o . ?o rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1744
P676
Q2031291
USER
Which releases have their lyrics written by Madonna ?
(c(Q2031291),P676,Q1744)
action filter_type
action find_reverse
entity Q1744
relation P676
type Q2031291
[{'concept': 'Q2031291'}, 'P676', 'Q1744']
SELECT DISTINCT ?v WHERE { ?v property:P676 resource:Q1744 . ?v rdf:type ontology:Q2031291 }
Madonna
action filter_type
action find_reverse
entity Madonna
relation lyrics by
type release
[{'concept': 'release'}, 'lyrics by', 'Madonna']
SELECT DISTINCT ?v WHERE { ?v property:lyrics_by resource:Madonna . ?v rdf:type ontology:release }
[]
release
Q746862 Q1415550 Q580550
SYSTEM
Give Me All Your Luvin', Oh Father, Get Together
Q779710 Q1764320 Q746862 Q1415550 Q1987158 Q580550 Q264286 Q1070284 Q2034649 Q595370 Q2292939 Q1635691 Q1342432 Q764769 Q2085975 Q582091 Q1164805 Q624893 Q1460837 Q2000957 Q2083640 Q1999503 Q611419 Q1921394 Q685457 Q2265103 Q1509040 Q1181198 Q1342443 Q746665 Q2069044 Q1920231 Q370753 Q1280732 Q837719
(c(Q2031291),P676,Q1744)
action filter_type
action find_reverse
entity Q1744
relation P676
type Q2031291
[ANSWERS] have their lyrics written by Madonna
[{'concept': 'Q2031291'}, 'P676', 'Q1744']
SELECT DISTINCT ?v WHERE { ?v property:P676 resource:Q1744 . ?v rdf:type ontology:Q2031291 }
The Power of Good-Bye Celebration Give Me All Your Luvin' Oh Father Don't Tell Me Get Together Girl Gone Wild Cherish Burning Up Open Your Heart Hollywood Give It 2 Me Live to Tell Ray of Light Keep It Together Express Yourself Lucky Star Miles Away Gambler Turn Up the Radio Nothing Really Matters Nothing Fails Die Another Day American Life 4 Minutes What It Feels Like for a Girl True Blue Dear Jessie Hanky Panky Jump Drowned World/Substitute for Love Everybody Deeper and Deeper Human Nature Me Against the Music
Give Me All Your Luvin', Oh Father and Get Together have their lyrics written by Madonna
Give Me All Your Luvin' Oh Father Get Together
action filter_type
action find_reverse
entity Madonna
relation lyrics by
type release
[{'concept': 'release'}, 'lyrics by', 'Madonna']
SELECT DISTINCT ?v WHERE { ?v property:lyrics_by resource:Madonna . ?v rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q746862 Q1415550 Q580550
P175
Q502895
USER
What were presented by those releases ?
(Q746862,P175,c(Q502895)) (Q1415550,P175,c(Q502895)) (Q580550,P175,c(Q502895))
action filter_type
action find
entity prev_answer
relation P175
type Q502895
['Q746862', 'P175', {'concept': 'Q502895'}] ['Q1415550', 'P175', {'concept': 'Q502895'}] ['Q580550', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?a property:P175 ?e . ?e rdf:type ontology:Q502895 . VALUES ( ?a ) { ( resource:Q779710 ) ( resource:Q1764320 ) ( resource:Q746862 ) } }
Give Me All Your Luvin' Oh Father Get Together
action filter_type
action find
entity prev_answer
relation performer
type common name
["Give Me All Your Luvin'", 'performer', {'concept': 'common name'}] ['Oh Father', 'performer', {'concept': 'common name'}] ['Get Together', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?a property:performer ?e . ?e rdf:type ontology:common_name . VALUES ( ?a ) { ( resource:The_Power_of_Good-Bye ) ( resource:Celebration ) ( resource:Give_Me_All_Your_Luvin' ) } }
[]
common name
Q162202 Q1744 Q1744
SYSTEM
Nicki Minaj for 1st, Madonna for 2nd, 3rd
Q162202 Q204019 Q1744 Q1744 Q1744
(Q746862,P175,c(Q502895)) (Q1415550,P175,c(Q502895)) (Q580550,P175,c(Q502895))
action filter_type
action find
entity prev_answer
relation P175
type Q502895
[ANSWERS]
['Q746862', 'P175', {'concept': 'Q502895'}] ['Q1415550', 'P175', {'concept': 'Q502895'}] ['Q580550', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?a property:P175 ?e . ?e rdf:type ontology:Q502895 . VALUES ( ?a ) { ( resource:Q779710 ) ( resource:Q1764320 ) ( resource:Q746862 ) } }
Nicki Minaj M.I.A. Madonna Madonna Madonna
Nicki Minaj, Madonna and Madonna were presented by those releases
Nicki Minaj Madonna Madonna
action filter_type
action find
entity prev_answer
relation performer
type common name
["Give Me All Your Luvin'", 'performer', {'concept': 'common name'}] ['Oh Father', 'performer', {'concept': 'common name'}] ['Get Together', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?a property:performer ?e . ?e rdf:type ontology:common_name . VALUES ( ?a ) { ( resource:The_Power_of_Good-Bye ) ( resource:Celebration ) ( resource:Give_Me_All_Your_Luvin' ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1744
P112
Q43229
USER
Which organizations were started by Madonna ?
(c(Q43229),P112,Q1744)
action filter_type
action find_reverse
entity Q1744
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q1744']
SELECT DISTINCT ?l WHERE { ?l property:P112 resource:Q1744 . ?l rdf:type ontology:Q43229 }
Madonna
action filter_type
action find_reverse
entity Madonna
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Madonna']
SELECT DISTINCT ?l WHERE { ?l property:founder resource:Madonna . ?l rdf:type ontology:organization }
[]
organization
Q7848344 Q7285152 Q5655160
SYSTEM
Truth or Dare by Madonna, Raising Malawi, Hard Candy Fitness
Q7848344 Q7285152 Q5655160
(c(Q43229),P112,Q1744)
action filter_type
action find_reverse
entity Q1744
relation P112
type Q43229
Truth or Dare by Madonna, raising Malawi and Hard Candy Fitness were started by Madonna
[{'concept': 'Q43229'}, 'P112', 'Q1744']
SELECT DISTINCT ?l WHERE { ?l property:P112 resource:Q1744 . ?l rdf:type ontology:Q43229 }
Truth or Dare by Madonna Raising Malawi Hard Candy Fitness
Truth or Dare by Madonna, raising Malawi and Hard Candy Fitness were started by Madonna
Truth or Dare by Madonna Raising Malawi Hard Candy Fitness
action filter_type
action find_reverse
entity Madonna
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Madonna']
SELECT DISTINCT ?l WHERE { ?l property:founder resource:Madonna . ?l rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7848344
P108
Q502895
USER
Which person has Truth or Dare by Madonna as its employer ?
(c(Q502895),P108,Q7848344)
action filter_type
action find_reverse
entity Q7848344
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q7848344']
SELECT DISTINCT ?h WHERE { ?h property:P108 resource:Q7848344 . ?h rdf:type ontology:Q502895 }
Truth or Dare by Madonna
action filter_type
action find_reverse
entity Truth or Dare by Madonna
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Truth or Dare by Madonna']
SELECT DISTINCT ?h WHERE { ?h property:employer resource:Truth_or_Dare_by_Madonna . ?h rdf:type ontology:common_name }
[]
common name
Q5622519
SYSTEM
Guy Oseary
Q5622519
(c(Q502895),P108,Q7848344)
action filter_type
action find_reverse
entity Q7848344
relation P108
type Q502895
[ANSWER] has Truth or Dare by Madonna as its employer
[{'concept': 'Q502895'}, 'P108', 'Q7848344']
SELECT DISTINCT ?h WHERE { ?h property:P108 resource:Q7848344 . ?h rdf:type ontology:Q502895 }
Guy Oseary
Guy Oseary has Truth or Dare by Madonna as its employer
Guy Oseary
action filter_type
action find_reverse
entity Truth or Dare by Madonna
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Truth or Dare by Madonna']
SELECT DISTINCT ?h WHERE { ?h property:employer resource:Truth_or_Dare_by_Madonna . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5622519
P27
Q15617994
USER
Which administrative territories are that person a civilian of ?
(Q5622519,P27,c(Q15617994))
action filter_type
action find
entity Q5622519
relation P27
type Q15617994
['Q5622519', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q5622519 property:P27 ?u }
Guy Oseary
action filter_type
action find
entity Guy Oseary
relation country of citizenship
type designation for an administrative territorial entity
['Guy Oseary', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Guy_Oseary property:country_of_citizenship ?u }
[]
designation for an administrative territorial entity
Q30 Q801
SYSTEM
United States of America, Israel
Q30 Q801
(Q5622519,P27,c(Q15617994))
action filter_type
action find
entity Q5622519
relation P27
type Q15617994
[ANSWERS] are that person a civilian of
['Q5622519', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q5622519 property:P27 ?u }
United States of America Israel
United States of America and Israel are that person a civilian of
United States of America Israel
action filter_type
action find
entity Guy Oseary
relation country of citizenship
type designation for an administrative territorial entity
['Guy Oseary', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Guy_Oseary property:country_of_citizenship ?u }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q691
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with approximately the same number of administrative territories as Papua New Guinea ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g rdf:type ontology:Q1048835 . resource:Q691 property:P530 ?g } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?j ) WHERE { ?d rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?d property:P530 ?o } GROUP BY ?d } }
Papua New Guinea
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Papua_New_Guinea property:diplomatic_relation ?g } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?j ) WHERE { ?d rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?o } GROUP BY ?d } }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with approximately the same number of administrative territories as Papua New Guinea
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g rdf:type ontology:Q1048835 . resource:Q691 property:P530 ?g } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?j ) WHERE { ?d rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?d property:P530 ?o } GROUP BY ?d } }
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 approximately the same number of administrative territories as Papua New Guinea
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Papua_New_Guinea property:diplomatic_relation ?g } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?j ) WHERE { ?d rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?o } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q16
P530
Q1048835 Q15617994
USER
And what about Canada?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?a ) WHERE { ?h rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 . ?h property:P530 ?c } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:Q1048835 . resource:Q16 property:P530 ?t } } . FILTER ( ?a = ?b ) }
Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?a ) WHERE { ?h rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?c } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:political_territorial_entity . resource:Canada property:diplomatic_relation ?t } } . FILTER ( ?a = ?b ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?a ) WHERE { ?h rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 . ?h property:P530 ?c } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:Q1048835 . resource:Q16 property:P530 ?t } } . FILTER ( ?a = ?b ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?a ) WHERE { ?h rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?c } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ontology:political_territorial_entity . resource:Canada property:diplomatic_relation ?t } } . FILTER ( ?a = ?b ) }
[]