Simple Question (Direct)
Simple Question
Q7613750
P21
Q290
USER
Which sex does Steve Ridzik have ?
(Q7613750,P21,c(Q290))
action filter_type
action find
entity Q7613750
relation P21
type Q290
['Q7613750', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q7613750 property:P21 ?g . ?g rdf:type ontology:Q290 }
Steve Ridzik
action filter_type
action find
entity Steve Ridzik
relation gender
type sex
['Steve Ridzik', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Steve_Ridzik property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7613750,P21,c(Q290))
action filter_type
action find
entity Q7613750
relation P21
type Q290
Steve Ridzik has 1 [ANSWER]
['Q7613750', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q7613750 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
Steve Ridzik has 1 male
male
action filter_type
action find
entity Steve Ridzik
relation gender
type sex
['Steve Ridzik', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Steve_Ridzik property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people as that sex as their class ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g property:P136 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?g WHERE { ?g property:genre resource:male . ?g rdf:type ontology:common_name }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g property:P136 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?g WHERE { ?g property:genre resource:male . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q313288 Q18221191 Q23766532
P106
Q12737077
USER
What do Augustus Pugin, Alessandro Gregorio Capponi and Pierre Laviron do for a living ?
(Q313288,P106,c(Q12737077)) (Q18221191,P106,c(Q12737077)) (Q23766532,P106,c(Q12737077))
action union
action filter_type
action find
entity Q313288
relation P106
type Q12737077
action filter_type
action find
entity Q18221191
relation P106
type Q12737077
action filter_type
action find
entity Q23766532
relation P106
type Q12737077
['Q313288', 'P106', {'concept': 'Q12737077'}] ['Q18221191', 'P106', {'concept': 'Q12737077'}] ['Q23766532', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?i property:P106 ?f . VALUES ( ?i ) { ( resource:Q313288 ) ( resource:Q18221191 ) } }
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action union
action filter_type
action find
entity Augustus Pugin
relation occupation
type occupation
action filter_type
action find
entity Alessandro Gregorio Capponi
relation occupation
type occupation
action filter_type
action find
entity Pierre Laviron
relation occupation
type occupation
['Augustus Pugin', 'occupation', {'concept': 'occupation'}] ['Alessandro Gregorio Capponi', 'occupation', {'concept': 'occupation'}] ['Pierre Laviron', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?i property:occupation ?f . VALUES ( ?i ) { ( resource:Augustus_Pugin ) ( resource:Alessandro_Gregorio_Capponi ) } }
[]
occupation
Q42973 Q3621491 Q17145081
SYSTEM
architect, archaeologist, museologist
Q42973 Q17145081 Q3621491 Q1281618
(Q313288,P106,c(Q12737077)) (Q18221191,P106,c(Q12737077)) (Q23766532,P106,c(Q12737077))
action union
action filter_type
action find
entity Q313288
relation P106
type Q12737077
action filter_type
action find
entity Q18221191
relation P106
type Q12737077
action filter_type
action find
entity Q23766532
relation P106
type Q12737077
[ANSWERS] Augustus Pugin , Alessandro Gregorio Capponi and Pierre Laviron do for a living
['Q313288', 'P106', {'concept': 'Q12737077'}] ['Q18221191', 'P106', {'concept': 'Q12737077'}] ['Q23766532', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?i property:P106 ?f . VALUES ( ?i ) { ( resource:Q313288 ) ( resource:Q18221191 ) } }
architect museologist archaeologist sculptor
Architect, archaeologist and museologist Augustus Pugin , Alessandro Gregorio Capponi and Pierre Laviron do for a living
architect archaeologist museologist
action union
action filter_type
action find
entity Augustus Pugin
relation occupation
type occupation
action filter_type
action find
entity Alessandro Gregorio Capponi
relation occupation
type occupation
action filter_type
action find
entity Pierre Laviron
relation occupation
type occupation
['Augustus Pugin', 'occupation', {'concept': 'occupation'}] ['Alessandro Gregorio Capponi', 'occupation', {'concept': 'occupation'}] ['Pierre Laviron', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?i property:occupation ?f . VALUES ( ?i ) { ( resource:Augustus_Pugin ) ( resource:Alessandro_Gregorio_Capponi ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42973
P425
Q1190554
USER
Who has architect as the associated field of occupation ?
(Q42973,P425,c(Q1190554))
action filter_type
action find
entity Q42973
relation P425
type Q1190554
['Q42973', 'P425', {'concept': 'Q1190554'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1190554 . resource:Q42973 property:P425 ?u }
architect
action filter_type
action find
entity architect
relation field of this occupation
type event
['architect', 'field of this occupation', {'concept': 'event'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:event . resource:architect property:field_of_this_occupation ?u }
[]
event
Q385378
SYSTEM
construction
Q385378
(Q42973,P425,c(Q1190554))
action filter_type
action find
entity Q42973
relation P425
type Q1190554
Of [ANSWER] has architect as the associated field of occupation
['Q42973', 'P425', {'concept': 'Q1190554'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1190554 . resource:Q42973 property:P425 ?u }
construction
Of construction has architect as the associated field of occupation
construction
action filter_type
action find
entity architect
relation field of this occupation
type event
['architect', 'field of this occupation', {'concept': 'event'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:event . resource:architect property:field_of_this_occupation ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313288
P22
Q502895
USER
Which male person was the parent of Augustus Pugin ?
(Q313288,P22,c(Q502895))
action filter_type
action find
entity Q313288
relation P22
type Q502895
['Q313288', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q313288 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Augustus Pugin
action filter_type
action find
entity Augustus Pugin
relation father
type common name
['Augustus Pugin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Augustus_Pugin property:father ?p . ?p rdf:type ontology:common_name }
[]
common name
Q2871122
SYSTEM
Augustus Charles Pugin
Q2871122
(Q313288,P22,c(Q502895))
action filter_type
action find
entity Q313288
relation P22
type Q502895
[ANSWER] was the parent of Augustus Pugin
['Q313288', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q313288 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Augustus Charles Pugin
Augustus Charles Pugin was the parent of Augustus Pugin
Augustus Charles Pugin
action filter_type
action find
entity Augustus Pugin
relation father
type common name
['Augustus Pugin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Augustus_Pugin property:father ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2871122
P1066
Q502895
USER
Who is a pupil of that one ?
(c(Q502895),P1066,Q2871122)
action filter_type
action find_reverse
entity Q2871122
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q2871122']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P1066 resource:Q2871122 }
Augustus Charles Pugin
action filter_type
action find_reverse
entity Augustus Charles Pugin
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Augustus Charles Pugin']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:student_of resource:Augustus_Charles_Pugin }
[]
common name
Q4888580
SYSTEM
Benjamin Ferrey
Q4888580
(c(Q502895),P1066,Q2871122)
action filter_type
action find_reverse
entity Q2871122
relation P1066
type Q502895
A pupil of that one is of [ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q2871122']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P1066 resource:Q2871122 }
Benjamin Ferrey
A pupil of that one is of Benjamin Ferrey
Benjamin Ferrey
action filter_type
action find_reverse
entity Augustus Charles Pugin
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Augustus Charles Pugin']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:student_of resource:Augustus_Charles_Pugin }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works did min number of people do the dubbing for ?
(c(Q386724),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?q ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?n ) WHERE { ?j property:P725 ?l . ?j rdf:type ontology:Q386724 . ?l rdf:type ontology:Q502895 } GROUP BY ?j } } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?h ) WHERE { ?v property:P725 ?m . ?v rdf:type ontology:Q386724 . ?m rdf:type ontology:Q502895 } GROUP BY ?v } }
action argmin
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?q ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?n ) WHERE { ?j property:voice_actor ?l . ?j rdf:type ontology:work . ?l rdf:type ontology:common_name } GROUP BY ?j } } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?h ) WHERE { ?v property:voice_actor ?m . ?v rdf:type ontology:work . ?m rdf:type ontology:common_name } GROUP BY ?v } }
[]
common name work
Q10864091
SYSTEM
Isshūkan Friends
Q10864091
(c(Q386724),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q386724
type Q502895
Min number of people did the dubbing of [ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?q ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?n ) WHERE { ?j property:P725 ?l . ?j rdf:type ontology:Q386724 . ?l rdf:type ontology:Q502895 } GROUP BY ?j } } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?h ) WHERE { ?v property:P725 ?m . ?v rdf:type ontology:Q386724 . ?m rdf:type ontology:Q502895 } GROUP BY ?v } }
Isshūkan Friends
Min number of people did the dubbing of Isshūkan Friends
Isshūkan Friends
action argmin
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?q ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?n ) WHERE { ?j property:voice_actor ?l . ?j rdf:type ontology:work . ?l rdf:type ontology:common_name } GROUP BY ?j } } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?h ) WHERE { ?v property:voice_actor ?m . ?v rdf:type ontology:work . ?m rdf:type ontology:common_name } GROUP BY ?v } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P38
Q8142
USER
What is considered to be the currency of United States of America ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?i WHERE { resource:Q30 property:P38 ?i . ?i rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?i WHERE { resource:United_States_of_America property:currency ?i . ?i rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
[ANSWER] is considered to be the currency of United States of America
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?i WHERE { resource:Q30 property:P38 ?i . ?i rdf:type ontology:Q8142 }
United States dollar
United States dollar is considered to be the currency of United States of America
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?i WHERE { resource:United_States_of_America property:currency ?i . ?i rdf:type ontology:currency }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2340665
Q8142
USER
And also tell me about Basutoland?
(Q2340665,P38,c(Q8142))
action filter_type
action find
entity Q2340665
relation P38
type Q8142
['Q2340665', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?s WHERE { resource:Q2340665 property:P38 ?s . ?s rdf:type ontology:Q8142 }
Basutoland
action filter_type
action find
entity Basutoland
relation currency
type currency
['Basutoland', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?s WHERE { resource:Basutoland property:currency ?s . ?s rdf:type ontology:currency }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q2340665,P38,c(Q8142))
action filter_type
action find
entity Q2340665
relation P38
type Q8142
[ANSWER]
['Q2340665', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?s WHERE { resource:Q2340665 property:P38 ?s . ?s rdf:type ontology:Q8142 }
pound sterling
pound sterling
action filter_type
action find
entity Basutoland
relation currency
type currency
['Basutoland', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?s WHERE { resource:Basutoland property:currency ?s . ?s rdf:type ontology:currency }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q212156
P1445
Q15416 Q386724
USER
Which television programs describe the fictional universe around the same number of works as Angel ?
(c(Q386724),P1445,c(Q15416))
action approx
action find_reverse_tuple_counts
relation P1445
type Q15416
type Q386724
action count
action filter_type
action find
entity Q212156
relation P1445
type Q15416
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:P1445 ?k . ?k rdf:type ontology:Q15416 . ?x rdf:type ontology:Q386724 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ontology:Q15416 . resource:Q212156 property:P1445 ?r } } . FILTER ( ?o = ?b ) }
Angel
action approx
action find_reverse_tuple_counts
relation fictional universe described in
type television program
type work
action count
action filter_type
action find
entity Angel
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:fictional_universe_described_in ?k . ?k rdf:type ontology:television_program . ?x rdf:type ontology:work } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ontology:television_program . resource:Angel property:fictional_universe_described_in ?r } } . FILTER ( ?o = ?b ) }
[]
television program work
Q23572 Q108774 Q16290
SYSTEM
Game of Thrones, Star Trek: Deep Space Nine, Star Trek: The Next Generation
Q130585 Q210146 Q380519 Q15711398 Q3031713 Q3033709 Q156329 Q186219 Q194213 Q785430 Q239937 Q16862988 Q15924143 Q18844732 Q23572 Q437808 Q34316 Q18008936 Q3027966 Q215287 Q1077 Q11622 Q212156 Q187462 Q19863968 Q108774 Q2707472 Q16290 Q737343 Q1759586 Q552314
(c(Q386724),P1445,c(Q15416))
action approx
action find_reverse_tuple_counts
relation P1445
type Q15416
type Q386724
action count
action filter_type
action find
entity Q212156
relation P1445
type Q15416
[ANSWERS] describe the fictional universe around the same number of works as Angel
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:P1445 ?k . ?k rdf:type ontology:Q15416 . ?x rdf:type ontology:Q386724 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ontology:Q15416 . resource:Q212156 property:P1445 ?r } } . FILTER ( ?o = ?b ) }
Supernatural Babylon 5 Star Trek: Enterprise The Flash The Maxx Dofus : Aux trésors de Kerubim Star Trek: Voyager True Blood Stargate Universe Young Justice Pokémon Constantine Supernatural: Bloodlines Supergirl Game of Thrones Fullmetal Alchemist: Brotherhood Doctor Who Dr. Slump Dilbert Stargate Atlantis Star Trek: The Original Series Firefly Angel Stargate SG-1 Legends of Tomorrow Star Trek: Deep Space Nine Super Friends Star Trek: The Next Generation Crusade Roughnecks: Starship Troopers Chronicles Arrow
Game of Thrones, Star Trek: Deep Space Nine and Star Trek: The Next Generation describe the fictional universe around the same number of works as Angel
Game of Thrones Star Trek: Deep Space Nine Star Trek: The Next Generation
action approx
action find_reverse_tuple_counts
relation fictional universe described in
type television program
type work
action count
action filter_type
action find
entity Angel
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:fictional_universe_described_in ?k . ?k rdf:type ontology:television_program . ?x rdf:type ontology:work } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ontology:television_program . resource:Angel property:fictional_universe_described_in ?r } } . FILTER ( ?o = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1077
P1445
Q15416 Q386724
USER
And what about Star Trek: The Original Series?
(c(Q386724),P1445,c(Q15416))
action approx
action find_reverse_tuple_counts
relation P1445
type Q15416
type Q386724
action count
action filter_type
action find
entity Q1077
relation P1445
type Q15416
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q1077 property:P1445 ?y . ?y rdf:type ontology:Q15416 } } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P1445 ?p . ?p rdf:type ontology:Q15416 . ?x rdf:type ontology:Q386724 } GROUP BY ?p } }
Star Trek: The Original Series
action approx
action find_reverse_tuple_counts
relation fictional universe described in
type television program
type work
action count
action filter_type
action find
entity Star Trek: The Original Series
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Star_Trek:_The_Original_Series property:fictional_universe_described_in ?y . ?y rdf:type ontology:television_program } } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:fictional_universe_described_in ?p . ?p rdf:type ontology:television_program . ?x rdf:type ontology:work } GROUP BY ?p } }
[]
television program work
Q23572 Q108774 Q16290
SYSTEM
Game of Thrones, Star Trek: Deep Space Nine, Star Trek: The Next Generation
Q130585 Q210146 Q380519 Q15711398 Q3031713 Q3033709 Q156329 Q186219 Q194213 Q785430 Q239937 Q16862988 Q15924143 Q18844732 Q23572 Q437808 Q34316 Q18008936 Q3027966 Q215287 Q1077 Q11622 Q212156 Q187462 Q19863968 Q108774 Q2707472 Q16290 Q737343 Q1759586 Q552314
(c(Q386724),P1445,c(Q15416))
action approx
action find_reverse_tuple_counts
relation P1445
type Q15416
type Q386724
action count
action filter_type
action find
entity Q1077
relation P1445
type Q15416
[ANSWERS]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q1077 property:P1445 ?y . ?y rdf:type ontology:Q15416 } } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P1445 ?p . ?p rdf:type ontology:Q15416 . ?x rdf:type ontology:Q386724 } GROUP BY ?p } }
Supernatural Babylon 5 Star Trek: Enterprise The Flash The Maxx Dofus : Aux trésors de Kerubim Star Trek: Voyager True Blood Stargate Universe Young Justice Pokémon Constantine Supernatural: Bloodlines Supergirl Game of Thrones Fullmetal Alchemist: Brotherhood Doctor Who Dr. Slump Dilbert Stargate Atlantis Star Trek: The Original Series Firefly Angel Stargate SG-1 Legends of Tomorrow Star Trek: Deep Space Nine Super Friends Star Trek: The Next Generation Crusade Roughnecks: Starship Troopers Chronicles Arrow
Game of Thrones Star Trek: Deep Space Nine Star Trek: The Next Generation
action approx
action find_reverse_tuple_counts
relation fictional universe described in
type television program
type work
action count
action filter_type
action find
entity Star Trek: The Original Series
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Star_Trek:_The_Original_Series property:fictional_universe_described_in ?y . ?y rdf:type ontology:television_program } } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:fictional_universe_described_in ?p . ?p rdf:type ontology:television_program . ?x rdf:type ontology:work } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q23572 Q108774 Q16290
P361
Q15416
USER
Which television programs are a part of Game of Thrones, Star Trek: Deep Space Nine and Star Trek: The Next Generation ?
(c(Q15416),P361,Q23572) (c(Q15416),P361,Q108774) (c(Q15416),P361,Q16290)
action union
action filter_type
action find_reverse
entity Q23572
relation P361
type Q15416
action filter_type
action find_reverse
entity Q108774
relation P361
type Q15416
action filter_type
action find_reverse
entity Q16290
relation P361
type Q15416
[{'concept': 'Q15416'}, 'P361', 'Q23572'] [{'concept': 'Q15416'}, 'P361', 'Q108774'] [{'concept': 'Q15416'}, 'P361', 'Q16290']
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q15416 . ?i property:P361 resource:Q108774 } UNION { ?i property:P361 resource:Q23572 . ?i rdf:type ontology:Q15416 } }
Game of Thrones Star Trek: Deep Space Nine Star Trek: The Next Generation
action union
action filter_type
action find_reverse
entity Game of Thrones
relation part of
type television program
action filter_type
action find_reverse
entity Star Trek: Deep Space Nine
relation part of
type television program
action filter_type
action find_reverse
entity Star Trek: The Next Generation
relation part of
type television program
[{'concept': 'television program'}, 'part of', 'Game of Thrones'] [{'concept': 'television program'}, 'part of', 'Star Trek: Deep Space Nine'] [{'concept': 'television program'}, 'part of', 'Star Trek: The Next Generation']
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:television_program . ?i property:part_of resource:Star_Trek:_Deep_Space_Nine } UNION { ?i property:part_of resource:Game_of_Thrones . ?i rdf:type ontology:television_program } }
[]
television program
Q604559 Q3468901 Q978153
SYSTEM
Star Trek: The Next Generation, Season 4 of Star Trek: The Next Generation, Star Trek: The Next Generation
Q302358 Q19823303 Q3009004 Q20704265 Q1658029 Q15643670 Q3730022 Q3730026 Q3468580 Q461787 Q3468897 Q5204631 Q3468785 Q604559 Q3468901 Q978153 Q3468983 Q3469077 Q3468790 Q733620
(c(Q15416),P361,Q23572) (c(Q15416),P361,Q108774) (c(Q15416),P361,Q16290)
action union
action filter_type
action find_reverse
entity Q23572
relation P361
type Q15416
action filter_type
action find_reverse
entity Q108774
relation P361
type Q15416
action filter_type
action find_reverse
entity Q16290
relation P361
type Q15416
[ANSWERS] are a part of Game of Thrones, Star Trek: Deep Space Nine and Star Trek: The Next Generation
[{'concept': 'Q15416'}, 'P361', 'Q23572'] [{'concept': 'Q15416'}, 'P361', 'Q108774'] [{'concept': 'Q15416'}, 'P361', 'Q16290']
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q15416 . ?i property:P361 resource:Q108774 } UNION { ?i property:P361 resource:Q23572 . ?i rdf:type ontology:Q15416 } }
Game of Thrones (season 2) Game of Thrones (season 5) Game of Thrones (season 3) Game of Thrones (season 6) Game of Thrones (season 1) Game of Thrones (season 4) season 5 of Star Trek: Deep Space Nine Season 7 of Star Trek: Deep Space Nine Season 2 of Star Trek: Deep Space Nine Season 6 of Star Trek: Deep Space Nine Season 4 of Star Trek: Deep Space Nine Season 1 of Star Trek: Deep Space Nine Season 3 of Star Trek: Deep Space Nine Star Trek: The Next Generation Season 4 of Star Trek: The Next Generation Star Trek: The Next Generation season 5 of Star Trek: The Next Generation Season 7 of Star Trek: The Next Generation Star Trek: The Next Generation Season 6 of Star Trek: The Next Generation
Star Trek: The Next Generation, Season 4 of Star Trek: The Next Generation and Star Trek: The Next Generation are a part of Game of Thrones, Star Trek: Deep Space Nine and Star Trek: The Next Generation
Star Trek: The Next Generation Season 4 of Star Trek: The Next Generation Star Trek: The Next Generation
action union
action filter_type
action find_reverse
entity Game of Thrones
relation part of
type television program
action filter_type
action find_reverse
entity Star Trek: Deep Space Nine
relation part of
type television program
action filter_type
action find_reverse
entity Star Trek: The Next Generation
relation part of
type television program
[{'concept': 'television program'}, 'part of', 'Game of Thrones'] [{'concept': 'television program'}, 'part of', 'Star Trek: Deep Space Nine'] [{'concept': 'television program'}, 'part of', 'Star Trek: The Next Generation']
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:television_program . ?i property:part_of resource:Star_Trek:_Deep_Space_Nine } UNION { ?i property:part_of resource:Game_of_Thrones . ?i rdf:type ontology:television_program } }
[]