Simple Question (Direct)
Simple Question
Q67009
P1038
Q502895
USER
Who is a relative of E. O. Plauen ?
(Q67009,P1038,c(Q502895))
action filter_type
action find
entity Q67009
relation P1038
type Q502895
['Q67009', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q67009 property:P1038 ?k . ?k rdf:type ontology:Q502895 }
E. O. Plauen
action filter_type
action find
entity E. O. Plauen
relation relative
type common name
['E. O. Plauen', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:E._O._Plauen property:relative ?k . ?k rdf:type ontology:common_name }
[]
common name
Q878161
SYSTEM
Carl Ludwig Noah Bantzer
Q878161
(Q67009,P1038,c(Q502895))
action filter_type
action find
entity Q67009
relation P1038
type Q502895
A relative of E. O. is [ANSWER]
['Q67009', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q67009 property:P1038 ?k . ?k rdf:type ontology:Q502895 }
Carl Ludwig Noah Bantzer
A relative of E. O. is Carl Ludwig Noah Bantzer
Carl Ludwig Noah Bantzer
action filter_type
action find
entity E. O. Plauen
relation relative
type common name
['E. O. Plauen', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:E._O._Plauen property:relative ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q67009
P21
Q290
USER
Which sex does E. O. Plauen possess ?
(Q67009,P21,c(Q290))
action filter_type
action find
entity Q67009
relation P21
type Q290
['Q67009', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q67009 property:P21 ?e . ?e rdf:type ontology:Q290 }
E. O. Plauen
action filter_type
action find
entity E. O. Plauen
relation gender
type sex
['E. O. Plauen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:E._O._Plauen property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q67009,P21,c(Q290))
action filter_type
action find
entity Q67009
relation P21
type Q290
[ANSWER] does E. O. Plauen possess
['Q67009', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q67009 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Male does E. O. Plauen possess
male
action filter_type
action find
entity E. O. Plauen
relation gender
type sex
['E. O. Plauen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:E._O._Plauen property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3299909
Q290
USER
And also tell me about Matthieu Ligoule?
(Q3299909,P21,c(Q290))
action filter_type
action find
entity Q3299909
relation P21
type Q290
['Q3299909', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3299909 property:P21 ?s . ?s rdf:type ontology:Q290 }
Matthieu Ligoule
action filter_type
action find
entity Matthieu Ligoule
relation gender
type sex
['Matthieu Ligoule', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Matthieu_Ligoule property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3299909,P21,c(Q290))
action filter_type
action find
entity Q3299909
relation P21
type Q290
[ANSWER]
['Q3299909', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3299909 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Matthieu Ligoule
relation gender
type sex
['Matthieu Ligoule', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Matthieu_Ligoule property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q878161
P1066
Q502895
USER
Which people are students of Carl Ludwig Noah Bantzer ?
(c(Q502895),P1066,Q878161)
action filter_type
action find_reverse
entity Q878161
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q878161']
SELECT DISTINCT ?d WHERE { ?d property:P1066 resource:Q878161 . ?d rdf:type ontology:Q502895 }
Carl Ludwig Noah Bantzer
action filter_type
action find_reverse
entity Carl Ludwig Noah Bantzer
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Carl Ludwig Noah Bantzer']
SELECT DISTINCT ?d WHERE { ?d property:student_of resource:Carl_Ludwig_Noah_Bantzer . ?d rdf:type ontology:common_name }
[]
common name
Q107909 Q155158 Q693095
SYSTEM
Josef Hegenbarth, Kurt Schwitters, Conrad Felixmüller
Q107909 Q155158 Q693095
(c(Q502895),P1066,Q878161)
action filter_type
action find_reverse
entity Q878161
relation P1066
type Q502895
[ANSWERS] are students of Carl Ludwig Noah Bantzer
[{'concept': 'Q502895'}, 'P1066', 'Q878161']
SELECT DISTINCT ?d WHERE { ?d property:P1066 resource:Q878161 . ?d rdf:type ontology:Q502895 }
Josef Hegenbarth Kurt Schwitters Conrad Felixmüller
Josef Hegenbarth, Kurt Schwitters and Conrad Felixmüller are students of Carl Ludwig Noah Bantzer
Josef Hegenbarth Kurt Schwitters Conrad Felixmüller
action filter_type
action find_reverse
entity Carl Ludwig Noah Bantzer
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Carl Ludwig Noah Bantzer']
SELECT DISTINCT ?d WHERE { ?d property:student_of resource:Carl_Ludwig_Noah_Bantzer . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q693095
P135
Q2198855
USER
Which cultural movement was that person associated with ?
(Q693095,P135,c(Q2198855))
action filter_type
action find
entity Q693095
relation P135
type Q2198855
['Q693095', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?c WHERE { resource:Q693095 property:P135 ?c . ?c rdf:type ontology:Q2198855 }
Conrad Felixmüller
action filter_type
action find
entity Conrad Felixmüller
relation movement
type cultural movement
['Conrad Felixmüller', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?c WHERE { resource:Conrad_Felixmüller property:movement ?c . ?c rdf:type ontology:cultural_movement }
[]
cultural movement
Clarification for simple ques.
Q693095
SYSTEM
Did you mean Conrad Felixmüller ?
Q107909 Q155158 Q693095
(Q107909,P135,c(Q2198855)) (Q155158,P135,c(Q2198855)) (Q693095,P135,c(Q2198855))
[ANSWER]
['Q107909', 'P135', {'concept': 'Q2198855'}] ['Q155158', 'P135', {'concept': 'Q2198855'}] ['Q693095', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?c WHERE { resource:Q693095 property:P135 ?c . ?c rdf:type ontology:Q2198855 }
Josef Hegenbarth Kurt Schwitters Conrad Felixmüller
Did you mean Conrad Felixmüller ?
Conrad Felixmüller
['Josef Hegenbarth', 'movement', {'concept': 'cultural movement'}] ['Kurt Schwitters', 'movement', {'concept': 'cultural movement'}] ['Conrad Felixmüller', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?c WHERE { resource:Conrad_Felixmüller property:movement ?c . ?c rdf:type ontology:cultural_movement }
[]
Simple Question (Coreferenced)
USER
Yes
(Q693095,P135,c(Q2198855))
['Q693095', 'P135', {'concept': 'Q2198855'}]
['Conrad Felixmüller', 'movement', {'concept': 'cultural movement'}]
[]
Q80113
SYSTEM
expressionism
Q80113
(Q693095,P135,c(Q2198855))
action filter_type
action find
entity Q693095
relation P135
type Q2198855
That person was associated with [ANSWER]
['Q693095', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?c WHERE { resource:Q693095 property:P135 ?c . ?c rdf:type ontology:Q2198855 }
expressionism
That person was associated with expressionism
expressionism
action filter_type
action find
entity Conrad Felixmüller
relation movement
type cultural movement
['Conrad Felixmüller', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?c WHERE { resource:Conrad_Felixmüller property:movement ?c . ?c rdf:type ontology:cultural_movement }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P737
Q2198855 Q502895 Q2198855
USER
Which cultural movements were influenced by min number of cultural movements or people ?
(c(Q2198855),P737,c(Q2198855)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P737
type Q2198855
type Q2198855
action find_tuple_counts
relation P737
type Q2198855
type Q502895
[{'concept': 'Q2198855'}, 'P737', [{'concept': 'Q2198855'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?e ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?t ) WHERE { { ?y property:P737 ?z . ?y rdf:type ontology:Q2198855 . ?z rdf:type ontology:Q502895 } UNION { ?y property:P737 ?z . ?y rdf:type ontology:Q2198855 . ?z rdf:type ontology:Q2198855 } } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?r ) WHERE { { ?g property:P737 ?m . ?g rdf:type ontology:Q2198855 . ?m rdf:type ontology:Q2198855 } UNION { ?g property:P737 ?m . ?g rdf:type ontology:Q2198855 . ?m rdf:type ontology:Q502895 } } GROUP BY ?g } . FILTER ( ?r = ?e ) }
action argmin
action union
action find_tuple_counts
relation influenced by
type cultural movement
type cultural movement
action find_tuple_counts
relation influenced by
type cultural movement
type common name
[{'concept': 'cultural movement'}, 'influenced by', [{'concept': 'cultural movement'}, {'concept': 'common name'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?e ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?t ) WHERE { { ?y property:influenced_by ?z . ?y rdf:type ontology:cultural_movement . ?z rdf:type ontology:common_name } UNION { ?y property:influenced_by ?z . ?y rdf:type ontology:cultural_movement . ?z rdf:type ontology:cultural_movement } } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?r ) WHERE { { ?g property:influenced_by ?m . ?g rdf:type ontology:cultural_movement . ?m rdf:type ontology:cultural_movement } UNION { ?g property:influenced_by ?m . ?g rdf:type ontology:cultural_movement . ?m rdf:type ontology:common_name } } GROUP BY ?g } . FILTER ( ?r = ?e ) }
[]
cultural movement common name cultural movement
Q1444581 Q1133329 Q4736321
SYSTEM
Superflat, Young Poland, altermodern
Q516316 Q1133329 Q4736321 Q252801 Q37853 Q842183 Q17089653 Q2828843 Q935292 Q2107376 Q1518145 Q2584646 Q80113 Q180902 Q612118 Q1444581 Q2763408 Q878864 Q1569950 Q276308
(c(Q2198855),P737,c(Q2198855)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P737
type Q2198855
type Q2198855
action find_tuple_counts
relation P737
type Q2198855
type Q502895
[ANSWERS] were influenced by min number of cultural movements or people
[{'concept': 'Q2198855'}, 'P737', [{'concept': 'Q2198855'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?e ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?t ) WHERE { { ?y property:P737 ?z . ?y rdf:type ontology:Q2198855 . ?z rdf:type ontology:Q502895 } UNION { ?y property:P737 ?z . ?y rdf:type ontology:Q2198855 . ?z rdf:type ontology:Q2198855 } } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?r ) WHERE { { ?g property:P737 ?m . ?g rdf:type ontology:Q2198855 . ?m rdf:type ontology:Q2198855 } UNION { ?g property:P737 ?m . ?g rdf:type ontology:Q2198855 . ?m rdf:type ontology:Q502895 } } GROUP BY ?g } . FILTER ( ?r = ?e ) }
Young British Artists Young Poland altermodern Kanō school Baroque Shin-hanga Feminist art movement Aizuri-e Neo-Dada Antwerp school Sōsaku-hanga fundamentele kunst expressionism socialist realism Insular art Superflat Baroque sculpture New Leipzig School Internet art Nouveau réalisme
Superflat, Young Poland and altermodern were influenced by min number of cultural movements or people
Superflat Young Poland altermodern
action argmin
action union
action find_tuple_counts
relation influenced by
type cultural movement
type cultural movement
action find_tuple_counts
relation influenced by
type cultural movement
type common name
[{'concept': 'cultural movement'}, 'influenced by', [{'concept': 'cultural movement'}, {'concept': 'common name'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?e ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?t ) WHERE { { ?y property:influenced_by ?z . ?y rdf:type ontology:cultural_movement . ?z rdf:type ontology:common_name } UNION { ?y property:influenced_by ?z . ?y rdf:type ontology:cultural_movement . ?z rdf:type ontology:cultural_movement } } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?r ) WHERE { { ?g property:influenced_by ?m . ?g rdf:type ontology:cultural_movement . ?m rdf:type ontology:cultural_movement } UNION { ?g property:influenced_by ?m . ?g rdf:type ontology:cultural_movement . ?m rdf:type ontology:common_name } } GROUP BY ?g } . FILTER ( ?r = ?e ) }
[]