Simple Question (Direct)
Simple Question
Q18165033
P161
Q502895
USER
Who were casted in Itsi Bitsi ?
(Q18165033,P161,c(Q502895))
action filter_type
action find
entity Q18165033
relation P161
type Q502895
['Q18165033', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q18165033 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Itsi Bitsi
action filter_type
action find
entity Itsi Bitsi
relation cast member
type common name
['Itsi Bitsi', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Itsi_Bitsi property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
common name
Q4568029 Q521623 Q508739
SYSTEM
Anette Støvelbæk, Ola Rapace, Thure Lindhardt
Q12326088 Q4568029 Q18232118 Q521623 Q508739
(Q18165033,P161,c(Q502895))
action filter_type
action find
entity Q18165033
relation P161
type Q502895
[ANSWERS] were casted in Itsi Bitsi
['Q18165033', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q18165033 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Marie Tourell Søderberg Anette Støvelbæk Johannes Nymark Ola Rapace Thure Lindhardt
Anette Støvelbæk, Ola Rapace and Thure Lindhardt were casted in Itsi Bitsi
Anette Støvelbæk Ola Rapace Thure Lindhardt
action filter_type
action find
entity Itsi Bitsi
relation cast member
type common name
['Itsi Bitsi', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Itsi_Bitsi property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q508739
P734
Q82799
USER
Who is associated with that person ?
(Q508739,P734,c(Q82799))
action filter_type
action find
entity Q508739
relation P734
type Q82799
['Q508739', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q508739 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Thure Lindhardt
action filter_type
action find
entity Thure Lindhardt
relation family name
type name
['Thure Lindhardt', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Thure_Lindhardt property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q4568029
SYSTEM
Did you mean Anette Støvelbæk ?
Q4568029 Q521623 Q508739
(Q4568029,P734,c(Q82799)) (Q521623,P734,c(Q82799)) (Q508739,P734,c(Q82799))
[ANSWER]
['Q4568029', 'P734', {'concept': 'Q82799'}] ['Q521623', 'P734', {'concept': 'Q82799'}] ['Q508739', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q508739 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Anette Støvelbæk Ola Rapace Thure Lindhardt
Did you mean Anette Støvelbæk ?
Anette Støvelbæk
['Anette Støvelbæk', 'family name', {'concept': 'name'}] ['Ola Rapace', 'family name', {'concept': 'name'}] ['Thure Lindhardt', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Thure_Lindhardt property:family_name ?q . ?q rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
No, I meant Thure Lindhardt. Could you tell me the answer for that?
(Q508739,P734,c(Q82799))
Q508739
['Q508739', 'P734', {'concept': 'Q82799'}]
['Thure Lindhardt', 'family name', {'concept': 'name'}]
[]
Q27539448
SYSTEM
Lindhardt
Q27539448
(Q508739,P734,c(Q82799))
action filter_type
action find
entity Q508739
relation P734
type Q82799
[ANSWER] is associated with that person
['Q508739', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q508739 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Lindhardt
Lindhardt is associated with that person
Lindhardt
action filter_type
action find
entity Thure Lindhardt
relation family name
type name
['Thure Lindhardt', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Thure_Lindhardt property:family_name ?q . ?q rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q12318032 Q508739
P27
Q1048835
USER
Which political territories are the countries of citizenship of Thure Lindhardt and Iben Høgh-Pedersen ?
AND((Q508739,P27,c(Q1048835)), (Q12318032,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q508739
relation P27
action find
entity Q12318032
relation P27
type Q1048835
{'AND': [['Q508739', 'P27', {'concept': 'Q1048835'}], ['Q12318032', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { resource:Q508739 property:P27 ?a . resource:Q12318032 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Iben Høgh-Pedersen Thure Lindhardt
action filter_type
action intersection
action find
entity Thure Lindhardt
relation country of citizenship
action find
entity Iben Høgh-Pedersen
relation country of citizenship
type political territorial entity
{'AND': [['Thure Lindhardt', 'country of citizenship', {'concept': 'political territorial entity'}], ['Iben Høgh-Pedersen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:Thure_Lindhardt property:country_of_citizenship ?a . resource:Iben_Høgh-Pedersen property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
AND((Q508739,P27,c(Q1048835)), (Q12318032,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q508739
relation P27
action find
entity Q12318032
relation P27
type Q1048835
[ANSWER] is the countries of citizenship of Thure Lindhardt and Iben Høgh-Pedersen
{'AND': [['Q508739', 'P27', {'concept': 'Q1048835'}], ['Q12318032', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { resource:Q508739 property:P27 ?a . resource:Q12318032 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Denmark
Denmark is the countries of citizenship of Thure Lindhardt and Iben Høgh-Pedersen
Denmark
action filter_type
action intersection
action find
entity Thure Lindhardt
relation country of citizenship
action find
entity Iben Høgh-Pedersen
relation country of citizenship
type political territorial entity
{'AND': [['Thure Lindhardt', 'country of citizenship', {'concept': 'political territorial entity'}], ['Iben Høgh-Pedersen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:Thure_Lindhardt property:country_of_citizenship ?a . resource:Iben_Høgh-Pedersen property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atmost 3 political territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?d ) WHERE { ?c property:P530 ?k . ?c rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?d <= 3 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?d ) WHERE { ?c property:diplomatic_relation ?k . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?d <= 3 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
157
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?d ) WHERE { ?c property:P530 ?k . ?c rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?d <= 3 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
157
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?d ) WHERE { ?c property:diplomatic_relation ?k . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?d <= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P47
Q1048835
USER
Which political territory shares border with Denmark ?
(Q35,P47,c(Q1048835))
action filter_type
action find
entity Q35
relation P47
type Q1048835
['Q35', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q35 property:P47 ?d . ?d rdf:type ontology:Q1048835 }
Denmark
action filter_type
action find
entity Denmark
relation shares border with
type political territorial entity
['Denmark', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Denmark property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q35,P47,c(Q1048835))
action filter_type
action find
entity Q35
relation P47
type Q1048835
[ANSWER] shares border with Denmark
['Q35', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q35 property:P47 ?d . ?d rdf:type ontology:Q1048835 }
Germany
Germany shares border with Denmark
Germany
action filter_type
action find
entity Denmark
relation shares border with
type political territorial entity
['Denmark', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Denmark property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity }
[]