Simple Question (Direct)
Simple Question
Q11586999
P108
Q4830453
USER
Which business enterprise is the workplace of Atsuko Ishida ?
(Q11586999,P108,c(Q4830453))
action filter_type
action find
entity Q11586999
relation P108
type Q4830453
['Q11586999', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?a WHERE { resource:Q11586999 property:P108 ?a . ?a rdf:type ontology:Q4830453 }
Atsuko Ishida
action filter_type
action find
entity Atsuko Ishida
relation employer
type business enterprise
['Atsuko Ishida', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?a WHERE { resource:Atsuko_Ishida property:employer ?a . ?a rdf:type ontology:business_enterprise }
[]
business enterprise
Q1331921
SYSTEM
Mainichi Broadcasting System
Q1331921
(Q11586999,P108,c(Q4830453))
action filter_type
action find
entity Q11586999
relation P108
type Q4830453
[ANSWER] is the workplace of Atsuko Ishida
['Q11586999', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?a WHERE { resource:Q11586999 property:P108 ?a . ?a rdf:type ontology:Q4830453 }
Mainichi Broadcasting System
Mainichi Broadcasting System is the workplace of Atsuko Ishida
Mainichi Broadcasting System
action filter_type
action find
entity Atsuko Ishida
relation employer
type business enterprise
['Atsuko Ishida', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?a WHERE { resource:Atsuko_Ishida property:employer ?a . ?a rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11586999
P734
Q82799
USER
Who has the surname Atsuko Ishida ?
(Q11586999,P734,c(Q82799))
action filter_type
action find
entity Q11586999
relation P734
type Q82799
['Q11586999', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q11586999 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Atsuko Ishida
action filter_type
action find
entity Atsuko Ishida
relation family name
type name
['Atsuko Ishida', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Atsuko_Ishida property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q23301810
SYSTEM
Ishida
Q23301810
(Q11586999,P734,c(Q82799))
action filter_type
action find
entity Q11586999
relation P734
type Q82799
[ANSWER] has the surname Atsuko [ANSWER]
['Q11586999', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q11586999 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Ishida
Ishida has the surname Atsuko Ishida
Ishida
action filter_type
action find
entity Atsuko Ishida
relation family name
type name
['Atsuko Ishida', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Atsuko_Ishida property:family_name ?h . ?h rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8752
P407
Q34770 Q82799
USER
Which languages are less number of names in than Basque ?
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q8752
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P407 ?p . ?a rdf:type ontology:Q82799 . ?p rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?l < ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P407 resource:Q8752 . ?o rdf:type ontology:Q82799 } } }
Basque
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Basque
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:language_of_work_or_name ?p . ?a rdf:type ontology:name . ?p rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?l < ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:language_of_work_or_name resource:Basque . ?o rdf:type ontology:name } } }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q8752
relation P407
type Q82799
[ANSWERS] are less number of names in than Basque
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P407 ?p . ?a rdf:type ontology:Q82799 . ?p rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?l < ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P407 resource:Q8752 . ?o rdf:type ontology:Q82799 } } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Latin classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are less number of names in than Basque
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Basque
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:language_of_work_or_name ?p . ?a rdf:type ontology:name . ?p rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?l < ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:language_of_work_or_name resource:Basque . ?o rdf:type ontology:name } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1331921
P449
Q15416
USER
Which television programs were originally telecasted by Mainichi Broadcasting System ?
(c(Q15416),P449,Q1331921)
action filter_type
action find_reverse
entity Q1331921
relation P449
type Q15416
[{'concept': 'Q15416'}, 'P449', 'Q1331921']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15416 . ?x property:P449 resource:Q1331921 }
Mainichi Broadcasting System
action filter_type
action find_reverse
entity Mainichi Broadcasting System
relation original network
type television program
[{'concept': 'television program'}, 'original network', 'Mainichi Broadcasting System']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:television_program . ?x property:original_network resource:Mainichi_Broadcasting_System }
[]
television program
Q528175 Q1982608 Q1204069
SYSTEM
Kamen Rider, Kamen Rider, Kamen Rider Stronger
Q1359537 Q528175 Q1982608 Q6844095 Q13512109 Q577752 Q1204069 Q775743 Q1193499
(c(Q15416),P449,Q1331921)
action filter_type
action find_reverse
entity Q1331921
relation P449
type Q15416
[ANSWERS] were originally telecasted by Mainichi Broadcasting System
[{'concept': 'Q15416'}, 'P449', 'Q1331921']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15416 . ?x property:P449 resource:Q1331921 }
Kamen Rider Super-1 Kamen Rider Kamen Rider Mighty Atom Devil Survivor 2: The Animation Kamen Rider Series Kamen Rider Stronger Kamen Rider Black Kamen Rider Black RX
Kamen Rider, Kamen Rider and Kamen Rider Stronger were originally telecasted by Mainichi Broadcasting System
Kamen Rider Kamen Rider Kamen Rider Stronger
action filter_type
action find_reverse
entity Mainichi Broadcasting System
relation original network
type television program
[{'concept': 'television program'}, 'original network', 'Mainichi Broadcasting System']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:television_program . ?x property:original_network resource:Mainichi_Broadcasting_System }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q528175 Q1982608 Q1204069
P449
Q4830453
USER
Which business enterprises did those television programs originally air in ?
(Q528175,P449,c(Q4830453)) (Q1982608,P449,c(Q4830453)) (Q1204069,P449,c(Q4830453))
action filter_type
action find
entity prev_answer
relation P449
type Q4830453
['Q528175', 'P449', {'concept': 'Q4830453'}] ['Q1982608', 'P449', {'concept': 'Q4830453'}] ['Q1204069', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q4830453 . VALUES ( ?a ) { ( resource:Q1359537 ) ( resource:Q528175 ) ( resource:Q1982608 ) } . ?a property:P449 ?h }
Kamen Rider Kamen Rider Kamen Rider Stronger
action filter_type
action find
entity prev_answer
relation original network
type business enterprise
['Kamen Rider', 'original network', {'concept': 'business enterprise'}] ['Kamen Rider', 'original network', {'concept': 'business enterprise'}] ['Kamen Rider Stronger', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:business_enterprise . VALUES ( ?a ) { ( resource:Kamen_Rider_Super-1 ) ( resource:Kamen_Rider ) ( resource:Kamen_Rider ) } . ?a property:original_network ?h }
[]
business enterprise
Q908436 Q1331921 Q1331921
SYSTEM
Mainichi Broadcasting System for 2nd, 3rd, TV Asahi for 1st
Q1331921 Q1331921 Q908436 Q1331921
(Q528175,P449,c(Q4830453)) (Q1982608,P449,c(Q4830453)) (Q1204069,P449,c(Q4830453))
action filter_type
action find
entity prev_answer
relation P449
type Q4830453
[ANSWERS]
['Q528175', 'P449', {'concept': 'Q4830453'}] ['Q1982608', 'P449', {'concept': 'Q4830453'}] ['Q1204069', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q4830453 . VALUES ( ?a ) { ( resource:Q1359537 ) ( resource:Q528175 ) ( resource:Q1982608 ) } . ?a property:P449 ?h }
Mainichi Broadcasting System Mainichi Broadcasting System TV Asahi Mainichi Broadcasting System
Originally those television programs aired on TV Asahi, Mainichi Broadcasting System and Mainichi Broadcasting System
TV Asahi Mainichi Broadcasting System Mainichi Broadcasting System
action filter_type
action find
entity prev_answer
relation original network
type business enterprise
['Kamen Rider', 'original network', {'concept': 'business enterprise'}] ['Kamen Rider', 'original network', {'concept': 'business enterprise'}] ['Kamen Rider Stronger', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:business_enterprise . VALUES ( ?a ) { ( resource:Kamen_Rider_Super-1 ) ( resource:Kamen_Rider ) ( resource:Kamen_Rider ) } . ?a property:original_network ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1331921
P272
Q838948
USER
Which works of art had Mainichi Broadcasting System as their motion picture studio ?
(c(Q838948),P272,Q1331921)
action filter_type
action find_reverse
entity Q1331921
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q1331921']
SELECT DISTINCT ?q WHERE { ?q property:P272 resource:Q1331921 . ?q rdf:type ontology:Q838948 }
Mainichi Broadcasting System
action filter_type
action find_reverse
entity Mainichi Broadcasting System
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Mainichi Broadcasting System']
SELECT DISTINCT ?q WHERE { ?q property:production_company resource:Mainichi_Broadcasting_System . ?q rdf:type ontology:work_of_art }
[]
work of art
Q3842375 Q3842376
SYSTEM
Puella Magi Madoka Magica Part 2: Eternal, Puella Magi Madoka Magica Part 1: Beginnings
Q3842375 Q3842376
(c(Q838948),P272,Q1331921)
action filter_type
action find_reverse
entity Q1331921
relation P272
type Q838948
And [ANSWERS] had Mainichi Broadcasting System as their motion picture studio
[{'concept': 'Q838948'}, 'P272', 'Q1331921']
SELECT DISTINCT ?q WHERE { ?q property:P272 resource:Q1331921 . ?q rdf:type ontology:Q838948 }
Puella Magi Madoka Magica Part 2: Eternal Puella Magi Madoka Magica Part 1: Beginnings
And Puella Magi Madoka Magica Part 2: Eternal and Puella Magi Madoka Magica Part 1: Beginnings had Mainichi Broadcasting System as their motion picture studio
Puella Magi Madoka Magica Part 2: Eternal Puella Magi Madoka Magica Part 1: Beginnings
action filter_type
action find_reverse
entity Mainichi Broadcasting System
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Mainichi Broadcasting System']
SELECT DISTINCT ?q WHERE { ?q property:production_company resource:Mainichi_Broadcasting_System . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3842375 Q3842376
P57
Q502895
USER
Who were those works of art directed by ?
(Q3842375,P57,c(Q502895)) (Q3842376,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
['Q3842375', 'P57', {'concept': 'Q502895'}] ['Q3842376', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?x property:P57 ?a . VALUES ( ?x ) { ( resource:Q3842375 ) ( resource:Q3842376 ) } . ?a rdf:type ontology:Q502895 }
Puella Magi Madoka Magica Part 2: Eternal Puella Magi Madoka Magica Part 1: Beginnings
action filter_type
action find
entity prev_answer
relation director
type common name
['Puella Magi Madoka Magica Part 2: Eternal', 'director', {'concept': 'common name'}] ['Puella Magi Madoka Magica Part 1: Beginnings', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?x property:director ?a . VALUES ( ?x ) { ( resource:Puella_Magi_Madoka_Magica_Part_2:_Eternal ) ( resource:Puella_Magi_Madoka_Magica_Part_1:_Beginnings ) } . ?a rdf:type ontology:common_name }
[]
common name
Q50036 Q50036
SYSTEM
Akiyuki Shinbo
Q50036 Q50036
(Q3842375,P57,c(Q502895)) (Q3842376,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
Those works of art directed were by [ANSWER] and [ANSWER] by
['Q3842375', 'P57', {'concept': 'Q502895'}] ['Q3842376', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?x property:P57 ?a . VALUES ( ?x ) { ( resource:Q3842375 ) ( resource:Q3842376 ) } . ?a rdf:type ontology:Q502895 }
Akiyuki Shinbo Akiyuki Shinbo
Those works of art directed were by Akiyuki Shinbo and Akiyuki Shinbo by
Akiyuki Shinbo Akiyuki Shinbo
action filter_type
action find
entity prev_answer
relation director
type common name
['Puella Magi Madoka Magica Part 2: Eternal', 'director', {'concept': 'common name'}] ['Puella Magi Madoka Magica Part 1: Beginnings', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?x property:director ?a . VALUES ( ?x ) { ( resource:Puella_Magi_Madoka_Magica_Part_2:_Eternal ) ( resource:Puella_Magi_Madoka_Magica_Part_1:_Beginnings ) } . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q908436
P749
Q4830453
USER
Which business enterprise is the parent organization of TV Asahi ?
(Q908436,P749,c(Q4830453))
action filter_type
action find
entity Q908436
relation P749
type Q4830453
['Q908436', 'P749', {'concept': 'Q4830453'}]
SELECT DISTINCT ?p WHERE { resource:Q908436 property:P749 ?p . ?p rdf:type ontology:Q4830453 }
TV Asahi
action filter_type
action find
entity TV Asahi
relation parent organization
type business enterprise
['TV Asahi', 'parent organization', {'concept': 'business enterprise'}]
SELECT DISTINCT ?p WHERE { resource:TV_Asahi property:parent_organization ?p . ?p rdf:type ontology:business_enterprise }
[]
business enterprise
Q17199570
SYSTEM
TV Asahi Holdings
Q17199570
(Q908436,P749,c(Q4830453))
action filter_type
action find
entity Q908436
relation P749
type Q4830453
[ANSWER] is the parent organization of TV Asahi
['Q908436', 'P749', {'concept': 'Q4830453'}]
SELECT DISTINCT ?p WHERE { resource:Q908436 property:P749 ?p . ?p rdf:type ontology:Q4830453 }
TV Asahi Holdings
TV Asahi Holdings is the parent organization of TV Asahi
TV Asahi Holdings
action filter_type
action find
entity TV Asahi
relation parent organization
type business enterprise
['TV Asahi', 'parent organization', {'concept': 'business enterprise'}]
SELECT DISTINCT ?p WHERE { resource:TV_Asahi property:parent_organization ?p . ?p rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17199570
P1454
Q2712963
USER
Which abstract noun is the type of legal form of that business enterprise ?
(Q17199570,P1454,c(Q2712963))
action filter_type
action find
entity Q17199570
relation P1454
type Q2712963
['Q17199570', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?f WHERE { resource:Q17199570 property:P1454 ?f . ?f rdf:type ontology:Q2712963 }
TV Asahi Holdings
action filter_type
action find
entity TV Asahi Holdings
relation legal form
type abstract noun
['TV Asahi Holdings', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?f WHERE { resource:TV_Asahi_Holdings property:legal_form ?f . ?f rdf:type ontology:abstract_noun }
[]
abstract noun
Q1480166
SYSTEM
kabushiki gaisha
Q1480166
(Q17199570,P1454,c(Q2712963))
action filter_type
action find
entity Q17199570
relation P1454
type Q2712963
[ANSWER] is the type of legal form of that business enterprise
['Q17199570', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?f WHERE { resource:Q17199570 property:P1454 ?f . ?f rdf:type ontology:Q2712963 }
kabushiki gaisha
Kabushiki gaisha is the type of legal form of that business enterprise
kabushiki gaisha
action filter_type
action find
entity TV Asahi Holdings
relation legal form
type abstract noun
['TV Asahi Holdings', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?f WHERE { resource:TV_Asahi_Holdings property:legal_form ?f . ?f rdf:type ontology:abstract_noun }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3379911 Q50036
P27
Q15617994
USER
Which administrative territories are the native countriesof Akiyuki Shinbo or Philippe Gildas ?
OR((Q50036,P27,c(Q15617994)), (Q3379911,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q50036
relation P27
action find
entity Q3379911
relation P27
type Q15617994
{'OR': [['Q50036', 'P27', {'concept': 'Q15617994'}], ['Q3379911', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q50036 property:P27 ?u } UNION { resource:Q3379911 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
Philippe Gildas Akiyuki Shinbo
action filter_type
action union
action find
entity Akiyuki Shinbo
relation country of citizenship
action find
entity Philippe Gildas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Akiyuki Shinbo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Philippe Gildas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Akiyuki_Shinbo property:country_of_citizenship ?u } UNION { resource:Philippe_Gildas property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q17
SYSTEM
France, Japan
Q142 Q17
OR((Q50036,P27,c(Q15617994)), (Q3379911,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q50036
relation P27
action find
entity Q3379911
relation P27
type Q15617994
[ANSWERS] are the native countriesof Akiyuki Shinbo or Philippe Gildas
{'OR': [['Q50036', 'P27', {'concept': 'Q15617994'}], ['Q3379911', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q50036 property:P27 ?u } UNION { resource:Q3379911 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
France Japan
France and Japan are the native countriesof Akiyuki Shinbo or Philippe Gildas
France Japan
action filter_type
action union
action find
entity Akiyuki Shinbo
relation country of citizenship
action find
entity Philippe Gildas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Akiyuki Shinbo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Philippe Gildas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Akiyuki_Shinbo property:country_of_citizenship ?u } UNION { resource:Philippe_Gildas property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with around 17 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 17
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?l ) WHERE { ?m property:P530 ?w . ?m rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?l = 17 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?l ) WHERE { ?m property:diplomatic_relation ?w . ?m rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?l = 17 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 17
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?l ) WHERE { ?m property:P530 ?w . ?m rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?l = 17 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?l ) WHERE { ?m property:diplomatic_relation ?w . ?m rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?l = 17 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6417582 Q528175
P495 P17
Q15617994
USER
Which administrative territories did Kamen Rider originate and are Kita-Noheji Station situated in ?
AND((Q528175,P495,c(Q15617994)), (Q6417582,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q528175
relation P495
action find
entity Q6417582
relation P17
type Q15617994
{'AND': [['Q528175', 'P495', {'concept': 'Q15617994'}], ['Q6417582', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q528175 property:P495 ?v . resource:Q6417582 property:P17 ?v }
Kita-Noheji Station Kamen Rider
action filter_type
action intersection
action find
entity Kamen Rider
relation country of origin
action find
entity Kita-Noheji Station
relation country
type designation for an administrative territorial entity
{'AND': [['Kamen Rider', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Kita-Noheji Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kamen_Rider property:country_of_origin ?v . resource:Kita-Noheji_Station property:country ?v }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
AND((Q528175,P495,c(Q15617994)), (Q6417582,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q528175
relation P495
action find
entity Q6417582
relation P17
type Q15617994
Kamen Rider originated in [ANSWER]
{'AND': [['Q528175', 'P495', {'concept': 'Q15617994'}], ['Q6417582', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q528175 property:P495 ?v . resource:Q6417582 property:P17 ?v }
Japan
Kamen Rider originated in Japan
Japan
action filter_type
action intersection
action find
entity Kamen Rider
relation country of origin
action find
entity Kita-Noheji Station
relation country
type designation for an administrative territorial entity
{'AND': [['Kamen Rider', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Kita-Noheji Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kamen_Rider property:country_of_origin ?v . resource:Kita-Noheji_Station property:country ?v }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q17 Q15630982 Q884
P47
Q15617994
USER
Does Japan have an adjacent border with Orissa Tributary States and South Korea ?
(Q17,P47,Q15630982) (Q17,P47,Q884)
action is_in
entity Q17
action intersection
action find_reverse
entity Q15630982
relation P47
action find_reverse
entity Q884
relation P47
['Q17', 'P47', 'Q15630982'] ['Q17', 'P47', 'Q884']
ASK WHERE { resource:Q17 property:P47 resource:Q15630982 . resource:Q17 property:P47 resource:Q884 }
Japan Orissa Tributary States South Korea
action is_in
entity Japan
action intersection
action find_reverse
entity Orissa Tributary States
relation shares border with
action find_reverse
entity South Korea
relation shares border with
['Japan', 'shares border with', 'Orissa Tributary States'] ['Japan', 'shares border with', 'South Korea']
ASK WHERE { resource:Japan property:shares_border_with resource:Orissa_Tributary_States . resource:Japan property:shares_border_with resource:South_Korea }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q17,P47,Q15630982) (Q17,P47,Q884)
action is_in
entity Q17
action intersection
action find_reverse
entity Q15630982
relation P47
action find_reverse
entity Q884
relation P47
[ANSWER]
['Q17', 'P47', 'Q15630982'] ['Q17', 'P47', 'Q884']
ASK WHERE { resource:Q17 property:P47 resource:Q15630982 . resource:Q17 property:P47 resource:Q884 }
NO and YES respectively
action is_in
entity Japan
action intersection
action find_reverse
entity Orissa Tributary States
relation shares border with
action find_reverse
entity South Korea
relation shares border with
['Japan', 'shares border with', 'Orissa Tributary States'] ['Japan', 'shares border with', 'South Korea']
ASK WHERE { resource:Japan property:shares_border_with resource:Orissa_Tributary_States . resource:Japan property:shares_border_with resource:South_Korea }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1331921 Q279014
P1454
Q2712963
USER
Is Societas Europaea the type of legal form of Mainichi Broadcasting System ?
(Q1331921,P1454,Q279014)
action is_in
entity Q279014
action find
entity Q1331921
relation P1454
['Q1331921', 'P1454', 'Q279014']
ASK WHERE { resource:Q1331921 property:P1454 resource:Q279014 }
Mainichi Broadcasting System Societas Europaea
action is_in
entity Societas Europaea
action find
entity Mainichi Broadcasting System
relation legal form
['Mainichi Broadcasting System', 'legal form', 'Societas Europaea']
ASK WHERE { resource:Mainichi_Broadcasting_System property:legal_form resource:Societas_Europaea }
[]
abstract noun
SYSTEM
NO
(Q1331921,P1454,Q279014)
action is_in
entity Q279014
action find
entity Q1331921
relation P1454
[ANSWER]
['Q1331921', 'P1454', 'Q279014']
ASK WHERE { resource:Q1331921 property:P1454 resource:Q279014 }
No
action is_in
entity Societas Europaea
action find
entity Mainichi Broadcasting System
relation legal form
['Mainichi Broadcasting System', 'legal form', 'Societas Europaea']
ASK WHERE { resource:Mainichi_Broadcasting_System property:legal_form resource:Societas_Europaea }
[]