Simple Question (Direct)
Simple Question
Q2090323
P25
Q502895
USER
Who was the mother of Prince Albert of Schaumburg-Lippe ?
(Q2090323,P25,c(Q502895))
action filter_type
action find
entity Q2090323
relation P25
type Q502895
['Q2090323', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q2090323 property:P25 ?l . ?l rdf:type ontology:Q502895 }
Prince Albert of Schaumburg-Lippe
action filter_type
action find
entity Prince Albert of Schaumburg-Lippe
relation mother
type common name
['Prince Albert of Schaumburg-Lippe', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Prince_Albert_of_Schaumburg-Lippe property:mother ?l . ?l rdf:type ontology:common_name }
[]
common name
Q2701545
SYSTEM
Princess Bathildis of Anhalt-Dessau
Q2701545
(Q2090323,P25,c(Q502895))
action filter_type
action find
entity Q2090323
relation P25
type Q502895
The mother of Prince Albert of Schaumburg-Lippe was born [ANSWER]
['Q2090323', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q2090323 property:P25 ?l . ?l rdf:type ontology:Q502895 }
Princess Bathildis of Anhalt-Dessau
The mother of Prince Albert of Schaumburg-Lippe was born Princess Bathildis of Anhalt-Dessau
Princess Bathildis of Anhalt-Dessau
action filter_type
action find
entity Prince Albert of Schaumburg-Lippe
relation mother
type common name
['Prince Albert of Schaumburg-Lippe', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Prince_Albert_of_Schaumburg-Lippe property:mother ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2090323
P26
Q502895
USER
Which person has Prince Albert of Schaumburg-Lippe as spouse ?
(c(Q502895),P26,Q2090323)
action filter_type
action find
entity Q2090323
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2090323']
SELECT DISTINCT ?d WHERE { resource:Q2090323 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Prince Albert of Schaumburg-Lippe
action filter_type
action find
entity Prince Albert of Schaumburg-Lippe
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Prince Albert of Schaumburg-Lippe']
SELECT DISTINCT ?d WHERE { resource:Prince_Albert_of_Schaumburg-Lippe property:spouse ?d . ?d rdf:type ontology:common_name }
[]
common name
Q2204793
SYSTEM
Duchess Elsa of Württemberg
Q2204793
(c(Q502895),P26,Q2090323)
action filter_type
action find
entity Q2090323
relation P26
type Q502895
[ANSWER] has Prince Albert of Schaumburg-Lippe as spouse
[{'concept': 'Q502895'}, 'P26', 'Q2090323']
SELECT DISTINCT ?d WHERE { resource:Q2090323 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Duchess Elsa of Württemberg
Duchess Elsa of Württemberg has Prince Albert of Schaumburg-Lippe as spouse
Duchess Elsa of Württemberg
action filter_type
action find
entity Prince Albert of Schaumburg-Lippe
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Prince Albert of Schaumburg-Lippe']
SELECT DISTINCT ?d WHERE { resource:Prince_Albert_of_Schaumburg-Lippe property:spouse ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2204793
P53
Q8436
USER
Which family did that person belong to ?
(Q2204793,P53,c(Q8436))
action filter_type
action find
entity Q2204793
relation P53
type Q8436
['Q2204793', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?t WHERE { resource:Q2204793 property:P53 ?t . ?t rdf:type ontology:Q8436 }
Duchess Elsa of Württemberg
action filter_type
action find
entity Duchess Elsa of Württemberg
relation noble family
type family
['Duchess Elsa of Württemberg', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?t WHERE { resource:Duchess_Elsa_of_Württemberg property:noble_family ?t . ?t rdf:type ontology:family }
[]
family
Q699788
SYSTEM
House of Württemberg
Q699788
(Q2204793,P53,c(Q8436))
action filter_type
action find
entity Q2204793
relation P53
type Q8436
That person belonged to [ANSWER]
['Q2204793', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?t WHERE { resource:Q2204793 property:P53 ?t . ?t rdf:type ontology:Q8436 }
House of Württemberg
That person belonged to House of Württemberg
House of Württemberg
action filter_type
action find
entity Duchess Elsa of Württemberg
relation noble family
type family
['Duchess Elsa of Württemberg', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?t WHERE { resource:Duchess_Elsa_of_Württemberg property:noble_family ?t . ?t rdf:type ontology:family }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q2204793
P26 P21
Q502895
USER
Which people are the life partner of Duchess Elsa of Württemberg and are a male ?
AND((c(Q502895),P26,Q2204793), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2204793
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q2204793'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P21 resource:Q6581097 . ?l property:P26 resource:Q2204793 . ?l rdf:type ontology:Q502895 }
male Duchess Elsa of Württemberg
action filter_type
action intersection
action find_reverse
entity Duchess Elsa of Württemberg
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Duchess Elsa of Württemberg'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:gender resource:male . ?l property:spouse resource:Duchess_Elsa_of_Württemberg . ?l rdf:type ontology:common_name }
[]
common name
Q2090323
SYSTEM
Prince Albert of Schaumburg-Lippe
Q2090323
AND((c(Q502895),P26,Q2204793), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2204793
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is the life partner of Duchess Elsa of Württemberg and is a male
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q2204793'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P21 resource:Q6581097 . ?l property:P26 resource:Q2204793 . ?l rdf:type ontology:Q502895 }
Prince Albert of Schaumburg-Lippe
Prince Albert of Schaumburg-Lippe is the life partner of Duchess Elsa of Württemberg and is a male
Prince Albert of Schaumburg-Lippe
action filter_type
action intersection
action find_reverse
entity Duchess Elsa of Württemberg
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Duchess Elsa of Württemberg'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:gender resource:male . ?l property:spouse resource:Duchess_Elsa_of_Württemberg . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P7
Q502895
USER
How many people had that person as brother ?
(c(Q502895),P7,Q2090323)
action count
action filter_type
action find_reverse
entity Q2090323
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2090323']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ontology:Q502895 . ?g property:P7 resource:Q2090323 }
action count
action filter_type
action find_reverse
entity Prince Albert of Schaumburg-Lippe
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Prince Albert of Schaumburg-Lippe']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ontology:common_name . ?g property:brother resource:Prince_Albert_of_Schaumburg-Lippe }
[]
common name
SYSTEM
5
Q67890 Q2704019 Q2109745 Q242867 Q2124963
(c(Q502895),P7,Q2090323)
action count
action filter_type
action find_reverse
entity Q2090323
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q2090323']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ontology:Q502895 . ?g property:P7 resource:Q2090323 }
Prince Frederick of Schaumburg-Lippe Prince Maximilian of Schaumburg-Lippe Princess Adelaide of Schaumburg-Lippe Charlotte of Schaumburg-Lippe Princess Bathildis of Schaumburg-Lippe
5
action count
action filter_type
action find_reverse
entity Prince Albert of Schaumburg-Lippe
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Prince Albert of Schaumburg-Lippe']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ontology:common_name . ?g property:brother resource:Prince_Albert_of_Schaumburg-Lippe }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do atmost 636 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 636
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?a <= 636 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 636
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?a <= 636 ) }
[]
musical instrument common name
SYSTEM
58
Q80284 Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 636
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?a <= 636 ) }
viola lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
58
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 636
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?a <= 636 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q699788
P112
Q502895
USER
Who founded House of Württemberg ?
(Q699788,P112,c(Q502895))
action filter_type
action find
entity Q699788
relation P112
type Q502895
['Q699788', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q699788 property:P112 ?p }
House of Württemberg
action filter_type
action find
entity House of Württemberg
relation founder
type common name
['House of Württemberg', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:House_of_Württemberg property:founder ?p }
[]
common name
Q280086
SYSTEM
Conrad I, Count of Württemberg
Q280086
(Q699788,P112,c(Q502895))
action filter_type
action find
entity Q699788
relation P112
type Q502895
[ANSWER] founded House of Württemberg
['Q699788', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q699788 property:P112 ?p }
Conrad I, Count of Württemberg
Conrad I, Count of Württemberg founded House of Württemberg
Conrad I, Count of Württemberg
action filter_type
action find
entity House of Württemberg
relation founder
type common name
['House of Württemberg', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:House_of_Württemberg property:founder ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q699788
P361
Q8436
USER
What is a component of House of Württemberg ?
(c(Q8436),P361,Q699788)
action filter_type
action find_reverse
entity Q699788
relation P361
type Q8436
[{'concept': 'Q8436'}, 'P361', 'Q699788']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q699788 . ?z rdf:type ontology:Q8436 }
House of Württemberg
action filter_type
action find_reverse
entity House of Württemberg
relation part of
type family
[{'concept': 'family'}, 'part of', 'House of Württemberg']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:House_of_Württemberg . ?z rdf:type ontology:family }
[]
family
Q2106243
SYSTEM
House of Urach
Q2106243
(c(Q8436),P361,Q699788)
action filter_type
action find_reverse
entity Q699788
relation P361
type Q8436
A component of House of Württemberg is the [ANSWER]
[{'concept': 'Q8436'}, 'P361', 'Q699788']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q699788 . ?z rdf:type ontology:Q8436 }
House of Urach
A component of House of Württemberg is the House of Urach
House of Urach
action filter_type
action find_reverse
entity House of Württemberg
relation part of
type family
[{'concept': 'family'}, 'part of', 'House of Württemberg']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:House_of_Württemberg . ?z rdf:type ontology:family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q280086
P22
Q502895
USER
Which person has Conrad I, Count of Württemberg as a parent ?
(c(Q502895),P22,Q280086)
action filter_type
action find_reverse
entity Q280086
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q280086']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q280086 . ?y rdf:type ontology:Q502895 }
Conrad I, Count of Württemberg
action filter_type
action find_reverse
entity Conrad I, Count of Württemberg
relation father
type common name
[{'concept': 'common name'}, 'father', 'Conrad I, Count of Württemberg']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Conrad_I,_Count_of_Württemberg . ?y rdf:type ontology:common_name }
[]
common name
Q3547972
SYSTEM
Ulrich de Wurtemberg
Q3547972
(c(Q502895),P22,Q280086)
action filter_type
action find_reverse
entity Q280086
relation P22
type Q502895
[ANSWER] has Conrad I, Count of Württemberg as a parent
[{'concept': 'Q502895'}, 'P22', 'Q280086']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q280086 . ?y rdf:type ontology:Q502895 }
Ulrich de Wurtemberg
Ulrich de Wurtemberg has Conrad I, Count of Württemberg as a parent
Ulrich de Wurtemberg
action filter_type
action find_reverse
entity Conrad I, Count of Württemberg
relation father
type common name
[{'concept': 'common name'}, 'father', 'Conrad I, Count of Württemberg']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Conrad_I,_Count_of_Württemberg . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3547972
P40
Q502895
USER
Who has that one as an offspring ?
(c(Q502895),P40,Q3547972)
action filter_type
action find_reverse
entity Q3547972
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3547972']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q3547972 . ?r rdf:type ontology:Q502895 }
Ulrich de Wurtemberg
action filter_type
action find_reverse
entity Ulrich de Wurtemberg
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ulrich de Wurtemberg']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Ulrich_de_Wurtemberg . ?r rdf:type ontology:common_name }
[]
common name
Q280086
SYSTEM
Conrad I, Count of Württemberg
Q280086
(c(Q502895),P40,Q3547972)
action filter_type
action find_reverse
entity Q3547972
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q3547972']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q3547972 . ?r rdf:type ontology:Q502895 }
Conrad I, Count of Württemberg
Conrad I, Count of Württemberg has that one as an offspring
Conrad I, Count of Württemberg
action filter_type
action find_reverse
entity Ulrich de Wurtemberg
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ulrich de Wurtemberg']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Ulrich_de_Wurtemberg . ?r rdf:type ontology:common_name }
[]