Simple Question (Direct)
Simple Question
Q2040479
P39
Q12737077
USER
Which occupations were a position held by Otto Schmidt ?
(Q2040479,P39,c(Q12737077))
action filter_type
action find
entity Q2040479
relation P39
type Q12737077
['Q2040479', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2040479 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Otto Schmidt
action filter_type
action find
entity Otto Schmidt
relation position held
type occupation
['Otto Schmidt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Otto_Schmidt property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q18627724 Q17854096
SYSTEM
Member of the Prussian House of Representatives, member of the Reichstag of the German Empire
Q18627724 Q17854096
(Q2040479,P39,c(Q12737077))
action filter_type
action find
entity Q2040479
relation P39
type Q12737077
[ANSWERS] were a position held by Otto Schmidt
['Q2040479', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2040479 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Member of the Prussian House of Representatives member of the Reichstag of the German Empire
Member of the Prussian House of Representatives and member of the Reichstag of the German Empire were a position held by Otto Schmidt
Member of the Prussian House of Representatives member of the Reichstag of the German Empire
action filter_type
action find
entity Otto Schmidt
relation position held
type occupation
['Otto Schmidt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Otto_Schmidt property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2040479
P40
Q502895
USER
Which person has Otto Schmidt as a child ?
(c(Q502895),P40,Q2040479)
action filter_type
action find_reverse
entity Q2040479
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2040479']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q2040479 . ?w rdf:type ontology:Q502895 }
Otto Schmidt
action filter_type
action find_reverse
entity Otto Schmidt
relation child
type common name
[{'concept': 'common name'}, 'child', 'Otto Schmidt']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Otto_Schmidt . ?w rdf:type ontology:common_name }
[]
common name
Q6283967
SYSTEM
Joseph Hermann Schmidt
Q6283967
(c(Q502895),P40,Q2040479)
action filter_type
action find_reverse
entity Q2040479
relation P40
type Q502895
[ANSWER] has Otto Schmidt as a child
[{'concept': 'Q502895'}, 'P40', 'Q2040479']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q2040479 . ?w rdf:type ontology:Q502895 }
Joseph Hermann Schmidt
Joseph Hermann Schmidt has Otto Schmidt as a child
Joseph Hermann Schmidt
action filter_type
action find_reverse
entity Otto Schmidt
relation child
type common name
[{'concept': 'common name'}, 'child', 'Otto Schmidt']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Otto_Schmidt . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6283967
P22
Q502895
USER
Which people have that one as a parent ?
(c(Q502895),P22,Q6283967)
action filter_type
action find_reverse
entity Q6283967
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q6283967']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P22 resource:Q6283967 }
Joseph Hermann Schmidt
action filter_type
action find_reverse
entity Joseph Hermann Schmidt
relation father
type common name
[{'concept': 'common name'}, 'father', 'Joseph Hermann Schmidt']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:father resource:Joseph_Hermann_Schmidt }
[]
common name
Q1732859 Q2040479
SYSTEM
Karl Schmidt, Otto Schmidt
Q1732859 Q2040479
(c(Q502895),P22,Q6283967)
action filter_type
action find_reverse
entity Q6283967
relation P22
type Q502895
[ANSWERS] have that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q6283967']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P22 resource:Q6283967 }
Karl Schmidt Otto Schmidt
Karl Schmidt and Otto Schmidt have that one as a parent
Karl Schmidt Otto Schmidt
action filter_type
action find_reverse
entity Joseph Hermann Schmidt
relation father
type common name
[{'concept': 'common name'}, 'father', 'Joseph Hermann Schmidt']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:father resource:Joseph_Hermann_Schmidt }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2040479
P140
Q879146
USER
Which Christian denomination is the religion of Otto Schmidt ?
(Q2040479,P140,c(Q879146))
action filter_type
action find
entity Q2040479
relation P140
type Q879146
['Q2040479', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q879146 . resource:Q2040479 property:P140 ?g }
Otto Schmidt
action filter_type
action find
entity Otto Schmidt
relation religion
type Christian denomination
['Otto Schmidt', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Christian_denomination . resource:Otto_Schmidt property:religion ?g }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q2040479,P140,c(Q879146))
action filter_type
action find
entity Q2040479
relation P140
type Q879146
U [ANSWER] is the religion of Otto Schmidt
['Q2040479', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q879146 . resource:Q2040479 property:P140 ?g }
Roman Catholic Church
U Roman Catholic Church is the religion of Otto Schmidt
Roman Catholic Church
action filter_type
action find
entity Otto Schmidt
relation religion
type Christian denomination
['Otto Schmidt', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Christian_denomination . resource:Otto_Schmidt property:religion ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2040479
P7
Q502895
USER
Which person had that one as brother ?
(c(Q502895),P7,Q9592)
action filter_type
action find
entity Q2040479
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q9592']
SELECT DISTINCT ?j WHERE { resource:Q2040479 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Otto Schmidt
action filter_type
action find
entity Otto Schmidt
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Roman Catholic Church']
SELECT DISTINCT ?j WHERE { resource:Otto_Schmidt property:brother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q1732859
SYSTEM
Karl Schmidt
Q1732859
(c(Q502895),P7,Q9592)
action filter_type
action find
entity Q2040479
relation P7
type Q502895
[ANSWER] had that one as brother
[{'concept': 'Q502895'}, 'P7', 'Q9592']
SELECT DISTINCT ?j WHERE { resource:Q2040479 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Karl Schmidt
Karl Schmidt had that one as brother
Karl Schmidt
action filter_type
action find
entity Otto Schmidt
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Roman Catholic Church']
SELECT DISTINCT ?j WHERE { resource:Otto_Schmidt property:brother ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1732859
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q1732859,P27,c(Q15617994))
action filter_type
action find
entity Q1732859
relation P27
type Q15617994
['Q1732859', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1732859 property:P27 ?x }
Karl Schmidt
action filter_type
action find
entity Karl Schmidt
relation country of citizenship
type designation for an administrative territorial entity
['Karl Schmidt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Karl_Schmidt property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q155144
SYSTEM
Alsace-Lorraine
Q155144
(Q1732859,P27,c(Q15617994))
action filter_type
action find
entity Q1732859
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q1732859', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1732859 property:P27 ?x }
Alsace-Lorraine
That person belongs to the Alsace-Lorraine
Alsace-Lorraine
action filter_type
action find
entity Karl Schmidt
relation country of citizenship
type designation for an administrative territorial entity
['Karl Schmidt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Karl_Schmidt property:country_of_citizenship ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q386724 Q838948
USER
How many occupations are depicted in atleast 3 works and works of art ?
(c(Q386724)|c(Q838948),P180,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 3
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?p ) WHERE { { ?h property:P180 ?b . ?h rdf:type ontology:Q386724 . ?b rdf:type ontology:Q12737077 } UNION { ?h property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q838948 } } GROUP BY ?b } . FILTER ( ?p >= 3 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 3
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?p ) WHERE { { ?h property:depicts ?b . ?h rdf:type ontology:work . ?b rdf:type ontology:occupation } UNION { ?h property:depicts ?b . ?b rdf:type ontology:occupation . ?h rdf:type ontology:work_of_art } } GROUP BY ?b } . FILTER ( ?p >= 3 ) }
[]
occupation work work of art
SYSTEM
11
Q1250916 Q81710 Q47064 Q4991371 Q54128 Q2730732 Q5716684 Q838811 Q331432 Q639669 Q49757
(c(Q386724)|c(Q838948),P180,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 3
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?p ) WHERE { { ?h property:P180 ?b . ?h rdf:type ontology:Q386724 . ?b rdf:type ontology:Q12737077 } UNION { ?h property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q838948 } } GROUP BY ?b } . FILTER ( ?p >= 3 ) }
warrior shepherd military personnel soldier domestic worker equestrian dancer peasant fisherman musician poet
11
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 3
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?p ) WHERE { { ?h property:depicts ?b . ?h rdf:type ontology:work . ?b rdf:type ontology:occupation } UNION { ?h property:depicts ?b . ?b rdf:type ontology:occupation . ?h rdf:type ontology:work_of_art } } GROUP BY ?b } . FILTER ( ?p >= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155144
P138
Q34442
USER
Which roads have Alsace-Lorraine as their toponym ?
(c(Q34442),P138,Q155144)
action filter_type
action find_reverse
entity Q155144
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q155144']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q155144 . ?b rdf:type ontology:Q34442 }
Alsace-Lorraine
action filter_type
action find_reverse
entity Alsace-Lorraine
relation named after
type road
[{'concept': 'road'}, 'named after', 'Alsace-Lorraine']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:Alsace-Lorraine . ?b rdf:type ontology:road }
[]
road
Q3000940 Q3450453
SYSTEM
cour d'Alsace-Lorraine, rue d'Alsace-Lorraine
Q3000940 Q3450453
(c(Q34442),P138,Q155144)
action filter_type
action find_reverse
entity Q155144
relation P138
type Q34442
[ANSWERS] have Alsace-Lorraine as their toponym
[{'concept': 'Q34442'}, 'P138', 'Q155144']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q155144 . ?b rdf:type ontology:Q34442 }
cour d'Alsace-Lorraine rue d'Alsace-Lorraine
Cour d'Alsace-Lorraine and rue d'Alsace-Lorraine have Alsace-Lorraine as their toponym
cour d'Alsace-Lorraine rue d'Alsace-Lorraine
action filter_type
action find_reverse
entity Alsace-Lorraine
relation named after
type road
[{'concept': 'road'}, 'named after', 'Alsace-Lorraine']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:Alsace-Lorraine . ?b rdf:type ontology:road }
[]