Simple Question (Direct)
Simple Question
Q1018617
P6
Q502895
USER
Who is the head of the government of Faucon-du-Caire ?
(Q1018617,P6,c(Q502895))
action filter_type
action find
entity Q1018617
relation P6
type Q502895
['Q1018617', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1018617 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Faucon-du-Caire
action filter_type
action find
entity Faucon-du-Caire
relation head of government
type common name
['Faucon-du-Caire', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Faucon-du-Caire property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
common name
Q2865307
SYSTEM
Arthur Richier
Q2865307
(Q1018617,P6,c(Q502895))
action filter_type
action find
entity Q1018617
relation P6
type Q502895
The head of the government of Faucon-du-Caire is the [ANSWER]
['Q1018617', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1018617 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Arthur Richier
The head of the government of Faucon-du-Caire is the Arthur Richier
Arthur Richier
action filter_type
action find
entity Faucon-du-Caire
relation head of government
type common name
['Faucon-du-Caire', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Faucon-du-Caire property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1018617
P19
Q502895
USER
Who has location of birth at that french administrative division ?
(c(Q502895),P19,Q2865307)
action filter_type
action find_reverse
entity Q1018617
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q2865307']
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q1018617 . ?c rdf:type ontology:Q502895 }
Faucon-du-Caire
action filter_type
action find_reverse
entity Faucon-du-Caire
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Arthur Richier']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Faucon-du-Caire . ?c rdf:type ontology:common_name }
[]
common name
Q2865307
SYSTEM
Arthur Richier
Q2865307
(c(Q502895),P19,Q2865307)
action filter_type
action find_reverse
entity Q1018617
relation P19
type Q502895
[ANSWER] has location of birth at that french administrative division
[{'concept': 'Q502895'}, 'P19', 'Q2865307']
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q1018617 . ?c rdf:type ontology:Q502895 }
Arthur Richier
Arthur Richier has location of birth at that french administrative division
Arthur Richier
action filter_type
action find_reverse
entity Faucon-du-Caire
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Arthur Richier']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Faucon-du-Caire . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2361131 Q1018617
P19
Q502895
USER
Or Dagda municipality?
OR((c(Q502895),P19,Q1018617), (c(Q502895),P19,Q2361131))
action filter_type
action union
action find_reverse
entity Q1018617
relation P19
action find_reverse
entity Q2361131
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q1018617'], [{'concept': 'Q502895'}, 'P19', 'Q2361131']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . { { ?u property:P19 resource:Q1018617 } UNION { ?u property:P19 resource:Q2361131 } } }
Dagda municipality Faucon-du-Caire
action filter_type
action union
action find_reverse
entity Faucon-du-Caire
relation place of birth
action find_reverse
entity Dagda municipality
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Faucon-du-Caire'], [{'concept': 'common name'}, 'place of birth', 'Dagda municipality']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . { { ?u property:place_of_birth resource:Faucon-du-Caire } UNION { ?u property:place_of_birth resource:Dagda_municipality } } }
[]
common name
Q21091405 Q2865307
SYSTEM
Jānis Mileika, Arthur Richier
Q21091405 Q2865307
OR((c(Q502895),P19,Q1018617), (c(Q502895),P19,Q2361131))
action filter_type
action union
action find_reverse
entity Q1018617
relation P19
action find_reverse
entity Q2361131
relation P19
type Q502895
[ANSWERS]
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q1018617'], [{'concept': 'Q502895'}, 'P19', 'Q2361131']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . { { ?u property:P19 resource:Q1018617 } UNION { ?u property:P19 resource:Q2361131 } } }
Jānis Mileika Arthur Richier
Jānis Mileika Arthur Richier
action filter_type
action union
action find_reverse
entity Faucon-du-Caire
relation place of birth
action find_reverse
entity Dagda municipality
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Faucon-du-Caire'], [{'concept': 'common name'}, 'place of birth', 'Dagda municipality']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . { { ?u property:place_of_birth resource:Faucon-du-Caire } UNION { ?u property:place_of_birth resource:Dagda_municipality } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1018617 Q4018
P47
Q1048835
USER
How many political territories do Faucon-du-Caire or Navarre share a border with ?
(c(Q1048835),P47,Q1018617) (c(Q1048835),P47,Q4018)
action count
action union
action filter_type
action find_reverse
entity Q1018617
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q4018
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q1018617'] [{'concept': 'Q1048835'}, 'P47', 'Q4018']
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { VALUES ( ?k ) { ( resource:Q4018 ) ( resource:Q1018617 ) } . ?s property:P47 ?k }
Faucon-du-Caire Navarre
action count
action union
action filter_type
action find_reverse
entity Faucon-du-Caire
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Navarre
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Faucon-du-Caire'] [{'concept': 'political territorial entity'}, 'shares border with', 'Navarre']
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { VALUES ( ?k ) { ( resource:Navarre ) ( resource:Faucon-du-Caire ) } . ?s property:shares_border_with ?k }
[]
political territorial entity
SYSTEM
2
Q4040 Q3995
(c(Q1048835),P47,Q1018617) (c(Q1048835),P47,Q4018)
action count
action union
action filter_type
action find_reverse
entity Q1018617
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q4018
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q1018617'] [{'concept': 'Q1048835'}, 'P47', 'Q4018']
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { VALUES ( ?k ) { ( resource:Q4018 ) ( resource:Q1018617 ) } . ?s property:P47 ?k }
Aragon Basque Country
2
action count
action union
action filter_type
action find_reverse
entity Faucon-du-Caire
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Navarre
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Faucon-du-Caire'] [{'concept': 'political territorial entity'}, 'shares border with', 'Navarre']
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { VALUES ( ?k ) { ( resource:Navarre ) ( resource:Faucon-du-Caire ) } . ?s property:shares_border_with ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1018617
P47
Q20667921
USER
How many french administrative divisions share border with Faucon-du-Caire ?
(c(Q20667921),P47,Q1018617)
action count
action filter_type
action find_reverse
entity Q1018617
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1018617']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P47 resource:Q1018617 . ?l rdf:type ontology:Q20667921 }
Faucon-du-Caire
action count
action filter_type
action find_reverse
entity Faucon-du-Caire
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Faucon-du-Caire']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:shares_border_with resource:Faucon-du-Caire . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
6
Q858682 Q871296 Q871287 Q748466 Q1018595 Q1093018
(c(Q20667921),P47,Q1018617)
action count
action filter_type
action find_reverse
entity Q1018617
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q1018617']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P47 resource:Q1018617 . ?l rdf:type ontology:Q20667921 }
Gigors Le Caire Bayons Turriers Curbans Venterol
6
action count
action filter_type
action find_reverse
entity Faucon-du-Caire
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Faucon-du-Caire']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:shares_border_with resource:Faucon-du-Caire . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1012474
P47
Q20667921
USER
And also tell me about Pierrefitte?
(c(Q20667921),P47,Q1012474)
action count
action filter_type
action find_reverse
entity Q1012474
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1012474']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:Q20667921 . ?h property:P47 resource:Q1012474 }
Pierrefitte
action count
action filter_type
action find_reverse
entity Pierrefitte
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Pierrefitte']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:type_of_french_administrative_division . ?h property:shares_border_with resource:Pierrefitte }
[]
type of french administrative division
SYSTEM
4
Q539534 Q1012534 Q1011288 Q177754
(c(Q20667921),P47,Q1012474)
action count
action filter_type
action find_reverse
entity Q1012474
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q1012474']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:Q20667921 . ?h property:P47 resource:Q1012474 }
Gouzon Saint-Loup Saint-Chabrais Saint-Julien-le-Châtel
4
action count
action filter_type
action find_reverse
entity Pierrefitte
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Pierrefitte']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:type_of_french_administrative_division . ?h property:shares_border_with resource:Pierrefitte }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24034511
P725
Q502895 Q15961987
USER
Which television genres had their voice dubbing done by more number of people than Voltron: Legendary Defender ?
(c(Q15961987),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q24034511
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?c ) WHERE { ?o property:P725 ?q . ?o rdf:type ontology:Q15961987 . ?q rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:Q15961987 . resource:Q24034511 property:P725 ?e } } }
Voltron: Legendary Defender
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Voltron: Legendary Defender
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?c ) WHERE { ?o property:voice_actor ?q . ?o rdf:type ontology:television_genre . ?q rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:television_genre . resource:Voltron:_Legendary_Defender property:voice_actor ?e } } }
[]
common name television genre
Q53093 Q5415 Q22773153
SYSTEM
Adventure Time, My Little Pony: Friendship Is Magic, Milo Murphy's Law
Q7615342 Q22773153 Q18790 Q53093 Q5415
(c(Q15961987),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q24034511
relation P725
type Q15961987
Adventure Time, My Little Pony: Friendship is Magic and Milo Murphy's Law had their voice dubbing done by more number of people than Voltron: Legendary Defender
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?c ) WHERE { ?o property:P725 ?q . ?o rdf:type ontology:Q15961987 . ?q rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:Q15961987 . resource:Q24034511 property:P725 ?e } } }
Steven Universe Milo Murphy's Law The Legend of Korra Adventure Time My Little Pony: Friendship Is Magic
Adventure Time, My Little Pony: Friendship is Magic and Milo Murphy's Law had their voice dubbing done by more number of people than Voltron: Legendary Defender
Adventure Time My Little Pony: Friendship Is Magic Milo Murphy's Law
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Voltron: Legendary Defender
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?c ) WHERE { ?o property:voice_actor ?q . ?o rdf:type ontology:television_genre . ?q rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:television_genre . resource:Voltron:_Legendary_Defender property:voice_actor ?e } } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P144
Q15961987 Q15961987 Q15416
USER
How many television genres are around the same number of television genres or television programs adapted from as that television genre ?
(c(Q15961987)|c(Q15416),P144,c(Q15961987))
[[{'concept': 'Q15961987'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:P144 ?z } UNION { ?y property:P144 ?z } } . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q15416 }
[[{'concept': 'television genre'}, {'concept': 'television program'}], 'based on', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:based_on ?z } UNION { ?y property:based_on ?z } } . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:television_program }
[]
television genre television genre television program
Comparative|Count over More/Less|Mult. entity type|Clarification
Q53093
SYSTEM
Did you mean Adventure Time ?
(c(Q15961987)|c(Q15416),P144,c(Q15961987))
[ANSWER]
[[{'concept': 'Q15961987'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:P144 ?z } UNION { ?y property:P144 ?z } } . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q15416 }
Did you mean Adventure Time ?
Adventure Time
[[{'concept': 'television genre'}, {'concept': 'television program'}], 'based on', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:based_on ?z } UNION { ?y property:based_on ?z } } . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:television_program }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant My Little Pony: Friendship Is Magic. Could you tell me the answer for that?
(c(Q15961987)|c(Q15416),P144,c(Q15961987))
Q5415
[[{'concept': 'Q15961987'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q15961987'}]
[[{'concept': 'television genre'}, {'concept': 'television program'}], 'based on', {'concept': 'television genre'}]
[]
SYSTEM
26
Q679554 Q83279 Q18697290 Q7756888 Q11572 Q82617 Q217679 Q1251705 Q18790 Q622946 Q622435 Q5415 Q2095216 Q205683 Q184342 Q21234344 Q6089705 Q457409 Q511726 Q210311 Q602883 Q3641021 Q16538 Q1939314 Q1066948 Q653789
(c(Q15961987)|c(Q15416),P144,c(Q15961987))
[ANSWER]
[[{'concept': 'Q15961987'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:P144 ?z } UNION { ?y property:P144 ?z } } . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q15416 }
Peking Express SpongeBob SquarePants 101st Marriage Proposal The Phil Silvers Show Avatar: The Last Airbender Regular Show Phineas and Ferb Doug The Legend of Korra Aqua Teen Hunger Force Looney Tunes My Little Pony: Friendship Is Magic Raggedy Ann Scooby Doo Wizards of Waverly Place Crash Games It's Academic The Jetsons Beavis and Butt-head American Dad! The Transformers Blondie South Park Mr. Magoo Ghost in the Shell Pippi Longstocking
26
[[{'concept': 'television genre'}, {'concept': 'television program'}], 'based on', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?z property:based_on ?z } UNION { ?y property:based_on ?z } } . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5415 Q1854614
P1441
Q6619679
USER
How many fictional humanoids are present in My Little Pony: Friendship Is Magic or Jack, Jacky and the Juniors ?
(c(Q6619679),P1441,Q5415) (c(Q6619679),P1441,Q1854614)
action count
action union
action filter_type
action find_reverse
entity Q5415
relation P1441
type Q6619679
action filter_type
action find_reverse
entity Q1854614
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q5415'] [{'concept': 'Q6619679'}, 'P1441', 'Q1854614']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { ?n property:P1441 resource:Q5415 . ?n rdf:type ontology:Q6619679 } UNION { ?n property:P1441 resource:Q1854614 . ?n rdf:type ontology:Q6619679 } }
My Little Pony: Friendship Is Magic Jack, Jacky and the Juniors
action count
action union
action filter_type
action find_reverse
entity My Little Pony: Friendship Is Magic
relation present in work
type fictional humanoid
action filter_type
action find_reverse
entity Jack, Jacky and the Juniors
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'My Little Pony: Friendship Is Magic'] [{'concept': 'fictional humanoid'}, 'present in work', 'Jack, Jacky and the Juniors']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { ?n property:present_in_work resource:My_Little_Pony:_Friendship_Is_Magic . ?n rdf:type ontology:fictional_humanoid } UNION { ?n property:present_in_work resource:Jack,_Jacky_and_the_Juniors . ?n rdf:type ontology:fictional_humanoid } }
[]
fictional humanoid
SYSTEM
2
Q1814453 Q2010906
(c(Q6619679),P1441,Q5415) (c(Q6619679),P1441,Q1854614)
action count
action union
action filter_type
action find_reverse
entity Q5415
relation P1441
type Q6619679
action filter_type
action find_reverse
entity Q1854614
relation P1441
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q5415'] [{'concept': 'Q6619679'}, 'P1441', 'Q1854614']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { ?n property:P1441 resource:Q5415 . ?n rdf:type ontology:Q6619679 } UNION { ?n property:P1441 resource:Q1854614 . ?n rdf:type ontology:Q6619679 } }
Jans Tromp Catootje Tromp
2
action count
action union
action filter_type
action find_reverse
entity My Little Pony: Friendship Is Magic
relation present in work
type fictional humanoid
action filter_type
action find_reverse
entity Jack, Jacky and the Juniors
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'My Little Pony: Friendship Is Magic'] [{'concept': 'fictional humanoid'}, 'present in work', 'Jack, Jacky and the Juniors']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { { ?n property:present_in_work resource:My_Little_Pony:_Friendship_Is_Magic . ?n rdf:type ontology:fictional_humanoid } UNION { ?n property:present_in_work resource:Jack,_Jacky_and_the_Juniors . ?n rdf:type ontology:fictional_humanoid } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5415
P136
Q5962346
USER
What is the genre of that one ?
action filter_type
action find
entity Q5415
relation P136
type Q5962346
SELECT DISTINCT ?w WHERE { resource:Q5415 property:P136 ?w . ?w rdf:type ontology:Q5962346 }
My Little Pony: Friendship Is Magic
action filter_type
action find
entity My Little Pony: Friendship Is Magic
relation genre
type classification scheme
SELECT DISTINCT ?w WHERE { resource:My_Little_Pony:_Friendship_Is_Magic property:genre ?w . ?w rdf:type ontology:classification_scheme }
[]
classification scheme
Q1273568
SYSTEM
children's television series
Q1273568
action filter_type
action find
entity Q5415
relation P136
type Q5962346
The genre of that one is the [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q5415 property:P136 ?w . ?w rdf:type ontology:Q5962346 }
children's television series
The genre of that one is the children's television series
children's television series
action filter_type
action find
entity My Little Pony: Friendship Is Magic
relation genre
type classification scheme
SELECT DISTINCT ?w WHERE { resource:My_Little_Pony:_Friendship_Is_Magic property:genre ?w . ?w rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5415 Q7102592
P361
Q15619164
USER
How many abstract beings are a portion of My Little Pony: Friendship Is Magic or Original Vampires ?
(c(Q15619164),P361,Q5415) (c(Q15619164),P361,Q7102592)
action count
action union
action filter_type
action find_reverse
entity Q5415
relation P361
type Q15619164
action filter_type
action find_reverse
entity Q7102592
relation P361
type Q15619164
[{'concept': 'Q15619164'}, 'P361', 'Q5415'] [{'concept': 'Q15619164'}, 'P361', 'Q7102592']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { ?d rdf:type ontology:Q15619164 . ?d property:P361 resource:Q7102592 } UNION { ?d property:P361 resource:Q5415 . ?d rdf:type ontology:Q15619164 } }
My Little Pony: Friendship Is Magic Original Vampires
action count
action union
action filter_type
action find_reverse
entity My Little Pony: Friendship Is Magic
relation part of
type abstract being
action filter_type
action find_reverse
entity Original Vampires
relation part of
type abstract being
[{'concept': 'abstract being'}, 'part of', 'My Little Pony: Friendship Is Magic'] [{'concept': 'abstract being'}, 'part of', 'Original Vampires']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { ?d rdf:type ontology:abstract_being . ?d property:part_of resource:Original_Vampires } UNION { ?d property:part_of resource:My_Little_Pony:_Friendship_Is_Magic . ?d rdf:type ontology:abstract_being } }
[]
abstract being
SYSTEM
2
Q16594910 Q16551669
(c(Q15619164),P361,Q5415) (c(Q15619164),P361,Q7102592)
action count
action union
action filter_type
action find_reverse
entity Q5415
relation P361
type Q15619164
action filter_type
action find_reverse
entity Q7102592
relation P361
type Q15619164
[ANSWER]
[{'concept': 'Q15619164'}, 'P361', 'Q5415'] [{'concept': 'Q15619164'}, 'P361', 'Q7102592']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { ?d rdf:type ontology:Q15619164 . ?d property:P361 resource:Q7102592 } UNION { ?d property:P361 resource:Q5415 . ?d rdf:type ontology:Q15619164 } }
Rebekah Mikaelson Elijah Mikaelson
2
action count
action union
action filter_type
action find_reverse
entity My Little Pony: Friendship Is Magic
relation part of
type abstract being
action filter_type
action find_reverse
entity Original Vampires
relation part of
type abstract being
[{'concept': 'abstract being'}, 'part of', 'My Little Pony: Friendship Is Magic'] [{'concept': 'abstract being'}, 'part of', 'Original Vampires']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { ?d rdf:type ontology:abstract_being . ?d property:part_of resource:Original_Vampires } UNION { ?d property:part_of resource:My_Little_Pony:_Friendship_Is_Magic . ?d rdf:type ontology:abstract_being } }
[]