Simple Question (Direct)
Simple Question
Q16979830
P21
Q290
USER
Which sex does Ann Bedsole have ?
(Q16979830,P21,c(Q290))
action filter_type
action find
entity Q16979830
relation P21
type Q290
['Q16979830', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q16979830 property:P21 ?f . ?f rdf:type ontology:Q290 }
Ann Bedsole
action filter_type
action find
entity Ann Bedsole
relation gender
type sex
['Ann Bedsole', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Ann_Bedsole property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q16979830,P21,c(Q290))
action filter_type
action find
entity Q16979830
relation P21
type Q290
Ann Bedsole has a [ANSWER]
['Q16979830', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q16979830 property:P21 ?f . ?f rdf:type ontology:Q290 }
female
Ann Bedsole has a female
female
action filter_type
action find
entity Ann Bedsole
relation gender
type sex
['Ann Bedsole', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Ann_Bedsole property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16979830
P102
Q7210356
USER
Which party does Ann Bedsole belong to ?
(Q16979830,P102,c(Q7210356))
action filter_type
action find
entity Q16979830
relation P102
type Q7210356
['Q16979830', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7210356 . resource:Q16979830 property:P102 ?v }
Ann Bedsole
action filter_type
action find
entity Ann Bedsole
relation member of political party
type political organization
['Ann Bedsole', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_organization . resource:Ann_Bedsole property:member_of_political_party ?v }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q16979830,P102,c(Q7210356))
action filter_type
action find
entity Q16979830
relation P102
type Q7210356
Ann Bedsole belongs to [ANSWER]
['Q16979830', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7210356 . resource:Q16979830 property:P102 ?v }
Republican Party
Ann Bedsole belongs to Republican Party
Republican Party
action filter_type
action find
entity Ann Bedsole
relation member of political party
type political organization
['Ann Bedsole', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_organization . resource:Ann_Bedsole property:member_of_political_party ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29468
P710
Q40231
USER
Which election has that political organization as its participant ?
(c(Q40231),P710,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P710
type Q40231
[{'concept': 'Q40231'}, 'P710', 'Q29468']
SELECT DISTINCT ?v WHERE { ?v property:P710 resource:Q29468 . ?v rdf:type ontology:Q40231 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation participant
type election
[{'concept': 'election'}, 'participant', 'Republican Party']
SELECT DISTINCT ?v WHERE { ?v property:participant resource:Republican_Party . ?v rdf:type ontology:election }
[]
election
Q17092711
SYSTEM
Republican Party presidential primaries, 2016
Q17092711
(c(Q40231),P710,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P710
type Q40231
[ANSWER] has that political organization as its participant
[{'concept': 'Q40231'}, 'P710', 'Q29468']
SELECT DISTINCT ?v WHERE { ?v property:P710 resource:Q29468 . ?v rdf:type ontology:Q40231 }
Republican Party presidential primaries, 2016
Republican Party presidential primaries, 2016 has that political organization as its participant
Republican Party presidential primaries, 2016
action filter_type
action find_reverse
entity Republican Party
relation participant
type election
[{'concept': 'election'}, 'participant', 'Republican Party']
SELECT DISTINCT ?v WHERE { ?v property:participant resource:Republican_Party . ?v rdf:type ontology:election }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P1142
Q1047113
USER
Which special field does Republican Party believe in ?
(Q29468,P1142,c(Q1047113))
action filter_type
action find
entity Q29468
relation P1142
type Q1047113
['Q29468', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { resource:Q29468 property:P1142 ?i . ?i rdf:type ontology:Q1047113 }
Republican Party
action filter_type
action find
entity Republican Party
relation political ideology
type special field
['Republican Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { resource:Republican_Party property:political_ideology ?i . ?i rdf:type ontology:special_field }
[]
special field
Q7169
SYSTEM
conservatism
Q7169
(Q29468,P1142,c(Q1047113))
action filter_type
action find
entity Q29468
relation P1142
type Q1047113
Republican Party believes in [ANSWER]
['Q29468', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { resource:Q29468 property:P1142 ?i . ?i rdf:type ontology:Q1047113 }
conservatism
Republican Party believes in conservatism
conservatism
action filter_type
action find
entity Republican Party
relation political ideology
type special field
['Republican Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { resource:Republican_Party property:political_ideology ?i . ?i rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29468
P462
Q1075
USER
Which color is associated with that political organization ?
(Q7169,P462,c(Q1075))
action filter_type
action find
entity Q29468
relation P462
type Q1075
['Q7169', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?t WHERE { resource:Q29468 property:P462 ?t . ?t rdf:type ontology:Q1075 }
Republican Party
action filter_type
action find
entity Republican Party
relation color
type color
['conservatism', 'color', {'concept': 'color'}]
SELECT DISTINCT ?t WHERE { resource:Republican_Party property:color ?t . ?t rdf:type ontology:color }
[]
color
Q3142
SYSTEM
red
Q3142
(Q7169,P462,c(Q1075))
action filter_type
action find
entity Q29468
relation P462
type Q1075
[ANSWER] is associated with that political organization
['Q7169', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?t WHERE { resource:Q29468 property:P462 ?t . ?t rdf:type ontology:Q1075 }
red
Red is associated with that political organization
red
action filter_type
action find
entity Republican Party
relation color
type color
['conservatism', 'color', {'concept': 'color'}]
SELECT DISTINCT ?t WHERE { resource:Republican_Party property:color ?t . ?t rdf:type ontology:color }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q111788 Q29468
P462
Q1075
USER
Or Vampire Circus?
OR((Q29468,P462,c(Q1075)), (Q111788,P462,c(Q1075)))
action filter_type
action union
action find
entity Q29468
relation P462
action find
entity Q111788
relation P462
type Q1075
{'OR': [['Q29468', 'P462', {'concept': 'Q1075'}], ['Q111788', 'P462', {'concept': 'Q1075'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q29468 property:P462 ?k } UNION { resource:Q111788 property:P462 ?k } } . ?k rdf:type ontology:Q1075 }
Vampire Circus Republican Party
action filter_type
action union
action find
entity Republican Party
relation color
action find
entity Vampire Circus
relation color
type color
{'OR': [['Republican Party', 'color', {'concept': 'color'}], ['Vampire Circus', 'color', {'concept': 'color'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Republican_Party property:color ?k } UNION { resource:Vampire_Circus property:color ?k } } . ?k rdf:type ontology:color }
[]
color
Q22006653 Q3142
SYSTEM
color, red
Q22006653 Q3142
OR((Q29468,P462,c(Q1075)), (Q111788,P462,c(Q1075)))
action filter_type
action union
action find
entity Q29468
relation P462
action find
entity Q111788
relation P462
type Q1075
[ANSWERS]
{'OR': [['Q29468', 'P462', {'concept': 'Q1075'}], ['Q111788', 'P462', {'concept': 'Q1075'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q29468 property:P462 ?k } UNION { resource:Q111788 property:P462 ?k } } . ?k rdf:type ontology:Q1075 }
color red
color red
action filter_type
action union
action find
entity Republican Party
relation color
action find
entity Vampire Circus
relation color
type color
{'OR': [['Republican Party', 'color', {'concept': 'color'}], ['Vampire Circus', 'color', {'concept': 'color'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Republican_Party property:color ?k } UNION { resource:Vampire_Circus property:color ?k } } . ?k rdf:type ontology:color }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P462
Q1075 Q201658 Q838948
USER
Which colors are associated with lesser number of film genres and works of art than that color ?
(c(Q201658)|c(Q838948),P462,c(Q1075))
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:Q16878871 ?y } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q16878871 . ?x rdf:type ontology:Q838948 }
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'color', {'concept': 'color'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:color ?y } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:color . ?x rdf:type ontology:work_of_art }
[]
color film genre work of art
Comparative|More/Less|Mult. entity type|Clarification
Q3142
SYSTEM
Did you mean red ?
(c(Q201658)|c(Q838948),P462,c(Q1075))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:Q16878871 ?y } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q16878871 . ?x rdf:type ontology:Q838948 }
Did you mean red ?
red
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'color', {'concept': 'color'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:color ?y } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:color . ?x rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q201658)|c(Q838948),P462,c(Q1075))
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P462', {'concept': 'Q1075'}]
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'color', {'concept': 'color'}]
[]
Q821002 Q15964916 Q2085487
SYSTEM
Pan-Arab colors, Dutch national tinctures, buff
Q19361243 Q3705434 Q604079 Q4727574 Q15964916 Q180778 Q1406070 Q2832043 Q2085487 Q3276756 Q13451045 Q13358072 Q13357866 Q821002 Q900906 Q1088 Q1145422 Q23445
(c(Q201658)|c(Q838948),P462,c(Q1075))
[ANSWERS] are associated with lesser number of film genres and works of art than that color
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q16878871 ?y } UNION { ?x property:Q16878871 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q16878871 . ?x rdf:type ontology:Q838948 }
Antique pink denim mauve Alizarin crimson Dutch national tinctures cyan chestnut alabaster buff magenta brownish gray RAL 2002 RAL 6018 Pan-Arab colors bay blue gray black
Pan-Arab colors, Dutch national tinctures and buff are associated with lesser number of film genres and works of art than that color
Pan-Arab colors Dutch national tinctures buff
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'color', {'concept': 'color'}]
SELECT DISTINCT ?y WHERE { { { ?z property:color ?y } UNION { ?x property:color ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:color . ?x rdf:type ontology:work_of_art }
[]