Simple Question (Direct)
Simple Question
Q242159
P53
Q8436
USER
What dynasty does Princess Francisca of Brazil belong to ?
(Q242159,P53,c(Q8436))
action filter_type
action find
entity Q242159
relation P53
type Q8436
['Q242159', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?l WHERE { resource:Q242159 property:P53 ?l . ?l rdf:type ontology:Q8436 }
Princess Francisca of Brazil
action filter_type
action find
entity Princess Francisca of Brazil
relation noble family
type family
['Princess Francisca of Brazil', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?l WHERE { resource:Princess_Francisca_of_Brazil property:noble_family ?l . ?l rdf:type ontology:family }
[]
family
Q1347533
SYSTEM
House of Orléans
Q1347533
(Q242159,P53,c(Q8436))
action filter_type
action find
entity Q242159
relation P53
type Q8436
Princess Francisca of Brazil belongs to [ANSWER]
['Q242159', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?l WHERE { resource:Q242159 property:P53 ?l . ?l rdf:type ontology:Q8436 }
House of Orléans
Princess Francisca of Brazil belongs to House of Orléans
House of Orléans
action filter_type
action find
entity Princess Francisca of Brazil
relation noble family
type family
['Princess Francisca of Brazil', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?l WHERE { resource:Princess_Francisca_of_Brazil property:noble_family ?l . ?l rdf:type ontology:family }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P112
Q502895 Q8436
USER
How many families were established by around the same number of people as that family ?
(c(Q8436),P112,c(Q502895))
action count
action approx
action find_tuple_counts
relation P112
type Q8436
type Q502895
action count
action filter_type
action find
entity Q1347533
relation P112
type Q8436
[{'concept': 'Q8436'}, 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?e ) WHERE { ?i property:P112 ?y . ?y rdf:type ontology:Q502895 . ?i rdf:type ontology:Q8436 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q1347533 property:P112 ?f . ?f rdf:type ontology:Q8436 } } . FILTER ( ?e = ?g ) }
action count
action approx
action find_tuple_counts
relation founder
type family
type common name
action count
action filter_type
action find
entity House of Orléans
relation founder
type family
[{'concept': 'family'}, 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?e ) WHERE { ?i property:founder ?y . ?y rdf:type ontology:common_name . ?i rdf:type ontology:family } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:House_of_Orléans property:founder ?f . ?f rdf:type ontology:family } } . FILTER ( ?e = ?g ) }
[]
common name family
SYSTEM
5
Q4370907 Q668150 Q210398 Q1590545 Q698981
(c(Q8436),P112,c(Q502895))
action count
action approx
action find_tuple_counts
relation P112
type Q8436
type Q502895
action count
action filter_type
action find
entity Q1347533
relation P112
type Q8436
[ANSWER]
[{'concept': 'Q8436'}, 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?e ) WHERE { ?i property:P112 ?y . ?y rdf:type ontology:Q502895 . ?i rdf:type ontology:Q8436 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q1347533 property:P112 ?f . ?f rdf:type ontology:Q8436 } } . FILTER ( ?e = ?g ) }
Polubotok (nobility) House of Schwarzenberg Rurik dynasty House of Shishman House of Gorizia
5
action count
action approx
action find_tuple_counts
relation founder
type family
type common name
action count
action filter_type
action find
entity House of Orléans
relation founder
type family
[{'concept': 'family'}, 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?e ) WHERE { ?i property:founder ?y . ?y rdf:type ontology:common_name . ?i rdf:type ontology:family } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:House_of_Orléans property:founder ?f . ?f rdf:type ontology:family } } . FILTER ( ?e = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q242159
P7
Q502895
USER
Who are Princess Francisca of Brazil a sibling of ?
(Q242159,P7,c(Q502895))
action filter_type
action find
entity Q242159
relation P7
type Q502895
['Q242159', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q242159 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Princess Francisca of Brazil
action filter_type
action find
entity Princess Francisca of Brazil
relation brother
type common name
['Princess Francisca of Brazil', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Princess_Francisca_of_Brazil property:brother ?x . ?x rdf:type ontology:common_name }
[]
common name
Q156774 Q4765121 Q3856483
SYSTEM
Pedro II of Brazil, João Carlos, Prince of Beira, Miguel, Prince of Beira
Q156774 Q4765121 Q3856483
(Q242159,P7,c(Q502895))
action filter_type
action find
entity Q242159
relation P7
type Q502895
[ANSWERS]
['Q242159', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q242159 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Pedro II of Brazil João Carlos, Prince of Beira Miguel, Prince of Beira
Princess Francisca of Brazil a sibling of are King Pedro II of Brazil, João Carlos, Prince of Beira and Miguel, Prince of Beira
Pedro II of Brazil João Carlos, Prince of Beira Miguel, Prince of Beira
action filter_type
action find
entity Princess Francisca of Brazil
relation brother
type common name
['Princess Francisca of Brazil', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Princess_Francisca_of_Brazil property:brother ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q242159
P22
Q502895
USER
Who was the father of Princess Francisca of Brazil ?
(Q242159,P22,c(Q502895))
action filter_type
action find
entity Q242159
relation P22
type Q502895
['Q242159', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q242159 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Princess Francisca of Brazil
action filter_type
action find
entity Princess Francisca of Brazil
relation father
type common name
['Princess Francisca of Brazil', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Princess_Francisca_of_Brazil property:father ?o . ?o rdf:type ontology:common_name }
[]
common name
Q939
SYSTEM
Pedro I
Q939
(Q242159,P22,c(Q502895))
action filter_type
action find
entity Q242159
relation P22
type Q502895
The father of Princess Francisca of Brazil was King [ANSWER]
['Q242159', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q242159 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Pedro I
The father of Princess Francisca of Brazil was King Pedro I
Pedro I
action filter_type
action find
entity Princess Francisca of Brazil
relation father
type common name
['Princess Francisca of Brazil', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Princess_Francisca_of_Brazil property:father ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3103038
Q502895
USER
And also tell me about Georges Laugée?
(Q3103038,P22,c(Q502895))
action filter_type
action find
entity Q3103038
relation P22
type Q502895
['Q3103038', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q3103038 property:P22 ?i }
Georges Laugée
action filter_type
action find
entity Georges Laugée
relation father
type common name
['Georges Laugée', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Georges_Laugée property:father ?i }
[]
common name
Q327083
SYSTEM
Désiré François Laugée
Q327083
(Q3103038,P22,c(Q502895))
action filter_type
action find
entity Q3103038
relation P22
type Q502895
[ANSWER]
['Q3103038', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q3103038 property:P22 ?i }
Désiré François Laugée
Désiré François Laugée
action filter_type
action find
entity Georges Laugée
relation father
type common name
['Georges Laugée', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Georges_Laugée property:father ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q327083 Q90
P20
Q56061
USER
Is Paris the place of death of that person ?
(Q327083,P20,Q90)
action is_in
entity Q90
action find
entity Q327083
relation P20
['Q327083', 'P20', 'Q90']
ASK WHERE { resource:Q327083 property:P20 resource:Q90 }
Désiré François Laugée Paris
action is_in
entity Paris
action find
entity Désiré François Laugée
relation place of death
['Désiré François Laugée', 'place of death', 'Paris']
ASK WHERE { resource:Désiré_François_Laugée property:place_of_death resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q327083,P20,Q90)
action is_in
entity Q90
action find
entity Q327083
relation P20
[ANSWER]
['Q327083', 'P20', 'Q90']
ASK WHERE { resource:Q327083 property:P20 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity Désiré François Laugée
relation place of death
['Désiré François Laugée', 'place of death', 'Paris']
ASK WHERE { resource:Désiré_François_Laugée property:place_of_death resource:Paris }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q327083
P69
Q2668072
USER
Where was that person educated ?
action filter_type
action find
entity Q327083
relation P69
type Q2668072
SELECT DISTINCT ?y WHERE { resource:Q327083 property:P69 ?y . ?y rdf:type ontology:Q2668072 }
Désiré François Laugée
action filter_type
action find
entity Désiré François Laugée
relation educated at
type collection
SELECT DISTINCT ?y WHERE { resource:Désiré_François_Laugée property:educated_at ?y . ?y rdf:type ontology:collection }
[]
collection
Q273593
SYSTEM
École nationale supérieure des Beaux-Arts
Q273593
action filter_type
action find
entity Q327083
relation P69
type Q2668072
Educated that person was the [ANSWER]
SELECT DISTINCT ?y WHERE { resource:Q327083 property:P69 ?y . ?y rdf:type ontology:Q2668072 }
École nationale supérieure des Beaux-Arts
Educated that person was the École nationale supérieure des Beaux-Arts
École nationale supérieure des Beaux-Arts
action filter_type
action find
entity Désiré François Laugée
relation educated at
type collection
SELECT DISTINCT ?y WHERE { resource:Désiré_François_Laugée property:educated_at ?y . ?y rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q327083
P166
Q618779
USER
What was received by that person ?
(Q273593,P166,c(Q618779))
action filter_type
action find
entity Q327083
relation P166
type Q618779
['Q273593', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q618779 . resource:Q327083 property:P166 ?i }
Désiré François Laugée
action filter_type
action find
entity Désiré François Laugée
relation award received
type award
['École nationale supérieure des Beaux-Arts', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:award . resource:Désiré_François_Laugée property:award_received ?i }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q273593,P166,c(Q618779))
action filter_type
action find
entity Q327083
relation P166
type Q618779
Was [ANSWER] was received by that person
['Q273593', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q618779 . resource:Q327083 property:P166 ?i }
Knight of the Legion of Honour
Was Knight of the Legion of Honour was received by that person
Knight of the Legion of Honour
action filter_type
action find
entity Désiré François Laugée
relation award received
type award
['École nationale supérieure des Beaux-Arts', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:award . resource:Désiré_François_Laugée property:award_received ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q198 Q2668072 Q618779
USER
How many awards are a component of approximately 1 wars and collections ?
(c(Q618779),P361,c(Q198)|c(Q2668072))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q198
action find_tuple_counts
relation P361
type Q618779
type Q2668072
value 1
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q198'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?w WHERE { VALUES ( ?c ) { ( ontology:Q198 ) ( ontology:Q2668072 ) } . ?x rdf:type ?c } GROUP BY ?w } . FILTER ( ?s = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type award
type war
action find_tuple_counts
relation part of
type award
type collection
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'war'}, {'concept': 'collection'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?w WHERE { VALUES ( ?c ) { ( ontology:war ) ( ontology:collection ) } . ?x rdf:type ?c } GROUP BY ?w } . FILTER ( ?s = 1 ) }
[]
war collection award
SYSTEM
2
Q2547676 Q15271575
(c(Q618779),P361,c(Q198)|c(Q2668072))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q198
action find_tuple_counts
relation P361
type Q618779
type Q2668072
value 1
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q198'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?w WHERE { VALUES ( ?c ) { ( ontology:Q198 ) ( ontology:Q2668072 ) } . ?x rdf:type ?c } GROUP BY ?w } . FILTER ( ?s = 1 ) }
Croix de guerre 1939–1945 Sport Australia Hall of Fame
2
action count
action approx
action union
action find_tuple_counts
relation part of
type award
type war
action find_tuple_counts
relation part of
type award
type collection
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'war'}, {'concept': 'collection'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?w WHERE { VALUES ( ?c ) { ( ontology:war ) ( ontology:collection ) } . ?x rdf:type ?c } GROUP BY ?w } . FILTER ( ?s = 1 ) }
[]