Simple Question (Direct)
Simple Question
Q23800154
P106
Q12737077
USER
Which occupation is the profession of Abdullah Majrashi ?
(Q23800154,P106,c(Q12737077))
action filter_type
action find
entity Q23800154
relation P106
type Q12737077
['Q23800154', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q23800154 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Abdullah Majrashi
action filter_type
action find
entity Abdullah Majrashi
relation occupation
type occupation
['Abdullah Majrashi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Abdullah_Majrashi property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q23800154,P106,c(Q12737077))
action filter_type
action find
entity Q23800154
relation P106
type Q12737077
As [ANSWER] is the profession of Abdullah Majrashi
['Q23800154', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q23800154 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
association football player
As association football player is the profession of Abdullah Majrashi
association football player
action filter_type
action find
entity Abdullah Majrashi
relation occupation
type occupation
['Abdullah Majrashi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Abdullah_Majrashi property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23800154
P19
Q15617994
USER
Which administrative territory was that person born at ?
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q23800154
relation P19
type Q15617994
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q23800154 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Abdullah Majrashi
action filter_type
action find
entity Abdullah Majrashi
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Abdullah_Majrashi property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q851
SYSTEM
Saudi Arabia
Q851
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q23800154
relation P19
type Q15617994
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q23800154 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Saudi Arabia
That person was born in Saudi Arabia
Saudi Arabia
action filter_type
action find
entity Abdullah Majrashi
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Abdullah_Majrashi property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q851
P1001
Q1292279 Q14660
USER
How many political borders and flags apply to jurisdiction over Saudi Arabia ?
(c(Q1292279),P1001,Q851) (c(Q14660),P1001,Q851)
action count
action union
action filter_type
action find_reverse
entity Q851
relation P1001
type Q1292279
action filter_type
action find_reverse
entity Q851
relation P1001
type Q14660
[{'concept': 'Q1292279'}, 'P1001', 'Q851'] [{'concept': 'Q14660'}, 'P1001', 'Q851']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?w ) { ( ontology:Q1292279 ) ( ontology:Q14660 ) } . ?y rdf:type ?w }
Saudi Arabia
action count
action union
action filter_type
action find_reverse
entity Saudi Arabia
relation applies to jurisdiction
type political border
action filter_type
action find_reverse
entity Saudi Arabia
relation applies to jurisdiction
type flag
[{'concept': 'political border'}, 'applies to jurisdiction', 'Saudi Arabia'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Saudi Arabia']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?w ) { ( ontology:political_border ) ( ontology:flag ) } . ?y rdf:type ?w }
[]
political border flag
SYSTEM
12 political borders and 1 flags
Q3088714 Q3088706 Q3088712 Q3088713 Q3088719 Q160877 Q17351832 Q3088723 Q17351783 Q3088715 Q17351754 Q3088720 Q17351751
(c(Q1292279),P1001,Q851) (c(Q14660),P1001,Q851)
action count
action union
action filter_type
action find_reverse
entity Q851
relation P1001
type Q1292279
action filter_type
action find_reverse
entity Q851
relation P1001
type Q14660
[ANSWER]
[{'concept': 'Q1292279'}, 'P1001', 'Q851'] [{'concept': 'Q14660'}, 'P1001', 'Q851']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?w ) { ( ontology:Q1292279 ) ( ontology:Q14660 ) } . ?y rdf:type ?w }
Jordan–Saudi Arabia border Bahrain–Saudi Arabia border Oman–Saudi Arabia border Iraq–Saudi Arabia border Saudi Arabia–Yemen border Flag of Saudi Arabia Saudi Arabia–Sudan border Qatar–Saudi Arabia border Iran–Saudi Arabia border Kuwait–Saudi Arabia border Eritrea–Saudi Arabia border Saudi Arabia–United Arab Emirates border Egypt–Saudi Arabia border
12 political borders and 1 flags
action count
action union
action filter_type
action find_reverse
entity Saudi Arabia
relation applies to jurisdiction
type political border
action filter_type
action find_reverse
entity Saudi Arabia
relation applies to jurisdiction
type flag
[{'concept': 'political border'}, 'applies to jurisdiction', 'Saudi Arabia'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Saudi Arabia']
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?w ) { ( ontology:political_border ) ( ontology:flag ) } . ?y rdf:type ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q851
P35
Q502895
USER
Who are the heads of state of Saudi Arabia ?
(Q851,P35,c(Q502895))
action filter_type
action find
entity Q851
relation P35
type Q502895
['Q851', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q851 property:P35 ?i . ?i rdf:type ontology:Q502895 }
Saudi Arabia
action filter_type
action find
entity Saudi Arabia
relation head of state
type common name
['Saudi Arabia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Saudi_Arabia property:head_of_state ?i . ?i rdf:type ontology:common_name }
[]
common name
Q57298 Q367825
SYSTEM
Abdullah of Saudi Arabia, Salman bin Abdulaziz Al Saud
Q57298 Q367825
(Q851,P35,c(Q502895))
action filter_type
action find
entity Q851
relation P35
type Q502895
The heads of state of Saudi Arabia are King [ANSWERS]
['Q851', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q851 property:P35 ?i . ?i rdf:type ontology:Q502895 }
Abdullah of Saudi Arabia Salman bin Abdulaziz Al Saud
The heads of state of Saudi Arabia are King Abdullah of Saudi Arabia and Salman bin Abdulaziz Al Saud
Abdullah of Saudi Arabia Salman bin Abdulaziz Al Saud
action filter_type
action find
entity Saudi Arabia
relation head of state
type common name
['Saudi Arabia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Saudi_Arabia property:head_of_state ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q367825
P112
Q43229 Q874405
USER
How many organizations or social groups were established by Salman bin Abdulaziz Al Saud ?
(c(Q43229),P112,Q367825) (c(Q874405),P112,Q367825)
action count
action union
action filter_type
action find_reverse
entity Q367825
relation P112
type Q43229
action filter_type
action find_reverse
entity Q367825
relation P112
type Q874405
[{'concept': 'Q43229'}, 'P112', 'Q367825'] [{'concept': 'Q874405'}, 'P112', 'Q367825']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { VALUES ( ?p ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?u rdf:type ?p }
Salman bin Abdulaziz Al Saud
action count
action union
action filter_type
action find_reverse
entity Salman bin Abdulaziz Al Saud
relation founder
type organization
action filter_type
action find_reverse
entity Salman bin Abdulaziz Al Saud
relation founder
type social group
[{'concept': 'organization'}, 'founder', 'Salman bin Abdulaziz Al Saud'] [{'concept': 'social group'}, 'founder', 'Salman bin Abdulaziz Al Saud']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { VALUES ( ?p ) { ( ontology:organization ) ( ontology:social_group ) } . ?u rdf:type ?p }
[]
organization social group
SYSTEM
2
Q7427139 Q7244237
(c(Q43229),P112,Q367825) (c(Q874405),P112,Q367825)
action count
action union
action filter_type
action find_reverse
entity Q367825
relation P112
type Q43229
action filter_type
action find_reverse
entity Q367825
relation P112
type Q874405
[ANSWER]
[{'concept': 'Q43229'}, 'P112', 'Q367825'] [{'concept': 'Q874405'}, 'P112', 'Q367825']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { VALUES ( ?p ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?u rdf:type ?p }
Saudi High Commission for Aid to Bosnia Prince Salman Center for Disability Research
2
action count
action union
action filter_type
action find_reverse
entity Salman bin Abdulaziz Al Saud
relation founder
type organization
action filter_type
action find_reverse
entity Salman bin Abdulaziz Al Saud
relation founder
type social group
[{'concept': 'organization'}, 'founder', 'Salman bin Abdulaziz Al Saud'] [{'concept': 'social group'}, 'founder', 'Salman bin Abdulaziz Al Saud']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { VALUES ( ?p ) { ( ontology:organization ) ( ontology:social_group ) } . ?u rdf:type ?p }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q367825
P21 P7
Q502895
USER
Which people have Salman bin Abdulaziz Al Saud as their brother and have the gender as male ?
AND((c(Q502895),P7,Q367825), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q367825
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q367825'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v property:P7 resource:Q367825 . ?v property:P21 resource:Q6581097 . ?v rdf:type ontology:Q502895 }
male Salman bin Abdulaziz Al Saud
action filter_type
action intersection
action find_reverse
entity Salman bin Abdulaziz Al Saud
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Salman bin Abdulaziz Al Saud'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v property:brother resource:Salman_bin_Abdulaziz_Al_Saud . ?v property:gender resource:male . ?v rdf:type ontology:common_name }
[]
common name
Q3133541 Q4119087 Q6967643 Q1998925 Q12243051 Q244206 Q1975943 Q4120307 Q183187 Q12238128
SYSTEM
Some of them are Sattam bin Abdul-Aziz Al Saud, Hazloul bin Abdulaziz Al Saud, Nasser bin Abdulaziz, Turki I bin Abdul-Aziz Al Saud, Mishari bin Abdulaziz Al Saud, Saud of Saudi Arabia, Muhammad bin Abdulaziz Al Saud, Badr bin Abdulaziz Al Saud, Fahd of Saudi Arabia, Majid bin Abdulaziz Al Saud
Q12203730 Q4119087 Q25336702 Q183187 Q12223794 Q2460829 Q6751859 Q6745575 Q12243051 Q4549135 Q4665420 Q307463 Q57298 Q208301 Q315587 Q4120312 Q712690 Q981846 Q3133541 Q401645 Q12238128 Q317832 Q6982977 Q4115542 Q124710 Q12242559 Q244206 Q1998925 Q1975943 Q217167 Q6967643 Q2602302 Q7395569 Q4120307 Q12208891 Q4854440
AND((c(Q502895),P7,Q367825), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q367825
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Salman bin Abdulaziz Al Saud as their brother and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q367825'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v property:P7 resource:Q367825 . ?v property:P21 resource:Q6581097 . ?v rdf:type ontology:Q502895 }
Thamir bin Abdulaziz Al Saud Hazloul bin Abdulaziz Al Saud Abdullah bin Mohammad Fahd of Saudi Arabia Abdul Muhsin bin Abdulaziz Al Saud Turki II bin Abdul-Aziz Al Saud Mansour bin Abdulaziz Al Saud Mamdouh bin Abdulaziz Mishari bin Abdulaziz Al Saud Mashhur bin Abdulaziz Al Saud Abdul Ilah bin Abdulaziz Al Saud Abdul-Rahman bin Abdul-Aziz Al Saud Abdullah of Saudi Arabia Khalid of Saudi Arabia Sultan bin Abdulaziz Fawwaz bin Abdulaziz Al Saud Talal bin Abdulaziz Al Saud Muqrin bin Abdul-Aziz Al Saud Sattam bin Abdul-Aziz Al Saud Ahmed bin Abdulaziz Al Saud Majid bin Abdulaziz Al Saud Nayef bin Abdul-Aziz Al Saud Nawwaf bin Abdulaziz Al Saud Abdul Majeed bin Abdulaziz Al Saud Mutaib bin Abdulaziz Al Saud Musa'id bin Abdulaziz Al Saud Saud of Saudi Arabia Turki I bin Abdul-Aziz Al Saud Muhammad bin Abdulaziz Al Saud Faisal of Saudi Arabia Nasser bin Abdulaziz Mishaal bin Abdulaziz Al Saud Saad bin Abdulaziz Badr bin Abdulaziz Al Saud Hamoud bin Abdulaziz Al Saud Bandar bin Abdulaziz Al Saud
Sattam bin Abdul-Aziz Al Saud, Hazloul bin Abdulaziz Al Saud, Nasser bin Abdulaziz, Turki I bin Abdul-Aziz Al Saud, Mishari bin Abdulaziz Al Saud, Saud of Saudi Arabia, Muhammad bin Abdulaziz Al Saud, Badr bin Abdulaziz Al Saud, Fahd of Saudi Arabia and Majid bin Abdulaziz Al Saud have Salman bin Abdulaziz Al Saud as their brother and have the gender as male
Sattam bin Abdul-Aziz Al Saud Hazloul bin Abdulaziz Al Saud Nasser bin Abdulaziz Turki I bin Abdul-Aziz Al Saud Mishari bin Abdulaziz Al Saud Saud of Saudi Arabia Muhammad bin Abdulaziz Al Saud Badr bin Abdulaziz Al Saud Fahd of Saudi Arabia Majid bin Abdulaziz Al Saud
action filter_type
action intersection
action find_reverse
entity Salman bin Abdulaziz Al Saud
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Salman bin Abdulaziz Al Saud'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v property:brother resource:Salman_bin_Abdulaziz_Al_Saud . ?v property:gender resource:male . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
Which television programs had around 3 people as the dubbing artist ?
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 3
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?u ) WHERE { ?a property:P725 ?g . ?a rdf:type ontology:Q15416 . ?g rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?u = 3 ) }
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 3
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?u ) WHERE { ?a property:voice_actor ?g . ?a rdf:type ontology:television_program . ?g rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?u = 3 ) }
[]
common name television program
Q472309 Q1617715 Q2275664
SYSTEM
Princess of Thieves, The Wonderful Galaxy of Oz, Kim Possible: A Sitch in Time
Q1280574 Q4049303 Q715723 Q1135343 Q613823 Q689114 Q467722 Q239937 Q1857269 Q1195326 Q5227700 Q4773554 Q4120156 Q962161 Q1617715 Q696310 Q15176855 Q472309 Q2573191 Q2581704 Q917980 Q3547706 Q845452 Q307507 Q483943 Q3596105 Q757148 Q3106852 Q25059 Q1284240 Q14493917 Q749629 Q10913555 Q1315951 Q1361413 Q543203 Q128969 Q2455207 Q2452999 Q2275664 Q702039 Q7496805 Q962132 Q18579178 Q20669175 Q1050091 Q699760 Q1146803 Q2140751 Q1002254 Q4033639 Q550555 Q20899576 Q1640364 Q483106 Q3098248 Q633432 Q12019559 Q18558839 Q1072208 Q304290 Q1215573 Q2619211 Q1140254 Q1317932 Q5139461 Q18559016 Q430369 Q1494222 Q452374 Q18575654 Q2339582 Q15039539 Q3492143 Q5976198 Q1353486 Q1143800 Q331031 Q45035
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 3
[ANSWERS] had around 3 people as the dubbing artist
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?u ) WHERE { ?a property:P725 ?g . ?a rdf:type ontology:Q15416 . ?g rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?u = 3 ) }
The Adventures of Tweeny Witches Seraphim Call Urusei Yatsura Wish Upon the Pleiades Ghost Hound Digimon Adventure The Puppy's Further Adventures Pokémon Rio: Rainbow Gate! LOG HORIZON Tenchi in Tokyo Mi cola D.I.C.E. Eureka Seven The Wonderful Galaxy of Oz Hamtaro Wizard Barristers: Benmashi Cecil Princess of Thieves Onegai My Melody Willo the Wisp Witch Hunter Robin Uchūsen Sagittarius Project Blue Earth SOS H2O: Footprints in the Sand Anohana: The Flower We Saw That Day Popeye the Sailor Rocko's Modern Life Todd McFarlane's Spawn Penguin Drum Burst Angel Galileo Donna Kid vs. Kat The Melancholy of Haruhi Suzumiya Psycho-Pass Night Raid 1931 Chip 'n Dale Rescue Rangers Calimero Mnemosyne Remi, Nobody's Girl Kim Possible: A Sitch in Time The Story of Pollyanna, Girl of Love Shima Shima Tora no Shimajirō Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Dastardly and Muttley in Their Flying Machines Saiyuki Cuéntame cómo pasó Boogiepop Phantom Wacky Races Akahori Gedou Hour Rabuge Gravity Falls Shimmer and Shine Wild Arms: Twilight Venom Freezing Stratos 4 The Emperor's New School Free! Soul Eater Not! The Wonderful Adventures of Nils Rugrats The Proud Family Tsuritama Transformers: Animated Negima!? Engage Planet Kiss Dum Berserk The Critic Garfield in the Rough Ah My Buddha Trigun Trapp Family Story The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos I Am the Greatest: The Adventures of Muhammad Ali Marumo no Okite Postman Pat Dora the Explorer Renkin 3-kyū Magical? Pokān
Princess of Thieves, The Wonderful Galaxy of Oz and Kim Possible: A Sitch in Time had around 3 people as the dubbing artist
Princess of Thieves The Wonderful Galaxy of Oz Kim Possible: A Sitch in Time
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 3
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?u ) WHERE { ?a property:voice_actor ?g . ?a rdf:type ontology:television_program . ?g rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?u = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183187
P40
Q502895
USER
Who have Fahd of Saudi Arabia as an offspring ?
(c(Q502895),P40,Q183187)
action filter_type
action find_reverse
entity Q183187
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q183187']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q183187 . ?f rdf:type ontology:Q502895 }
Fahd of Saudi Arabia
action filter_type
action find_reverse
entity Fahd of Saudi Arabia
relation child
type common name
[{'concept': 'common name'}, 'child', 'Fahd of Saudi Arabia']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Fahd_of_Saudi_Arabia . ?f rdf:type ontology:common_name }
[]
common name
Q151509 Q205051
SYSTEM
Ibn Saud, Hassa bint Ahmed Al Sudairi
Q151509 Q205051
(c(Q502895),P40,Q183187)
action filter_type
action find_reverse
entity Q183187
relation P40
type Q502895
[ANSWERS] have Fahd of Saudi Arabia as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q183187']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q183187 . ?f rdf:type ontology:Q502895 }
Ibn Saud Hassa bint Ahmed Al Sudairi
Ibn Saud and Hassa bint Ahmed Al Sudairi have Fahd of Saudi Arabia as an offspring
Ibn Saud Hassa bint Ahmed Al Sudairi
action filter_type
action find_reverse
entity Fahd of Saudi Arabia
relation child
type common name
[{'concept': 'common name'}, 'child', 'Fahd of Saudi Arabia']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Fahd_of_Saudi_Arabia . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q151509 Q205051
P26
Q502895
USER
Which people are married to Ibn Saud and Hassa bint Ahmed Al Sudairi ?
(Q151509,P26,c(Q502895)) (Q205051,P26,c(Q502895))
action union
action filter_type
action find
entity Q151509
relation P26
type Q502895
action filter_type
action find
entity Q205051
relation P26
type Q502895
['Q151509', 'P26', {'concept': 'Q502895'}] ['Q205051', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?w ) { ( resource:Q151509 ) ( resource:Q205051 ) } . ?w property:P26 ?t }
Ibn Saud Hassa bint Ahmed Al Sudairi
action union
action filter_type
action find
entity Ibn Saud
relation spouse
type common name
action filter_type
action find
entity Hassa bint Ahmed Al Sudairi
relation spouse
type common name
['Ibn Saud', 'spouse', {'concept': 'common name'}] ['Hassa bint Ahmed Al Sudairi', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?w ) { ( resource:Ibn_Saud ) ( resource:Hassa_bint_Ahmed_Al_Sudairi ) } . ?w property:spouse ?t }
[]
common name
Q151509 Q205051 Q4704130
SYSTEM
Ibn Saud, Hassa bint Ahmed Al Sudairi, Al Jawhara bint Musaed Al Jiluwi
Q25336667 Q25336657 Q4704130 Q25336660 Q205051 Q1392056 Q17001201 Q25336691 Q6932834 Q151509
(Q151509,P26,c(Q502895)) (Q205051,P26,c(Q502895))
action union
action filter_type
action find
entity Q151509
relation P26
type Q502895
action filter_type
action find
entity Q205051
relation P26
type Q502895
[ANSWERS] are married to Ibn Saud and Hassa bint Ahmed Al Sudairi
['Q151509', 'P26', {'concept': 'Q502895'}] ['Q205051', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?w ) { ( resource:Q151509 ) ( resource:Q205051 ) } . ?w property:P26 ?t }
Sarah bint Abdullah bin Faisal Sharifa bint Saqr Al Fajri Al Jawhara bint Musaed Al Jiluwi Wadhah Bint Muhammad Hassa bint Ahmed Al Sudairi Fahda bint Asi Al Shuraim Baraka Al Yamaniyah Lulua bint Salih Al Dakhil Muhammad bin Abdul-Rahman Ibn Saud
Ibn Saud, Hassa bint Ahmed Al Sudairi and Al Jawhara bint Musaed Al Jiluwi are married to Ibn Saud and Hassa bint Ahmed Al Sudairi
Ibn Saud Hassa bint Ahmed Al Sudairi Al Jawhara bint Musaed Al Jiluwi
action union
action filter_type
action find
entity Ibn Saud
relation spouse
type common name
action filter_type
action find
entity Hassa bint Ahmed Al Sudairi
relation spouse
type common name
['Ibn Saud', 'spouse', {'concept': 'common name'}] ['Hassa bint Ahmed Al Sudairi', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?w ) { ( resource:Ibn_Saud ) ( resource:Hassa_bint_Ahmed_Al_Sudairi ) } . ?w property:spouse ?t }
[]
Clarification
Simple Question|Single Entity|Indirect
Q205051
P25
Q502895
USER
Who are the offspring of that one ?
(c(Q502895),P25,Q205051)
action filter_type
action find_reverse
entity Q205051
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q205051']
SELECT DISTINCT ?m WHERE { ?m property:P25 resource:Q205051 . ?m rdf:type ontology:Q502895 }
Hassa bint Ahmed Al Sudairi
action filter_type
action find_reverse
entity Hassa bint Ahmed Al Sudairi
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Hassa bint Ahmed Al Sudairi']
SELECT DISTINCT ?m WHERE { ?m property:mother resource:Hassa_bint_Ahmed_Al_Sudairi . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4704130
SYSTEM
Did you mean Al Jawhara bint Musaed Al Jiluwi ?
Q151509 Q205051 Q4704130
(c(Q502895),P25,Q151509) (c(Q502895),P25,Q205051) (c(Q502895),P25,Q4704130)
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q151509'] [{'concept': 'Q502895'}, 'P25', 'Q205051'] [{'concept': 'Q502895'}, 'P25', 'Q4704130']
SELECT DISTINCT ?m WHERE { ?m property:P25 resource:Q205051 . ?m rdf:type ontology:Q502895 }
Ibn Saud Hassa bint Ahmed Al Sudairi Al Jawhara bint Musaed Al Jiluwi
Did you mean Al Jawhara bint Musaed Al Jiluwi ?
Al Jawhara bint Musaed Al Jiluwi
[{'concept': 'common name'}, 'mother', 'Ibn Saud'] [{'concept': 'common name'}, 'mother', 'Hassa bint Ahmed Al Sudairi'] [{'concept': 'common name'}, 'mother', 'Al Jawhara bint Musaed Al Jiluwi']
SELECT DISTINCT ?m WHERE { ?m property:mother resource:Hassa_bint_Ahmed_Al_Sudairi . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Hassa bint Ahmed Al Sudairi. Could you tell me the answer for that?
(c(Q502895),P25,Q205051)
Q205051
[{'concept': 'Q502895'}, 'P25', 'Q205051']
[{'concept': 'common name'}, 'mother', 'Hassa bint Ahmed Al Sudairi']
[]
Q183187 Q315587 Q367825
SYSTEM
Fahd of Saudi Arabia, Sultan bin Abdulaziz, Salman bin Abdulaziz Al Saud
Q2460829 Q183187 Q367825 Q6463718 Q307463 Q401645 Q25336702 Q315587 Q317832 Q6496091 Q4704127
(c(Q502895),P25,Q205051)
action filter_type
action find_reverse
entity Q205051
relation P25
type Q502895
The offspring of that one are King [ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q205051']
SELECT DISTINCT ?m WHERE { ?m property:P25 resource:Q205051 . ?m rdf:type ontology:Q502895 }
Turki II bin Abdul-Aziz Al Saud Fahd of Saudi Arabia Salman bin Abdulaziz Al Saud Luluwah bint Abdul-Aziz Al Saud Abdul-Rahman bin Abdul-Aziz Al Saud Ahmed bin Abdulaziz Al Saud Abdullah bin Mohammad Sultan bin Abdulaziz Nayef bin Abdul-Aziz Al Saud Latifa bint Abdulaziz Al Jawhara bint Abdulaziz Al Saud
The offspring of that one are King Fahd of Saudi Arabia, Sultan bin Abdulaziz and Salman bin Abdulaziz Al Saud
Fahd of Saudi Arabia Sultan bin Abdulaziz Salman bin Abdulaziz Al Saud
action filter_type
action find_reverse
entity Hassa bint Ahmed Al Sudairi
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Hassa bint Ahmed Al Sudairi']
SELECT DISTINCT ?m WHERE { ?m property:mother resource:Hassa_bint_Ahmed_Al_Sudairi . ?m rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3839748 Q183187
P7
Q502895
USER
Which people are the brother of Fahd of Saudi Arabia or Luigi I d'Este, marchese di Scandiano e Montecchio ?
OR((Q183187,P7,c(Q502895)), (Q3839748,P7,c(Q502895)))
action filter_type
action union
action find
entity Q183187
relation P7
action find
entity Q3839748
relation P7
type Q502895
{'OR': [['Q183187', 'P7', {'concept': 'Q502895'}], ['Q3839748', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?w ) { ( resource:Q3839748 ) ( resource:Q183187 ) } . ?w property:P7 ?c } . ?c rdf:type ontology:Q502895 }
Luigi I d'Este, marchese di Scandiano e Montecchio Fahd of Saudi Arabia
action filter_type
action union
action find
entity Fahd of Saudi Arabia
relation brother
action find
entity Luigi I d'Este, marchese di Scandiano e Montecchio
relation brother
type common name
{'OR': [['Fahd of Saudi Arabia', 'brother', {'concept': 'common name'}], ["Luigi I d'Este, marchese di Scandiano e Montecchio", 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?w ) { ( resource:Luigi_I_d'Este,_marchese_di_Scandiano_e_Montecchio ) ( resource:Fahd_of_Saudi_Arabia ) } . ?w property:brother ?c } . ?c rdf:type ontology:common_name }
[]
common name
Q6967643 Q4665420 Q6745575 Q401645 Q2460829 Q367825 Q1975943 Q12203730 Q124710 Q317832
SYSTEM
Some of them are Nasser bin Abdulaziz, Abdul Ilah bin Abdulaziz Al Saud, Mamdouh bin Abdulaziz, Ahmed bin Abdulaziz Al Saud, Turki II bin Abdul-Aziz Al Saud, Salman bin Abdulaziz Al Saud, Muhammad bin Abdulaziz Al Saud, Thamir bin Abdulaziz Al Saud, Mutaib bin Abdulaziz Al Saud, Nayef bin Abdul-Aziz Al Saud
Q12203730 Q4120307 Q367825 Q603352 Q21459042 Q2460829 Q6751859 Q6745575 Q4549135 Q307463 Q57298 Q208301 Q315587 Q4120312 Q712690 Q981846 Q3133541 Q401645 Q6982977 Q317832 Q4115542 Q124710 Q12242559 Q244206 Q1998925 Q1975943 Q217167 Q6967643 Q2602302 Q7395569 Q4665420 Q4119087 Q4854440
OR((Q183187,P7,c(Q502895)), (Q3839748,P7,c(Q502895)))
action filter_type
action union
action find
entity Q183187
relation P7
action find
entity Q3839748
relation P7
type Q502895
[ANSWERS] are the brother of Fahd of Saudi Arabia or Luigi I d'Este, marchese di Scandiano e Montecchio
{'OR': [['Q183187', 'P7', {'concept': 'Q502895'}], ['Q3839748', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?w ) { ( resource:Q3839748 ) ( resource:Q183187 ) } . ?w property:P7 ?c } . ?c rdf:type ontology:Q502895 }
Thamir bin Abdulaziz Al Saud Badr bin Abdulaziz Al Saud Salman bin Abdulaziz Al Saud Alfonso III d'Este, Duke of Modena Borso d'Este Turki II bin Abdul-Aziz Al Saud Mansour bin Abdulaziz Al Saud Mamdouh bin Abdulaziz Mashhur bin Abdulaziz Al Saud Abdul-Rahman bin Abdul-Aziz Al Saud Abdullah of Saudi Arabia Khalid of Saudi Arabia Sultan bin Abdulaziz Fawwaz bin Abdulaziz Al Saud Talal bin Abdulaziz Al Saud Muqrin bin Abdul-Aziz Al Saud Sattam bin Abdul-Aziz Al Saud Ahmed bin Abdulaziz Al Saud Nawwaf bin Abdulaziz Al Saud Nayef bin Abdul-Aziz Al Saud Abdul Majeed bin Abdulaziz Al Saud Mutaib bin Abdulaziz Al Saud Musa'id bin Abdulaziz Al Saud Saud of Saudi Arabia Turki I bin Abdul-Aziz Al Saud Muhammad bin Abdulaziz Al Saud Faisal of Saudi Arabia Nasser bin Abdulaziz Mishaal bin Abdulaziz Al Saud Saad bin Abdulaziz Abdul Ilah bin Abdulaziz Al Saud Hazloul bin Abdulaziz Al Saud Bandar bin Abdulaziz Al Saud
Nasser bin Abdulaziz, Abdul Ilah bin Abdulaziz Al Saud, Mamdouh bin Abdulaziz, Ahmed bin Abdulaziz Al Saud, Turki II bin Abdul-Aziz Al Saud, Salman bin Abdulaziz Al Saud, Muhammad bin Abdulaziz Al Saud, Thamir bin Abdulaziz Al Saud, Mutaib bin Abdulaziz Al Saud and Nayef bin Abdul-Aziz Al Saud are the brother of Fahd of Saudi Arabia or Luigi I d'Este, marchese di Scandiano e Montecchio
Nasser bin Abdulaziz Abdul Ilah bin Abdulaziz Al Saud Mamdouh bin Abdulaziz Ahmed bin Abdulaziz Al Saud Turki II bin Abdul-Aziz Al Saud Salman bin Abdulaziz Al Saud Muhammad bin Abdulaziz Al Saud Thamir bin Abdulaziz Al Saud Mutaib bin Abdulaziz Al Saud Nayef bin Abdul-Aziz Al Saud
action filter_type
action union
action find
entity Fahd of Saudi Arabia
relation brother
action find
entity Luigi I d'Este, marchese di Scandiano e Montecchio
relation brother
type common name
{'OR': [['Fahd of Saudi Arabia', 'brother', {'concept': 'common name'}], ["Luigi I d'Este, marchese di Scandiano e Montecchio", 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?w ) { ( resource:Luigi_I_d'Este,_marchese_di_Scandiano_e_Montecchio ) ( resource:Fahd_of_Saudi_Arabia ) } . ?w property:brother ?c } . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q317832 Q15032311
P19
Q56061
USER
How many administrative territories are the places of birth of Nayef bin Abdul-Aziz Al Saud or David Fishelson ?
(Q317832,P19,c(Q56061)) (Q15032311,P19,c(Q56061))
action count
action union
action filter_type
action find
entity Q317832
relation P19
type Q56061
action filter_type
action find
entity Q15032311
relation P19
type Q56061
['Q317832', 'P19', {'concept': 'Q56061'}] ['Q15032311', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:Q317832 ) ( resource:Q15032311 ) } . ?l property:P19 ?c }
Nayef bin Abdul-Aziz Al Saud David Fishelson
action count
action union
action filter_type
action find
entity Nayef bin Abdul-Aziz Al Saud
relation place of birth
type administrative territorial entity
action filter_type
action find
entity David Fishelson
relation place of birth
type administrative territorial entity
['Nayef bin Abdul-Aziz Al Saud', 'place of birth', {'concept': 'administrative territorial entity'}] ['David Fishelson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:Nayef_bin_Abdul-Aziz_Al_Saud ) ( resource:David_Fishelson ) } . ?l property:place_of_birth ?c }
[]
administrative territorial entity
SYSTEM
2
Q182640 Q989567
(Q317832,P19,c(Q56061)) (Q15032311,P19,c(Q56061))
action count
action union
action filter_type
action find
entity Q317832
relation P19
type Q56061
action filter_type
action find
entity Q15032311
relation P19
type Q56061
[ANSWER]
['Q317832', 'P19', {'concept': 'Q56061'}] ['Q15032311', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:Q317832 ) ( resource:Q15032311 ) } . ?l property:P19 ?c }
Ta'if Wooster
2
action count
action union
action filter_type
action find
entity Nayef bin Abdul-Aziz Al Saud
relation place of birth
type administrative territorial entity
action filter_type
action find
entity David Fishelson
relation place of birth
type administrative territorial entity
['Nayef bin Abdul-Aziz Al Saud', 'place of birth', {'concept': 'administrative territorial entity'}] ['David Fishelson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:Nayef_bin_Abdul-Aziz_Al_Saud ) ( resource:David_Fishelson ) } . ?l property:place_of_birth ?c }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q26987217
P725
Q502895 Q386724
USER
Which works have been dubbed by less number of people than Hércules y la visita de Zeus ?
(c(Q386724),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26987217
relation P725
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?d ) WHERE { ?o property:P725 ?m . ?m rdf:type ontology:Q502895 . ?o rdf:type ontology:Q386724 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Q26987217 property:P725 ?s . ?s rdf:type ontology:Q502895 } } . FILTER ( ?d < ?v ) }
Hércules y la visita de Zeus
action less
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y la visita de Zeus
relation voice actor
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?d ) WHERE { ?o property:voice_actor ?m . ?m rdf:type ontology:common_name . ?o rdf:type ontology:work } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Hércules_y_la_visita_de_Zeus property:voice_actor ?s . ?s rdf:type ontology:common_name } } . FILTER ( ?d < ?v ) }
[]
common name work
Q13516675 Q10864091 Q27627540
SYSTEM
Sakura Trick, Isshūkan Friends, Doctor Strange (Doctor Extraño)
Q10864091 Q27627540 Q24175397 Q26715049 Q25858085 Q13516675 Q26829863
(c(Q386724),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26987217
relation P725
type Q502895
[ANSWERS] have been dubbed by less number of people than Hércules y la visita de Zeus
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?d ) WHERE { ?o property:P725 ?m . ?m rdf:type ontology:Q502895 . ?o rdf:type ontology:Q386724 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Q26987217 property:P725 ?s . ?s rdf:type ontology:Q502895 } } . FILTER ( ?d < ?v ) }
Isshūkan Friends Doctor Strange (Doctor Extraño) Capitán América: El primer vengador Peter y el dragón Alicia a través del espejo Sakura Trick Angry Birds: La película
Sakura Trick, Isshūkan Friends and Doctor Strange (Doctor Extraño) have been dubbed by less number of people than Hércules y la visita de Zeus
Sakura Trick Isshūkan Friends Doctor Strange (Doctor Extraño)
action less
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y la visita de Zeus
relation voice actor
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?d ) WHERE { ?o property:voice_actor ?m . ?m rdf:type ontology:common_name . ?o rdf:type ontology:work } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Hércules_y_la_visita_de_Zeus property:voice_actor ?s . ?s rdf:type ontology:common_name } } . FILTER ( ?d < ?v ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27627540
P655
Q502895
USER
Who translated that work ?
(Q27627540,P655,c(Q502895))
action filter_type
action find
entity Q27627540
relation P655
type Q502895
['Q27627540', 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q27627540 property:P655 ?u . ?u rdf:type ontology:Q502895 }
Doctor Strange (Doctor Extraño)
action filter_type
action find
entity Doctor Strange (Doctor Extraño)
relation translator
type common name
['Doctor Strange (Doctor Extraño)', 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Doctor_Strange_(Doctor_Extraño) property:translator ?u . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q13516675
SYSTEM
Did you mean Sakura Trick ?
Q13516675 Q10864091 Q27627540
(Q13516675,P655,c(Q502895)) (Q10864091,P655,c(Q502895)) (Q27627540,P655,c(Q502895))
[ANSWER]
['Q13516675', 'P655', {'concept': 'Q502895'}] ['Q10864091', 'P655', {'concept': 'Q502895'}] ['Q27627540', 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q27627540 property:P655 ?u . ?u rdf:type ontology:Q502895 }
Sakura Trick Isshūkan Friends Doctor Strange (Doctor Extraño)
Did you mean Sakura Trick ?
Sakura Trick
['Sakura Trick', 'translator', {'concept': 'common name'}] ['Isshūkan Friends', 'translator', {'concept': 'common name'}] ['Doctor Strange (Doctor Extraño)', 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Doctor_Strange_(Doctor_Extraño) property:translator ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Doctor Strange (Doctor Extraño). Could you tell me the answer for that?
(Q27627540,P655,c(Q502895))
Q27627540
['Q27627540', 'P655', {'concept': 'Q502895'}]
['Doctor Strange (Doctor Extraño)', 'translator', {'concept': 'common name'}]
[]
Q26160700
SYSTEM
Quico Rovira-Beleta
Q26160700
(Q27627540,P655,c(Q502895))
action filter_type
action find
entity Q27627540
relation P655
type Q502895
[ANSWER] translated that work
['Q27627540', 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q27627540 property:P655 ?u . ?u rdf:type ontology:Q502895 }
Quico Rovira-Beleta
Quico Rovira-Beleta translated that work
Quico Rovira-Beleta
action filter_type
action find
entity Doctor Strange (Doctor Extraño)
relation translator
type common name
['Doctor Strange (Doctor Extraño)', 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Doctor_Strange_(Doctor_Extraño) property:translator ?u . ?u rdf:type ontology:common_name }
[]