Simple Question (Direct)
Simple Question
Q19324454
P449
Q1616075
USER
Where was Sete Vidas originally aired ?
(Q19324454,P449,c(Q1616075))
action filter_type
action find
entity Q19324454
relation P449
type Q1616075
['Q19324454', 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?i WHERE { resource:Q19324454 property:P449 ?i . ?i rdf:type ontology:Q1616075 }
Sete Vidas
action filter_type
action find
entity Sete Vidas
relation original network
type television station
['Sete Vidas', 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?i WHERE { resource:Sete_Vidas property:original_network ?i . ?i rdf:type ontology:television_station }
[]
television station
Q3587
SYSTEM
Rede Globo
Q3587
(Q19324454,P449,c(Q1616075))
action filter_type
action find
entity Q19324454
relation P449
type Q1616075
Sete Vidas was aired on [ANSWER] originally
['Q19324454', 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?i WHERE { resource:Q19324454 property:P449 ?i . ?i rdf:type ontology:Q1616075 }
Rede Globo
Sete Vidas was aired on Rede Globo originally
Rede Globo
action filter_type
action find
entity Sete Vidas
relation original network
type television station
['Sete Vidas', 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?i WHERE { resource:Sete_Vidas property:original_network ?i . ?i rdf:type ontology:television_station }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19324454
P161
Q502895
USER
Who starred in Sete Vidas ?
(Q19324454,P161,c(Q502895))
action filter_type
action find
entity Q19324454
relation P161
type Q502895
['Q19324454', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q19324454 property:P161 ?x . ?x rdf:type ontology:Q502895 }
Sete Vidas
action filter_type
action find
entity Sete Vidas
relation cast member
type common name
['Sete Vidas', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Sete_Vidas property:cast_member ?x . ?x rdf:type ontology:common_name }
[]
common name
Q9011336 Q6078223 Q3856396
SYSTEM
Jayme Matarazzo, Isabelle Drummond, Michel Noher
Q9011336 Q10268095 Q3856396 Q5320180 Q6078223 Q16940045
(Q19324454,P161,c(Q502895))
action filter_type
action find
entity Q19324454
relation P161
type Q502895
[ANSWERS] starred in Sete Vidas
['Q19324454', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q19324454 property:P161 ?x . ?x rdf:type ontology:Q502895 }
Jayme Matarazzo Domingos Montagner Michel Noher Débora Bloch Isabelle Drummond Ghilherme Lobo
Jayme Matarazzo, Isabelle Drummond and Michel Noher starred in Sete Vidas
Jayme Matarazzo Isabelle Drummond Michel Noher
action filter_type
action find
entity Sete Vidas
relation cast member
type common name
['Sete Vidas', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Sete_Vidas property:cast_member ?x . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6078223
P734
Q82799
USER
Which name is associated with that person ?
(Q6078223,P734,c(Q82799))
action filter_type
action find
entity Q6078223
relation P734
type Q82799
['Q6078223', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q82799 . resource:Q6078223 property:P734 ?d }
Isabelle Drummond
action filter_type
action find
entity Isabelle Drummond
relation family name
type name
['Isabelle Drummond', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:name . resource:Isabelle_Drummond property:family_name ?d }
[]
name
Clarification for simple ques.
Q6078223
SYSTEM
Did you mean Isabelle Drummond ?
Q9011336 Q6078223 Q3856396
(Q9011336,P734,c(Q82799)) (Q6078223,P734,c(Q82799)) (Q3856396,P734,c(Q82799))
[ANSWER]
['Q9011336', 'P734', {'concept': 'Q82799'}] ['Q6078223', 'P734', {'concept': 'Q82799'}] ['Q3856396', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q82799 . resource:Q6078223 property:P734 ?d }
Jayme Matarazzo Isabelle Drummond Michel Noher
Did you mean Isabelle Drummond ?
Isabelle Drummond
['Jayme Matarazzo', 'family name', {'concept': 'name'}] ['Isabelle Drummond', 'family name', {'concept': 'name'}] ['Michel Noher', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:name . resource:Isabelle_Drummond property:family_name ?d }
[]
Simple Question (Coreferenced)
USER
Yes
(Q6078223,P734,c(Q82799))
['Q6078223', 'P734', {'concept': 'Q82799'}]
['Isabelle Drummond', 'family name', {'concept': 'name'}]
[]
Q16869679
SYSTEM
Drummond
Q16869679
(Q6078223,P734,c(Q82799))
action filter_type
action find
entity Q6078223
relation P734
type Q82799
[ANSWER] is associated with that person
['Q6078223', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q82799 . resource:Q6078223 property:P734 ?d }
Drummond
Drummond is associated with that person
Drummond
action filter_type
action find
entity Isabelle Drummond
relation family name
type name
['Isabelle Drummond', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:name . resource:Isabelle_Drummond property:family_name ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P734
Q502895
USER
How many people have that name as surname ?
(c(Q502895),P734,Q16869679)
action count
action filter_type
action find_reverse
entity Q16869679
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q16869679']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P734 resource:Q16869679 . ?e rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Drummond
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Drummond']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:family_name resource:Drummond . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
38
Q5263450 Q493115 Q257563 Q2195756 Q8008009 Q5312456 Q29575 Q4678989 Q4678988 Q6230183 Q6230175 Q3157164 Q6270640 Q1828766 Q7173746 Q7363713 Q6132847 Q6132845 Q5246126 Q5335984 Q4908833 Q18205834 Q335120 Q6268631 Q6078223 Q26741 Q1379426 Q2602970 Q544953 Q143369 Q3181385 Q1343500 Q728602 Q379745 Q2589989 Q23662542 Q16209496 Q6142200
(c(Q502895),P734,Q16869679)
action count
action filter_type
action find_reverse
entity Q16869679
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q16869679']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P734 resource:Q16869679 . ?e rdf:type ontology:Q502895 }
Des Drummond Andre Drummond Margaret Drummond, Queen of Scotland Scott Drummond William Drummond, 4th Viscount Strathallan Dugald Drummond Victoria Drummond Adam Drummond, 17th Baron Strange Adam Drummond John Drummond John Drummond, 15th Baron Strange Jack Drummond Jon Drummond Ross Drummond Peter Drummond Ron Drummond James Drummond James Drummond Dean Drummond Eddie Drummond Bill Drummond Kurtis Drummond Eric Drummond, 16th Earl of Perth Johnston Drummond Isabelle Drummond Brian Drummond Ray Drummond Ryan Drummond William Drummond of Hawthornden Alice Drummond John Drummond Jervis Drummond Jon Drummond Carlos Drummond de Andrade James Drummond Jamie Drummond Harriet Drummond James Robert Drummond
38
action count
action filter_type
action find_reverse
entity Drummond
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Drummond']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:family_name resource:Drummond . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9011336
P19
Q56061
USER
Which administrative territory is the place of birth of Jayme Matarazzo ?
(Q9011336,P19,c(Q56061))
action filter_type
action find
entity Q9011336
relation P19
type Q56061
['Q9011336', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q9011336 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Jayme Matarazzo
action filter_type
action find
entity Jayme Matarazzo
relation place of birth
type administrative territorial entity
['Jayme Matarazzo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Jayme_Matarazzo property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q9011336,P19,c(Q56061))
action filter_type
action find
entity Q9011336
relation P19
type Q56061
[ANSWER] is the place of birth of Jayme Matarazzo
['Q9011336', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q9011336 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Rio de Janeiro
Rio de Janeiro is the place of birth of Jayme Matarazzo
Rio de Janeiro
action filter_type
action find
entity Jayme Matarazzo
relation place of birth
type administrative territorial entity
['Jayme Matarazzo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Jayme_Matarazzo property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9011336
P22
Q502895
USER
Who was the father of Jayme Matarazzo ?
(Q9011336,P22,c(Q502895))
action filter_type
action find
entity Q9011336
relation P22
type Q502895
['Q9011336', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q9011336 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Jayme Matarazzo
action filter_type
action find
entity Jayme Matarazzo
relation father
type common name
['Jayme Matarazzo', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Jayme_Matarazzo property:father ?p . ?p rdf:type ontology:common_name }
[]
common name
Q594771
SYSTEM
Jayme Monjardim
Q594771
(Q9011336,P22,c(Q502895))
action filter_type
action find
entity Q9011336
relation P22
type Q502895
The father of Jayme Matarazzo was named [ANSWER]
['Q9011336', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q9011336 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Jayme Monjardim
The father of Jayme Matarazzo was named Jayme Monjardim
Jayme Monjardim
action filter_type
action find
entity Jayme Matarazzo
relation father
type common name
['Jayme Matarazzo', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Jayme_Matarazzo property:father ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q594771
P26
Q502895
USER
Which people are the spouses of that one ?
(Q594771,P26,c(Q502895))
action filter_type
action find
entity Q594771
relation P26
type Q502895
['Q594771', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q594771 property:P26 ?q }
Jayme Monjardim
action filter_type
action find
entity Jayme Monjardim
relation spouse
type common name
['Jayme Monjardim', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Jayme_Monjardim property:spouse ?q }
[]
common name
Q7862113 Q2670089 Q4121264
SYSTEM
Tânia Mara, Daniela Escobar, Ingra Liberato
Q7862113 Q2670089 Q4121264
(Q594771,P26,c(Q502895))
action filter_type
action find
entity Q594771
relation P26
type Q502895
[ANSWERS] are the spouses of that one
['Q594771', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q594771 property:P26 ?q }
Tânia Mara Daniela Escobar Ingra Liberato
Tânia Mara, Daniela Escobar and Ingra Liberato are the spouses of that one
Tânia Mara Daniela Escobar Ingra Liberato
action filter_type
action find
entity Jayme Monjardim
relation spouse
type common name
['Jayme Monjardim', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Jayme_Monjardim property:spouse ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q952736
P3091
Q502895 Q3745054 Q502895
USER
How many people use approximately the same number of people and horse breeds as steed as Nelson Pessoa ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q952736
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?m . VALUES ( ?m ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q952736 property:P3091 ?r . { { ?r rdf:type ontology:Q502895 } UNION { ?r rdf:type ontology:Q3745054 } } } } . FILTER ( ?w = ?t ) }
Nelson Pessoa
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Nelson Pessoa
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?m . VALUES ( ?m ) { ( ontology:horse_breed ) ( ontology:common_name ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Nelson_Pessoa property:mount ?r . { { ?r rdf:type ontology:common_name } UNION { ?r rdf:type ontology:horse_breed } } } } . FILTER ( ?w = ?t ) }
[]
common name horse breed common name
SYSTEM
19
Q69084 Q358777 Q235022 Q3087038 Q14912896 Q3591240 Q3169911 Q952736 Q2287454 Q1617291 Q60968 Q1277320 Q6369922 Q1985582 Q1930899 Q175930 Q673136 Q62253 Q3308301
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q952736
relation P3091
type Q502895
type Q3745054
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?m . VALUES ( ?m ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q952736 property:P3091 ?r . { { ?r rdf:type ontology:Q502895 } UNION { ?r rdf:type ontology:Q3745054 } } } } . FILTER ( ?w = ?t ) }
Paul Schockemöhle Yves Saint-Martin Anky van Grunsven Freddy Head Bassem Hassan Mohammed Éric Levallois Jean-René Gougeon Nelson Pessoa Simon Delestre Pierre Durand, Jr. Ludger Beerbaum Roger-Yves Bost Karen O'Connor Nick Skelton Michel Robert Ian Millar Steve Guerdat Meredith Michaels-Beerbaum Michael Kinane
19
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Nelson Pessoa
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ?m . VALUES ( ?m ) { ( ontology:horse_breed ) ( ontology:common_name ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Nelson_Pessoa property:mount ?r . { { ?r rdf:type ontology:common_name } UNION { ?r rdf:type ontology:horse_breed } } } } . FILTER ( ?w = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q454614
P3091
Q502895 Q3745054 Q502895
USER
And what about Fritz Ligges?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q454614
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?r WHERE { { ?r property:P3091 ?z . ?r rdf:type ontology:Q502895 . ?z rdf:type ontology:Q502895 } UNION { ?z rdf:type ontology:Q3745054 . ?r rdf:type ontology:Q502895 . ?r property:P3091 ?z } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q454614 property:P3091 ?b . { VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?b rdf:type ?p } } } . FILTER ( ?k = ?f ) }
Fritz Ligges
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Fritz Ligges
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?r WHERE { { ?r property:mount ?z . ?r rdf:type ontology:common_name . ?z rdf:type ontology:common_name } UNION { ?z rdf:type ontology:horse_breed . ?r rdf:type ontology:common_name . ?r property:mount ?z } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Fritz_Ligges property:mount ?b . { VALUES ( ?p ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?b rdf:type ?p } } } . FILTER ( ?k = ?f ) }
[]
common name horse breed common name
SYSTEM
53
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q454614
relation P3091
type Q502895
type Q3745054
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?r WHERE { { ?r property:P3091 ?z . ?r rdf:type ontology:Q502895 . ?z rdf:type ontology:Q502895 } UNION { ?z rdf:type ontology:Q3745054 . ?r rdf:type ontology:Q502895 . ?r property:P3091 ?z } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q454614 property:P3091 ?b . { VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?b rdf:type ?p } } } . FILTER ( ?k = ?f ) }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
53
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Fritz Ligges
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?r WHERE { { ?r property:mount ?z . ?r rdf:type ontology:common_name . ?z rdf:type ontology:common_name } UNION { ?z rdf:type ontology:horse_breed . ?r rdf:type ontology:common_name . ?r property:mount ?z } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Fritz_Ligges property:mount ?b . { VALUES ( ?p ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?b rdf:type ?p } } } . FILTER ( ?k = ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8678
P504
Q2235308
USER
What are the ship types that have Rio de Janeiro as their home port ?
(c(Q2235308),P504,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q8678']
SELECT DISTINCT ?m WHERE { ?m property:P504 resource:Q8678 . ?m rdf:type ontology:Q2235308 }
Rio de Janeiro
action filter_type
action find_reverse
entity Rio de Janeiro
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Rio de Janeiro']
SELECT DISTINCT ?m WHERE { ?m property:home_port resource:Rio_de_Janeiro . ?m rdf:type ontology:ship_type }
[]
ship type
Q3281064 Q1093227
SYSTEM
Brazilian battleship Aquidabã, Cisne Branco
Q3281064 Q1093227
(c(Q2235308),P504,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P504
type Q2235308
The ship types that have Rio de Janeiro as their home port are the [ANSWERS]
[{'concept': 'Q2235308'}, 'P504', 'Q8678']
SELECT DISTINCT ?m WHERE { ?m property:P504 resource:Q8678 . ?m rdf:type ontology:Q2235308 }
Brazilian battleship Aquidabã Cisne Branco
The ship types that have Rio de Janeiro as their home port are the Brazilian battleship Aquidabã and Cisne Branco
Brazilian battleship Aquidabã Cisne Branco
action filter_type
action find_reverse
entity Rio de Janeiro
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Rio de Janeiro']
SELECT DISTINCT ?m WHERE { ?m property:home_port resource:Rio_de_Janeiro . ?m rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8678
P1071
Q2235308
USER
Which ship type has Rio de Janeiro as its finally place of assembly ?
(c(Q2235308),P1071,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P1071
type Q2235308
[{'concept': 'Q2235308'}, 'P1071', 'Q8678']
SELECT DISTINCT ?f WHERE { ?f property:P1071 resource:Q8678 . ?f rdf:type ontology:Q2235308 }
Rio de Janeiro
action filter_type
action find_reverse
entity Rio de Janeiro
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'Rio de Janeiro']
SELECT DISTINCT ?f WHERE { ?f property:location_of_final_assembly resource:Rio_de_Janeiro . ?f rdf:type ontology:ship_type }
[]
ship type
Q7141439
SYSTEM
Pará-class monitor
Q7141439
(c(Q2235308),P1071,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P1071
type Q2235308
[ANSWER] has Rio de Janeiro as its finally place of assembly
[{'concept': 'Q2235308'}, 'P1071', 'Q8678']
SELECT DISTINCT ?f WHERE { ?f property:P1071 resource:Q8678 . ?f rdf:type ontology:Q2235308 }
Pará-class monitor
Pará-class monitor has Rio de Janeiro as its finally place of assembly
Pará-class monitor
action filter_type
action find_reverse
entity Rio de Janeiro
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'Rio de Janeiro']
SELECT DISTINCT ?f WHERE { ?f property:location_of_final_assembly resource:Rio_de_Janeiro . ?f rdf:type ontology:ship_type }
[]