Simple Question (Direct)
Simple Question
Q3979333
P54
Q1194951
USER
What is Súni Fríði Johannesen a member of ?
(Q3979333,P54,c(Q1194951))
action filter_type
action find
entity Q3979333
relation P54
type Q1194951
['Q3979333', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q3979333 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
Súni Fríði Johannesen
action filter_type
action find
entity Súni Fríði Johannesen
relation member of sports team
type national sports team
['Súni Fríði Johannesen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:Súni_Fríði_Johannesen property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
national sports team
Q200688
SYSTEM
Faroe Islands national football team
Q200688
(Q3979333,P54,c(Q1194951))
action filter_type
action find
entity Q3979333
relation P54
type Q1194951
Súni Fríði Johannesen is a member of [ANSWER]
['Q3979333', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q3979333 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
Faroe Islands national football team
Súni Fríði Johannesen is a member of Faroe Islands national football team
Faroe Islands national football team
action filter_type
action find
entity Súni Fríði Johannesen
relation member of sports team
type national sports team
['Súni Fríði Johannesen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:Súni_Fríði_Johannesen property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q200688
P466
Q483110
USER
Which stadia are inhabited by that national sports team ?
(c(Q483110),P466,Q200688)
action filter_type
action find_reverse
entity Q200688
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q200688']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q483110 . ?v property:P466 resource:Q200688 }
Faroe Islands national football team
action filter_type
action find_reverse
entity Faroe Islands national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Faroe Islands national football team']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:stadium . ?v property:occupant resource:Faroe_Islands_national_football_team }
[]
stadium
Q845610 Q1060809
SYSTEM
Tórsvøllur, Svangaskarð
Q845610 Q1060809
(c(Q483110),P466,Q200688)
action filter_type
action find_reverse
entity Q200688
relation P466
type Q483110
[ANSWERS] are inhabited by that national sports team
[{'concept': 'Q483110'}, 'P466', 'Q200688']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q483110 . ?v property:P466 resource:Q200688 }
Tórsvøllur Svangaskarð
Tórsvøllur and Svangaskarð are inhabited by that national sports team
Tórsvøllur Svangaskarð
action filter_type
action find_reverse
entity Faroe Islands national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Faroe Islands national football team']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:stadium . ?v property:occupant resource:Faroe_Islands_national_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q845610 Q1060809
P17
Q15617994
USER
Which administrative territories do those stadia belong to ?
(Q845610,P17,c(Q15617994)) (Q1060809,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q845610', 'P17', {'concept': 'Q15617994'}] ['Q1060809', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?x property:P17 ?g . ?g rdf:type ontology:Q15617994 . VALUES ( ?x ) { ( resource:Q845610 ) ( resource:Q1060809 ) } }
Tórsvøllur Svangaskarð
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Tórsvøllur', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Svangaskarð', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?x property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?x ) { ( resource:Tórsvøllur ) ( resource:Svangaskarð ) } }
[]
designation for an administrative territorial entity
Q4628 Q4628
SYSTEM
Faroe Islands
Q4628 Q4628
(Q845610,P17,c(Q15617994)) (Q1060809,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those stadia belong to [ANSWER] and [ANSWER]
['Q845610', 'P17', {'concept': 'Q15617994'}] ['Q1060809', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?x property:P17 ?g . ?g rdf:type ontology:Q15617994 . VALUES ( ?x ) { ( resource:Q845610 ) ( resource:Q1060809 ) } }
Faroe Islands Faroe Islands
Those stadia belong to Faroe Islands and Faroe Islands
Faroe Islands Faroe Islands
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Tórsvøllur', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Svangaskarð', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?x property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?x ) { ( resource:Tórsvøllur ) ( resource:Svangaskarð ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3979333
P106
Q12737077
USER
Which occupation is the profession of Súni Fríði Johannesen ?
(Q3979333,P106,c(Q12737077))
action filter_type
action find
entity Q3979333
relation P106
type Q12737077
['Q3979333', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3979333 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Súni Fríði Johannesen
action filter_type
action find
entity Súni Fríði Johannesen
relation occupation
type occupation
['Súni Fríði Johannesen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Súni_Fríði_Johannesen property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3979333,P106,c(Q12737077))
action filter_type
action find
entity Q3979333
relation P106
type Q12737077
The profession of Súni Fríði Johannesen is an [ANSWER]
['Q3979333', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3979333 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
association football player
The profession of Súni Fríði Johannesen is an association football player
association football player
action filter_type
action find
entity Súni Fríði Johannesen
relation occupation
type occupation
['Súni Fríði Johannesen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Súni_Fríði_Johannesen property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q51180 Q4628
P47
Q15617994
USER
Which administrative territories share the border with Faroe Islands or Archi, Abruzzo ?
OR((Q4628,P47,c(Q15617994)), (Q51180,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q4628
relation P47
action find
entity Q51180
relation P47
type Q15617994
{'OR': [['Q4628', 'P47', {'concept': 'Q15617994'}], ['Q51180', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?l ) { ( resource:Q4628 ) ( resource:Q51180 ) } . ?l property:P47 ?r } . ?r rdf:type ontology:Q15617994 }
Archi, Abruzzo Faroe Islands
action filter_type
action union
action find
entity Faroe Islands
relation shares border with
action find
entity Archi, Abruzzo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Faroe Islands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Archi, Abruzzo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?l ) { ( resource:Faroe_Islands ) ( resource:Archi,_Abruzzo ) } . ?l property:shares_border_with ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q51263 Q51179 Q51185 Q51183 Q189 Q51276 Q51302
SYSTEM
Perano, Altino, Abruzzo, Bomba, Abruzzo, Atessa, Iceland, Roccascalegna, Tornareccio
Q51263 Q51179 Q51185 Q51183 Q189 Q51276 Q51302
OR((Q4628,P47,c(Q15617994)), (Q51180,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q4628
relation P47
action find
entity Q51180
relation P47
type Q15617994
[ANSWERS] share the border with Faroe Islands or Archi, Abruzzo
{'OR': [['Q4628', 'P47', {'concept': 'Q15617994'}], ['Q51180', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?l ) { ( resource:Q4628 ) ( resource:Q51180 ) } . ?l property:P47 ?r } . ?r rdf:type ontology:Q15617994 }
Perano Altino, Abruzzo Bomba, Abruzzo Atessa Iceland Roccascalegna Tornareccio
Perano, Altino, Abruzzo, Bomba, Abruzzo, Atessa, Iceland, Roccascalegna and Tornareccio share the border with Faroe Islands or Archi, Abruzzo
Perano Altino, Abruzzo Bomba, Abruzzo Atessa Iceland Roccascalegna Tornareccio
action filter_type
action union
action find
entity Faroe Islands
relation shares border with
action find
entity Archi, Abruzzo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Faroe Islands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Archi, Abruzzo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?l ) { ( resource:Faroe_Islands ) ( resource:Archi,_Abruzzo ) } . ?l property:shares_border_with ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q336286 Q200688
P413 P54
Q502895
USER
Which people play for the team named Faroe Islands national football team and have defender as the position of playing ?
AND((c(Q502895),P54,Q200688), (c(Q502895),P413,Q336286))
action filter_type
action intersection
action find_reverse
entity Q200688
relation P54
action find_reverse
entity Q336286
relation P413
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q200688'], [{'concept': 'Q502895'}, 'P413', 'Q336286']]}
SELECT DISTINCT ?l WHERE { ?l property:P54 resource:Q200688 . ?l property:P413 resource:Q336286 . ?l rdf:type ontology:Q502895 }
defender Faroe Islands national football team
action filter_type
action intersection
action find_reverse
entity Faroe Islands national football team
relation member of sports team
action find_reverse
entity defender
relation position played on team / speciality
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Faroe Islands national football team'], [{'concept': 'common name'}, 'position played on team / speciality', 'defender']]}
SELECT DISTINCT ?l WHERE { ?l property:member_of_sports_team resource:Faroe_Islands_national_football_team . ?l property:position_played_on_team_/_speciality resource:defender . ?l rdf:type ontology:common_name }
[]
common name
Q3962439 Q4011726 Q4007240 Q1779181 Q916875 Q15732363 Q293053 Q6320294 Q2489854 Q939600
SYSTEM
Some of them are Sjúrður Jacobsen, Viljormur Davidsen, Vagnur Mohr Mortensen, Atli Gregersen, Jón Rói Jacobsen, Ari Jónsson, Óli Johannesen, Jóannes Jakobsen, Jens Kristian Hansen, Jóhan Troest Davidsen
Q1231773 Q3556836 Q4007240 Q6148758 Q2489854 Q1933694 Q3962439 Q2760106 Q950707 Q6320385 Q1754578 Q16236385 Q1395303 Q3784804 Q166144 Q939600 Q4011726 Q1779181 Q200914 Q2479060 Q15732363 Q6320294 Q293053 Q3635285 Q916875 Q754865
AND((c(Q502895),P54,Q200688), (c(Q502895),P413,Q336286))
action filter_type
action intersection
action find_reverse
entity Q200688
relation P54
action find_reverse
entity Q336286
relation P413
type Q502895
[ANSWERS] play for the team named Faroe Islands national football team and have defender as the position of playing
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q200688'], [{'concept': 'Q502895'}, 'P413', 'Q336286']]}
SELECT DISTINCT ?l WHERE { ?l property:P54 resource:Q200688 . ?l property:P413 resource:Q336286 . ?l rdf:type ontology:Q502895 }
Ib Mohr Olsen Einar Hansen Vagnur Mohr Mortensen Jan Dam Jens Kristian Hansen Mikkjal Danielsen Sjúrður Jacobsen Erling Jacobsen Egil á Bø Jónhard Frederiksberg René Joensen Sonni Nattestad Jónas Þór Næs Hendrik Rubeksen Hans Fróði Hansen Jóhan Troest Davidsen Viljormur Davidsen Atli Gregersen Kurt Mørkøre Pól Jóhannus Justinussen Ari Jónsson Jóannes Jakobsen Óli Johannesen Bartal Eliasen Jón Rói Jacobsen Pól Thorsteinsson
Sjúrður Jacobsen, Viljormur Davidsen, Vagnur Mohr Mortensen, Atli Gregersen, Jón Rói Jacobsen, Ari Jónsson, Óli Johannesen, Jóannes Jakobsen, Jens Kristian Hansen and Jóhan Troest Davidsen play for the team named Faroe Islands national football team and have defender as the position of playing
Sjúrður Jacobsen Viljormur Davidsen Vagnur Mohr Mortensen Atli Gregersen Jón Rói Jacobsen Ari Jónsson Óli Johannesen Jóannes Jakobsen Jens Kristian Hansen Jóhan Troest Davidsen
action filter_type
action intersection
action find_reverse
entity Faroe Islands national football team
relation member of sports team
action find_reverse
entity defender
relation position played on team / speciality
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Faroe Islands national football team'], [{'concept': 'common name'}, 'position played on team / speciality', 'defender']]}
SELECT DISTINCT ?l WHERE { ?l property:member_of_sports_team resource:Faroe_Islands_national_football_team . ?l property:position_played_on_team_/_speciality resource:defender . ?l rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q19703751
P725
Q502895 Q11424
USER
How many films had greater number of people as the dubbing artist than Millionaire Dogs ?
(c(Q11424),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q19703751
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ontology:Q502895 . ?h rdf:type ontology:Q11424 . ?h property:P725 ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q19703751 property:P725 ?u . ?u rdf:type ontology:Q11424 } } . FILTER ( ?m > ?x ) }
Millionaire Dogs
action count
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Millionaire Dogs
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ontology:common_name . ?h rdf:type ontology:film . ?h property:voice_actor ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Millionaire_Dogs property:voice_actor ?u . ?u rdf:type ontology:film } } . FILTER ( ?m > ?x ) }
[]
common name film
SYSTEM
75
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q449917 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q179673 Q216929 Q853718 Q374431 Q12084660 Q165512 Q578595 Q933887 Q329316 Q44817 Q9019373 Q223359 Q213787 Q611739 Q980041 Q869741 Q3588859 Q371490 Q3836716 Q249967 Q19090 Q4189838 Q184701 Q2059996 Q190135 Q736731 Q318428 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q189875 Q336012 Q43051 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q271189 Q3226633 Q240852
(c(Q11424),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q19703751
relation P725
type Q11424
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ontology:Q502895 . ?h rdf:type ontology:Q11424 . ?h property:P725 ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q19703751 property:P725 ?u . ?u rdf:type ontology:Q11424 } } . FILTER ( ?m > ?x ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman Captain of the Forest Rio 2 The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin Beauty and the Beast Oliver & Company Fun and Fancy Free The Tigger Movie The Princess and the Goblin One Hundred and One Dalmatians Paprika Tintin and the Temple of the Sun The Black Cauldron The Little Fox The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Melody Time Emilie Jolie Son of the White Mare The Looney Looney Looney Bugs Bunny Movie Hotel Transylvania Robin Hood Starchaser: The Legend of Orin The Aristocats My Little Pony: The Movie The Little Mermaid The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 Lady and the Tramp The Rescuers Down Under The Fox and the Hound Alice in Wonderland The Girl Who Leapt Through Time Bambi Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Jungledyret Hugo - den store filmhelt Johnny Corncob Hercules Renart the Fox FernGully: The Last Rainforest
75
action count
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Millionaire Dogs
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ontology:common_name . ?h rdf:type ontology:film . ?h property:voice_actor ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Millionaire_Dogs property:voice_actor ?u . ?u rdf:type ontology:film } } . FILTER ( ?m > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18790
P725
Q502895 Q15961987
USER
Which television genres did approximately the same number of people dub for as The Legend of Korra ?
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q18790
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?g ) WHERE { ?m property:P725 ?x . ?x rdf:type ontology:Q502895 . ?m rdf:type ontology:Q15961987 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q18790 property:P725 ?i . ?i rdf:type ontology:Q15961987 } } . FILTER ( ?g = ?o ) }
The Legend of Korra
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Legend of Korra
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?g ) WHERE { ?m property:voice_actor ?x . ?x rdf:type ontology:common_name . ?m rdf:type ontology:television_genre } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:The_Legend_of_Korra property:voice_actor ?i . ?i rdf:type ontology:television_genre } } . FILTER ( ?g = ?o ) }
[]
common name television genre
Q22773153 Q18790 Q53093
SYSTEM
Milo Murphy's Law, The Legend of Korra, Adventure Time
Q22773153 Q18790 Q53093
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q18790
relation P725
type Q15961987
[ANSWERS] approximately the same number of people dubbed for as The Legend of Korra
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?g ) WHERE { ?m property:P725 ?x . ?x rdf:type ontology:Q502895 . ?m rdf:type ontology:Q15961987 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q18790 property:P725 ?i . ?i rdf:type ontology:Q15961987 } } . FILTER ( ?g = ?o ) }
Milo Murphy's Law The Legend of Korra Adventure Time
Milo Murphy's Law, The Legend of Korra and Adventure Time approximately the same number of people dubbed for as The Legend of Korra
Milo Murphy's Law The Legend of Korra Adventure Time
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Legend of Korra
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?g ) WHERE { ?m property:voice_actor ?x . ?x rdf:type ontology:common_name . ?m rdf:type ontology:television_genre } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:The_Legend_of_Korra property:voice_actor ?i . ?i rdf:type ontology:television_genre } } . FILTER ( ?g = ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7911 Q200688
P47 P17
Q1048835
USER
Which political territories do Faroe Islands national football team belong to or have a shared border with Main-Kinzig-Kreis ?
OR((Q200688,P17,c(Q1048835)), (Q7911,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q200688
relation P17
action find
entity Q7911
relation P47
type Q1048835
{'OR': [['Q200688', 'P17', {'concept': 'Q1048835'}], ['Q7911', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7911 property:P47 ?r } UNION { resource:Q200688 property:P17 ?r } } . ?r rdf:type ontology:Q1048835 }
Main-Kinzig-Kreis Faroe Islands national football team
action filter_type
action union
action find
entity Faroe Islands national football team
relation country
action find
entity Main-Kinzig-Kreis
relation shares border with
type political territorial entity
{'OR': [['Faroe Islands national football team', 'country', {'concept': 'political territorial entity'}], ['Main-Kinzig-Kreis', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Main-Kinzig-Kreis property:shares_border_with ?r } UNION { resource:Faroe_Islands_national_football_team property:country ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q10469 Q10471 Q10466 Q7899 Q35 Q7901 Q7912 Q7910
SYSTEM
Main-Spessart, Aschaffenburg, Bad Kissingen, Fulda, Denmark, Vogelsbergkreis, Offenbach, Wetteraukreis
Q10469 Q10471 Q10466 Q7899 Q35 Q7901 Q7912 Q7910
OR((Q200688,P17,c(Q1048835)), (Q7911,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q200688
relation P17
action find
entity Q7911
relation P47
type Q1048835
[ANSWERS] Faroe Islands national football team belong to or have a shared border with Main-Kinzig-Kreis
{'OR': [['Q200688', 'P17', {'concept': 'Q1048835'}], ['Q7911', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7911 property:P47 ?r } UNION { resource:Q200688 property:P17 ?r } } . ?r rdf:type ontology:Q1048835 }
Main-Spessart Aschaffenburg Bad Kissingen Fulda Denmark Vogelsbergkreis Offenbach Wetteraukreis
Main-Spessart, Aschaffenburg, Bad Kissingen, Fulda, Denmark, Vogelsbergkreis, Offenbach and Wetteraukreis Faroe Islands national football team belong to or have a shared border with Main-Kinzig-Kreis
Main-Spessart Aschaffenburg Bad Kissingen Fulda Denmark Vogelsbergkreis Offenbach Wetteraukreis
action filter_type
action union
action find
entity Faroe Islands national football team
relation country
action find
entity Main-Kinzig-Kreis
relation shares border with
type political territorial entity
{'OR': [['Faroe Islands national football team', 'country', {'concept': 'political territorial entity'}], ['Main-Kinzig-Kreis', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Main-Kinzig-Kreis property:shares_border_with ?r } UNION { resource:Faroe_Islands_national_football_team property:country ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q711
P530
Q1048835 Q15617994
USER
How many administrative territories have tactful political relations with approximately the same number of political territories as Mongolia ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q711
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q711 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?s = ?h ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?s ) WHERE { ?k property:P530 ?f . ?f rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } }
Mongolia
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mongolia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Mongolia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s = ?h ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?s ) WHERE { ?k property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
81
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q851 Q733 Q734 Q736 Q233 Q20 Q1041 Q27 Q843 Q184 Q1029 Q1028 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q711
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q711 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?s = ?h ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?s ) WHERE { ?k property:P530 ?f . ?f rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Malta Norway Senegal Ireland Pakistan Belarus Mozambique Morocco Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
81
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mongolia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Mongolia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s = ?h ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?s ) WHERE { ?k property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q258
P530
Q15617994 Q1048835
USER
Which administrative territories holds diplomatic relationship with more number of political territories than South Africa ?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q258
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?q ) WHERE { ?g property:P530 ?h . ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q258 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?e ) }
South Africa
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity South Africa
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?q ) WHERE { ?g property:diplomatic_relation ?h . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:South_Africa property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?e ) }
[]
designation for an administrative territorial entity political territorial entity
Q155 Q38
SYSTEM
Brazil, Italy
Q155 Q38
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q258
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with more number of political territories than South Africa
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?q ) WHERE { ?g property:P530 ?h . ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q258 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?e ) }
Brazil Italy
Brazil and Italy hold diplomatic relationship with more number of political territories than South Africa
Brazil Italy
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity South Africa
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?q ) WHERE { ?g property:diplomatic_relation ?h . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:South_Africa property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q717
P530
Q15617994 Q1048835
USER
And what about Venezuela?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q717
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?n ) WHERE { ?m property:P530 ?d . ?d rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?n > ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q717 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } }
Venezuela
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Venezuela
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?n ) WHERE { ?m property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?n > ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Venezuela property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q1041 Q27 Q843 Q1029 Q1028 Q736 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q717
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?n ) WHERE { ?m property:P530 ?d . ?d rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?n > ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q717 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Senegal Ireland Pakistan Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Venezuela
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?n ) WHERE { ?m property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?n > ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Venezuela property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } }
[]