Simple Question (Direct)
Simple Question
Q2941903
P102
Q7210356
USER
Which party is Catherine Dumas affiliated with ?
(Q2941903,P102,c(Q7210356))
action filter_type
action find
entity Q2941903
relation P102
type Q7210356
['Q2941903', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7210356 . resource:Q2941903 property:P102 ?j }
Catherine Dumas
action filter_type
action find
entity Catherine Dumas
relation member of political party
type political organization
['Catherine Dumas', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_organization . resource:Catherine_Dumas property:member_of_political_party ?j }
[]
political organization
Q173152
SYSTEM
Union for a Popular Movement
Q173152
(Q2941903,P102,c(Q7210356))
action filter_type
action find
entity Q2941903
relation P102
type Q7210356
Catherine Dumas is affiliated with [ANSWER]
['Q2941903', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7210356 . resource:Q2941903 property:P102 ?j }
Union for a Popular Movement
Catherine Dumas is affiliated with Union for a Popular Movement
Union for a Popular Movement
action filter_type
action find
entity Catherine Dumas
relation member of political party
type political organization
['Catherine Dumas', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_organization . resource:Catherine_Dumas property:member_of_political_party ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2941903
P734
Q82799
USER
Which name is associated with Catherine Dumas ?
(Q2941903,P734,c(Q82799))
action filter_type
action find
entity Q2941903
relation P734
type Q82799
['Q2941903', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q2941903 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Catherine Dumas
action filter_type
action find
entity Catherine Dumas
relation family name
type name
['Catherine Dumas', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Catherine_Dumas property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q16869708
SYSTEM
Dumas
Q16869708
(Q2941903,P734,c(Q82799))
action filter_type
action find
entity Q2941903
relation P734
type Q82799
[ANSWER] is associated with Catherine [ANSWER]
['Q2941903', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q2941903 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Dumas
Dumas is associated with Catherine Dumas
Dumas
action filter_type
action find
entity Catherine Dumas
relation family name
type name
['Catherine Dumas', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Catherine_Dumas property:family_name ?q . ?q rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q106726 Q2941903
P19 P937
Q56061
USER
Which administrative territories are the work locations of Catherine Dumas or were Dieter Stellmacher born at ?
OR((Q2941903,P937,c(Q56061)), (Q106726,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2941903
relation P937
action find
entity Q106726
relation P19
type Q56061
{'OR': [['Q2941903', 'P937', {'concept': 'Q56061'}], ['Q106726', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q2941903 property:P937 ?n } UNION { resource:Q106726 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
Dieter Stellmacher Catherine Dumas
action filter_type
action union
action find
entity Catherine Dumas
relation work location
action find
entity Dieter Stellmacher
relation place of birth
type administrative territorial entity
{'OR': [['Catherine Dumas', 'work location', {'concept': 'administrative territorial entity'}], ['Dieter Stellmacher', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Catherine_Dumas property:work_location ?n } UNION { resource:Dieter_Stellmacher property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q625741 Q90
SYSTEM
Lindow, Paris
Q625741 Q90
OR((Q2941903,P937,c(Q56061)), (Q106726,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2941903
relation P937
action find
entity Q106726
relation P19
type Q56061
[ANSWERS] are the work locations of Catherine Dumas or were Dieter Stellmacher born at
{'OR': [['Q2941903', 'P937', {'concept': 'Q56061'}], ['Q106726', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q2941903 property:P937 ?n } UNION { resource:Q106726 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
Lindow Paris
Lindow and Paris are the work locations of Catherine Dumas or were Dieter Stellmacher born at
Lindow Paris
action filter_type
action union
action find
entity Catherine Dumas
relation work location
action find
entity Dieter Stellmacher
relation place of birth
type administrative territorial entity
{'OR': [['Catherine Dumas', 'work location', {'concept': 'administrative territorial entity'}], ['Dieter Stellmacher', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Catherine_Dumas property:work_location ?n } UNION { resource:Dieter_Stellmacher property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories have lesser number of people and holidays as their patron saint than that administrative territory ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?z WHERE { { ?z property:Q28914 ?f . VALUES ( ?f ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?z WHERE { { ?z property:patron_saint ?f . VALUES ( ?f ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
common name holiday administrative territorial entity
Comparative|More/Less|Mult. entity type|Clarification
Q90
SYSTEM
Did you mean Paris ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?z WHERE { { ?z property:Q28914 ?f . VALUES ( ?f ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
Did you mean Paris ?
Paris
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?z WHERE { { ?z property:patron_saint ?f . VALUES ( ?f ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
[]
SYSTEM
33
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q28914 ?y } UNION { ?z property:Q28914 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
33
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2941903
P21
Q290
USER
Which sex does Catherine Dumas have ?
(Q2941903,P21,c(Q290))
action filter_type
action find
entity Q2941903
relation P21
type Q290
['Q2941903', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q2941903 property:P21 ?r . ?r rdf:type ontology:Q290 }
Catherine Dumas
action filter_type
action find
entity Catherine Dumas
relation gender
type sex
['Catherine Dumas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Catherine_Dumas property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2941903,P21,c(Q290))
action filter_type
action find
entity Q2941903
relation P21
type Q290
Catherine Dumas has a [ANSWER]
['Q2941903', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q2941903 property:P21 ?r . ?r rdf:type ontology:Q290 }
female
Catherine Dumas has a female
female
action filter_type
action find
entity Catherine Dumas
relation gender
type sex
['Catherine Dumas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Catherine_Dumas property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12262688
Q290
USER
And what about Luis Maria Uriarte?
(Q12262688,P21,c(Q290))
action filter_type
action find
entity Q12262688
relation P21
type Q290
['Q12262688', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q12262688 property:P21 ?k . ?k rdf:type ontology:Q290 }
Luis Maria Uriarte
action filter_type
action find
entity Luis Maria Uriarte
relation gender
type sex
['Luis Maria Uriarte', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Luis_Maria_Uriarte property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12262688,P21,c(Q290))
action filter_type
action find
entity Q12262688
relation P21
type Q290
[ANSWER]
['Q12262688', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q12262688 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Luis Maria Uriarte
relation gender
type sex
['Luis Maria Uriarte', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Luis_Maria_Uriarte property:gender ?k . ?k rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q90 Q220
P272
Q838948
USER
How many works of art were released from the production company named Paris and Rome ?
(c(Q838948),P272,Q90) (c(Q838948),P272,Q220)
action count
action intersection
action filter_type
action find_reverse
entity Q90
relation P272
type Q838948
action filter_type
action find_reverse
entity Q220
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q90'] [{'concept': 'Q838948'}, 'P272', 'Q220']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:P272 resource:Q90 . ?p rdf:type ontology:Q838948 . ?p property:P272 resource:Q220 . ?p rdf:type ontology:Q838948 }
Paris Rome
action count
action intersection
action filter_type
action find_reverse
entity Paris
relation production company
type work of art
action filter_type
action find_reverse
entity Rome
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Paris'] [{'concept': 'work of art'}, 'production company', 'Rome']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:production_company resource:Paris . ?p rdf:type ontology:work_of_art . ?p property:production_company resource:Rome . ?p rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
3
Q1136505 Q1402866 Q3221640
(c(Q838948),P272,Q90) (c(Q838948),P272,Q220)
action count
action intersection
action filter_type
action find_reverse
entity Q90
relation P272
type Q838948
action filter_type
action find_reverse
entity Q220
relation P272
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P272', 'Q90'] [{'concept': 'Q838948'}, 'P272', 'Q220']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:P272 resource:Q90 . ?p rdf:type ontology:Q838948 . ?p property:P272 resource:Q220 . ?p rdf:type ontology:Q838948 }
Madman at War The Camp Followers Maigret a Pigalle
3
action count
action intersection
action filter_type
action find_reverse
entity Paris
relation production company
type work of art
action filter_type
action find_reverse
entity Rome
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Paris'] [{'concept': 'work of art'}, 'production company', 'Rome']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:production_company resource:Paris . ?p rdf:type ontology:work_of_art . ?p property:production_company resource:Rome . ?p rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P190
Q515
USER
Which city is partner town of Paris ?
(c(Q515),P190,Q90)
action filter_type
action find_reverse
entity Q90
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q90']
SELECT DISTINCT ?c WHERE { ?c property:P190 resource:Q90 . ?c rdf:type ontology:Q515 }
Paris
action filter_type
action find_reverse
entity Paris
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Paris']
SELECT DISTINCT ?c WHERE { ?c property:sister_city resource:Paris . ?c rdf:type ontology:city }
[]
city
Q8684
SYSTEM
Seoul
Q8684
(c(Q515),P190,Q90)
action filter_type
action find_reverse
entity Q90
relation P190
type Q515
[ANSWER] is partner town of Paris
[{'concept': 'Q515'}, 'P190', 'Q90']
SELECT DISTINCT ?c WHERE { ?c property:P190 resource:Q90 . ?c rdf:type ontology:Q515 }
Seoul
Seoul is partner town of Paris
Seoul
action filter_type
action find_reverse
entity Paris
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Paris']
SELECT DISTINCT ?c WHERE { ?c property:sister_city resource:Paris . ?c rdf:type ontology:city }
[]