Simple Question (Direct)
Simple Question
Q7411926
P108
Q163740
USER
Which nonprofit organization does Samuel Kofi Woods work for ?
(Q7411926,P108,c(Q163740))
action filter_type
action find
entity Q7411926
relation P108
type Q163740
['Q7411926', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q7411926 property:P108 ?u . ?u rdf:type ontology:Q163740 }
Samuel Kofi Woods
action filter_type
action find
entity Samuel Kofi Woods
relation employer
type nonprofit organization
['Samuel Kofi Woods', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Samuel_Kofi_Woods property:employer ?u . ?u rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q7411926,P108,c(Q163740))
action filter_type
action find
entity Q7411926
relation P108
type Q163740
Samuel Kofi Woods works at [ANSWER]
['Q7411926', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q7411926 property:P108 ?u . ?u rdf:type ontology:Q163740 }
Columbia University
Samuel Kofi Woods works at Columbia University
Columbia University
action filter_type
action find
entity Samuel Kofi Woods
relation employer
type nonprofit organization
['Samuel Kofi Woods', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Samuel_Kofi_Woods property:employer ?u . ?u rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7411926
P19
Q56061
USER
Which administrative territory was Samuel Kofi Woods born at ?
(Q7411926,P19,c(Q56061))
action filter_type
action find
entity Q7411926
relation P19
type Q56061
['Q7411926', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q7411926 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Samuel Kofi Woods
action filter_type
action find
entity Samuel Kofi Woods
relation place of birth
type administrative territorial entity
['Samuel Kofi Woods', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Samuel_Kofi_Woods property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3748
SYSTEM
Monrovia
Q3748
(Q7411926,P19,c(Q56061))
action filter_type
action find
entity Q7411926
relation P19
type Q56061
Samuel Kofi Woods was born in [ANSWER]
['Q7411926', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q7411926 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Monrovia
Samuel Kofi Woods was born in Monrovia
Monrovia
action filter_type
action find
entity Samuel Kofi Woods
relation place of birth
type administrative territorial entity
['Samuel Kofi Woods', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Samuel_Kofi_Woods property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1732059
Q56061
USER
And how about Alois Toduschek?
(Q1732059,P19,c(Q56061))
action filter_type
action find
entity Q1732059
relation P19
type Q56061
['Q1732059', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1732059 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Alois Toduschek
action filter_type
action find
entity Alois Toduschek
relation place of birth
type administrative territorial entity
['Alois Toduschek', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Alois_Toduschek property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q986075
SYSTEM
Nové Město na Moravě
Q986075
(Q1732059,P19,c(Q56061))
action filter_type
action find
entity Q1732059
relation P19
type Q56061
[ANSWER]
['Q1732059', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1732059 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Nové Město na Moravě
Nové Město na Moravě
action filter_type
action find
entity Alois Toduschek
relation place of birth
type administrative territorial entity
['Alois Toduschek', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Alois_Toduschek property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q986075
P19
Q502895
USER
How many people have place of birth as Nové Město na Moravě ?
(c(Q502895),P19,Q986075)
action count
action filter_type
action find_reverse
entity Q986075
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q986075']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P19 resource:Q986075 . ?y rdf:type ontology:Q502895 }
Nové Město na Moravě
action count
action filter_type
action find_reverse
entity Nové Město na Moravě
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Nové Město na Moravě']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:place_of_birth resource:Nové_Město_na_Moravě . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
51
Q12023995 Q11908320 Q13433941 Q10497367 Q12028550 Q11774358 Q231036 Q12028440 Q11775233 Q26234180 Q711186 Q12022663 Q1152113 Q3490417 Q890930 Q448787 Q16739467 Q5537208 Q2521993 Q457066 Q12023206 Q12022756 Q700213 Q6160523 Q15975108 Q1732059 Q16957126 Q16957217 Q12026403 Q18915326 Q10779325 Q12026433 Q12037560 Q3264670 Q12003561 Q3432344 Q1717323 Q11904224 Q19349075 Q12044344 Q1657509 Q10609494 Q12017313 Q12035631 Q12028633 Q12026749 Q15629678 Q7931623 Q3507526 Q12023845 Q15124045
(c(Q502895),P19,Q986075)
action count
action filter_type
action find_reverse
entity Q986075
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q986075']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P19 resource:Q986075 . ?y rdf:type ontology:Q502895 }
Jaroslav Pavliš Vladimír Paulík Helena Benešová Šustrová Štěpán Hájek Karel Sáblík David Jukl Martina Sáblíková Karel Němec Jiří Štourač Stanislav Mikule Martin Koukal Jan Kasal Markéta Bednářová Ivo Strejček Bohumil Kosour Eva Vítečková Michal Kasal George Brady Dagmar Švubová Miroslava Němcová Jan Veleba Jan Kárník Jan Štursa Jaromír Nečas Eva Šlosárová Alois Toduschek Petr Vaněk Saša Gr. Josef Miloslav Kořínek Erika Stárková Alois Chocholáč Josef Novotný Miloš Konvalinka Luboš Buchta Ferdinand Špička Eva Skalníková Radek Jaroš Vladimír Fiala Petr Kutal Pavel Šustr Otakar Německý Martin Markel František Mitáš Markéta Častvaj Karel Černý Josef Vratislav Monse Jiří Teplý Vincenc Makovský Oldřich Blažíček Jaroslav Kallab Jiří Koubek
51
action count
action filter_type
action find_reverse
entity Nové Město na Moravě
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Nové Město na Moravě']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:place_of_birth resource:Nové_Město_na_Moravě . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q986075
P20
Q502895
USER
Which people have Nové Město na Moravě as the area of death ?
(c(Q502895),P20,Q986075)
action filter_type
action find_reverse
entity Q986075
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q986075']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q986075 . ?x rdf:type ontology:Q502895 }
Nové Město na Moravě
action filter_type
action find_reverse
entity Nové Město na Moravě
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Nové Město na Moravě']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Nové_Město_na_Moravě . ?x rdf:type ontology:common_name }
[]
common name
Q10857493 Q17107178 Q12017704
SYSTEM
Zdeněk Blažek, Jirí Schöppe, František Šilhan
Q10857485 Q12024811 Q17107178 Q12026702 Q12017704 Q12032844 Q12028440 Q10857493 Q12022756
(c(Q502895),P20,Q986075)
action filter_type
action find_reverse
entity Q986075
relation P20
type Q502895
[ANSWERS] have Nové Město na Moravě as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q986075']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q986075 . ?x rdf:type ontology:Q502895 }
Zdeněk Bažant Jindřich Mahelka Jirí Schöppe Josef Valerián František Šilhan Leander Čech Karel Němec Zdeněk Blažek Jan Kárník
Zdeněk Blažek, Jirí Schöppe and František Šilhan have Nové Město na Moravě as the area of death
Zdeněk Blažek Jirí Schöppe František Šilhan
action filter_type
action find_reverse
entity Nové Město na Moravě
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Nové Město na Moravě']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Nové_Město_na_Moravě . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10857493
P21
Q290
USER
Which sex does that person possess ?
(Q10857493,P21,c(Q290))
action filter_type
action find
entity Q10857493
relation P21
type Q290
['Q10857493', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q10857493 property:P21 ?p . ?p rdf:type ontology:Q290 }
Zdeněk Blažek
action filter_type
action find
entity Zdeněk Blažek
relation gender
type sex
['Zdeněk Blažek', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Zdeněk_Blažek property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q17107178
SYSTEM
Did you mean Jirí Schöppe ?
Q10857493 Q17107178 Q12017704
(Q10857493,P21,c(Q290)) (Q17107178,P21,c(Q290)) (Q12017704,P21,c(Q290))
[ANSWER]
['Q10857493', 'P21', {'concept': 'Q290'}] ['Q17107178', 'P21', {'concept': 'Q290'}] ['Q12017704', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q10857493 property:P21 ?p . ?p rdf:type ontology:Q290 }
Zdeněk Blažek Jirí Schöppe František Šilhan
Did you mean Jirí Schöppe ?
Jirí Schöppe
['Zdeněk Blažek', 'gender', {'concept': 'sex'}] ['Jirí Schöppe', 'gender', {'concept': 'sex'}] ['František Šilhan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Zdeněk_Blažek property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Zdeněk Blažek. Could you tell me the answer for that?
(Q10857493,P21,c(Q290))
Q10857493
['Q10857493', 'P21', {'concept': 'Q290'}]
['Zdeněk Blažek', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q10857493,P21,c(Q290))
action filter_type
action find
entity Q10857493
relation P21
type Q290
That person possesses a [ANSWER]
['Q10857493', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q10857493 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Zdeněk Blažek
relation gender
type sex
['Zdeněk Blažek', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Zdeněk_Blažek property:gender ?p . ?p rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q8192624 Q7411926
P19 P27
Q15617994
USER
Which administrative territories are the native countriesof Samuel Kofi Woods or are the birthplace of Akito Nakatsuka ?
OR((Q7411926,P27,c(Q15617994)), (Q8192624,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q7411926
relation P27
action find
entity Q8192624
relation P19
type Q15617994
{'OR': [['Q7411926', 'P27', {'concept': 'Q15617994'}], ['Q8192624', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q7411926 property:P27 ?u } UNION { resource:Q8192624 property:P19 ?u } } }
Akito Nakatsuka Samuel Kofi Woods
action filter_type
action union
action find
entity Samuel Kofi Woods
relation country of citizenship
action find
entity Akito Nakatsuka
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Samuel Kofi Woods', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Akito Nakatsuka', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Samuel_Kofi_Woods property:country_of_citizenship ?u } UNION { resource:Akito_Nakatsuka property:place_of_birth ?u } } }
[]
designation for an administrative territorial entity
Q1014 Q17
SYSTEM
Liberia, Japan
Q1014 Q17
OR((Q7411926,P27,c(Q15617994)), (Q8192624,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q7411926
relation P27
action find
entity Q8192624
relation P19
type Q15617994
[ANSWERS] are the native countriesof Samuel Kofi Woods or are the birthplace of Akito Nakatsuka
{'OR': [['Q7411926', 'P27', {'concept': 'Q15617994'}], ['Q8192624', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q7411926 property:P27 ?u } UNION { resource:Q8192624 property:P19 ?u } } }
Liberia Japan
Liberia and Japan are the native countriesof Samuel Kofi Woods or are the birthplace of Akito Nakatsuka
Liberia Japan
action filter_type
action union
action find
entity Samuel Kofi Woods
relation country of citizenship
action find
entity Akito Nakatsuka
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Samuel Kofi Woods', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Akito Nakatsuka', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Samuel_Kofi_Woods property:country_of_citizenship ?u } UNION { resource:Akito_Nakatsuka property:place_of_birth ?u } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1014
P85
Q484692
USER
Which is the national anthem of that administrative territory ?
(Q1014,P85,c(Q484692))
action filter_type
action find
entity Q1014
relation P85
type Q484692
['Q1014', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?p WHERE { resource:Q1014 property:P85 ?p . ?p rdf:type ontology:Q484692 }
Liberia
action filter_type
action find
entity Liberia
relation anthem
type hymn
['Liberia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?p WHERE { resource:Liberia property:anthem ?p . ?p rdf:type ontology:hymn }
[]
hymn
Clarification for simple ques.
Q17
SYSTEM
Did you mean Japan ?
Q1014 Q17
(Q1014,P85,c(Q484692)) (Q17,P85,c(Q484692))
[ANSWER]
['Q1014', 'P85', {'concept': 'Q484692'}] ['Q17', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?p WHERE { resource:Q1014 property:P85 ?p . ?p rdf:type ontology:Q484692 }
Liberia Japan
Did you mean Japan ?
Japan
['Liberia', 'anthem', {'concept': 'hymn'}] ['Japan', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?p WHERE { resource:Liberia property:anthem ?p . ?p rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
USER
No, I meant Liberia. Could you tell me the answer for that?
(Q1014,P85,c(Q484692))
Q1014
['Q1014', 'P85', {'concept': 'Q484692'}]
['Liberia', 'anthem', {'concept': 'hymn'}]
[]
Q324342
SYSTEM
All Hail, Liberia, Hail!
Q324342
(Q1014,P85,c(Q484692))
action filter_type
action find
entity Q1014
relation P85
type Q484692
The national anthem of that administrative territory is [ANSWER]
['Q1014', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?p WHERE { resource:Q1014 property:P85 ?p . ?p rdf:type ontology:Q484692 }
All Hail, Liberia, Hail!
The national anthem of that administrative territory is All Hail, Liberia, Hail!
All Hail, Liberia, Hail!
action filter_type
action find
entity Liberia
relation anthem
type hymn
['Liberia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?p WHERE { resource:Liberia property:anthem ?p . ?p rdf:type ontology:hymn }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q324342 Q1014
P85
Q15617994
USER
Does Liberia have that hymn as their national anthem ?
(Q1014,P85,Q324342)
action is_in
entity Q324342
action find
entity Q1014
relation P85
['Q1014', 'P85', 'Q324342']
ASK WHERE { resource:Q1014 property:P85 resource:Q324342 }
All Hail, Liberia, Hail! Liberia
action is_in
entity All Hail, Liberia, Hail!
action find
entity Liberia
relation anthem
['Liberia', 'anthem', 'All Hail, Liberia, Hail!']
ASK WHERE { resource:Liberia property:anthem resource:All_Hail,_Liberia,_Hail! }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1014,P85,Q324342)
action is_in
entity Q324342
action find
entity Q1014
relation P85
[ANSWER]
['Q1014', 'P85', 'Q324342']
ASK WHERE { resource:Q1014 property:P85 resource:Q324342 }
Yes
action is_in
entity All Hail, Liberia, Hail!
action find
entity Liberia
relation anthem
['Liberia', 'anthem', 'All Hail, Liberia, Hail!']
ASK WHERE { resource:Liberia property:anthem resource:All_Hail,_Liberia,_Hail! }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1014
P36
Q56061
USER
Which administrative territory is the capital of Liberia ?
(Q1014,P36,c(Q56061))
action filter_type
action find
entity Q1014
relation P36
type Q56061
['Q1014', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1014 property:P36 ?r . ?r rdf:type ontology:Q56061 }
Liberia
action filter_type
action find
entity Liberia
relation capital
type administrative territorial entity
['Liberia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Liberia property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3748
SYSTEM
Monrovia
Q3748
(Q1014,P36,c(Q56061))
action filter_type
action find
entity Q1014
relation P36
type Q56061
[ANSWER] is the capital of Liberia
['Q1014', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1014 property:P36 ?r . ?r rdf:type ontology:Q56061 }
Monrovia
Monrovia is the capital of Liberia
Monrovia
action filter_type
action find
entity Liberia
relation capital
type administrative territorial entity
['Liberia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Liberia property:capital ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1014
P495
Q2342494
USER
Which collectables originated in that administrative territory ?
(c(Q2342494),P495,Q3748)
action filter_type
action find_reverse
entity Q1014
relation P495
type Q2342494
[{'concept': 'Q2342494'}, 'P495', 'Q3748']
SELECT DISTINCT ?j WHERE { ?j property:P495 resource:Q1014 . ?j rdf:type ontology:Q2342494 }
Liberia
action filter_type
action find_reverse
entity Liberia
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'Monrovia']
SELECT DISTINCT ?j WHERE { ?j property:country_of_origin resource:Liberia . ?j rdf:type ontology:collectable }
[]
collectable
Q23307927 Q17110069
SYSTEM
Guanya Pau: A Story of an African Princess, Murder in the Cassava Patch
Q23307927 Q17110069
(c(Q2342494),P495,Q3748)
action filter_type
action find_reverse
entity Q1014
relation P495
type Q2342494
[ANSWERS] originated in that administrative territory
[{'concept': 'Q2342494'}, 'P495', 'Q3748']
SELECT DISTINCT ?j WHERE { ?j property:P495 resource:Q1014 . ?j rdf:type ontology:Q2342494 }
Guanya Pau: A Story of an African Princess Murder in the Cassava Patch
Guanya Pau: A Story of an African Princess and Murder in the Cassava Patch originated in that administrative territory
Guanya Pau: A Story of an African Princess Murder in the Cassava Patch
action filter_type
action find_reverse
entity Liberia
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'Monrovia']
SELECT DISTINCT ?j WHERE { ?j property:country_of_origin resource:Liberia . ?j rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q17
P361
Q2221906 Q271669
USER
How many geographic locations or landforms are a part of Japan ?
(c(Q2221906),P361,Q17) (c(Q271669),P361,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P361
type Q2221906
action filter_type
action find_reverse
entity Q17
relation P361
type Q271669
[{'concept': 'Q2221906'}, 'P361', 'Q17'] [{'concept': 'Q271669'}, 'P361', 'Q17']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:P361 resource:Q17 . ?w rdf:type ontology:Q2221906 } UNION { ?w property:P361 resource:Q17 . ?w rdf:type ontology:Q271669 } }
Japan
action count
action union
action filter_type
action find_reverse
entity Japan
relation part of
type geographic location
action filter_type
action find_reverse
entity Japan
relation part of
type landform
[{'concept': 'geographic location'}, 'part of', 'Japan'] [{'concept': 'landform'}, 'part of', 'Japan']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:part_of resource:Japan . ?w rdf:type ontology:geographic_location } UNION { ?w property:part_of resource:Japan . ?w rdf:type ontology:landform } }
[]
geographic location landform
SYSTEM
2
Q13989 Q207520
(c(Q2221906),P361,Q17) (c(Q271669),P361,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P361
type Q2221906
action filter_type
action find_reverse
entity Q17
relation P361
type Q271669
[ANSWER]
[{'concept': 'Q2221906'}, 'P361', 'Q17'] [{'concept': 'Q271669'}, 'P361', 'Q17']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:P361 resource:Q17 . ?w rdf:type ontology:Q2221906 } UNION { ?w property:P361 resource:Q17 . ?w rdf:type ontology:Q271669 } }
Honshu list of regions of Japan
2
action count
action union
action filter_type
action find_reverse
entity Japan
relation part of
type geographic location
action filter_type
action find_reverse
entity Japan
relation part of
type landform
[{'concept': 'geographic location'}, 'part of', 'Japan'] [{'concept': 'landform'}, 'part of', 'Japan']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:part_of resource:Japan . ?w rdf:type ontology:geographic_location } UNION { ?w property:part_of resource:Japan . ?w rdf:type ontology:landform } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P1001
Q846882
USER
Which sourcess of law have jurisdiction over that administrative territory ?
action filter_type
action find_reverse
entity Q17
relation P1001
type Q846882
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q17 . ?v rdf:type ontology:Q846882 }
Japan
action filter_type
action find_reverse
entity Japan
relation applies to jurisdiction
type sources of law
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Japan . ?v rdf:type ontology:sources_of_law }
[]
sources of law
Q17220988 Q11498173 Q10372494
SYSTEM
Road maintenance special measures law, Act on the Exercise of the Sovereign Right for Fishery, etc. in the Exclusive Economic Zone, Civil Code of Japan
Q11498173 Q10372494 Q15277824 Q17220988 Q2044663 Q11429668 Q11626080 Q11552696 Q16536887 Q11606967 Q11385952 Q6973006 Q11163539 Q11418792 Q11641836 Q11660457 Q11353082 Q11631817 Q657594 Q11442025 Q11420808 Q4698915 Q3258264 Q11421248 Q6488969 Q3678382 Q11630301 Q11660402 Q5001968 Q574705 Q4251291 Q11631063 Q11143511 Q4683476
action filter_type
action find_reverse
entity Q17
relation P1001
type Q846882
[ANSWERS] have jurisdiction over that administrative territory
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q17 . ?v rdf:type ontology:Q846882 }
Act on the Exercise of the Sovereign Right for Fishery, etc. in the Exclusive Economic Zone Civil Code of Japan Special Secrecy Law Road maintenance special measures law PSE law Anti-Prostitution Act (Japan) Administrative Appeal Act Act on Special Measures for the Promotion and Development of Okinawa Act on Access to Information Held by Administrative Organs Natural Habitat Conservation Areas in Japan Insurance Business Act National Health Care Act of 1958 Diet Act (Japan) Japanese trademark law 貨物利用運送事業法 Telecommunications Business Act (Japan) Act on General Incorporated Associations and General Incorporated Foundations petition law Narcotics and Psychotropics Control Law Cannabis Control Law National Government Organization Act Airport Law Ainu Cultural Promotion Act National University Corporation Act Large-Scale Earthquake Countermeasure Act Japanese nationality law Awakening Drug Control Law Act on Special Measures Concerning Procurement of Electricity from Renewable Energy Sources by Electricity Utilities Businesses Affecting Public Morals Regulation Law Japanese competition law Child pornography laws in Japan Measurement Act Official infectious Administrative Litigation Act
Road maintenance special measures law, Act on the Exercise of the Sovereign Right for Fishery, etc. in the Exclusive Economic Zone and Civil Code of Japan have jurisdiction over that administrative territory
Road maintenance special measures law Act on the Exercise of the Sovereign Right for Fishery, etc. in the Exclusive Economic Zone Civil Code of Japan
action filter_type
action find_reverse
entity Japan
relation applies to jurisdiction
type sources of law
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Japan . ?v rdf:type ontology:sources_of_law }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q228
P122
Q22676587 Q12737077 Q15617994
USER
Which administrative territories have less number of monarchic systems and occupations as the form of government than Andorra ?
(c(Q15617994),P122,c(Q22676587)|c(Q12737077))
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action count
action filter_multi_types
action find
entity Q228
relation P122
type Q22676587
type Q12737077
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q228 property:P122 ?a . { { ?a rdf:type ontology:Q22676587 } UNION { ?a rdf:type ontology:Q12737077 } } } } . FILTER ( ?v < ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?f WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q22676587 ) ( ontology:Q12737077 ) } } GROUP BY ?f } }
Andorra
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find
entity Andorra
relation basic form of government
type monarchic system
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Andorra property:basic_form_of_government ?a . { { ?a rdf:type ontology:monarchic_system } UNION { ?a rdf:type ontology:occupation } } } } . FILTER ( ?v < ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?f WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:monarchic_system ) ( ontology:occupation ) } } GROUP BY ?f } }
[]
monarchic system occupation designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q711 Q717 Q837 Q208500 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q22676587)|c(Q12737077))
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action count
action filter_multi_types
action find
entity Q228
relation P122
type Q22676587
type Q12737077
[ANSWERS] have less number of monarchic systems and occupations as the form of government than Andorra
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q228 property:P122 ?a . { { ?a rdf:type ontology:Q22676587 } UNION { ?a rdf:type ontology:Q12737077 } } } } . FILTER ( ?v < ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?f WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q22676587 ) ( ontology:Q12737077 ) } } GROUP BY ?f } }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal principality Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy, Brazil and United States of America have less number of monarchic systems and occupations as the form of government than Andorra
Italy Brazil United States of America
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find
entity Andorra
relation basic form of government
type monarchic system
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Andorra property:basic_form_of_government ?a . { { ?a rdf:type ontology:monarchic_system } UNION { ?a rdf:type ontology:occupation } } } } . FILTER ( ?v < ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?f WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:monarchic_system ) ( ontology:occupation ) } } GROUP BY ?f } }
[]