Simple Question (Direct)
Simple Question
Q1333765
P734
Q82799
USER
Which name is associated with Sergio Fernández González ?
(Q1333765,P734,c(Q82799))
action filter_type
action find
entity Q1333765
relation P734
type Q82799
['Q1333765', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q1333765 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Sergio Fernández González
action filter_type
action find
entity Sergio Fernández González
relation family name
type name
['Sergio Fernández González', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Sergio_Fernández_González property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q164892
SYSTEM
Fernández
Q164892
(Q1333765,P734,c(Q82799))
action filter_type
action find
entity Q1333765
relation P734
type Q82799
[ANSWER] is associated with Sergio [ANSWER] González
['Q1333765', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q1333765 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Fernández
Fernández is associated with Sergio Fernández González
Fernández
action filter_type
action find
entity Sergio Fernández González
relation family name
type name
['Sergio Fernández González', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Sergio_Fernández_González property:family_name ?q . ?q rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1333765
P1412
Q34770
USER
Which language is Sergio Fernández González capable of writing ?
(Q1333765,P1412,c(Q34770))
action filter_type
action find
entity Q1333765
relation P1412
type Q34770
['Q1333765', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q1333765 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Sergio Fernández González
action filter_type
action find
entity Sergio Fernández González
relation languages spoken, written or signed
type language
['Sergio Fernández González', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Sergio_Fernández_González property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1333765,P1412,c(Q34770))
action filter_type
action find
entity Q1333765
relation P1412
type Q34770
[ANSWER] is Sergio Fernández González capable of writing
['Q1333765', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q1333765 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Spanish
Spanish is Sergio Fernández González capable of writing
Spanish
action filter_type
action find
entity Sergio Fernández González
relation languages spoken, written or signed
type language
['Sergio Fernández González', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Sergio_Fernández_González property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
Which languages are atleast 2 writing systems or notations the writing system of ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?g >= 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?g ) WHERE { ?y rdf:type ?w . VALUES ( ?w ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } GROUP BY ?t } }
action atleast
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?g >= 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?g ) WHERE { ?y rdf:type ?w . VALUES ( ?w ) { ( ontology:writing_system ) ( ontology:notation ) } } GROUP BY ?t } }
[]
writing system notation language
Q182695 Q29572
SYSTEM
Late Old Japanese, Avestan
Q182695 Q29572
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 2
[ANSWERS] are atleast 2 writing systems or notations the writing system of
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?g >= 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?g ) WHERE { ?y rdf:type ?w . VALUES ( ?w ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } GROUP BY ?t } }
Late Old Japanese Avestan
Late Old Japanese and Avestan are atleast 2 writing systems or notations the writing system of
Late Old Japanese Avestan
action atleast
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?g >= 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?g ) WHERE { ?y rdf:type ?w . VALUES ( ?w ) { ( ontology:writing_system ) ( ontology:notation ) } } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q164892
P407
Q34770
USER
What is the language of Fernández ?
(Q164892,P407,c(Q34770))
action filter_type
action find
entity Q164892
relation P407
type Q34770
['Q164892', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q164892 property:P407 ?s . ?s rdf:type ontology:Q34770 }
Fernández
action filter_type
action find
entity Fernández
relation language of work or name
type language
['Fernández', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Fernández property:language_of_work_or_name ?s . ?s rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q164892,P407,c(Q34770))
action filter_type
action find
entity Q164892
relation P407
type Q34770
The language of Fernández is in [ANSWER]
['Q164892', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q164892 property:P407 ?s . ?s rdf:type ontology:Q34770 }
Spanish
The language of Fernández is in Spanish
Spanish
action filter_type
action find
entity Fernández
relation language of work or name
type language
['Fernández', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Fernández property:language_of_work_or_name ?s . ?s rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1333765
P21
Q290
USER
Which sex does Sergio Fernández González possess ?
(Q1333765,P21,c(Q290))
action filter_type
action find
entity Q1333765
relation P21
type Q290
['Q1333765', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1333765 property:P21 ?n . ?n rdf:type ontology:Q290 }
Sergio Fernández González
action filter_type
action find
entity Sergio Fernández González
relation gender
type sex
['Sergio Fernández González', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Sergio_Fernández_González property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1333765,P21,c(Q290))
action filter_type
action find
entity Q1333765
relation P21
type Q290
Sergio Fernández González possesses un [ANSWER]
['Q1333765', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1333765 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Sergio Fernández González possesses un male
male
action filter_type
action find
entity Sergio Fernández González
relation gender
type sex
['Sergio Fernández González', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Sergio_Fernández_González property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1159663
Q290
USER
And how about Danguolė Blevaitienė?
(Q1159663,P21,c(Q290))
action filter_type
action find
entity Q1159663
relation P21
type Q290
['Q1159663', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1159663 property:P21 ?u . ?u rdf:type ontology:Q290 }
Danguolė Blevaitienė
action filter_type
action find
entity Danguolė Blevaitienė
relation gender
type sex
['Danguolė Blevaitienė', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Danguolė_Blevaitienė property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1159663,P21,c(Q290))
action filter_type
action find
entity Q1159663
relation P21
type Q290
[ANSWER]
['Q1159663', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1159663 property:P21 ?u . ?u rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Danguolė Blevaitienė
relation gender
type sex
['Danguolė Blevaitienė', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Danguolė_Blevaitienė property:gender ?u . ?u rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q164892
P734 P21
Q502895
USER
Which people have Fernández as surname and are a male ?
AND((c(Q502895),P734,Q164892), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q164892
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q164892'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P734 resource:Q164892 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
male Fernández
action filter_type
action intersection
action find_reverse
entity Fernández
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Fernández'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:family_name resource:Fernández . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]
common name
Q1334326 Q960988 Q739431 Q2564747 Q3779950 Q6292193 Q1174411 Q11682271 Q17609910 Q1224788
SYSTEM
Some of them are Macedonio Fernández, Juan Fernández, Walter Fernández, Gastón Fernández, Gustavo Fernández, José Fernández Salvador, David Fernández Borbalán, Guillermo Fernández de Soto, Borja Fernández (footballer, born 1995), Eduard Fernández
Q310657 Q535415 Q6544894 Q458612 Q151944 Q15616906 Q3610669 Q2697469 Q3497229 Q247708 Q8078825 Q470994 Q8043187 Q2058569 Q545665 Q636318 Q582438 Q2711324 Q16021998 Q2461836 Q1174411 Q7319705 Q562637 Q3359735 Q3778106 Q3796361 Q3779950 Q5233622 Q1224788 Q960988 Q24005257 Q17619668 Q2357458 Q5217130 Q14125233 Q5131455 Q21480650 Q11682271 Q3294446 Q2530099 Q5675765 Q6292193 Q5996567 Q3622924 Q6755548 Q3810494 Q3779965 Q2632685 Q318546 Q503137 Q5666823 Q4694676 Q3928944 Q3960868 Q314861 Q1558948 Q20658407 Q9076089 Q2564747 Q2632483 Q5878252 Q3848573 Q16233878 Q5921192 Q1290931 Q949227 Q19403485 Q358688 Q24049989 Q21621601 Q534791 Q1441312 Q18391579 Q1150712 Q15519098 Q3291362 Q17627817 Q3726159 Q16300450 Q3898627 Q195921 Q5096421 Q713501 Q315681 Q4792762 Q2881349 Q686318 Q950241 Q982681 Q1333765 Q17364214 Q16231261 Q977383 Q6113231 Q61949 Q718275 Q2749500 Q714591 Q17609910 Q2009446 Q3844809 Q2346104 Q12392461 Q673752 Q11214708 Q961599 Q553528 Q9096722 Q4887825 Q5827286 Q524113 Q250973 Q24301282 Q1648228 Q251466 Q20978038 Q3209970 Q340054 Q525599 Q26536 Q941925 Q24041015 Q8076852 Q7944622 Q14971767 Q312651 Q377868 Q956111 Q26760992 Q119069 Q339125 Q3321675 Q316115 Q5658524 Q5186188 Q20021258 Q781683 Q15476785 Q12382615 Q6165500 Q16568113 Q6007164 Q739431 Q1334326 Q1191143 Q446891 Q5221155 Q538457
AND((c(Q502895),P734,Q164892), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q164892
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Fernández as surname and are a male
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q164892'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P734 resource:Q164892 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
Matías Fernández Fernando Ortiz Fernández Guillermo Matías Fernández Emilio Fernández Leonel Fernández el ladron Paco Fernández Alex Fernández René Fernández Juan Redondo Suso Óscar Fernández Víctor Fernández Xavi Annunziata Tomás Fernández Augusto Fernández Víctor Ernesto Fernández Alejo Fernández Carlos Fernández Luna José Luis Fernández David Fernández Borbalán Reysander Fernández Borja Fernández Miguel Ángel Fernández Ordóñez Gualberto Fernández Ildemaro Fernández Gustavo Fernández David Fernández Cortázar Eduard Fernández Juan Fernández Dani Fernández Leandro Miguel Fernández David Fernández Miramontes Daniel Fernández Navarro Ricardo Fernandez Clemente Fernández López Francisco Fernández Villegas Guillermo Fernández de Soto Sergio Fernández Álvarez Daniel Fernández Crespo Andrés Fernández Díaz José Fernández Salvador Marcos Gabriel Fernández Armando Fernandez Marc Fernández Gracia José Manuel Fernández Reyes Gustavo Fernández Gallego Abelardo Fernández Nacho Fernández Alfonso Fernández Burgos Agustín Fernández Charro Rafael Fernández Pérez Silvio Fernández Luis Fernández Rommel Fernández Julián Fernández Serafín Ferro Gastón Fernández Gabriel Fernández Gerardo Fernández Mario Fernández Javi Navas Isidoro Fernández Flórez Eduardo Fernández Nereo Fernández Julián Fernández Gabriel Fernández Arenas Hernán Fernández Joaquín Fernández Moreno Jorge Fernández Hernández Faustino Fernández Ovies Ruyales César Fernández García Javier Fernández Abruñedo Mariano Fernández Óscar Fernández González Enrique Santiago Fernández Oscar Fernández Monroy Pedro Alfonso Fernández Gregorio Fernández Chico Fernández Federico Fernández Sebastián Fernández Armando Fernández García Plácido Fernández Maradona Manuel Fernández Muñiz Juan Martín Fernández Lobbe Yanga R. Fernández Sergio Fernández González Brian Fernández Andrés Pablo Fernández Christian Fernández Salas Ruben Fernandez Andujar Rowen Fernández Juli Fernández Xerardo Fernández Albor Leandro Fernández Borja Fernández (footballer, born 1995) Juan Ramón Fernández Manuel Fernández Diego Fernández Luis Fernández Teijeiro Roberto Fernández Alvarellos Moncho Fernández Hugo Fernández Faingold Alejandro Fernández Xosé Fernández Ferreiro Manuel Fernández Anidos Eladio Fernández Guillermo Andrés Fernández Moreno Álvaro Fernández Jay A. Fernandez Carlos Ignacio Fernández Lobbe Francisco Fernández Ochoa José Antonio Fernández Pomares Juan Fernández Roberto Fernández Bonillo Pahiño Álex Fernández Saúl Fernández García Xavi Fernández Ruiz Ángel Luis Fernández Serrano Víctor Fernández Maza Raul Fernández Arrizabalaga Rudy Fernández Adrián Fernández Ángel Fernández Guy Fernandez Vicente Fernández Tony Fernández Jorge Fernández Madinabeitia Alfonso IX of León Adrián Fernández Cristian Fernández Conchuela Ignacio Fernández Sarasola Roberto Junior Fernández Guillermo Fernández Hierro Aitor Fernández López Javier Fernández Julio Fernández Correa Mauro Fernández Walter Fernández Macedonio Fernández Raúl Fernández Valverde Lorenzo Fernández Ramón Ignacio Fernández Enrique Romero
Macedonio Fernández, Juan Fernández, Walter Fernández, Gastón Fernández, Gustavo Fernández, José Fernández Salvador, David Fernández Borbalán, Guillermo Fernández de Soto, Borja Fernández (footballer, born 1995) and Eduard Fernández have Fernández as surname and are a male
Macedonio Fernández Juan Fernández Walter Fernández Gastón Fernández Gustavo Fernández José Fernández Salvador David Fernández Borbalán Guillermo Fernández de Soto Borja Fernández (footballer, born 1995) Eduard Fernández
action filter_type
action intersection
action find_reverse
entity Fernández
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Fernández'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:family_name resource:Fernández . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atmost 3521 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3521
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?q <= 3521 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3521
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?q <= 3521 ) }
[]
musical instrument common name
SYSTEM
64
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 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 3521
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?q <= 3521 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass 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 trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
64
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3521
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?q <= 3521 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7032634 Q11682271
P69 P108
Q3918
USER
Which universities are Guillermo Fernández de Soto an alumni of or are the employers of Nigel Shadbolt ?
OR((Q11682271,P69,c(Q3918)), (Q7032634,P108,c(Q3918)))
action filter_type
action union
action find
entity Q11682271
relation P69
action find
entity Q7032634
relation P108
type Q3918
{'OR': [['Q11682271', 'P69', {'concept': 'Q3918'}], ['Q7032634', 'P108', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q11682271 property:P69 ?d } UNION { resource:Q7032634 property:P108 ?d } } . ?d rdf:type ontology:Q3918 }
Nigel Shadbolt Guillermo Fernández de Soto
action filter_type
action union
action find
entity Guillermo Fernández de Soto
relation educated at
action find
entity Nigel Shadbolt
relation employer
type university
{'OR': [['Guillermo Fernández de Soto', 'educated at', {'concept': 'university'}], ['Nigel Shadbolt', 'employer', {'concept': 'university'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Guillermo_Fernández_de_Soto property:educated_at ?d } UNION { resource:Nigel_Shadbolt property:employer ?d } } . ?d rdf:type ontology:university }
[]
university
Q1517478 Q76473
SYSTEM
Pontifical Xavierian University, University of Southampton
Q1517478 Q76473
OR((Q11682271,P69,c(Q3918)), (Q7032634,P108,c(Q3918)))
action filter_type
action union
action find
entity Q11682271
relation P69
action find
entity Q7032634
relation P108
type Q3918
[ANSWERS] are Guillermo Fernández de Soto an alumni of or are the employers of Nigel Shadbolt
{'OR': [['Q11682271', 'P69', {'concept': 'Q3918'}], ['Q7032634', 'P108', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q11682271 property:P69 ?d } UNION { resource:Q7032634 property:P108 ?d } } . ?d rdf:type ontology:Q3918 }
Pontifical Xavierian University University of Southampton
Pontifical Xavierian University and University of Southampton are Guillermo Fernández de Soto an alumni of or are the employers of Nigel Shadbolt
Pontifical Xavierian University University of Southampton
action filter_type
action union
action find
entity Guillermo Fernández de Soto
relation educated at
action find
entity Nigel Shadbolt
relation employer
type university
{'OR': [['Guillermo Fernández de Soto', 'educated at', {'concept': 'university'}], ['Nigel Shadbolt', 'employer', {'concept': 'university'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Guillermo_Fernández_de_Soto property:educated_at ?d } UNION { resource:Nigel_Shadbolt property:employer ?d } } . ?d rdf:type ontology:university }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P407
Q34770 Q2031291 Q234460
USER
Which languages are max number of releases and texts in ?
(c(Q2031291)|c(Q234460),P407,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
[[{'concept': 'Q2031291'}, {'concept': 'Q234460'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?f ) { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?c ) WHERE { { ?b rdf:type ontology:Q34770 . ?g rdf:type ontology:Q234460 . ?g property:P407 ?b } UNION { ?g property:P407 ?b . ?b rdf:type ontology:Q34770 . ?g rdf:type ontology:Q2031291 } } GROUP BY ?b } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:P407 ?y . ?y rdf:type ontology:Q34770 . ?t rdf:type ontology:Q2031291 } UNION { ?y rdf:type ontology:Q34770 . ?t rdf:type ontology:Q234460 . ?t property:P407 ?y } } GROUP BY ?y } . FILTER ( ?x = ?f ) }
action argmax
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type text
[[{'concept': 'release'}, {'concept': 'text'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?f ) { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?c ) WHERE { { ?b rdf:type ontology:language . ?g rdf:type ontology:text . ?g property:language_of_work_or_name ?b } UNION { ?g property:language_of_work_or_name ?b . ?b rdf:type ontology:language . ?g rdf:type ontology:release } } GROUP BY ?b } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?t rdf:type ontology:release } UNION { ?y rdf:type ontology:language . ?t rdf:type ontology:text . ?t property:language_of_work_or_name ?y } } GROUP BY ?y } . FILTER ( ?x = ?f ) }
[]
language release text
Q1860
SYSTEM
English
Q1860
(c(Q2031291)|c(Q234460),P407,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
[ANSWER] is max number of releases and texts in
[[{'concept': 'Q2031291'}, {'concept': 'Q234460'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?f ) { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?c ) WHERE { { ?b rdf:type ontology:Q34770 . ?g rdf:type ontology:Q234460 . ?g property:P407 ?b } UNION { ?g property:P407 ?b . ?b rdf:type ontology:Q34770 . ?g rdf:type ontology:Q2031291 } } GROUP BY ?b } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:P407 ?y . ?y rdf:type ontology:Q34770 . ?t rdf:type ontology:Q2031291 } UNION { ?y rdf:type ontology:Q34770 . ?t rdf:type ontology:Q234460 . ?t property:P407 ?y } } GROUP BY ?y } . FILTER ( ?x = ?f ) }
English
English is max number of releases and texts in
English
action argmax
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type text
[[{'concept': 'release'}, {'concept': 'text'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?f ) { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?c ) WHERE { { ?b rdf:type ontology:language . ?g rdf:type ontology:text . ?g property:language_of_work_or_name ?b } UNION { ?g property:language_of_work_or_name ?b . ?b rdf:type ontology:language . ?g rdf:type ontology:release } } GROUP BY ?b } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?x ) WHERE { { ?t property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?t rdf:type ontology:release } UNION { ?y rdf:type ontology:language . ?t rdf:type ontology:text . ?t property:language_of_work_or_name ?y } } GROUP BY ?y } . FILTER ( ?x = ?f ) }
[]