Simple Question (Direct)
Simple Question
Q6988717
P641
Q349
USER
What did Neil Harvey participate in ?
(Q6988717,P641,c(Q349))
action filter_type
action find
entity Q6988717
relation P641
type Q349
['Q6988717', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q6988717 property:P641 ?r . ?r rdf:type ontology:Q349 }
Neil Harvey
action filter_type
action find
entity Neil Harvey
relation sport
type sport
['Neil Harvey', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Neil_Harvey property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6988717,P641,c(Q349))
action filter_type
action find
entity Q6988717
relation P641
type Q349
[ANSWER]
['Q6988717', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q6988717 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Neil Harvey
relation sport
type sport
['Neil Harvey', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Neil_Harvey property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6988717
P2554
Q838948
USER
Which work of art has Neil Harvey as the creator of production designs ?
(c(Q838948),P2554,Q6988717)
action filter_type
action find_reverse
entity Q6988717
relation P2554
type Q838948
[{'concept': 'Q838948'}, 'P2554', 'Q6988717']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P2554 resource:Q6988717 }
Neil Harvey
action filter_type
action find_reverse
entity Neil Harvey
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'Neil Harvey']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:production_designer resource:Neil_Harvey }
[]
work of art
Q4595879
SYSTEM
One Direction: This Is Us
Q4595879
(c(Q838948),P2554,Q6988717)
action filter_type
action find_reverse
entity Q6988717
relation P2554
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P2554', 'Q6988717']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P2554 resource:Q6988717 }
One Direction: This Is Us
One Direction: This Is Us
action filter_type
action find_reverse
entity Neil Harvey
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'Neil Harvey']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:production_designer resource:Neil_Harvey }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P915
Q56061 Q15617994
USER
How many administrative territories or administrative territories were that work of art filmed ?
(Q4595879,P915,c(Q56061)) (Q4595879,P915,c(Q15617994)) (Q4595879,P915,c(Q56061)) (Q4595879,P915,c(Q15617994))
action count
action union
action filter_type
action find
entity Q4595879
relation P915
type Q56061
action filter_type
action find
entity Q4595879
relation P915
type Q15617994
['Q4595879', 'P915', {'concept': 'Q56061'}] ['Q4595879', 'P915', {'concept': 'Q15617994'}] ['Q4595879', 'P915', {'concept': 'Q56061'}] ['Q4595879', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { resource:Q4595879 property:P915 ?g . ?g rdf:type ontology:Q56061 } UNION { resource:Q4595879 property:P915 ?g . ?g rdf:type ontology:Q15617994 } }
action count
action union
action filter_type
action find
entity One Direction: This Is Us
relation filming location
type administrative territorial entity
action filter_type
action find
entity One Direction: This Is Us
relation filming location
type designation for an administrative territorial entity
['One Direction: This Is Us', 'filming location', {'concept': 'administrative territorial entity'}] ['One Direction: This Is Us', 'filming location', {'concept': 'designation for an administrative territorial entity'}] ['One Direction: This Is Us', 'filming location', {'concept': 'administrative territorial entity'}] ['One Direction: This Is Us', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { resource:One_Direction:_This_Is_Us property:filming_location ?g . ?g rdf:type ontology:administrative_territorial_entity } UNION { resource:One_Direction:_This_Is_Us property:filming_location ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
administrative territorial entity designation for an administrative territorial entity
SYSTEM
3
Q17 Q60 Q84
(Q4595879,P915,c(Q56061)) (Q4595879,P915,c(Q15617994)) (Q4595879,P915,c(Q56061)) (Q4595879,P915,c(Q15617994))
action count
action union
action filter_type
action find
entity Q4595879
relation P915
type Q56061
action filter_type
action find
entity Q4595879
relation P915
type Q15617994
[ANSWER]
['Q4595879', 'P915', {'concept': 'Q56061'}] ['Q4595879', 'P915', {'concept': 'Q15617994'}] ['Q4595879', 'P915', {'concept': 'Q56061'}] ['Q4595879', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { resource:Q4595879 property:P915 ?g . ?g rdf:type ontology:Q56061 } UNION { resource:Q4595879 property:P915 ?g . ?g rdf:type ontology:Q15617994 } }
Japan New York City London
3
action count
action union
action filter_type
action find
entity One Direction: This Is Us
relation filming location
type administrative territorial entity
action filter_type
action find
entity One Direction: This Is Us
relation filming location
type designation for an administrative territorial entity
['One Direction: This Is Us', 'filming location', {'concept': 'administrative territorial entity'}] ['One Direction: This Is Us', 'filming location', {'concept': 'designation for an administrative territorial entity'}] ['One Direction: This Is Us', 'filming location', {'concept': 'administrative territorial entity'}] ['One Direction: This Is Us', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { resource:One_Direction:_This_Is_Us property:filming_location ?g . ?g rdf:type ontology:administrative_territorial_entity } UNION { resource:One_Direction:_This_Is_Us property:filming_location ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4595879 Q16917076
P136
Q1792379
USER
How many art genres can be considered as category for One Direction: This Is Us or Black Bull ?
(Q4595879,P136,c(Q1792379)) (Q16917076,P136,c(Q1792379))
action count
action union
action filter_type
action find
entity Q4595879
relation P136
type Q1792379
action filter_type
action find
entity Q16917076
relation P136
type Q1792379
['Q4595879', 'P136', {'concept': 'Q1792379'}] ['Q16917076', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { resource:Q4595879 property:P136 ?g . ?g rdf:type ontology:Q1792379 } UNION { resource:Q16917076 property:P136 ?g . ?g rdf:type ontology:Q1792379 } }
One Direction: This Is Us Black Bull
action count
action union
action filter_type
action find
entity One Direction: This Is Us
relation genre
type art genre
action filter_type
action find
entity Black Bull
relation genre
type art genre
['One Direction: This Is Us', 'genre', {'concept': 'art genre'}] ['Black Bull', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { resource:One_Direction:_This_Is_Us property:genre ?g . ?g rdf:type ontology:art_genre } UNION { resource:Black_Bull property:genre ?g . ?g rdf:type ontology:art_genre } }
[]
art genre
SYSTEM
2
Q2302151 Q93204
(Q4595879,P136,c(Q1792379)) (Q16917076,P136,c(Q1792379))
action count
action union
action filter_type
action find
entity Q4595879
relation P136
type Q1792379
action filter_type
action find
entity Q16917076
relation P136
type Q1792379
[ANSWER]
['Q4595879', 'P136', {'concept': 'Q1792379'}] ['Q16917076', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { resource:Q4595879 property:P136 ?g . ?g rdf:type ontology:Q1792379 } UNION { resource:Q16917076 property:P136 ?g . ?g rdf:type ontology:Q1792379 } }
animal painting documentary film
2
action count
action union
action filter_type
action find
entity One Direction: This Is Us
relation genre
type art genre
action filter_type
action find
entity Black Bull
relation genre
type art genre
['One Direction: This Is Us', 'genre', {'concept': 'art genre'}] ['Black Bull', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { resource:One_Direction:_This_Is_Us property:genre ?g . ?g rdf:type ontology:art_genre } UNION { resource:Black_Bull property:genre ?g . ?g rdf:type ontology:art_genre } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2457952 Q16917076
P136
Q1792379
USER
Which art genres can be considered as category for Black Bull or L'Astrée ?
OR((Q16917076,P136,c(Q1792379)), (Q2457952,P136,c(Q1792379)))
action filter_type
action union
action find
entity Q16917076
relation P136
action find
entity Q2457952
relation P136
type Q1792379
{'OR': [['Q16917076', 'P136', {'concept': 'Q1792379'}], ['Q2457952', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q16917076 property:P136 ?u } UNION { resource:Q2457952 property:P136 ?u } } . ?u rdf:type ontology:Q1792379 }
L'Astrée Black Bull
action filter_type
action union
action find
entity Black Bull
relation genre
action find
entity L'Astrée
relation genre
type art genre
{'OR': [['Black Bull', 'genre', {'concept': 'art genre'}], ["L'Astrée", 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Black_Bull property:genre ?u } UNION { resource:L'Astrée property:genre ?u } } . ?u rdf:type ontology:art_genre }
[]
art genre
Q2302151 Q1619888 Q8261
SYSTEM
animal painting, pastoral novel, novel
Q2302151 Q1619888 Q8261
OR((Q16917076,P136,c(Q1792379)), (Q2457952,P136,c(Q1792379)))
action filter_type
action union
action find
entity Q16917076
relation P136
action find
entity Q2457952
relation P136
type Q1792379
[ANSWERS]
{'OR': [['Q16917076', 'P136', {'concept': 'Q1792379'}], ['Q2457952', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q16917076 property:P136 ?u } UNION { resource:Q2457952 property:P136 ?u } } . ?u rdf:type ontology:Q1792379 }
animal painting pastoral novel novel
animal painting pastoral novel novel
action filter_type
action union
action find
entity Black Bull
relation genre
action find
entity L'Astrée
relation genre
type art genre
{'OR': [['Black Bull', 'genre', {'concept': 'art genre'}], ["L'Astrée", 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Black_Bull property:genre ?u } UNION { resource:L'Astrée property:genre ?u } } . ?u rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2457952
P144
Q15850590
USER
Which theatrical genre is an extension L'Astrée ?
(c(Q15850590),P144,Q2457952)
action filter_type
action find_reverse
entity Q2457952
relation P144
type Q15850590
[{'concept': 'Q15850590'}, 'P144', 'Q2457952']
SELECT DISTINCT ?r WHERE { ?r property:P144 resource:Q2457952 . ?r rdf:type ontology:Q15850590 }
L'Astrée
action filter_type
action find_reverse
entity L'Astrée
relation based on
type theatrical genre
[{'concept': 'theatrical genre'}, 'based on', "L'Astrée"]
SELECT DISTINCT ?r WHERE { ?r property:based_on resource:L'Astrée . ?r rdf:type ontology:theatrical_genre }
[]
theatrical genre
Q16834863
SYSTEM
Astrée
Q16834863
(c(Q15850590),P144,Q2457952)
action filter_type
action find_reverse
entity Q2457952
relation P144
type Q15850590
[ANSWER]
[{'concept': 'Q15850590'}, 'P144', 'Q2457952']
SELECT DISTINCT ?r WHERE { ?r property:P144 resource:Q2457952 . ?r rdf:type ontology:Q15850590 }
Astrée
Astrée
action filter_type
action find_reverse
entity L'Astrée
relation based on
type theatrical genre
[{'concept': 'theatrical genre'}, 'based on', "L'Astrée"]
SELECT DISTINCT ?r WHERE { ?r property:based_on resource:L'Astrée . ?r rdf:type ontology:theatrical_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2457952
P50
Q502895
USER
Who wrote L'Astrée ?
(Q2457952,P50,c(Q502895))
action filter_type
action find
entity Q2457952
relation P50
type Q502895
['Q2457952', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q2457952 property:P50 ?g }
L'Astrée
action filter_type
action find
entity L'Astrée
relation author
type common name
["L'Astrée", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:L'Astrée property:author ?g }
[]
common name
Q358491
SYSTEM
Honoré d'Urfé
Q358491
(Q2457952,P50,c(Q502895))
action filter_type
action find
entity Q2457952
relation P50
type Q502895
[ANSWER]
['Q2457952', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q2457952 property:P50 ?g }
Honoré d'Urfé
Honoré d'Urfé
action filter_type
action find
entity L'Astrée
relation author
type common name
["L'Astrée", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:L'Astrée property:author ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17852855
Q502895
USER
And what about Burke John (1831)?
(Q17852855,P50,c(Q502895))
action filter_type
action find
entity Q17852855
relation P50
type Q502895
['Q17852855', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q17852855 property:P50 ?e . ?e rdf:type ontology:Q502895 }
Burke John (1831)
action filter_type
action find
entity Burke John (1831)
relation author
type common name
['Burke John (1831)', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Burke_John_(1831) property:author ?e . ?e rdf:type ontology:common_name }
[]
common name
Q5590336
SYSTEM
John Burke
Q5590336
(Q17852855,P50,c(Q502895))
action filter_type
action find
entity Q17852855
relation P50
type Q502895
[ANSWER]
['Q17852855', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q17852855 property:P50 ?e . ?e rdf:type ontology:Q502895 }
John Burke
John Burke
action filter_type
action find
entity Burke John (1831)
relation author
type common name
['Burke John (1831)', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Burke_John_(1831) property:author ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5590336
P40
Q502895
USER
Which person is a successor of that one ?
(Q5590336,P40,c(Q502895))
action filter_type
action find
entity Q5590336
relation P40
type Q502895
['Q5590336', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q5590336 property:P40 ?r . ?r rdf:type ontology:Q502895 }
John Burke
action filter_type
action find
entity John Burke
relation child
type common name
['John Burke', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:John_Burke property:child ?r . ?r rdf:type ontology:common_name }
[]
common name
Q4892968
SYSTEM
John Bernard Burke
Q4892968
(Q5590336,P40,c(Q502895))
action filter_type
action find
entity Q5590336
relation P40
type Q502895
[ANSWER]
['Q5590336', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q5590336 property:P40 ?r . ?r rdf:type ontology:Q502895 }
John Bernard Burke
John Bernard Burke
action filter_type
action find
entity John Burke
relation child
type common name
['John Burke', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:John_Burke property:child ?r . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q4892968 Q2361637 Q84
P19
Q56061
USER
Does that person have birthplace at Blatnik pri Črmošnjicah and London ?
(Q4892968,P19,Q2361637) (Q4892968,P19,Q84)
action is_in
entity Q4892968
action intersection
action find_reverse
entity Q2361637
relation P19
action find_reverse
entity Q84
relation P19
['Q4892968', 'P19', 'Q2361637'] ['Q4892968', 'P19', 'Q84']
ASK WHERE { resource:Q4892968 property:P19 resource:Q2361637 . resource:Q4892968 property:P19 resource:Q84 }
John Bernard Burke Blatnik pri Črmošnjicah London
action is_in
entity John Bernard Burke
action intersection
action find_reverse
entity Blatnik pri Črmošnjicah
relation place of birth
action find_reverse
entity London
relation place of birth
['John Bernard Burke', 'place of birth', 'Blatnik pri Črmošnjicah'] ['John Bernard Burke', 'place of birth', 'London']
ASK WHERE { resource:John_Bernard_Burke property:place_of_birth resource:Blatnik_pri_Črmošnjicah . resource:John_Bernard_Burke property:place_of_birth resource:London }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q4892968,P19,Q2361637) (Q4892968,P19,Q84)
action is_in
entity Q4892968
action intersection
action find_reverse
entity Q2361637
relation P19
action find_reverse
entity Q84
relation P19
[ANSWER]
['Q4892968', 'P19', 'Q2361637'] ['Q4892968', 'P19', 'Q84']
ASK WHERE { resource:Q4892968 property:P19 resource:Q2361637 . resource:Q4892968 property:P19 resource:Q84 }
NO and YES respectively
action is_in
entity John Bernard Burke
action intersection
action find_reverse
entity Blatnik pri Črmošnjicah
relation place of birth
action find_reverse
entity London
relation place of birth
['John Bernard Burke', 'place of birth', 'Blatnik pri Črmošnjicah'] ['John Bernard Burke', 'place of birth', 'London']
ASK WHERE { resource:John_Bernard_Burke property:place_of_birth resource:Blatnik_pri_Črmošnjicah . resource:John_Bernard_Burke property:place_of_birth resource:London }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2302151 Q13867039
P180
Q16521
USER
Is Mycocepurus curvispinosus expressed in animal painting ?
(Q2302151,P180,Q13867039)
action is_in
entity Q13867039
action find
entity Q2302151
relation P180
['Q2302151', 'P180', 'Q13867039']
ASK WHERE { resource:Q2302151 property:P180 resource:Q13867039 }
animal painting Mycocepurus curvispinosus
action is_in
entity Mycocepurus curvispinosus
action find
entity animal painting
relation depicts
['animal painting', 'depicts', 'Mycocepurus curvispinosus']
ASK WHERE { resource:animal_painting property:depicts resource:Mycocepurus_curvispinosus }
[]
taxon
SYSTEM
NO
(Q2302151,P180,Q13867039)
action is_in
entity Q13867039
action find
entity Q2302151
relation P180
[ANSWER]
['Q2302151', 'P180', 'Q13867039']
ASK WHERE { resource:Q2302151 property:P180 resource:Q13867039 }
No
action is_in
entity Mycocepurus curvispinosus
action find
entity animal painting
relation depicts
['animal painting', 'depicts', 'Mycocepurus curvispinosus']
ASK WHERE { resource:animal_painting property:depicts resource:Mycocepurus_curvispinosus }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
How many works of art did atmost 6 people dub for ?
(c(Q838948),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 6
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?g ) WHERE { ?u rdf:type ontology:Q838948 . ?y rdf:type ontology:Q502895 . ?u property:P725 ?y } GROUP BY ?u } . FILTER ( ?g <= 6 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type work of art
type common name
value 6
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?g ) WHERE { ?u rdf:type ontology:work_of_art . ?y rdf:type ontology:common_name . ?u property:voice_actor ?y } GROUP BY ?u } . FILTER ( ?g <= 6 ) }
[]
common name work of art
SYSTEM
80
Q4346544 Q13091172 Q127367 Q3458494 Q8024145 Q15139235 Q21428001 Q890656 Q834799 Q82579 Q568928 Q3139297 Q212792 Q190145 Q909318 Q6675708 Q5901134 Q19948770 Q1325217 Q286868 Q1315185 Q1583966 Q390341 Q25218391 Q5640689 Q777739 Q4942936 Q1572709 Q3282491 Q640695 Q14540226 Q16782 Q18407657 Q868048 Q615813 Q4367569 Q180098 Q4158396 Q1100231 Q4503243 Q1368693 Q19776571 Q1185099 Q4646903 Q18786473 Q4305149 Q176198 Q25167044 Q567884 Q1196712 Q19776435 Q15627005 Q204416 Q5237953 Q1309592 Q890665 Q207659 Q1519753 Q641315 Q729809 Q888131 Q23034444 Q1702819 Q4468674 Q318975 Q2165639 Q4204793 Q1201022 Q587921 Q1810461 Q387674 Q5694508 Q741883 Q1193324 Q18167809 Q7767682 Q18200409 Q18857408 Q16998034 Q179411
(c(Q838948),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 6
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?g ) WHERE { ?u rdf:type ontology:Q838948 . ?y rdf:type ontology:Q502895 . ?u property:P725 ?y } GROUP BY ?u } . FILTER ( ?g <= 6 ) }
Passport Big Hero 6 The Lord of the Rings: The Fellowship of the Ring A Tree of Palme Windfall Nobunaga the Fool Riley's First Date? Pokémon Heroes Pokémon: The First Movie: Mewtwo Strikes Back Pokémon 4Ever Garfield: The Movie Hold the Lion, Please Bolt Spider-Man 2 Keroro Gunso the Super Movie 3: Keroro vs. Keroro Great Sky Duel Looney Tunes Super Stars' Foghorn Leghorn & Friends: Barnyard Bigmouth Ant-Man From Caligari to Hitler: German Cinema in the Age of the Masses Flubber Noah Steamboy Underdog Beverly Hills Chihuahua Exile Hal Ivan Vasilievich: Back to the Future Book Girl Pretty Cure All Stars Trigun: Badlands Rumble Metropolis Celestial Wives of the Meadow Mari Buried Captain America: Civil War Pokémon: The Movie 2000: The Power of One Pokémon the Movie: Black—Victini and Reshiram and White—Victini and Zekrom The Witches Cave Ben-Hur Radio Day Hayate the Combat Butler! Heaven Is a Place on Earth The Tsar's Bride GeGeGe no Kitarō N - The Madness of Reason Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon Mozart and Salieri The Last Unicorn Wreck-It Ralph 2 Another Detective Conan: The Phantom of Baker Street Szenario Fair Play Felidae Inazuma Eleven GO vs. Danbōru Senki W Doraemon: Nobita and the Wind Wizard Pokémon 3: The Movie: Spell of the Unown Space Jam Mimino Spirit: Stallion of the Cimarron Bodacious Space Pirates The Wind Rises Ghost in the Shell 2.0 Secret of the Wings To Kill a Dragon Atlantis: The Lost Empire Watership Down History of the Arkanar Massacre Tiger & Bunny Garfield: A Tail of Two Kitties Springtime with Roo Final Fantasy VII: Advent Children Heaven's Lost Property the Movie: The Angeloid of Clockwork Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Prophet The Swing School A Monster Calls Thou-Vou falakros praktor Monkey Kingdom A Very Merry Pooh Year
80
action count
action atmost
action find_tuple_counts
relation voice actor
type work of art
type common name
value 6
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?g ) WHERE { ?u rdf:type ontology:work_of_art . ?y rdf:type ontology:common_name . ?u property:voice_actor ?y } GROUP BY ?u } . FILTER ( ?g <= 6 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5590336
P106
Q12737077
USER
Which occupation is the profession of John Burke ?
(Q5590336,P106,c(Q12737077))
action filter_type
action find
entity Q5590336
relation P106
type Q12737077
['Q5590336', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q5590336 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
John Burke
action filter_type
action find
entity John Burke
relation occupation
type occupation
['John Burke', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:John_Burke property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q8963721
SYSTEM
genealogist
Q8963721
(Q5590336,P106,c(Q12737077))
action filter_type
action find
entity Q5590336
relation P106
type Q12737077
[ANSWER]
['Q5590336', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q5590336 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
genealogist
genealogist
action filter_type
action find
entity John Burke
relation occupation
type occupation
['John Burke', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:John_Burke property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5590336
P22
Q502895
USER
Who is the offspring of John Burke ?
(c(Q502895),P22,Q5590336)
action filter_type
action find_reverse
entity Q5590336
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q5590336']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q5590336 . ?w rdf:type ontology:Q502895 }
John Burke
action filter_type
action find_reverse
entity John Burke
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Burke']
SELECT DISTINCT ?w WHERE { ?w property:father resource:John_Burke . ?w rdf:type ontology:common_name }
[]
common name
Q4892968
SYSTEM
John Bernard Burke
Q4892968
(c(Q502895),P22,Q5590336)
action filter_type
action find_reverse
entity Q5590336
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q5590336']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q5590336 . ?w rdf:type ontology:Q502895 }
John Bernard Burke
John Bernard Burke
action filter_type
action find_reverse
entity John Burke
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Burke']
SELECT DISTINCT ?w WHERE { ?w property:father resource:John_Burke . ?w rdf:type ontology:common_name }
[]