Simple Question (Direct)
Simple Question
Q6228904
P25
Q502895
USER
Which person was the mother of Niclas Wahlgren ?
(Q6228904,P25,c(Q502895))
action filter_type
action find
entity Q6228904
relation P25
type Q502895
['Q6228904', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q6228904 property:P25 ?y . ?y rdf:type ontology:Q502895 }
Niclas Wahlgren
action filter_type
action find
entity Niclas Wahlgren
relation mother
type common name
['Niclas Wahlgren', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Niclas_Wahlgren property:mother ?y . ?y rdf:type ontology:common_name }
[]
common name
Q1761616
SYSTEM
Christina Schollin
Q1761616
(Q6228904,P25,c(Q502895))
action filter_type
action find
entity Q6228904
relation P25
type Q502895
[ANSWER] was the mother of Niclas Wahlgren
['Q6228904', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q6228904 property:P25 ?y . ?y rdf:type ontology:Q502895 }
Christina Schollin
Christina Schollin was the mother of Niclas Wahlgren
Christina Schollin
action filter_type
action find
entity Niclas Wahlgren
relation mother
type common name
['Niclas Wahlgren', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Niclas_Wahlgren property:mother ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6228904
P40
Q502895
USER
Which people have Niclas Wahlgren as an offspring ?
(c(Q502895),P40,Q6228904)
action filter_type
action find_reverse
entity Q6228904
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6228904']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q6228904 . ?s rdf:type ontology:Q502895 }
Niclas Wahlgren
action filter_type
action find_reverse
entity Niclas Wahlgren
relation child
type common name
[{'concept': 'common name'}, 'child', 'Niclas Wahlgren']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Niclas_Wahlgren . ?s rdf:type ontology:common_name }
[]
common name
Q6228856 Q1761616
SYSTEM
Hans Wahlgren, Christina Schollin
Q6228856 Q1761616
(c(Q502895),P40,Q6228904)
action filter_type
action find_reverse
entity Q6228904
relation P40
type Q502895
[ANSWERS] have Niclas Wahlgren as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q6228904']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q6228904 . ?s rdf:type ontology:Q502895 }
Hans Wahlgren Christina Schollin
Hans Wahlgren and Christina Schollin have Niclas Wahlgren as an offspring
Hans Wahlgren Christina Schollin
action filter_type
action find_reverse
entity Niclas Wahlgren
relation child
type common name
[{'concept': 'common name'}, 'child', 'Niclas Wahlgren']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Niclas_Wahlgren . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6228856
P26
Q502895
USER
Who is the spouse of Hans Wahlgren ?
(c(Q502895),P26,Q6228856)
action filter_type
action find
entity Q6228856
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q6228856']
SELECT DISTINCT ?e WHERE { resource:Q6228856 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Hans Wahlgren
action filter_type
action find
entity Hans Wahlgren
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hans Wahlgren']
SELECT DISTINCT ?e WHERE { resource:Hans_Wahlgren property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q1761616
SYSTEM
Christina Schollin
Q1761616
(c(Q502895),P26,Q6228856)
action filter_type
action find
entity Q6228856
relation P26
type Q502895
The spouse of Hans Wahlgren is Princess [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q6228856']
SELECT DISTINCT ?e WHERE { resource:Q6228856 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Christina Schollin
The spouse of Hans Wahlgren is Princess Christina Schollin
Christina Schollin
action filter_type
action find
entity Hans Wahlgren
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hans Wahlgren']
SELECT DISTINCT ?e WHERE { resource:Hans_Wahlgren property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1761616
P21
Q290
USER
Which sex does that person have ?
(Q1761616,P21,c(Q290))
action filter_type
action find
entity Q1761616
relation P21
type Q290
['Q1761616', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q1761616 property:P21 ?b . ?b rdf:type ontology:Q290 }
Christina Schollin
action filter_type
action find
entity Christina Schollin
relation gender
type sex
['Christina Schollin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Christina_Schollin property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1761616,P21,c(Q290))
action filter_type
action find
entity Q1761616
relation P21
type Q290
That person has a [ANSWER]
['Q1761616', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q1761616 property:P21 ?b . ?b rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Christina Schollin
relation gender
type sex
['Christina Schollin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Christina_Schollin property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581072
P101
Q336
USER
Who works in the domain of that sex ?
(c(Q336),P101,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P101
type Q336
[{'concept': 'Q336'}, 'P101', 'Q6581072']
SELECT DISTINCT ?f WHERE { ?f property:P101 resource:Q6581072 . ?f rdf:type ontology:Q336 }
female
action filter_type
action find_reverse
entity female
relation field of work
type science
[{'concept': 'science'}, 'field of work', 'female']
SELECT DISTINCT ?f WHERE { ?f property:field_of_work resource:female . ?f rdf:type ontology:science }
[]
science
Q35069
SYSTEM
women's studies
Q35069
(c(Q336),P101,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P101
type Q336
[ANSWER] works in the domain of that sex
[{'concept': 'Q336'}, 'P101', 'Q6581072']
SELECT DISTINCT ?f WHERE { ?f property:P101 resource:Q6581072 . ?f rdf:type ontology:Q336 }
women's studies
Women's studies works in the domain of that sex
women's studies
action filter_type
action find_reverse
entity female
relation field of work
type science
[{'concept': 'science'}, 'field of work', 'female']
SELECT DISTINCT ?f WHERE { ?f property:field_of_work resource:female . ?f rdf:type ontology:science }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q11032 Q4830453
USER
How many people are the chief executive officer of atleast 2 newspapers or business enterprises ?
(c(Q11032)|c(Q4830453),P169,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
action find_reverse_tuple_counts
relation P169
type Q502895
type Q4830453
value 2
[[{'concept': 'Q11032'}, {'concept': 'Q4830453'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?d WHERE { { ?l property:P169 ?d . ?d rdf:type ontology:Q502895 . ?l rdf:type ontology:Q11032 } UNION { ?l property:P169 ?d . ?d rdf:type ontology:Q502895 . ?l rdf:type ontology:Q4830453 } } GROUP BY ?d } . FILTER ( ?e >= 2 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
action find_reverse_tuple_counts
relation chief executive officer
type common name
type business enterprise
value 2
[[{'concept': 'newspaper'}, {'concept': 'business enterprise'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?d WHERE { { ?l property:chief_executive_officer ?d . ?d rdf:type ontology:common_name . ?l rdf:type ontology:newspaper } UNION { ?l property:chief_executive_officer ?d . ?d rdf:type ontology:common_name . ?l rdf:type ontology:business_enterprise } } GROUP BY ?d } . FILTER ( ?e >= 2 ) }
[]
common name newspaper business enterprise
SYSTEM
2
Q19803807 Q14927550
(c(Q11032)|c(Q4830453),P169,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
action find_reverse_tuple_counts
relation P169
type Q502895
type Q4830453
value 2
[ANSWER]
[[{'concept': 'Q11032'}, {'concept': 'Q4830453'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?d WHERE { { ?l property:P169 ?d . ?d rdf:type ontology:Q502895 . ?l rdf:type ontology:Q11032 } UNION { ?l property:P169 ?d . ?d rdf:type ontology:Q502895 . ?l rdf:type ontology:Q4830453 } } GROUP BY ?d } . FILTER ( ?e >= 2 ) }
Steven H. Gunby Michael Lynton
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
action find_reverse_tuple_counts
relation chief executive officer
type common name
type business enterprise
value 2
[[{'concept': 'newspaper'}, {'concept': 'business enterprise'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?d WHERE { { ?l property:chief_executive_officer ?d . ?d rdf:type ontology:common_name . ?l rdf:type ontology:newspaper } UNION { ?l property:chief_executive_officer ?d . ?d rdf:type ontology:common_name . ?l rdf:type ontology:business_enterprise } } GROUP BY ?d } . FILTER ( ?e >= 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q2342494 Q15416 Q502895
USER
How many people appear in around 2 collectables and television programs ?
(c(Q502895),P1441,c(Q2342494)|c(Q15416))
action count
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15416
value 2
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?m ) WHERE { { ?c property:P1441 ?e . ?c rdf:type ontology:Q502895 . ?e rdf:type ontology:Q2342494 } UNION { ?c property:P1441 ?e . ?c rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15416 } } GROUP BY ?c } . FILTER ( ?m = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television program
value 2
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television program'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?m ) WHERE { { ?c property:present_in_work ?e . ?c rdf:type ontology:common_name . ?e rdf:type ontology:collectable } UNION { ?c property:present_in_work ?e . ?c rdf:type ontology:common_name . ?e rdf:type ontology:television_program } } GROUP BY ?c } . FILTER ( ?m = 2 ) }
[]
collectable television program common name
SYSTEM
2
Q37085 Q32295
(c(Q502895),P1441,c(Q2342494)|c(Q15416))
action count
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15416
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?m ) WHERE { { ?c property:P1441 ?e . ?c rdf:type ontology:Q502895 . ?e rdf:type ontology:Q2342494 } UNION { ?c property:P1441 ?e . ?c rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15416 } } GROUP BY ?c } . FILTER ( ?m = 2 ) }
Solomon Michael J. Massimino
2
action count
action approx
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television program
value 2
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television program'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?m ) WHERE { { ?c property:present_in_work ?e . ?c rdf:type ontology:common_name . ?e rdf:type ontology:collectable } UNION { ?c property:present_in_work ?e . ?c rdf:type ontology:common_name . ?e rdf:type ontology:television_program } } GROUP BY ?c } . FILTER ( ?m = 2 ) }
[]