Simple Question (Direct)
Simple Question
Q16887934
P21
Q290
USER
Which sex does Alfred Dellheim belong to ?
(Q16887934,P21,c(Q290))
action filter_type
action find
entity Q16887934
relation P21
type Q290
['Q16887934', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q16887934 property:P21 ?s . ?s rdf:type ontology:Q290 }
Alfred Dellheim
action filter_type
action find
entity Alfred Dellheim
relation gender
type sex
['Alfred Dellheim', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Alfred_Dellheim property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16887934,P21,c(Q290))
action filter_type
action find
entity Q16887934
relation P21
type Q290
Alfred Dellheim belongs to [ANSWER]
['Q16887934', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q16887934 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Alfred Dellheim belongs to male
male
action filter_type
action find
entity Alfred Dellheim
relation gender
type sex
['Alfred Dellheim', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Alfred_Dellheim property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16887934
P27
Q1048835
USER
Which political territory is the country of citizenship of Alfred Dellheim ?
(Q16887934,P27,c(Q1048835))
action filter_type
action find
entity Q16887934
relation P27
type Q1048835
['Q16887934', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . resource:Q16887934 property:P27 ?g }
Alfred Dellheim
action filter_type
action find
entity Alfred Dellheim
relation country of citizenship
type political territorial entity
['Alfred Dellheim', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Alfred_Dellheim property:country_of_citizenship ?g }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q16887934,P27,c(Q1048835))
action filter_type
action find
entity Q16887934
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Alfred Dellheim
['Q16887934', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . resource:Q16887934 property:P27 ?g }
Germany
Germany is the country of citizenship of Alfred Dellheim
Germany
action filter_type
action find
entity Alfred Dellheim
relation country of citizenship
type political territorial entity
['Alfred Dellheim', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Alfred_Dellheim property:country_of_citizenship ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16887934
P710
Q1499496
USER
What event was Alfred Dellheim a participant of ?
(c(Q1499496),P710,Q16887934)
action filter_type
action find_reverse
entity Q16887934
relation P710
type Q1499496
[{'concept': 'Q1499496'}, 'P710', 'Q16887934']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q16887934 . ?n rdf:type ontology:Q1499496 }
Alfred Dellheim
action filter_type
action find_reverse
entity Alfred Dellheim
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Alfred Dellheim']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Alfred_Dellheim . ?n rdf:type ontology:German_presidential_election }
[]
German presidential election
Q451110
SYSTEM
German presidential election, 1999
Q451110
(c(Q1499496),P710,Q16887934)
action filter_type
action find_reverse
entity Q16887934
relation P710
type Q1499496
Alfred Dellheim was the [ANSWER]
[{'concept': 'Q1499496'}, 'P710', 'Q16887934']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q16887934 . ?n rdf:type ontology:Q1499496 }
German presidential election, 1999
Alfred Dellheim was the German presidential election, 1999
German presidential election, 1999
action filter_type
action find_reverse
entity Alfred Dellheim
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Alfred Dellheim']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Alfred_Dellheim . ?n rdf:type ontology:German_presidential_election }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic relationships with atleast 6 political territories ?
(c(Q1048835),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?z ) WHERE { ?y property:P530 ?s . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?z >= 6 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?z ) WHERE { ?y property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?z >= 6 ) }
[]
political territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[ANSWERS] have diplomatic relationships with atleast 6 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?z ) WHERE { ?y property:P530 ?s . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?z >= 6 ) }
Germany Australia
Germany and Australia have diplomatic relationships with atleast 6 political territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?z ) WHERE { ?y property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?z >= 6 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q408
P264
Q2031291
USER
Which releases have that political territory as their record brand ?
(c(Q2031291),P264,Q408)
action filter_type
action find_reverse
entity Q408
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q408']
SELECT DISTINCT ?g WHERE { ?g property:P264 resource:Q408 . ?g rdf:type ontology:Q2031291 }
Australia
action filter_type
action find_reverse
entity Australia
relation record label
type release
[{'concept': 'release'}, 'record label', 'Australia']
SELECT DISTINCT ?g WHERE { ?g property:record_label resource:Australia . ?g rdf:type ontology:release }
[]
release
Clarification for simple ques.
Q183
SYSTEM
Did you mean Germany ?
Q183 Q408
(c(Q2031291),P264,Q183) (c(Q2031291),P264,Q408)
[ANSWER]
[{'concept': 'Q2031291'}, 'P264', 'Q183'] [{'concept': 'Q2031291'}, 'P264', 'Q408']
SELECT DISTINCT ?g WHERE { ?g property:P264 resource:Q408 . ?g rdf:type ontology:Q2031291 }
Germany Australia
Did you mean Germany ?
Germany
[{'concept': 'release'}, 'record label', 'Germany'] [{'concept': 'release'}, 'record label', 'Australia']
SELECT DISTINCT ?g WHERE { ?g property:record_label resource:Australia . ?g rdf:type ontology:release }
[]
Simple Question (Coreferenced)
USER
No, I meant Australia. Could you tell me the answer for that?
(c(Q2031291),P264,Q408)
Q408
[{'concept': 'Q2031291'}, 'P264', 'Q408']
[{'concept': 'release'}, 'record label', 'Australia']
[]
Q6898608 Q7753554
SYSTEM
Monday's Rain, The New Cool
Q6898608 Q7753554
(c(Q2031291),P264,Q408)
action filter_type
action find_reverse
entity Q408
relation P264
type Q2031291
[ANSWERS] have that political territory as their record brand
[{'concept': 'Q2031291'}, 'P264', 'Q408']
SELECT DISTINCT ?g WHERE { ?g property:P264 resource:Q408 . ?g rdf:type ontology:Q2031291 }
Monday's Rain The New Cool
Monday's Rain and The New Cool have that political territory as their record brand
Monday's Rain The New Cool
action filter_type
action find_reverse
entity Australia
relation record label
type release
[{'concept': 'release'}, 'record label', 'Australia']
SELECT DISTINCT ?g WHERE { ?g property:record_label resource:Australia . ?g rdf:type ontology:release }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q183
P530
Q15617994
USER
How many administrative territories holds diplomatic relationship with Germany ?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Q183 property:P530 ?c . ?c rdf:type ontology:Q15617994 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Germany property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
124
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Q183 property:P530 ?c . ?c rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Germany property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q184
P530
Q15617994
USER
And also tell me about Belarus?
(Q184,P530,c(Q15617994))
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q184 property:P530 ?t }
Belarus
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belarus property:diplomatic_relation ?t }
[]
designation for an administrative territorial entity
SYSTEM
37
Q801 Q833 Q843 Q241 Q668 Q227 Q224 Q55 Q262 Q148 Q33 Q874 Q30 Q37 Q36 Q34 Q39 Q38 Q902 Q142 Q1016 Q414 Q298 Q215 Q403 Q230 Q212 Q213 Q211 Q159 Q217 Q214 Q41 Q155 Q233 Q794 Q27
(Q184,P530,c(Q15617994))
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
[ANSWER]
['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q184 property:P530 ?t }
Israel Malaysia Pakistan Cuba India Azerbaijan Croatia Netherlands Algeria People's Republic of China Finland Turkmenistan United States of America Lithuania Poland Sweden Switzerland Italy Bangladesh France Libya Argentina Chile Slovenia Serbia Georgia Ukraine Czech Republic Latvia Russia Republic of Moldova Slovakia Greece Brazil Malta Iran Ireland
37
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belarus property:diplomatic_relation ?t }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q183
Q15617994
USER
And also tell me about Germany?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q183 property:P530 ?q . ?q rdf:type ontology:Q15617994 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Germany property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
124
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q183 property:P530 ?q . ?q rdf:type ontology:Q15617994 }
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Germany property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]