Simple Question (Direct)
Simple Question
Q5544386
P21
Q290
USER
Which sex does George Scutaru possess ?
(Q5544386,P21,c(Q290))
action filter_type
action find
entity Q5544386
relation P21
type Q290
['Q5544386', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5544386 property:P21 ?r . ?r rdf:type ontology:Q290 }
George Scutaru
action filter_type
action find
entity George Scutaru
relation gender
type sex
['George Scutaru', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:George_Scutaru property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5544386,P21,c(Q290))
action filter_type
action find
entity Q5544386
relation P21
type Q290
George Scutaru possesses un [ANSWER]
['Q5544386', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5544386 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
George Scutaru possesses un male
male
action filter_type
action find
entity George Scutaru
relation gender
type sex
['George Scutaru', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:George_Scutaru property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5544386
P102
Q7210356
USER
Which party does George Scutaru belong to ?
(Q5544386,P102,c(Q7210356))
action filter_type
action find
entity Q5544386
relation P102
type Q7210356
['Q5544386', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q5544386 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
George Scutaru
action filter_type
action find
entity George Scutaru
relation member of political party
type political organization
['George Scutaru', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:George_Scutaru property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q686228
SYSTEM
National Liberal Party
Q686228
(Q5544386,P102,c(Q7210356))
action filter_type
action find
entity Q5544386
relation P102
type Q7210356
George Scutaru belongs to [ANSWER]
['Q5544386', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q5544386 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
National Liberal Party
George Scutaru belongs to National Liberal Party
National Liberal Party
action filter_type
action find
entity George Scutaru
relation member of political party
type political organization
['George Scutaru', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:George_Scutaru property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q216641
Q7210356
USER
And how about Franz Ludwig von Arenberg?
(Q216641,P102,c(Q7210356))
action filter_type
action find
entity Q216641
relation P102
type Q7210356
['Q216641', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q216641 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Franz Ludwig von Arenberg
action filter_type
action find
entity Franz Ludwig von Arenberg
relation member of political party
type political organization
['Franz Ludwig von Arenberg', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Franz_Ludwig_von_Arenberg property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q157537
SYSTEM
Centre Party
Q157537
(Q216641,P102,c(Q7210356))
action filter_type
action find
entity Q216641
relation P102
type Q7210356
[ANSWER]
['Q216641', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q216641 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Centre Party
Centre Party
action filter_type
action find
entity Franz Ludwig von Arenberg
relation member of political party
type political organization
['Franz Ludwig von Arenberg', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Franz_Ludwig_von_Arenberg property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q686228
P361
Q7210356
USER
Which political organization is a component of National Liberal Party ?
(c(Q7210356),P361,Q686228)
action filter_type
action find_reverse
entity Q686228
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', 'Q686228']
SELECT DISTINCT ?p WHERE { ?p property:P361 resource:Q686228 . ?p rdf:type ontology:Q7210356 }
National Liberal Party
action filter_type
action find_reverse
entity National Liberal Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'National Liberal Party']
SELECT DISTINCT ?p WHERE { ?p property:part_of resource:National_Liberal_Party . ?p rdf:type ontology:political_organization }
[]
political organization
Q852402
SYSTEM
Democratic Liberal Party
Q852402
(c(Q7210356),P361,Q686228)
action filter_type
action find_reverse
entity Q686228
relation P361
type Q7210356
Party [ANSWER] is a component of National Liberal Party
[{'concept': 'Q7210356'}, 'P361', 'Q686228']
SELECT DISTINCT ?p WHERE { ?p property:P361 resource:Q686228 . ?p rdf:type ontology:Q7210356 }
Democratic Liberal Party
Party Democratic Liberal Party is a component of National Liberal Party
Democratic Liberal Party
action filter_type
action find_reverse
entity National Liberal Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'National Liberal Party']
SELECT DISTINCT ?p WHERE { ?p property:part_of resource:National_Liberal_Party . ?p rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q852402
P463
Q7278
USER
Which political party had that political organization as its member ?
(Q852402,P463,c(Q7278))
action filter_type
action find
entity Q852402
relation P463
type Q7278
['Q852402', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?o WHERE { resource:Q852402 property:P463 ?o . ?o rdf:type ontology:Q7278 }
Democratic Liberal Party
action filter_type
action find
entity Democratic Liberal Party
relation member of
type political party
['Democratic Liberal Party', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?o WHERE { resource:Democratic_Liberal_Party property:member_of ?o . ?o rdf:type ontology:political_party }
[]
political party
Q208242
SYSTEM
European People's Party
Q208242
(Q852402,P463,c(Q7278))
action filter_type
action find
entity Q852402
relation P463
type Q7278
[ANSWER] had that political organization as its member
['Q852402', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?o WHERE { resource:Q852402 property:P463 ?o . ?o rdf:type ontology:Q7278 }
European People's Party
European People's Party had that political organization as its member
European People's Party
action filter_type
action find
entity Democratic Liberal Party
relation member of
type political party
['Democratic Liberal Party', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?o WHERE { resource:Democratic_Liberal_Party property:member_of ?o . ?o rdf:type ontology:political_party }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q208242 Q705311 Q696028
P488
Q502895
USER
Does that political party have Prince Georgy Konstantinovich of Russia and Joseph Daul as its chairperson ?
(Q208242,P488,Q705311) (Q208242,P488,Q696028)
action is_in
entity Q208242
action intersection
action find_reverse
entity Q705311
relation P488
action find_reverse
entity Q696028
relation P488
['Q208242', 'P488', 'Q705311'] ['Q208242', 'P488', 'Q696028']
ASK WHERE { resource:Q208242 property:P488 resource:Q705311 . resource:Q208242 property:P488 resource:Q696028 }
European People's Party Prince Georgy Konstantinovich of Russia Joseph Daul
action is_in
entity European People's Party
action intersection
action find_reverse
entity Prince Georgy Konstantinovich of Russia
relation chairperson
action find_reverse
entity Joseph Daul
relation chairperson
["European People's Party", 'chairperson', 'Prince Georgy Konstantinovich of Russia'] ["European People's Party", 'chairperson', 'Joseph Daul']
ASK WHERE { resource:European_People's_Party property:chairperson resource:Prince_Georgy_Konstantinovich_of_Russia . resource:European_People's_Party property:chairperson resource:Joseph_Daul }
[]
common name
SYSTEM
NO and YES respectively
(Q208242,P488,Q705311) (Q208242,P488,Q696028)
action is_in
entity Q208242
action intersection
action find_reverse
entity Q705311
relation P488
action find_reverse
entity Q696028
relation P488
[ANSWER]
['Q208242', 'P488', 'Q705311'] ['Q208242', 'P488', 'Q696028']
ASK WHERE { resource:Q208242 property:P488 resource:Q705311 . resource:Q208242 property:P488 resource:Q696028 }
NO and YES respectively
action is_in
entity European People's Party
action intersection
action find_reverse
entity Prince Georgy Konstantinovich of Russia
relation chairperson
action find_reverse
entity Joseph Daul
relation chairperson
["European People's Party", 'chairperson', 'Prince Georgy Konstantinovich of Russia'] ["European People's Party", 'chairperson', 'Joseph Daul']
ASK WHERE { resource:European_People's_Party property:chairperson resource:Prince_Georgy_Konstantinovich_of_Russia . resource:European_People's_Party property:chairperson resource:Joseph_Daul }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q208242
P1142
Q1047113
USER
Which special field does that political party believe in ?
action filter_type
action find
entity Q208242
relation P1142
type Q1047113
SELECT DISTINCT ?g WHERE { resource:Q208242 property:P1142 ?g . ?g rdf:type ontology:Q1047113 }
European People's Party
action filter_type
action find
entity European People's Party
relation political ideology
type special field
SELECT DISTINCT ?g WHERE { resource:European_People's_Party property:political_ideology ?g . ?g rdf:type ontology:special_field }
[]
special field
Q7169
SYSTEM
conservatism
Q7169
action filter_type
action find
entity Q208242
relation P1142
type Q1047113
That political party believes in [ANSWER]
SELECT DISTINCT ?g WHERE { resource:Q208242 property:P1142 ?g . ?g rdf:type ontology:Q1047113 }
conservatism
That political party believes in conservatism
conservatism
action filter_type
action find
entity European People's Party
relation political ideology
type special field
SELECT DISTINCT ?g WHERE { resource:European_People's_Party property:political_ideology ?g . ?g rdf:type ontology:special_field }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q2868020 Q208242
P1142
Q1047113
USER
And also Progressive Conservative Association of Nova Scotia
AND((Q208242,P1142,c(Q1047113)), (Q2868020,P1142,c(Q1047113)))
action filter_type
action intersection
action find
entity Q208242
relation P1142
action find
entity Q2868020
relation P1142
type Q1047113
{'AND': [['Q208242', 'P1142', {'concept': 'Q1047113'}], ['Q2868020', 'P1142', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?v WHERE { resource:Q2868020 property:P1142 ?v . resource:Q208242 property:P1142 ?v . ?v rdf:type ontology:Q1047113 }
Progressive Conservative Association of Nova Scotia European People's Party
action filter_type
action intersection
action find
entity European People's Party
relation political ideology
action find
entity Progressive Conservative Association of Nova Scotia
relation political ideology
type special field
{'AND': [["European People's Party", 'political ideology', {'concept': 'special field'}], ['Progressive Conservative Association of Nova Scotia', 'political ideology', {'concept': 'special field'}]]}
SELECT DISTINCT ?v WHERE { resource:Progressive_Conservative_Association_of_Nova_Scotia property:political_ideology ?v . resource:European_People's_Party property:political_ideology ?v . ?v rdf:type ontology:special_field }
[]
special field
Q7169
SYSTEM
conservatism
Q7169
AND((Q208242,P1142,c(Q1047113)), (Q2868020,P1142,c(Q1047113)))
action filter_type
action intersection
action find
entity Q208242
relation P1142
action find
entity Q2868020
relation P1142
type Q1047113
[ANSWER]
{'AND': [['Q208242', 'P1142', {'concept': 'Q1047113'}], ['Q2868020', 'P1142', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?v WHERE { resource:Q2868020 property:P1142 ?v . resource:Q208242 property:P1142 ?v . ?v rdf:type ontology:Q1047113 }
conservatism
conservatism
action filter_type
action intersection
action find
entity European People's Party
relation political ideology
action find
entity Progressive Conservative Association of Nova Scotia
relation political ideology
type special field
{'AND': [["European People's Party", 'political ideology', {'concept': 'special field'}], ['Progressive Conservative Association of Nova Scotia', 'political ideology', {'concept': 'special field'}]]}
SELECT DISTINCT ?v WHERE { resource:Progressive_Conservative_Association_of_Nova_Scotia property:political_ideology ?v . resource:European_People's_Party property:political_ideology ?v . ?v rdf:type ontology:special_field }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q11862829 Q1047113
USER
Which academic disciplines are min number of special fields a part of ?
(c(Q1047113),P361,Q26336)
action argmin
action find_reverse_tuple_counts
relation P361
type Q11862829
type Q1047113
[{'concept': 'Q1047113'}, 'P361', 'Q26336']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:P361 ?g . ?g rdf:type ontology:Q11862829 . ?k rdf:type ontology:Q1047113 } GROUP BY ?g } . FILTER ( ?n = ?z ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P361 ?c . ?c rdf:type ontology:Q11862829 . ?r rdf:type ontology:Q1047113 } GROUP BY ?c } } }
action argmin
action find_reverse_tuple_counts
relation part of
type academic discipline
type special field
[{'concept': 'special field'}, 'part of', 'electrostatics']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:part_of ?g . ?g rdf:type ontology:academic_discipline . ?k rdf:type ontology:special_field } GROUP BY ?g } . FILTER ( ?n = ?z ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:part_of ?c . ?c rdf:type ontology:academic_discipline . ?r rdf:type ontology:special_field } GROUP BY ?c } } }
[]
academic discipline special field
Q944 Q318668 Q2539
SYSTEM
quantum mechanics, zooarchaeology, machine learning
Q839006 Q318668 Q1516257 Q18334 Q23011509 Q2539 Q212803 Q2532901 Q12479 Q1855669 Q12818349 Q1636734 Q2878974 Q200802 Q209295 Q35277 Q7595767 Q1430062 Q42989 Q727659 Q579978 Q9471 Q2166096 Q27890 Q117801 Q11473 Q81197 Q1144457 Q7433710 Q190549 Q14620 Q1998626 Q187097 Q121416 Q180969 Q150008 Q636066 Q944 Q59115 Q76592 Q8087 Q376022 Q9357062 Q56003 Q82571 Q3042715 Q1166618 Q23407 Q1122491 Q9465 Q82622 Q3968 Q874429 Q4785356 Q12482 Q259209 Q1381511 Q12831143 Q26336
(c(Q1047113),P361,Q26336)
action argmin
action find_reverse_tuple_counts
relation P361
type Q11862829
type Q1047113
[ANSWERS] are min number of special fields a part of
[{'concept': 'Q1047113'}, 'P361', 'Q26336']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:P361 ?g . ?g rdf:type ontology:Q11862829 . ?k rdf:type ontology:Q1047113 } GROUP BY ?g } . FILTER ( ?n = ?z ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P361 ?c . ?c rdf:type ontology:Q11862829 . ?r rdf:type ontology:Q1047113 } GROUP BY ?c } } }
urban archaeology zooarchaeology vocal pedagogy particle physics oriental archaeology machine learning algebraic topology environmental archaeology number theory invariant theory Islamic theology universal algebra theoretical computer science vector calculus philosophy of religion metaphysics Stable homotopy theory cryptology topology commutative algebra homological algebra epistemology theoretical philosophy anthropology of religion computational science thermodynamics nuclear physics quantum physics science of photography functional analysis optics Demographics of Poland economic geography discrete mathematics algebraic geometry integral calculus experimental archaeology quantum mechanics philosophy of science combinatorics geometry Indian philosophy homotopy theory meta-ethics linear algebra descriptive botany mathematical logic philosophy of mind computer mathematics ethics punctuation algebra group theory archaeobiology set theory industrial archaeology settlement geography human geography electrostatics
Quantum mechanics, zooarchaeology and machine learning are min number of special fields a part of
quantum mechanics zooarchaeology machine learning
action argmin
action find_reverse_tuple_counts
relation part of
type academic discipline
type special field
[{'concept': 'special field'}, 'part of', 'electrostatics']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:part_of ?g . ?g rdf:type ontology:academic_discipline . ?k rdf:type ontology:special_field } GROUP BY ?g } . FILTER ( ?n = ?z ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?z ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:part_of ?c . ?c rdf:type ontology:academic_discipline . ?r rdf:type ontology:special_field } GROUP BY ?c } } }
[]